Insertion, Deletion, or Substitution? Normalizing Text Messages without Pre-categorization nor Supervision

Fei Liu, Fuliang Weng, Bingqing Wang, Yang Liu

Abstract

This paper presents a unified, unsupervised framework for text normalization, transforming non-standard tokens (e.g., "2gether") into their dictionary forms. By modeling normalization as a character-level sequence labeling task and leveraging web-based data harvesting, the approach bypasses the need for manual labeling and rigid error categorization.

Introduction

Natural Language Processing (NLP) systems are typically optimized for standard English found in formal documents. However, the rise of SMS and social media has introduced significant "noise"—non-standard spellings that degrade the performance of sentiment analyzers and text-to-speech engines.

Traditional normalization methods often rely on manual categorization of slang into types such as abbreviations ("wknd"), phonetic substitutions ("4got"), or stylistic variations ("betta"). This categorical approach is limited by the high cost of human annotation, the overlap between categories (e.g., "2qetha" involves multiple transformation types), and an inability to adapt to the rapid evolution of internet slang.

Methodology: A Unified Transformation Approach

The authors propose a unified letter transformation approach that treats the conversion of a dictionary word into a non-standard token as a sequence labeling problem.

Sequence Labeling with CRF

The model utilizes Conditional Random Fields (CRF) to determine the optimal operation—retention, deletion, or substitution—for each character in a standard word. This allows the system to handle complex, multi-type transformations within a single model.

Figure 1: Examples of character-level alignments between standard words and their non-standard variations.

Unsupervised Data Harvesting

To eliminate the need for manual supervision, the authors developed an automated pipeline to collect training data from the web. By identifying out-of-vocabulary (OOV) words in Twitter data and querying them via search engines, they harvested "noisy" pairs from search snippets where the search engine's internal spell-checker had already identified the likely standard form. A many-to-many alignment algorithm was then used to map these pairs at the character level, as illustrated in Figure 1.

Feature Engineering

The CRF model incorporates three primary feature sets:

  1. Character-level: n-grams of surrounding letters.
  2. Phonetic-level: Capturing auditory similarities using a letter-to-phone algorithm.
  3. Syllable-level: Positional information of characters within syllables.

Experimental Evaluation

The system, dubbed LetterTran, was evaluated on two primary datasets: a Twitter test set of 3,802 tokens and an SMS benchmark of 303 tokens.

Performance Results

LetterTran significantly outperformed baseline models, including the popular Jazzy spell checker and previous deletion-based models.

Figure 4: System accuracy comparison on Twitter and SMS datasets.

As shown in Figure 4, LetterTran achieved a 1-best accuracy of 59.15% on the Twitter dataset. When integrated with the Jazzy spell checker as a fallback mechanism, the hybrid system's accuracy reached 68.88%. Notably, the model demonstrated strong portability, maintaining high performance on the SMS dataset (58.09%) despite being trained on Twitter data.

Conclusion and Future Work

The unified character-level approach offers a flexible and scalable solution for text normalization. By treating the web as a "Rosetta Stone" for slang, the authors successfully automated the acquisition of training data.

Current limitations include the exclusion of acronyms (e.g., "lol") and the lack of contextual awareness (e.g., disambiguating "2" as "to" or "too"). Future research will explore incorporating sentence-level context and applying Statistical Machine Translation (SMT) frameworks to further refine character-level transformations.

Summary updated

BibTeX
@inproceedings{liu2011insertion,
  author = {Fei Liu and Fuliang Weng and Bingqing Wang and Yang Liu},
  title = {{Insertion, Deletion, or Substitution? Normalizing Text Messages without Pre-categorization nor Supervision}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure