Rules Design in Word Segmentation of Chinese Micro-Blog

Hao Zong, Derek F. Wong, Lidia S. Chao

Abstract

Standard Chinese Word Segmentation (CWS) tools, typically trained on formal corpora, often struggle with the informal and noisy nature of micro-blogging platforms. This paper presents a hybrid approach that enhances the ICTCLAS Hidden Markov Model (HMM) tokenizer with custom pre- and post-processing rules, a specialized internet-slang dictionary, and Named Entity Recognition (NER). By addressing specific micro-blogging phenomena such as network slang, phonetic spellings, and structural noise (e.g., URLs and '@' mentions), the proposed system achieves a 90.98% F-measure on the SIGHAN-2012 dataset, significantly outperforming baseline models.

Introduction

Chinese Word Segmentation is a critical precursor to many NLP tasks. However, the "wild west" of social media text—characterized by network slang, regional accents, and mixed-language usage—presents a significant challenge for traditional segmenters. Structural noise, such as URLs and the ubiquitous "@" mention system, often leads to erroneous fragmentation of usernames or account IDs. This paper aims to bridge the gap between formal linguistic models and the informal reality of social media through a layered, rule-based correction framework.

Methodology

The researchers developed a multi-stage "correction wrapper" around the ICTCLAS tokenizer. The pipeline consists of four primary stages:

  1. Pre-processing Rules: Utilizing regular expressions to identify and "protect" non-textual elements like URLs and email addresses, preventing the tokenizer from splitting them into meaningless fragments.
  2. Post-processing Rules: Implementing logic-based rules to handle micro-blog-specific structures. This includes a five-stage logic gate for the "roll-call" (@) system and grouping rules for continuous symbols and mimetic words (e.g., "哈哈哈哈").
  3. External Dictionary Integration: Integrating a 9,850-word network dictionary from the Sogou Input Method, refined through internal re-segmentation to ensure consistency.
  4. Named Entity Recognition (NER): Applying Conditional Random Fields (CRFs) to identify proper nouns and entities missed by the initial HMM pass.
Figure 1: Initial performance boost from adding pre-processing rules to the ICTCLAS baseline.

Experimental Results

The system was evaluated on 5,000 sentences from the SIGHAN-2012 Bake-off Task 1. The incremental additions to the baseline model showed clear, cumulative improvements. The pre-processing stage provided the most significant initial jump in performance by stabilizing the handling of structural noise.

Figure 2: Final quantitative results of the hybrid segmentation system.

As shown in Figure 2, the final system achieved a Precision of 0.9000, a Recall of 0.9199, and an F-measure of 0.9098. This represents an approximate 8.4% improvement over the original segmentation results.

Discussion and Conclusion

The results highlight that in highly irregular domains like social media, hand-crafted rules based on structural patterns provide a vital boost that pure machine learning may lack due to data sparsity. While the system performs well, challenges remain regarding typos (wrongly written characters) and complex foreign-word mixtures. Future work will focus on expanding the training corpus and improving robustness against character-level errors.

Summary updated

BibTeX
@inproceedings{zong2012rules,
  author = {Hao Zong and Derek F. Wong and Lidia S. Chao},
  title = {{Rules Design in Word Segmentation of Chinese Micro-Blog}},
  booktitle = {CIPS-SIGHAN},
  year = {2012},
}
Figure