NLP toolkit for Chinese, like spaCy
Top 46.9% on sourcepulse
fastHan is a convenient, BERT-based toolkit for Chinese Natural Language Processing, offering functionalities similar to spaCy. It targets researchers and developers needing to perform tasks like word segmentation, part-of-speech tagging, named entity recognition, and dependency parsing on modern and classical Chinese text, including Chinese AMR.
How It Works
fastHan utilizes a BERT-based joint model trained on multiple corpora. This multi-task approach allows it to handle various NLP tasks simultaneously, improving efficiency and performance. The integration of prompt technology in version 2.0 further enhances its capabilities.
Quick Start & Requirements
pip install fastHan
or clone from GitHub and run python setup.py install
.torch>=1.8.0
, fastNLP>=1.0.0
, transformers>=4.0.0
, datasets==2.7.0
, pandas==1.5.1
, numpy==1.22.2
. GPU recommended for performance.Highlighted Details
FastCAMR
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
Inactive