Digital texts in many languages have examples of missing or misused diacritics which makes it hard for natural language processing applications to disambiguate the meaning of words. Therefore, diacritics restoration is a crucial step in natural language processing applications for many languages. In this study we approach this problem as bidirectional transformation of diacritical letters and their ASCII counterparts, rather than unidirectional diacritic restoration. We propose a context-aware character-level sequence to sequence model for this transformation. The model is language independent in the sense that no language-specific feature extraction is necessary other than the utilization of word embeddings and is directly applicable to other languages. We trained the model for Turkish diacritics correction task and for the assessment we used Turkish tweets benchmark dataset. Our best setting for the proposed model improves the state-of-the-art results in terms of F1 score by 4.7% on ambiguous words and 1.24% over all cases.
Natural language processing, diacritics restoration, diacritics correction, sequence to sequence learning, LSTM
ÖZGE, ASİYE TUBA; BOZAL, ÖZGE; and ÖZGE, UMUT
"Diacritics correction in Turkish with context-aware sequence to sequence modeling,"
Turkish Journal of Electrical Engineering and Computer Sciences: Vol. 30:
6, Article 28.
Available at: https://journals.tubitak.gov.tr/elektrik/vol30/iss6/28