---
title: "Text normalization for named entity recognition in Vietnamese"
description: "How spelling correction and capitalization help a Vietnamese tweet recognizer find people, places, and organizations in informal text."
canonical: "https://research.elamur.ai/free/en/papers/nguyen-2016-text-normalization-named-entity-recognition/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/nguyen-2016-text-normalization-named-entity-recognition/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Text normalization for named entity recognition in Vietnamese tweets

# Text normalization for named entity recognition in Vietnamese tweets

Paper · 2016 · Vu Nguyen, Hien Phuong Nhat Nguyen and Václav Snåšel

**Authors:** Vu Nguyen, Hien Phuong Nhat Nguyen and Václav Snåšel · **Year:** 2016 · **Venue:** Computational Social Networks · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

Cited by **6** papers in our library of the 163,136 papers whose bibliographies we read · Computational Social Networks · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://computationalsocialnetworks.springeropen.com/counter/pdf/10.1186/s40649-016-0032-0)
- [DOI 10.1186/s40649-016-0032-0](https://doi.org/10.1186/s40649-016-0032-0)

## Summary

A reader can recognize a familiar name in a tweet even when its letters are lower-case or its spelling is irregular. A computer has to recover that information from the text around it, the shape of the word, or a list of known names. Nguyen and colleagues study this problem for Vietnamese tweets. Their task is [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), which means finding where a name begins and ends and assigning it a category. The study covers people, locations, and organizations. Its main question is whether repairing the text before recognition helps a system designed for these categories.

The system first removes material such as links and flags written units missing from a Vietnamese dictionary. It uses Vietnamese spelling structures and rules for typing errors, then draws on character similarity and sequences of words from newspaper articles to resolve harder cases. The authors modify the Dice similarity coefficient so that two forms can receive some credit for sharing their first and last characters even when an error in the middle destroys their adjacent character matches. After spelling correction, the system restores capitals using sentence boundaries and lists of known names. It then segments the text into words, adds grammatical tags, and uses a support vector machine to assign entity labels from spelling, position, grammatical context, and name-list evidence.

The authors report more than 40,000 named entities in their training material. Their recognition test contains 2,271 tweets and 3,186 named entities. On the spelling correction task, the modified Dice coefficient with trigram statistics reaches an F-measure of 89.08%, compared with 83.30% for ordinary Dice with the same trigram resource. On the entity recognition test, the system reaches 82.13% F1 with normalization and capitalization, compared with 74.86% when both stages are omitted. A reimplementation of an earlier Vietnamese recognizer scores 80.27% F1 in the paper’s comparison.

The recognition gain appears in both precision and recall, with the larger movement in recall. The combined preprocessing stages helped the recognizer recover more of the annotated names while increasing the share of its predictions judged correct. The spelling experiment separately supports the change to the similarity coefficient. The recognition experiment changes both spelling normalization and capitalization together, leaving their individual contributions open.

## Deep dive: Text normalization for named entity recognition in Vietnamese tweets

How spelling correction and capitalization help a Vietnamese tweet recognizer find people, places, and organizations in informal text. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why names are difficult to recover from tweets

Named entity recognition is part of [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). Imagine a system reading a tweet about a traffic accident that mentions a person. To make that mention available for further processing, it has to locate the words that make up the person’s name and assign them to the person category. It has to make the same kind of decision for a place or an institution elsewhere in the text. A category by itself gives little information if the system attaches it to the wrong portion of the sentence. Likewise, locating a name leaves part of the job unfinished if the system treats a person as an organization.

The paper’s opening example shows a tweet about a car, a person, and a serious accident. The input gives the system several kinds of work. A web address appears after the message. A word describing the accident includes a repeated letter. The name lacks the capitalization that would help identify it in edited writing. Cleaning up the repeated letter improves the sentence around the name, while removing the web address gives the later stages less material to process. Restoring capitals makes the name more recognizable, and the final annotation marks it as a person. These changes operate on different parts of the input and contribute different kinds of evidence.

The context for this study was a Twitter format in which a tweet was limited to 140 characters. The authors describe users writing quickly, choosing abbreviations and other informal forms, and giving less attention to capitalization. The resulting messages can contain few nearby words from which to infer what a particular string denotes. Within that short space, a spelling change can obscure a name itself or damage an ordinary word that would have helped establish the name’s role in the sentence. The difficulty thus reaches beyond matching a misspelled name against its conventional spelling.

Capital letters illustrate the problem with taking a useful cue from an edited text and applying it directly to tweets. A name printed in lower-case loses a cue that might have distinguished it from surrounding words. At the same time, a capital at the beginning of a sentence can arise from its position alone. A recognizer needs other evidence to interpret either case. In the authors’ pipeline, recovering expected capitalization makes one feature more informative. The actual decision about the entity comes after capitalization and can use grammatical tags, spelling patterns, and other features.

The language introduces a further issue. The paper distinguishes a Vietnamese word from a smaller written unit it calls a morphosyllable. A morphosyllable can itself be a word or serve as part of a larger word. Spelling checks therefore operate on units that can be identified before the system settles the word boundaries. An entity name can contain multiple written units, and the recognizer has to preserve the extent of the name across them. The paper deals with these levels in sequence, using the smaller units for repair and an explicit word segmentation stage before recognition.

#### Earlier approaches to Vietnamese entity recognition

By the authors’ account, entity recognition had already received substantial attention in news and other edited sources. The paper describes systems using conditional random fields, hidden Markov methods, maximum entropy taggers, and support vector machines. Some of the earlier work aimed to improve the evidence used to label text. One method discovered useful feature combinations for a conditional random field, and another brought in information about latent meaning. Other approaches focused on how to assign labels across a sequence. The authors cite earlier research showing that methods developed around formal text could perform poorly on tweets.

Vietnamese recognition had its own line of research. The paper reviews systems based on rules, classifier voting, support vector machines, and conditional random fields. Some studies tried to obtain more value from limited labeled examples. They propagated labels, used earlier predictions to support another round of training, or combined sequential labeling with heuristics for proper names that can refer to different things. Other work brought linguistic and ontological information into the recognition features. In that setting, an ontology supplies structured categories or relationships that can give additional evidence about what a name denotes.

Feature choice was also a research problem in its own right. The paper describes Vietnamese studies that used genetic algorithms to search for useful sets of features and then evaluated those features with recognition methods. Subsequent work within the earlier literature examined ways to make that search less expensive, including evaluating candidates on progressively chosen samples and running some evaluations in parallel. Another line of work addressed how to add a recognition rule without setting up conflicts with existing rules. These strands give the new study a Vietnamese recognition tradition to draw on, even though they do not settle how to recover cues from informal tweet spellings.

The earlier Vietnamese studies also varied in what counted as an entity of interest. Some covered the familiar categories of person, place, and organization. Others included entries such as times, currencies, or percentages. Their published scores provide historical context, but the category lists already show why a reader should be cautious about treating those scores as if they came from a common benchmark. The authors define their tweet task around people, locations, and organizations and reserve a separate experiment for a reimplementation of an earlier Vietnamese method.

The gap, as the authors describe it, lay at the intersection of Vietnamese recognition and short, informal text. They found Vietnamese work on formal material and tweet recognition work in other languages, but identified no preceding approach dedicated to Vietnamese tweets. The paper presents its pipeline as a first attempt in that setting. The claim explains the intended contribution and the authors’ choice to assemble both training and test material for the task.

#### What earlier tweet systems tried

Other tweet recognizers had already responded to sparse and irregular text in several ways. Ritter and colleagues’ T-NER used a conditional random field and drew on topic information. The paper also describes a hybrid combining nearby labeled examples with sequential recognition, and work that used information about words frequently seen around proper nouns. Such approaches made different choices about where to look for evidence when the words in a tweet gave an incomplete picture.

Some researchers used evidence beyond an individual message. One approach grouped tweets with similar content and refined their initial labels using information from the group. Another jointly considered finding entity mentions and normalizing those mentions across tweets, allowing agreement among messages to inform both activities. In the present paper, the main source of additional context for spelling correction is a collection of recurring word sequences from newspapers. Recognition itself proceeds on the current tweet, with external lists of names supplying another source of evidence.

Li and Liu’s earlier work is particularly close to the question posed here. They used a dictionary to help find nonstandard forms and normalized words outside its vocabulary. They investigated ways of using the resulting information either in a sequence of processing steps or in a joint decision. Other social-text normalization studies compared forms using spelling or pronunciation, drew on contextual similarity in large unlabeled collections, or generated possible corrections at character and word level. The paper also cites normalization efforts for Japanese, Malay, and Spanish. These studies establish that finding a suspicious form, proposing a replacement, and deciding which replacement fits are distinct problems.

The 2015 workshop on noisy user-generated text provided a further point of comparison for both tweet normalization and recognition. The paper describes lexicon-based normalization, conditional random fields, and neural approaches. In recognition, it reports that conditional random fields were common while some teams used learned word representations, a separately trained sequential tagger, or evidence derived from linking names to entities. The Vietnamese study follows the same broad concern with noisy input but builds its corrections around local spelling and typing conventions. Its particular question is how much a recognizer can recover once the spelling and capitalization cues in Vietnamese tweets have been restored.

### The method, step by step

#### From a noisy tweet to a labeled name

The authors divide the recognition workflow into spelling normalization, capitalization, and entity recognition. Think of a tweet that mentions a university and also contains characters left over from typing a Vietnamese accent. The system first tries to recover conventional spelling. It can then look for the institution’s conventional capitalization and segment the resulting text into words. Only after those operations does it assign labels for the beginning and continuation of an organization name. Repairing the word form, restoring the case, and identifying the entity each require a separate decision.

During training, the system starts with tweets whose entity labels are assigned with software and checked by hand. It learns from numerical descriptions of the text and the corresponding labels. During recognition, it builds the same kinds of descriptions from an incoming tweet and uses the trained classifier to predict the labels. Gazetteers, which are lists of names and related expressions, supply features on both sides. They also support the capitalization stage on incoming text.

How an incoming Vietnamese tweet receives entity labels The steps in order.

#### Finding forms that may need correction

The spelling stage begins by removing material such as emotion symbols, links, and username mentions. The paper also identifies hashtag symbols among the material handled at this point. The removal step prepares text for a dictionary check. A web address, for example, contains character sequences that would be poor inputs for Vietnamese spelling repair. The dictionary treats the remaining written units as possible Vietnamese morphosyllables and flags a unit if it lacks an entry. The authors report a dictionary containing more than 7300 morphosyllables.

The rules take advantage of the internal structure of a morphosyllable. Following the syllable dictionary used in the study, the authors describe a consonant part and a syllable part. A syllable in that account can consist of a vowel, a group of vowels, or vowel material followed by a final consonant. Their inventory has 27 consonants, with a restricted group that can occur at the end, and 12 vowels. The underlying dictionary describes 158 syllables. Those inventories give the normalizer constraints on which forms it should consider plausible.

The distinction between spelling units and full words makes the initial check easier to apply. A unit can be looked up without first deciding which neighboring units belong to the same word. After normalization, the text goes through word segmentation. The order is important to the design. A spelling repair can make the input to segmentation more conventional, while segmentation supplies the words that later provide grammatical features and contextual evidence.

Dictionary membership is a decision about the written unit in isolation. It gives the system a reproducible way to decide where to intervene and brings familiar spellings into the candidate space. It also determines which forms get examined for correction. A conventional syllable in the wrong context can pass the lookup, while an unfamiliar form can be flagged even if the author intended it. The distinction becomes important when interpreting the correction scores. The normalizer has to find the problem before its correction rules or similarity scores can help.

#### Recovering typing errors and spelling variants

The paper separates errors associated with keyboard input from errors associated with spelling. Vietnamese typing methods let a user compose letters and tone marks from combinations of keystrokes. In Telex, for instance, `aa` produces â and `dd` produces đ. A letter can also select a tone mark, as when `s` marks an acute tone. VNI uses numeric keystrokes in comparable roles. The paper gives `a6` for â and `d9` for đ, and shows the use of `4` to indicate the tilde tone. A tweet can retain some of these intermediate characters if a key is repeated or the input sequence fails to produce the intended marked form.

The surname Nguyễn illustrates the kinds of variants the authors consider. Its Telex examples include `nguyeenx` and `nguyeenxx`, with the latter retaining a repeated tone key. In VNI, an example is `nguye6n4`, with numerals still present in the text. These strings contain evidence of the intended letters and tone even though they fail a lookup as ordinarily written Vietnamese. The authors build rules relating such error forms to the syllables that the keystrokes were intended to produce.

Rules for a short syllable show how the same intended form can correspond to different placements of a tone key. For án, the paper gives `asn` and `ans` in Telex and `a1n` and `an1` in VNI. These variants can be mapped to the same written syllable by using the input conventions the authors encode. That relationship is more specific than a comparison of visible characters. A letter or numeral that looks like an insertion may in fact tell the system which accent to restore.

The spelling examples involve other kinds of substitutions. The paper illustrates a tone-mark change with quyển sách and quyễn sách, a change of initial consonant with bóng chuyền and bóng truyền, and a difference in spelling associated with regional pronunciation with tìm kiếm and tìm kím. It also shows an error in a final consonant. Each example preserves some recognizable material while changing another part. The division of the syllable into beginning, vowel material, and ending gives the rules a way to describe where the forms differ.

The authors present the vocabulary structure and syllable rules as the first means of repair once a possible error has been found. For harder cases they bring in two further sources of evidence. A character comparison measures how much of a misspelled form a candidate preserves, and a word trigram resource gives evidence from surrounding text. The distinction matters in a short message. A candidate may look plausible because it resembles the observed string while fitting poorly with the nearby words. Conversely, a familiar sequence of words gives stronger evidence when the proposed replacement also resembles the written form.

#### Comparing characters with Dice

The base similarity measure uses [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/) of characters. A character bigram is a pair of adjacent characters. The bigrams overlap as the comparison moves along a written unit. For the paper’s example `nguyen`, they are `ng`, `gu`, `uy`, `ye`, and `en`. For `nguyn`, they are `ng`, `gu`, `uy`, and `yn`. The missing character changes the pairs near the end, while the earlier part still contributes matching pairs. This lets the coefficient express partial agreement between the forms.

```
Dice(wᵢ, wⱼ) = 2 × |B(wᵢ) ∩ B(wⱼ)| / (|B(wᵢ)| + |B(wⱼ)|)
```

Dice is the ordinary character similarity score. The arguments wᵢ and wⱼ are the morphosyllables being compared, and the subscripts i and j distinguish the two inputs. B applied to either input gives its adjacent character bigrams. The intersection sign ∩ selects the bigrams shared by the inputs. The vertical bars give the size of the group they enclose. The factor 2 weights the shared count against the combined count, and the slash divides the weighted count by that total. The paper gives 1 as the score for identical forms and interprets higher scores as greater similarity.

The size of the input matters. If an internal character changes in a short form, each bigram that touches it can change. The authors illustrate this with rất and rát, which ordinary Dice scores at 0. They also report 0 for gân and gần. Both examples retain the initial and final characters. A comparison based exclusively on adjacent pairs misses that agreement because those surviving characters are separated by the changed one.

The modification creates an additional pair from the first and last characters. It then uses that pair as extra evidence when it matches across the forms. The two characters have to agree in order, since the first character supplies the first part of the pair and the last character supplies the second part. The pair can help when a change occurs inside a short morphosyllable. It gives no extra credit when the endpoints differ.

```
iDice(wᵢ, wⱼ) = 2 × (|B(wᵢ) ∩ B(wⱼ)| + 1) / (|B(wᵢ)| + |B(wⱼ)| + 2)
```

iDice denotes the adjusted score used when the endpoint pairs agree. The inputs wᵢ and wⱼ, the bigram function B, the intersection ∩, and the size notation have the same meanings as in ordinary Dice. The 1 added inside the numerator counts the extra shared pair. The 2 added to the denominator counts an extra pair for each form. The outer factor 2 again weights the shared count, and the slash divides it by the total count. The parentheses specify which quantities are added before multiplication or division.

```
fDice(wᵢ, wⱼ) = Dice(wᵢ, wⱼ) if E(wᵢ) ≠ E(wⱼ), otherwise iDice(wᵢ, wⱼ)
```

fDice is the full modified comparison. E of a written form is the ordered pair made from its first and last characters. The sign ≠ means that the pairs differ. In that case the result is ordinary Dice. Otherwise, the endpoints agree and the result is iDice. The arguments wᵢ and wⱼ and the indices attached to them still denote the forms being compared.

For `nguyen` and `nguyn`, the shared endpoint pair is `nn`. Ordinary Dice gives 0.667 for this pair of forms, and the full modified comparison gives 0.727. Those scores indicate how the extra pair changes the evidence, even though the forms already agree on several adjacent bigrams. Elsewhere the authors give a form comparison between Nguễn and Nguy in which the score remains 0.571 with either coefficient. The two words end differently, so this is the ordinary Dice branch in action.

A separate comparison helps explain why the score is part of correction and not the whole decision. The paper shows `tượg` compared with both Tượng and Tương. The modification raises both reported similarities. For Tượng the score changes from 0.571 to 0.667. For Tương it changes from 0.286 to 0.444. Tượng has the higher score in both comparisons. The endpoints can strengthen evidence for multiple candidates at once, which gives the other spelling and context evidence a continuing role.

#### Comparing candidate sentences and using word sequences

The authors extend character similarity to pairs of sentences by aligning morphosyllables at corresponding positions and averaging the scores. This makes it possible to assess a proposed sentence as a whole while retaining the connection to each original form. An unchanged morphosyllable supports a high score at its position. A replacement is judged by how closely its written form resembles the unit it replaces.

```
Sim(S₁, S₂) = (Σᵢ₌₁ⁿ fDice(wᵢ, w′ᵢ)) / n
```

Sim denotes sentence similarity, and S₁ and S₂ are the two sentences being compared. The subscripts distinguish the first sentence from the second. The form wᵢ belongs to S₁ at position i, and w′ᵢ, marked with a prime, belongs to S₂ at that same position. The notation Σᵢ₌₁ⁿ instructs the system to sum the fDice scores beginning at position 1 and continuing through position n. The value n is the number of corresponding morphosyllables in each sentence. Dividing by n makes the result their average. The paper gives 1 for identical sentences, with higher scores indicating greater similarity.

The equation assumes that both sentences have the same number of units and that those units already correspond by position. It describes a comparison that is well suited to substituting one written form for another at a fixed position. A sentence that needs a unit split or merged poses a different alignment problem. The equation itself gives no rule for finding new correspondences in that situation.

The separate trigram resource is made from words. A word trigram represents a run of neighboring words, so it provides evidence about context rather than about the internal spelling of a single morphosyllable. The authors use it for errors that remain after the Vietnamese structure and syllable rules have been applied. A candidate that preserves much of the original spelling can still be checked against sequences that occur in the newspaper collection. The paper identifies the trigram resource and the sentence similarity score as components of this process. It gives the equation for the latter and no explicit combined scoring equation for their use together.

The newspaper collection covers topics such as current events, education, business, and sports. The authors report over 429,310 articles and about 1045 MB of source text. They used SRILM to build the trigram resource, which occupied about 1460 MB before filtering. They retained sequences occurring at least five times. The retained portion occupies around 81 MB and contains around 3.75 million trigrams. These figures describe the resource used for spelling correction. The training data for entity recognition are a separate collection of labeled tweets.

The normalization examples show repairs at more than one position in a tweet. In the accident example, the system removes the web address and changes `kinhh` to `kinh`. In the university example, forms such as `siinh` and `ddaijj` are repaired in a sentence about students, alongside correction of the institution’s written name. These cases show what the authors mean by normalization. Several forms can change in the same message before the system decides what part of it represents a name.

#### Restoring capitals and identifying words

Capitalization follows normalization. The authors distinguish capitalization based on sentence position from capitalization based on a name. For the first kind, the system examines sentence structure and restores an initial capital at the appropriate boundary. The paper discusses sentence starts after punctuation and new lines. For the second kind, the system consults gazetteers for people, places, and organizations. Its scope follows the recognition task, even though Vietnamese capitalization conventions also cover other kinds of expressions.

The university example shows why the capitalization operation can extend across a sequence. Once the spelling is conventional, the gazetteer-based step can restore capitals within the institution’s name. Nearby words describing the students or the circumstances of the tweet remain part of the surrounding sentence. A later recognition example identifies the institution as an organization with a span that includes the institutional words as well as the proper name. Capitalization thus supplies evidence about the extent of the expression that the final labels should cover.

The next stage is [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), here implemented as Vietnamese word segmentation with vnTokenizer. Its purpose is to mark units that the subsequent stages treat as words. The authors use VnTagger for [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), which adds a grammatical category to each word. The tag of the current word can become a recognition feature. Tags of surrounding words provide a compact description of the grammatical context in which the potential name occurs.

Applying the word tools after normalization and capitalization gives them the version of the tweet produced by those stages. This ordering provides several possible routes from correction to better recognition. Fixing a name’s spelling can help a gazetteer match. Fixing a surrounding word can change the segmentation or grammatical description. Restoring capitalization can change an orthographic feature, and a gazetteer contributes its own evidence in the later feature representation. The experiments examine the consequences of preprocessing at the end of these routes and leave their separate effects unmeasured.

#### Representing an entity and training the classifier

The system uses IOB labels to express an entity’s boundaries and class. B marks the beginning of a mention, I marks a subsequent unit within it, and O marks text outside the entity categories. A B or I label also carries a category code. PER represents a person, LOC a location, and ORG an organization. Thus a span starts with a label such as B-ORG and can continue with I-ORG. It ends when the sequence moves to outside material or begins another entity. The classification vocabulary contains seven labels in all, including the outside label.

The paper describes the IOB positions in terms of morphosyllables and describes feature vectors and training instances in terms of words after segmentation. The distinction is relevant when a segmented word contains more than one morphosyllable. The clear purpose of the representation is to let the recognizer mark both the start and the continuation of a name. The paper illustrates the intended spans with a person and a university. It gives less detail on the conversion between morphosyllable-level label descriptions and word-level feature positions.

For [annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), the authors first ran a program over the training text and then checked its labels by hand. The program considered noun phrases found after grammatical tagging and consulted dictionaries stored in text files. Some of these dictionaries contained expressions that frequently introduce a person, such as a title or a term of address. Other lists contained words indicating an organization or a place, such as a company designation or an administrative category. Lists of known states and Vietnamese provinces supplied further evidence. The dictionaries help propose both an entity category and a likely span for a human to verify.

The final training counts are reported by category. There are 10,842 person mentions, 19,037 location mentions, and 12,311 organization mentions. These describe the labeled occurrences available for learning. The gazetteer counts describe a different resource, made up of entries that can be checked against a text. According to the paper, the gazetteers list over 50,000 personal names, close to 12,000 place names, and 7,000 organization names. An entry in a list can supply a feature for a particular occurrence when the recognizer encounters it.

The feature representation draws on six families of evidence:

- Word position records where the current word appears in the sentence.
- The current part-of-speech tag gives its grammatical category.
- Orthographic features describe case, including initial capitals and all-capital forms, as well as punctuation and numbers.
- Gazetteer features reflect name lists and lists of expressions that can introduce names.
- Word prefixes and suffixes use the opening and closing characters of the current word.
- Contextual part-of-speech features use tags from the two previous and two following words.

The prefix evidence comes from two different sources in this description. A gazetteer prefix can be a separate expression that often introduces a particular entity type. A character prefix describes the written beginning of the current word. The latter is paired with corresponding features for the end of the word. The surrounding part-of-speech features expand the view of context in another way. They let the classification decision consider the grammatical patterns around a name without requiring every combination of neighboring words to be familiar.

Each training instance stores a label followed by indexed feature values. The annotation supplies the target label and the feature extraction stage supplies the values. Numeric codes run from 1 for the outside category to 7 for the continuation of an organization name. A feature index identifies the feature being recorded, and its associated value describes what the system observes for the current word. The authors use libSVM to train the support vector machine from these representations. At recognition time, the same kinds of features are extracted from the preprocessed tweet and the classifier supplies the labels used to mark names.

### Experiments and results

#### What was tested

The paper evaluates spelling normalization and entity recognition as different tasks. The spelling evaluation asks whether the system repairs errors, and compares the original and modified Dice coefficients while using word trigrams in both conditions. The recognition evaluation asks whether the system finds annotated entity mentions. It compares preprocessing conditions and also compares the authors’ recognizer with their reimplementation of an earlier Vietnamese recognizer.

The reported entity recognition test comprises 2,271 Vietnamese tweets with 3,186 named entities. These counts describe different units. The first gives the number of messages, and the second gives the number of annotated mentions in those messages. A tweet can contain multiple mentions, and its remaining words still affect the task because they can supply useful context or become false detections. The training material is counted by entity type in the paper. Locations make up the largest reported training category, followed by organizations and people. The principal test results are reported for recognition across the categories.

For normalization, the reported precision divides the number of successfully corrected errors by the number of errors the system detects. Recall divides the successfully corrected errors by the total number of errors. A wrong replacement therefore withholds credit from the numerator even if the system flagged a genuine problem. The recognition definitions use entity mentions in place of corrections. Recognition precision divides the correctly recognized mentions by all mentions predicted by the system. Recognition recall divides the correctly recognized mentions by the annotated mentions in the test set. These definitions capture different ways a system can fail. An incorrect prediction lowers the reliability of the returned names, and a missed mention lowers coverage of the annotated names.

The paper combines precision and recall with the balanced F-measure in both experiments. That measure rewards systems that do well on both components and is sensitive to whichever is weaker.

```
F₁ = (2 × P × R) / (P + R)
```

F₁ is the balanced F-measure. P denotes precision, and R denotes recall, with their counts defined separately for normalization and recognition. The multiplication signs form the product of P and R and double it using 2. The denominator adds P and R, and the slash divides the doubled product by that sum. The reported results express the measures as percentages.

#### Spelling correction with ordinary and modified Dice

The normalization experiment uses the trigram resource in both systems. With ordinary Dice, precision is 83.85%, recall is 82.76%, and F-measure is 83.30%. With the modified coefficient, precision is 89.66%, recall is 88.50%, and F-measure is 89.08%. The comparison therefore shows better correction scores under the paper’s evaluation when agreement at the first and last characters can contribute.

Vietnamese tweet normalization evaluation, F-measure by similarity coefficient The endpoint-aware coefficient gives the stronger correction result with the same trigram resource.

**The numbers**

| System or setting | F-measure % |
| --- | --- |
| Ordinary Dice with trigrams | 83.30 |
| Modified Dice with trigrams (this paper) | 89.08 |

The improvement appears in both components. Higher precision means that successful fixes accounted for a greater share of the errors detected. Higher recall means that successful fixes covered a greater share of the errors present. Those are stronger observations than the fact that the modified coefficient raises certain similarity scores in the examples. A greater string similarity is a property of the scoring rule. A greater share of errors corrected is a result measured on the correction task.

The paper’s examples also help identify the scale of the change under test. The coefficient compares written units, and the sentence score aggregates the comparisons across positions. The trigram resource remains in use. The outcome concerns the effect of substituting one similarity measure for the other within this setup, with the Vietnamese repair mechanism and contextual evidence available. The two rows give no estimate for a system containing the contextual resource alone.

#### Entity recognition before and after preprocessing

The recognition experiment’s first condition omits both spelling normalization and the capitalization stage for the test tweets. The second condition enables both. With neither stage, the authors report precision of 83.41%, recall of 67.89%, and F1 of 74.86%. With both stages, precision is 84.94%, recall is 79.50%, and F1 is 82.13%.

Vietnamese tweet test set, entity recognition F1 with and without preprocessing Recognition improves when spelling normalization and capitalization are applied together.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Without spelling normalization or capitalization | 74.86 |
| With spelling normalization and capitalization (this paper) | 82.13 |

Recall is the component that changes most. The recognizer receives credit for a larger share of the annotated entities after the preprocessing stages run. Precision also increases, indicating that the broader recovery of annotated entities did not come with a lower share of correct predictions. That pattern is consistent with usable recognition cues being restored in the text. The measured outcomes are the final labels, so the scores do not reveal whether any particular recovered name was helped by a corrected spelling, a restored capital, a change in grammatical tagging, or several of these routes.

The recognition improvement and the spelling result answer different questions. The 89.08% F-measure reflects the quality of error repair under the normalization metric. The 82.13% F1 describes detection and categorization of names under the recognition metric. A spelling error can matter to one measure even when it makes no difference to an entity label. For example, a correction can improve an ordinary word in a tweet whose name was already identified. Conversely, restoring capitalization can affect recognition without earning credit as one of the spelling corrections. The numerical results are best read in the units of their own tasks.

#### Comparison with an earlier Vietnamese recognizer

The authors reimplemented the Vietnamese entity recognition method of Tran and colleagues and included it as a comparison system. The reimplementation scored 83.10% precision, 77.62% recall, and 80.27% F1 in the paper’s comparison. The authors’ system scored 84.94% precision, 79.50% recall, and 82.13% F1. The proposed system has the higher reported score on each metric in this comparison.

Vietnamese tweet entity recognition test, F1 against a reimplemented baseline The full pipeline scores higher than the reimplementation of the earlier Vietnamese recognizer.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Reimplemented Tran and colleagues system | 80.27 |
| Nguyen and colleagues system (this paper) | 82.13 |

This comparison gives the reader a second point of reference. Turning preprocessing off within the authors’ recognizer tests the value of presenting the recognizer with normalized and capitalized tweets. Comparing the full recognizer with another Vietnamese method asks how the resulting system fares against an alternative approach. The earlier method was developed for Vietnamese documents. Its score in this comparison comes from the authors’ reimplementation, so it belongs to this experiment rather than to the earlier paper’s original evaluation.

The reported historical results for Vietnamese recognition concern different work, some with different entity categories. Their relevance is to the development of recognition methods in Vietnamese. The direct result here is narrower. The authors’ full system has the higher reported performance against the reimplementation on their tweet task. The experiment provides evidence for that reported comparison even though it cannot rank the full range of earlier Vietnamese or multilingual tweet systems.

### What the ablations show

#### Changing the similarity coefficient

The normalization comparison is the clearest component-level experiment. Both conditions use the word trigram resource. The named change between them is which character coefficient supplies the similarity score. Both precision and recall increase with the endpoint-aware version. That supports the authors’ argument that the modification is useful in the actual normalization procedure, beyond assigning more favorable values to carefully chosen examples.

The examples supply an explanation for why the experiment might come out that way. An internal change in a short form can destroy the adjacent pairs that ordinary Dice would need to detect partial agreement. The endpoint pair restores some evidence if the first and last characters are intact. When they differ, the modified coefficient falls back to ordinary Dice. The modification is selective in this sense. It targets a specific configuration of character agreement and leaves scores of other pairs as they were.

The comparison with `tượg` is especially instructive. Both candidates gain because each retains the endpoints, and the existing preference for Tượng survives. This demonstrates that the change can strengthen a shared shape without settling what the author intended to write. The aggregate correction scores say that the altered similarities helped the system when used with its other evidence. The paper does not report how often the additional pair switched the first choice, how often it created a tie, or what types of errors accounted for most of the gain.

The design also leaves several aspects of normalization untested. Every row in the coefficient comparison uses the trigram resource, so the results leave open what the coefficients achieve without context. There is no separate row for the syllable rules on their own or for varying the minimum frequency used to retain trigrams. The effect that can be attributed most directly is the coefficient substitution under the reported setup. Other design choices are part of the conditions under which that result was obtained.

#### Removing preprocessing from the recognizer

The recognition experiment removes a bundle. Normalization and capitalization are both present in one condition and both absent in the other. Since the stages occur in succession, it is plausible that they reinforce each other. A corrected expression may match a known name and become eligible for capitalization. Restored capitals may then make the expression easier to identify among nearby words. The scores establish the value of the bundle on the test set. The relative contributions of the stages and the size of any interaction remain unknown.

The effect on recall helps narrow the interpretation. The version without preprocessing misses a larger share of the annotated names. Enabling both stages recovers some of that coverage while precision also improves. This is consistent with a recognizer that has access to stronger cues after cleanup. It would take a comparison with spelling repair alone and capitalization alone to tell whether one stage accounts for most of the recall movement. Likewise, an analysis tracing individual predictions would be needed to say which corrected words or restored capitals supported the new detections.

The system also uses gazetteers in more than one place. They provide evidence during capitalization and again during feature extraction for entity classification. The preprocessing comparison tests the pipeline as described, with the capitalization-related use changing along with the capitalization stage. It does not compare recognizers trained with and without gazetteer features. The result therefore leaves open how recognition would fare on names missing from the lists or how much of the gain specifically depends on names already present there.

Finally, the comparison with the reimplemented recognizer is a whole-system benchmark. It shows which system has better reported scores in the authors’ experiment. Multiple design choices can differ across systems, so the benchmark cannot assign the advantage to a particular feature or linguistic rule. Together, the experiments support two distinct conclusions. The modified coefficient helps the paper’s normalizer under the trigram setup, and the combined preprocessing stages help the paper’s recognizer on its tweet test. The evidence linking a single correction rule to a single class of recovered names remains qualitative.

### Limitations

#### Limits and follow-up identified by the authors

The authors describe their system as a first attempt at Vietnamese tweet recognition and limit their experiments to people, locations, and organizations. Their introductory discussion mentions earlier Vietnamese systems that recognize other categories, but the training labels and examples here are designed around those named mentions. Extending the results to other categories would require evaluation of how those expressions are represented and recognized.

The authors propose enlarging the collection used for normalization and investigating word bigrams, trigrams, and four-grams. Their reported normalization scores concern the selected trigram resource. They leave open how the context length affects performance, especially in tweets where nearby words may themselves be irregular. The authors also identify more labeled training material and larger gazetteers as ways to improve entity recognition. These are plans for subsequent work. The reported experiments measure the existing collections and lists.

The newspaper data cover multiple subjects and supply the recurring sequences used to repair tweets. The authors acknowledge room for improving the resulting normalization resource by gathering more data. The recognition results should be read with the same attention to scope. They describe performance of a system trained and evaluated using the study’s collections, with its Vietnamese dictionaries, capitalization rules, and chosen feature families.

#### Limits visible in the data and method

The initial spelling check relies on dictionary membership. That works as a gate for candidate correction, but the gate has two kinds of boundary cases. A legitimate unfamiliar name can be absent from the dictionary. A wrong form can happen to be a valid entry in isolation. The paper’s tone and consonant examples show how closely related forms can arise. The dictionary test on its own cannot use the meaning of the surrounding sentence to decide whether a known form was intended. The reported normalization scores combine the consequences of detection and correction, without showing how often either boundary case occurs.

The word trigram resource comes from edited newspapers, whereas the target text consists of tweets. Conventional word sequences from the news can be helpful evidence when a tweet contains a familiar phrase with a misspelling. Sequences particular to informal conversation, a new name, or a less frequent expression may receive less support. The frequency filter also limits the stored resource to sequences observed at least five times in the collection. The paper provides one aggregate result using that filter. It leaves open how performance varies with the frequency of the intended correction in the newspaper data.

The sentence comparison relies on correspondence by position. Replacing a misspelled unit with a corrected one fits that assumption. Changing the number of units or their order would require a separate alignment procedure, which the authors do not specify in their similarity equation. They also give no explicit treatment for inputs whose character bigram counts would leave the ordinary Dice denominator empty. These details matter for implementing the comparison on arbitrary short strings. The empirical results establish the behavior of the authors’ system on their test material without describing every case another implementation might encounter.

The normalization experiment is described less fully than the recognition test. The paper identifies the test size for tweets and entities, but the correction results do not state a corresponding count of spelling errors or describe how their intended replacements were independently established. The examples illustrate clear cases of conventionalization. They cannot show how ambiguous forms, intentional variants, or disagreements about the intended wording were handled across the experiment. The reported precision, recall, and F-measure describe the outcomes under the authors’ evaluation, with the composition of the correction test left uncertain.

#### Limits on interpreting the recognition scores

The paper describes the use of semi-automatic labeling followed by manual checking for the training material. It gives no independent estimate of annotation agreement or a detailed account of ambiguous test boundaries. These questions can matter even when a system has recognized the right general phrase. For an organization, for instance, an institutional word can be part of the conventional name, while a nearby description of the institution may fall outside it. The paper’s labeled university example gives a concrete boundary decision. It does not establish how consistently comparable decisions were made throughout the test.

Names and related prefixes help propose training annotations and also appear in the recognizer’s features. The extent of overlap between the name lists and annotated test mentions is not reported. As a result, the overall F1 blends any successes on names covered by the available dictionaries with any successes on names outside them. The results establish performance on the test collection. Generalization to unfamiliar names would be easier to judge with scores broken down by gazetteer coverage or by whether a name had appeared during training.

The paper reports overall recognition scores even though it trains on categories with different counts. The test results leave open whether the gain is shared across people, locations, and organizations. An improvement concentrated in one category and smaller improvements spread across several categories can both produce a higher overall score. There is no reported breakdown by entity length, capitalization condition, or kind of spelling error. The headline result therefore supports an aggregate improvement and leaves the distribution of that improvement unknown.

The scope of the baseline comparison matters for the authors’ performance claim. Their system has the higher reported F1 against the method they reimplemented. The paper gives neither a broader set of matched Vietnamese tweet baselines nor uncertainty estimates for the reported comparisons. The earlier Vietnamese studies surveyed in the paper use different texts or cover different sets of categories, and the earlier tweet studies chiefly supply context from other languages. The evidence supports the advantage in the reported experiment. Its persistence across other Vietnamese tweet collections or annotation policies remains unmeasured.

### What came after

The paper closes with plans to compare different lengths of word context for normalization and expand the resources used for recognition. The two proposals address different uncertainties. Varying the length of context would test how much surrounding text helps select a correction. Adding labeled names and expanding the gazetteers would test how much recognition depends on the coverage of examples and name lists. The paper reports these as intended follow-up. No later study is identified here that carries out those comparisons or measures how this pipeline transfers to another collection.

## Cite

Cite as Vu Nguyen, Hien Phuong Nhat Nguyen and Václav Snåšel. 2016. Text normalization for named entity recognition in Vietnamese tweets. Computational Social Networks.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1186/s40649-016-0032-0](https://doi.org/10.1186/s40649-016-0032-0)

```bibtex
@inproceedings{nguyen2016text,
  title = {{Text normalization for named entity recognition in Vietnamese tweets}},
  author = {Vu Nguyen, Hien Phuong Nhat Nguyen and Václav Snåšel},
  booktitle = {Computational Social Networks},
  year = {2016},
  doi = {10.1186/s40649-016-0032-0},
  url = {https://doi.org/10.1186/s40649-016-0032-0}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
