PKUSEG: A Toolkit for Multi-Domain Chinese Word Segmentation

Ruixuan Luo, Jingjing Xu, Yi Zhang, Zhiyuan Zhang, Xuancheng Ren +1 more
6/27/2019
cs.CL

Official code: lancopku/pkuseg-python (6,710 stars, MIT, last commit 2022-11-05).

Abstract

Chinese word segmentation (CWS) is a fundamental step of Chinese natural language processing. In this paper, we build a new toolkit, named PKUSEG, for multi-domain word segmentation. Unlike existing single-model toolkits, PKUSEG targets multi-domain word segmentation and provides separate models for different domains, such as web, medicine, and tourism. Besides, due to the lack of labeled data in many domains, we propose a domain adaptation paradigm to introduce cross-domain semantic knowledge via a translation system. Through this method, we generate synthetic data using a large amount of unlabeled data in the target domain and then obtain a word segmentation model for the target domain. We also further refine the performance of the default model with the help of synthetic data. Experiments show that PKUSEG achieves high performance on multiple domains. The new toolkit also supports POS tagging and model training to adapt to various application scenarios. The toolkit is now freely and publicly available for the usage of research and industry.

View on arXivView PDF

Code Implementations(1)

MIT

pkuseg多领域中文分词工具; The pkuseg toolkit for multi-domain Chinese word segmentation

6,710979Cython, PythonAug 5, 20183 years agoMIT
chinese-word-segmentation

Similar Papers

Cite this paper

@article{luo2019pkuseg,
  title  = {PKUSEG: A Toolkit for Multi-Domain Chinese Word Segmentation},
  author = {Ruixuan Luo and Jingjing Xu and Yi Zhang and Zhiyuan Zhang and Xuancheng Ren and Xu Sun},
  year   = {2019},
  eprint = {1906.11455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.11455}
}

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/1906.11455.svg)](https://codeofpaper.com/paper/1906.11455)

Discussion