Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T00:40:46.640Z Has data issue: false hasContentIssue false

Neural text normalization with adapted decoding and POS features

Published online by Cambridge University Press:  20 August 2019

T. Ruzsics*
Affiliation:
URPP Language and Space, University of Zurich, Zurich, Switzerland
M. Lusetti
Affiliation:
Institute of Romance Studies, University of Zurich, Zurich, Switzerland
A. Göhring
Affiliation:
Institute of Romance Studies, University of Zurich, Zurich, Switzerland Institute of Computational Linguistics, University of Zurich, Zurich, Switzerland
T. Samardžić
Affiliation:
URPP Language and Space, University of Zurich, Zurich, Switzerland
E. Stark
Affiliation:
Institute of Romance Studies, University of Zurich, Zurich, Switzerland
*
*Corresponding author. Email: tatiana.ruzsics@uzh.ch
Rights & Permissions [Opens in a new window]

Abstract

Text normalization is the task of mapping noncanonical language, typical of speech transcription and computer-mediated communication, to a standardized writing. This task is especially important for languages such as Swiss German, with strong regional variation and no written standard. In this paper, we propose a novel solution for normalizing Swiss German WhatsApp messages using the encoder–decoder neural machine translation (NMT) framework. We enhance the performance of a plain character-level NMT model with the integration of a word-level language model and linguistic features in the form of part-of-speech (POS) tags. The two components are intended to improve the performance by addressing two specific issues: the former is intended to improve the fluency of the predicted sequences, whereas the latter aims at resolving cases of word-level ambiguity. Our systematic comparison shows that our proposed solution results in an improvement over a plain NMT system and also over a comparable character-level statistical machine translation system, considered the state of the art in this task till recently. We perform a thorough analysis of the compared systems’ output, showing that our two components produce indeed the intended, complementary improvements.

Figure 0

Table 1. Examples of aligned token sequences in the WUS corpus

Figure 1

Figure 1. Basic NMT architecture.

Figure 2

Figure 2. Synchronized decoding.

Figure 3

Figure 3. NMT with POS tags as features.

Figure 4

Table 2. Text normalization accuracy scores

Figure 5

Table 3. Performance by source words categories

Figure 6

Table 4. Disambiguation analysis with POS tags

Figure 7

Table 5. Errors of NMT in the new words category from the seen_trg class corrected by NMT + LM

Figure 8

Table 6. Errors of NMT + LM in the new words category from the new_trg class corrected by NMT

Figure 9

Table 7. Errors of NMT + LM in the new words category from the new_trg class corrected by NMT + POS + LM

Figure 10

Table 8. An example of the errors in the unique category by the models without POS features

Figure 11

Table 9. An example of the errors in the unique category by the models with POS features

Figure 12

Table 10. An example of the errors in the ambiguous category for the words in the pos-unambiguous class with incorrectly predicted tag by the models with POS features

Figure 13

Table 11. An example of the errors in the ambiguous category for the words in the pos-unambiguous class with correctly predicted tag by the models with POS features

Figure 14

Table 12. An example of the errors in the ambiguous category for the words in the pos-ambiguous class