HanLP
中文分词 词性标注 命名实体识别 依存句法分析 成分句法分析 语义依存分析 语义角色标注 指代消解 风格转换 语义相似度 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理 observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 52
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 4346
- days_rel: 598
- days_push: 291
- n_releases_24m: 4
Adoption not part of the score
36484 stars · 10915 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
HanLP is a production-oriented multilingual NLP toolkit built on PyTorch and TensorFlow 2.x, offering tokenization, POS tagging, NER, dependency and constituency parsing, semantic role labeling, summarization, and text classification across 130 languages. It ships dozens of pretrained models with a Python API and RESTful service options.
Use cases
- segment chinese text into words
- extract named entities from chinese documents
- parse dependency trees for sentences
- summarize long articles automatically
- classify or cluster documents by topic
- extract keywords and key phrases from text
- convert between simplified and traditional chinese with pinyin
- compute semantic similarity between sentences
When to choose
- you need state-of-the-art chinese or multilingual NLP in python
- you want pretrained models for many NLP tasks in one toolkit
- you need production-ready accuracy and active maintenance
When to avoid
- you need a lightweight pure-python solution without deep learning dependencies
- you only need english-only NLP with a simpler ecosystem like spaCy
- you cannot download large pretrained models
Facets
library · maturity active
nlp machine-learning parser search-engine machine-learning developer-tools python cross-platform chinese-word-segmentation named-entity-recognition dependency-parsing text-summarization pytorch multilingual pretrained-models text-classification natural-language-processing
4 sources
- readme: https://github.com/hankcs/HanLP · fetched 2026-08-28 · d375c0e6818a
- homepage: https://www.hanlp.com/ · fetched 2026-08-29 · f3fd9c926b60
- registry_pypi: https://pypi.org/pypi/hanlp/json · fetched 2026-08-29 · f3aa45864174
- registry_pypi: https://pypi.org/pypi/pyhanlp/json · fetched 2026-08-29 · db3fe79a49b8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hankcs/HanLP | main | 57 |
| hankcs/pyhanlp | sdk | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem