Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T08:55:26.115Z Has data issue: false hasContentIssue false

Selection of correction candidates for the normalization of Spanish user-generated content

Published online by Cambridge University Press:  24 February 2014

M. MELERO
Affiliation:
Grup de Lingüística Computacional, Universitat Pompeu Fabra Roc Boronat, 138, 08018 Barcelona, Catalunya, Spain e-mail: maite.melero@upf.edu, patrik.lambert@upf.edu
M.R. COSTA-JUSSÀ
Affiliation:
Institute for Infocomm Research, Human Language Technology Group 1 Fusionopolis Way, 21-01 Connexis (South Tower), Singapore 138632 e-mail: vismrc@i2r.a-star.edu.sg
P. LAMBERT
Affiliation:
Grup de Lingüística Computacional, Universitat Pompeu Fabra Roc Boronat, 138, 08018 Barcelona, Catalunya, Spain e-mail: maite.melero@upf.edu, patrik.lambert@upf.edu
M. QUIXAL
Affiliation:
Department of Spanish and Portuguese, The University of Texas at Austin150 W 21st Street, Austin, TX 78712, USA e-mail: marti.quixal@utexas.edu
Rights & Permissions [Opens in a new window]

Abstract

We present research aiming to build tools for the normalization of User-Generated Content (UGC). We argue that processing this type of text requires the revisiting of the initial steps of Natural Language Processing, since UGC (micro-blog, blog, and, generally, Web 2.0 user-generated texts) presents a number of nonstandard communicative and linguistic characteristics – often closer to oral and colloquial language than to edited text. We present a corpus of UGC text in Spanish from three different sources: Twitter, consumer reviews, and blogs, and describe its main characteristics. We motivate the need for UGC text normalization by analyzing the problems found when processing this type of text through a conventional language processing pipeline, particularly in the tasks of lemmatization and morphosyntactic tagging. Our aim with this paper is to seize the power of already existing spell and grammar correction engines and endow them with automatic normalization capabilities in order to pave the way for the application of standard Natural Language Processing tools to typical UGC text. Particularly, we propose a strategy for automatically normalizing UGC by adding a module on top of a pre-existing spell-checker that selects the most plausible correction from an unranked list of candidates provided by the spell-checker. To build this selector module we train four language models, each one containing a different type of linguistic information in a trade-off with its generalization capabilities. Our experiments show that the models trained on truecase and lowercase word forms are more discriminative than the others at selecting the best candidate. We have also experimented with a parametrized combination of the models by both optimizing directly on the selection task and doing a linear interpolation of the models. The resulting parametrized combinations obtain results close to the best performing model but do not improve on those results, as measured on the test set. The precision of the selector module in ranking number one the expected correction proposal on the test corpora reaches 82.5% for Twitter text (baseline 57%) and 88% for non-Twitter text (baseline 64%).

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2014 
Figure 0

Table 1. Corpus size in sentences and words, and ratio of word types (the lower the ratio, the higher is the number of word types per total number of words)

Figure 1

Fig. 1. Real twitter text containing the highway name m40 for M-40.

Figure 2

Table 2. Table for deviation categorization completed by annotators in step 2 of the annotation process

Figure 3

Fig. 2. XML annotation sample.

Figure 4

Table 3. Percentage of deviations (in terms of word-types) according to its linguistic type across genres

Figure 5

Table 4. Percentage of word coverage (instances, I, and types, T) in both original and corrected versions

Figure 6

Table 5. Percentage of deviating words incorrectly analyzed by domain

Figure 7

Table 6. Percentage of deviating words incorrectly analyzed by type of error

Figure 8

Fig. 3. Output of the normalizer in XML format containing a list of correction candidates.

Figure 9

Table 7. Vocabulary size (unigram counts) for the training and development corpus

Figure 10

Table 8. Perplexity in the development set for each language model

Figure 11

Fig. 4. Language model weight optimization according to the selection precision.

Figure 12

Table 9. Precision values for each model, their combination, and baseline

Figure 13

Table 10. Precision values for each model, their combination, and baseline, separated results for Twitter and non-Twitter text, from the test set