arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.03963cs.CL
收藏

用于移动设备上多语言文本的语言检测引擎

Language Detection Engine for Multilingual Texting on Mobile Devices

Samsung R&D Institute Bangalore(三星班加罗尔研发中心)

Sourabh Vasant Gothe, Sourav Ghosh, Sharmila Mani, Guggilla Bhanodai, Ankur Agarwal, Chandramouli Sanchi

摘要:

全球超过20亿移动用户在软键盘上输入多种语言。在单语键盘上,38%的错误自动纠正单词在另一种语言中有效。这可以通过检测键入单词的语言,然后用相应的语言验证它来轻松避免。语言检测是自然语言处理中的一个重要问题。在本文中,我们提出了一个快速,轻量级和准确的语言检测引擎(LDE)的多语种打字,动态适应用户预期的语言实时。本文提出了一种新的语言识别方法,将字符N-gram模型和基于逻辑回归的选择器模型相融合。此外,我们提出了一个独特的方法,减少推理时间显着的参数减少技术。我们还讨论了在LDE中制造的各种优化,以解决具有相同字符模式的语言之间的输入文本中的歧义。我们的方法证明了一个平均准确率为94.5%的拉丁字母的印度语言和98%的欧洲语言的代码转换数据。在欧洲语言的F1评分中,该模型优于fastText 60.39%和ML-Kit 23.67%。LDE在移动终端上更快,平均推理时间为25.91微秒。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑