Abstract
This paper presents a novel approach to Chinese spelling correction that moves beyond simple character substitution to a robust approximate word-matching algorithm. By integrating phonetic and visual similarity into a Finite State Recognizer (FSR) and combining it with a tri-gram language model, the system detects and fixes complex errors—including character deletions, insertions, and multi-character string substitutions—that previous models could not handle.
Introduction
In English, spelling errors often result in "non-words" (e.g., "teh" instead of "the"), making them relatively easy to identify. Chinese presents a unique challenge: there are no spaces between words, and almost any character can technically function as a one-character word. Consequently, a typo doesn't just create a "non-word"; it often triggers a "segmentation disaster" where the entire sentence is parsed incorrectly by the computer.
Previous state-of-the-art methods focused almost exclusively on character substitution—replacing one confusing character with another. However, real-world errors often involve insertions (extra characters), deletions (missing characters), or string substitutions (where a multi-character phrase is replaced by another). This research aims to bridge that gap by creating a system that can handle the structural fluidity of Chinese text errors.
Methodology
The proposed approach utilizes a two-layered architecture:
- Approximate Word Matching (
CnFussyMatch): Instead of looking for exact matches in a dictionary, the algorithm searches for words that are "close" based on a meta-distance ($MetaD$). This distance factors in Pinyin similarity (for phonetic input errors) and Five-Stroke similarity (for shape-based input errors). The dictionary is organized as a Finite State Recognizer (FSR), allowing the system to efficiently prune the search space while looking for these "fuzzy" matches. - Approximate Segmentation (
CnFussySeg): Since a typo changes how a sentence should be divided, the system generates multiple possible segmentation hypotheses. It then uses a word tri-gram language model to evaluate these paths. The path with the highest statistical probability—factoring in both the likelihood of the word sequence and the "cost" of the edits—is chosen as the correction.
Evaluation
The system was evaluated using a massive 200MB corpus of Chinese text (including People's Daily 1993-1994) to train the tri-gram model. The evaluation set consisted of a test text containing 535 errors categorized into character substitution, string substitution, deletion, and insertion.
Key Results and Discussion
The proposed approach significantly outperformed previous benchmarks, particularly in complex error categories. As shown in the performance comparison table, the system achieved a recall rate of 79% and a correction rate of 75%, representing a substantial improvement over the 1994 baseline.
The most dramatic improvement was seen in string substitutions. While previous methods failed to correct any of the 76 string substitution errors in the test set, this approach successfully corrected 63 of them. Qualitative examples of these corrections, including handling deletions and complex idiom substitutions, are illustrated below.
Key Insights
- The Segmentation-Error Loop: Error detection and word segmentation are inseparable in Chinese. The system performs both simultaneously to resolve the "segmentation disasters" caused by typos.
- Input Method Awareness: By defining "distance" through Pinyin and stroke similarity, the algorithm mimics the human error process, making corrections more intelligent.
- Handling the "Non-Word" Mirage: The paper treats an error as a failure of the standard segmentation process, triggering a "fussy" search to find a more plausible underlying word.
Conclusion and Future Work
While highly effective, approximate matching is computationally expensive. Future work will focus on more aggressive pruning to speed up the algorithm. Additionally, while the tri-gram model is powerful, it lacks the long-distance semantic understanding required for certain complex errors. Future iterations may also address dictionary dependency to reduce false positives where valid but rare words are mistakenly "corrected."
Summary updated