Hanlp

Latest version: v2.1.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

2.1.0

What's Changed
* Release an English MTL model with ModernBERT encoder: [`EN_TOK_LEM_POS_NER_SRL_UDEP_SDP_CON_MODERNBERT_BASE`](https://hanlp.hankcs.com/docs/api/hanlp/pretrained/mtl.html#hanlp.pretrained.mtl.EN_TOK_LEM_POS_NER_SRL_UDEP_SDP_CON_MODERNBERT_BASE)
* Enhance Security Practices for HanLP Based on OpenSSF Scorecard by Fix3dP0int in https://github.com/hankcs/HanLP/pull/1931

New Contributors
* Fix3dP0int made their first contribution in https://github.com/hankcs/HanLP/pull/1931

**Full Changelog**: https://github.com/hankcs/HanLP/compare/v2.1.0-beta.62...v2.1.0

[![HanLP](https://github.com/user-attachments/assets/5211346e-a941-4d52-9c81-c95d969d6c4c)](https://www.bilibili.com/video/BV1ftCbYbEdR/)

2.1.0beta.62

What's Changed
* Release mMiniLMv2L12 version of MTL on UD210
* Release a small MTL model trained on our new corpora
* Multi-process compatible loader
* Support new versions of tensorflow and numpy
* Add support for Python 3.10
* Implementation of "Graph Pre-training for AMR Parsing and Generation"
* Let PipeLine support copy() by Vela-zz in https://github.com/hankcs/HanLP/pull/1861

New Contributors
* Vela-zz made their first contribution in https://github.com/hankcs/HanLP/pull/1861

**Full Changelog**: https://github.com/hankcs/HanLP/compare/v2.1.0-beta.0...v2.1.0-beta.62

2.1.0beta.0

We are proud to announce the beta release of HanLP 2.1, which now offers 10 joint tasks on 104 languages: tokenization, lemmatization, part-of-speech tagging, token feature extraction, dependency parsing, constituency parsing, semantic role labeling, semantic dependency parsing, abstract meaning representation (AMR) parsing.

2.1.0alpha.0

We are proud to announce the release of HanLP 2.1, which now offers 10 joint tasks on 104 languages: tokenization, lemmatization, part-of-speech tagging, token feature extraction, dependency parsing, constituency parsing, semantic role labeling, semantic dependency parsing, abstract meaning representation (AMR) parsing.

2.0

- Easy model building and serving with TensorFlow 2.0 and Keras.
- Multilingual Support.
- Tokenization, Part-of-Speech Tagging, Named Entity Recognition, Syntactic & Semantic Dependency Parsing, Document Classification via one unified interface.

Currently, HanLP 2.0 is in alpha stage with more killer features on the roadmap. For news and updates, join our [forum](https://bbs.hankcs.com/).

2.0.0alpha.0

Page 1 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.