#184 · Primary category: NLP Tools & Text Processing

Jiayan

ancient-chinese classical-chinese nlp

甲言,专注于古代汉语(古汉语/古文/文言文/文言)处理的NLP工具包,支持文言词库构建、分词、词性标注、断句和标点。Jiayan, the 1st NLP toolkit designed for Classical Chinese, supports lexicon construction, tokenizing, POS tagging, sentence segmentation and punctuation.

Project last updated:11/02/21

GitHub Stars

677

Forks

76

Contributors

2

License

MIT

Why we included this project

Most Chinese NLP libraries are trained on modern Mandarin and handle Classical Chinese poorly, which leaves people working with 文言文 without much tooling. Jiayan targets that gap directly. It is a Python toolkit for Classical Chinese that can build a lexicon from a corpus, tokenize, tag parts of speech, and add sentence segmentation and punctuation. The lexicon builder works unsupervised, using PMI and neighboring entropy to pull vocabulary out of raw text, and the tagging and segmentation models are CRF- or HMM-based, so they run fine on a laptop without a GPU. That makes it a reasonable fit for digital humanities projects and corpus annotation. One caveat: it targets simplified characters, so traditional-script input needs converting first。

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category