pynlpir
A Python wrapper around the NLPIR/ICTCLAS Chinese segmentation software.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
A Python wrapper around the NLPIR/ICTCLAS Chinese segmentation software.
Basic Info
Statistics
- Stars: 585
- Watchers: 31
- Forks: 135
- Open Issues: 28
- Releases: 0
Created over 12 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Authors
README.rst
=======
PyNLPIR
=======
.. image:: https://badge.fury.io/py/pynlpir.svg
:target: https://pypi.org/project/pynlpir
.. image:: https://github.com/tsroten/pynlpir/actions/workflows/ci.yml/badge.svg
:target: https://github.com/tsroten/pynlpir/actions/workflows/ci.yml
PyNLPIR is a Python wrapper around the
`NLPIR/ICTCLAS Chinese segmentation software `_.
* Documentation: https://tsroten.github.io/pynlpir/
* GitHub: https://github.com/tsroten/pynlpir
* Support: https://github.com/tsroten/pynlpir/issues
* Free software: `MIT license `_
About
-----
Easily segment text using NLPIR, one of the most widely-regarded Chinese text
analyzers:
.. code:: python
import pynlpir
pynlpir.open()
s = '欢迎科研人员、技术工程师、企事业单位与个人参与NLPIR平台的建设工作。'
pynlpir.segment(s)
[('欢迎', 'verb'), ('科研', 'noun'), ('人员', 'noun'), ('、', 'punctuation mark'), ('技术', 'noun'), ('工程师', 'noun'), ('、', 'punctuation mark'), ('企事业', 'noun'), ('单位', 'noun'), ('与', 'conjunction'), ('个人', 'noun'), ('参与', 'verb'), ('NLPIR', 'noun'), ('平台', 'noun'), ('的', 'particle'), ('建设', 'verb'), ('工作', 'verb'), ('。', 'punctuation mark')]
Features
--------
* Helper functions for common use cases
* English/Chinese part of speech mapping
* Support for UTF-8, GBK, and BIG5 encoded strings (and unicode of course!)
* Access to NLPIR's C functions via ``ctypes``
* Includes a copy of NLPIR
* Supports macOS (Intel), Linux, and Windows
Getting Started
---------------
* `Install PyNLPIR `_
* ``pip install pynlpir`` to install PyNLPIR
* ``pynlpir update`` to download the latest license
* Read `PyNLPIR's tutorial `_
* Learn from the `API documentation `_
* `Contribute `_ documentation, code, or feedback
Owner
- Name: Thomas Roten
- Login: tsroten
- Kind: user
- Location: United States
- Company: @bandcampdotcom
- Repositories: 10
- Profile: https://github.com/tsroten
GitHub Events
Total
- Watch event: 22
- Delete event: 2
- Push event: 4
- Pull request event: 1
- Fork event: 1
- Create event: 2
Last Year
- Watch event: 22
- Delete event: 2
- Push event: 4
- Pull request event: 1
- Fork event: 1
- Create event: 2
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Thomas Roten | t****s@r****s | 247 |
| Koichi Yasuoka | y****a@k****p | 4 |
| kensk8er | k****7@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 90
- Total pull requests: 15
- Average time to close issues: 4 months
- Average time to close pull requests: 7 months
- Total issue authors: 78
- Total pull request authors: 6
- Average comments per issue: 1.86
- Average comments per pull request: 0.8
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tsroten (4)
- lalaler (3)
- dengjl (2)
- lampda (2)
- rafael75012 (2)
- yuanlily (2)
- stickjitb (2)
- HGYD (2)
- herrtao (1)
- BLKSerene (1)
- MingleiLI (1)
- balcony021 (1)
- flyying53 (1)
- prigioni (1)
- zhubinjun (1)
Pull Request Authors
- tsroten (9)
- dependabot[bot] (2)
- kensk8er (1)
- lomizandtyd (1)
- KoichiYasuoka (1)
- m3zh (1)
Top Labels
Issue Labels
question (6)
enhancement (5)
duplicate (4)
bug (2)
wontfix (1)
Pull Request Labels
dependencies (2)
enhancement (1)
Packages
- Total packages: 1
-
Total downloads:
- pypi 1,369 last-month
- Total dependent packages: 0
- Total dependent repositories: 8
- Total versions: 23
- Total maintainers: 1
pypi.org: pynlpir
A Python wrapper around the NLPIR/ICTCLAS Chinese segmentation software.
- Documentation: https://tsroten.github.io/pynlpir
- License: MIT
-
Latest release: 0.6.1
published over 1 year ago
Rankings
Stargazers count: 2.7%
Forks count: 4.2%
Dependent repos count: 5.3%
Average: 5.4%
Dependent packages count: 7.3%
Downloads: 7.8%
Maintainers (1)
Last synced:
11 months ago
Dependencies
.github/workflows/ci.yml
actions
- actions/checkout v4 composite
- actions/setup-python v5 composite
.github/workflows/docs.yml
actions
- actions/checkout v4 composite
- actions/deploy-pages v4 composite
- actions/setup-python v5 composite
- actions/upload-pages-artifact v3 composite
.github/workflows/publish.yml
actions
- actions/checkout v4 composite
- actions/setup-python v5 composite
pyproject.toml
pypi
- click ~= 8.1