N-LTP: An Open-source Neural Language Technology Platform for Chinese

Wanxiang Che, Yunlong Feng, Libo Qin, Ting Liu
9/24/2020
cs.CL

Official code: HIT-SCIR/ltp (5,269 stars, Python, last commit 2026-03-11).

Abstract

We introduce \texttt{N-LTP}, an open-source neural language technology platform supporting six fundamental Chinese NLP tasks: {lexical analysis} (Chinese word segmentation, part-of-speech tagging, and named entity recognition), {syntactic parsing} (dependency parsing), and {semantic parsing} (semantic dependency parsing and semantic role labeling). Unlike the existing state-of-the-art toolkits, such as \texttt{Stanza}, that adopt an independent model for each task, \texttt{N-LTP} adopts the multi-task framework by using a shared pre-trained model, which has the advantage of capturing the shared knowledge across relevant Chinese tasks.

Show full abstract

In addition, a knowledge distillation method \cite{DBLP:journals/corr/abs-1907-04829} where the single-task model teaches the multi-task model is further introduced to encourage the multi-task model to surpass its single-task teacher. Finally, we provide a collection of easy-to-use APIs and a visualization tool to make users to use and view the processing results more easily and directly. To the best of our knowledge, this is the first toolkit to support six Chinese NLP fundamental tasks. Source code, documentation, and pre-trained models are available at \url{https://github.com/HIT-SCIR/ltp}.

View on arXivView PDF

Code Implementations(1)

HIT-SCIR/ltpOfficial100%

Language Technology Platform

5,2691,054Python, RustJun 1, 20118 months ago
chinese-nlpmachine-learningnatural-language-processingnlp

Similar Papers

Cite this paper

@article{che2020nltp,
  title  = {N-LTP: An Open-source Neural Language Technology Platform for Chinese},
  author = {Wanxiang Che and Yunlong Feng and Libo Qin and Ting Liu},
  year   = {2020},
  eprint = {2009.11616},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.11616}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.11616.svg)](https://codeofpaper.com/paper/2009.11616)

Discussion