hankcs/HanLP

Natural Language Processing for the next decade. Tokenization, Part-of-Speech Tagging, Named Entity Recognition, Syntactic & Semantic Dependency Parsing, Document Classification

77
/ 100
Verified

Built on dual PyTorch and TensorFlow 2.x backends, HanLP supports multitask and single-task learning across 130 languages with pre-trained models for 10 joint tasks including semantic role labeling, abstract meaning representation, and coreference resolution. The toolkit offers both RESTful API and Python interfaces, with customizable annotation standards (CTB, UD, OntoNotes, etc.) and continuously updated corpora targeting production-grade deployment.

36,209 stars and 20,758 monthly downloads. Used by 1 other package. Available on PyPI.

Maintenance 6 / 25
Adoption 21 / 25
Maturity 25 / 25
Community 25 / 25

How are scores calculated?

Stars

36,209

Forks

10,909

Language

Python

License

Apache-2.0

Last pushed

Nov 15, 2025

Monthly downloads

20,758

Commits (30d)

0

Dependencies

9

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/hankcs/HanLP"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.