Skip to main content
QUICK REVIEW

[Paper Review] A Fast and Accurate Vietnamese Word Segmenter

Dat Quoc Nguyen, Dai Quoc Nguyen|arXiv (Cornell University)|Sep 19, 2017
Natural Language Processing TechniquesComputer Science25 references5 citations
TL;DR

This paper proposes RDRsegmenter, a fast and accurate Vietnamese word segmenter based on Single Classification Ripple Down Rules (SCRDR) that incrementally corrects errors from an initial longest-matching segmenter. It achieves state-of-the-art F1 score of 97.90% on the benchmark Vietnamese treebank, outperforming prior methods in both accuracy and speed—processing 62k words per second—while being open-source and adaptable to other languages with similar segmentation challenges.

ABSTRACT

We propose a novel approach to Vietnamese word segmentation. Our approach is based on the Single Classification Ripple Down Rules methodology (Compton and Jansen, 1990), where rules are stored in an exception structure and new rules are only added to correct segmentation errors given by existing rules. Experimental results on the benchmark Vietnamese treebank show that our approach outperforms previous state-of-the-art approaches JVnSegmenter, vnTokenizer, DongDu and UETsegmenter in terms of both accuracy and performance speed. Our code is open-source and available at: https://github.com/datquocnguyen/RDRsegmenter.

Motivation & Objective

  • To address the challenge of Vietnamese word segmentation, where spaces are weak indicators of word boundaries due to syllable-level spacing.
  • To improve upon existing state-of-the-art methods in both segmentation accuracy and processing speed.
  • To develop an error-driven, automatic rule-learning system that incrementally corrects segmentation mistakes using a Single Classification Ripple Down Rules (SCRDR) structure.
  • To create a language-independent framework that can be adapted to other languages like Chinese and Japanese, where syllables or characters require similar segmentation.

Proposed method

  • The method begins with a longest-matching-based initial segmenter to generate baseline segmentations.
  • It then applies an error-driven learning process to identify and correct segmentation errors using a Single Classification Ripple Down Rules (SCRDR) tree.
  • Each incorrect segmentation triggers the automatic addition of a new exception rule to the SCRDR tree, which is structured with 'if-then' rules and two types of edges: 'except' and 'if-not'.
  • Rules are evaluated in a top-down manner, and the final decision is determined by the last satisfied rule in the path to a leaf node.
  • The system uses a threshold-based rule pruning mechanism, with an optimal threshold of 2 found via development set tuning.
  • The final model is trained on 75k sentences and produces 1,447 rules, achieving high efficiency and accuracy.

Experimental results

Research questions

  • RQ1Can an error-driven, rule-based system using SCRDR achieve higher accuracy than existing state-of-the-art approaches in Vietnamese word segmentation?
  • RQ2How does the performance of the SCRDR-based method scale with varying training set sizes compared to baseline models?
  • RQ3Can the proposed method maintain high speed while improving segmentation accuracy, especially in comparison to CRF, SVM, and pointwise prediction models?
  • RQ4To what extent is the SCRDR-based approach language-independent and transferable to other languages with similar segmentation challenges, such as Chinese or Japanese?

Key findings

  • RDRsegmenter achieves an F1 score of 97.90% on the benchmark Vietnamese treebank, outperforming all prior state-of-the-art methods.
  • It improves upon vnTokenizer by 0.57 percentage points in F1 score despite using the same lexicon, demonstrating the effectiveness of the error-driven rule learning.
  • The method is 1.3 times faster than UETsegmenter, processing 62,000 words per second on a single-threaded Intel Core i7 2.2 GHz system.
  • RDRsegmenter shows superior performance with smaller training data, as evidenced by F1 scores that remain consistently higher than UETsegmenter even at 9.5k training sentences.
  • The model loads in just 50 milliseconds, significantly faster than UETsegmenter’s 10 seconds, highlighting its efficiency in deployment.
  • The approach is generalizable and can be adapted to other languages with similar segmentation challenges, such as Chinese and Japanese, where syllables or characters require word boundary detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.