#167167th of 168 in ML frameworks and libraries

ltp

Chinese NLP toolkit for word segmentation, POS tagging, NER and parsing

Stars
5.3k
License
no license
Last commit
Mar 2026
Last release
Aug 2022
Language
Python
Stars, last 29 weeks+53
21 Apr 2026: 5,214 stars28 Apr 2026: 5,214 stars5 May 2026: 5,216 stars12 May 2026: 5,220 stars19 May 2026: 5,220 stars26 May 2026: 5,223 stars2 Jun 2026: 5,224 stars9 Jun 2026: 5,228 stars16 Jun 2026: 5,228 stars23 Jun 2026: 5,233 stars30 Jun 2026: 5,235 stars7 Jul 2026: 5,239 stars14 Jul 2026: 5,239 stars21 Jul 2026: 5,240 stars28 Jul 2026: 5,245 stars4 Aug 2026: 5,248 stars11 Aug 2026: 5,249 stars18 Aug 2026: 5,250 stars25 Aug 2026: 5,253 stars1 Sept 2026: 5,254 stars8 Sept 2026: 5,255 stars15 Sept 2026: 5,256 stars22 Sept 2026: 5,258 stars29 Sept 2026: 5,260 stars6 Oct 2026: 5,261 stars13 Oct 2026: 5,262 stars20 Oct 2026: 5,264 stars27 Oct 2026: 5,266 stars3 Nov 2026: 5,267 stars10 Nov 2026: 5,267 stars

5,214 on 21 Apr 20265,267 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LTP (Language Technology Platform) from HIT-SCIR runs six Chinese NLP tasks: word segmentation, POS tagging, named entity recognition, semantic role labeling, dependency parsing and semantic dependency parsing. It ships PyTorch multi-task models (Base, Small, Tiny) and a Rust perceptron "legacy" model limited to segmentation, POS and NER. Models download from Hugging Face and can be retrained with the provided scripts.

Who it is for: NLP researchers and developers processing Chinese text

Strengths

  • Six Chinese NLP tasks through one Pipeline API on a shared pre-trained model
  • Rust perceptron model: README claims 3.55x LTP3 speed, 17.17x with multithreading
  • Training scripts and hydra configs allow training on private data
  • Tiny, Small and Base models trade accuracy for speed; custom word lists supported

Weaknesses

  • Commercial use requires a paid license; free only for academic and individual research
  • No standard open-source license detected; terms are custom text in the README
  • Last release is 2022-08
  • Chinese only; legacy model covers just segmentation, POS and NER

What it needs

  • GPU optional
  • Needs PyTorch, Transformers, Hugging Face Hub
  • Models: PyTorch, Hugging Face Hub, Rust perceptron (Avro)

Quick answers

Is ltp open source?

Its code is public on GitHub, but the repository has no license, so by default nobody may reuse it.

Does ltp need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100