Language Detection Engine for Multilingual Texting on Mobile Devices
Not on the map. Why?
Abstract (arXiv)
More than 2 billion mobile users worldwide type in multiple languages in the soft keyboard. On a monolingual keyboard, 38% of falsely auto-corrected words are valid in another language. This can be easily avoided by detecting the language of typed words and then validating it in its respective language. Language detection is a well-known problem in natural language processing. In this paper, we present a fast, light-weight and accurate Language Detection Engine (LDE) for multilingual typing that dynamically adapts to user intended language in real-time. We propose a novel approach where the fusion of character N-gram model and logistic regression based selector model is used to identify the language. Additionally, we present a unique method of reducing the inference time significantly by parameter reduction technique. We also discuss various optimizations fabricated across LDE to resolve ambiguity in input text among the languages with the same character pattern. Our method demonstrates an average accuracy of 94.5% for Indian languages in Latin script and that of 98% for European languages on the code-switched data. This model outperforms fastText by 60.39% and ML-Kit by 23.67% in F1 score for European languages. LDE is faster on mobile device with an average inference time of 25.91 microseconds.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 6 of its 22 references that are in the map. First posted on arXiv 7 Jan 2021.
Builds on
6 of 22 references.
References · 6
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2015Character-Aware Neural Language Modelscited by 129
- 2015Strategies for Training Large Vocabulary Neural Language Modelscited by 14
- 2018A Fast, Compact, Accurate Model for Language Identification of Codemixed Textcited by 11
- 2015Hand Posture's Effect on Touch Screen Text Input Behaviors: A Touch Area Based Studycited by 1
Built on by
Citing papers per year: 2022: 1.
1 paper.