Combining Key-target Resizing and LSTM Language Model to Reduce Typos in Thai Soft Keyboard

Main Article Content

Vachara Suwansophon
Thitirat Siriborvornratanakul

Abstract

Recently virtual keyboard has become one of the main user interfaces for entering textual data to a smartphone. For virtual keyboards in foreign languages, there are many researches that study how to reduce typos caused by the small size of each button in the virtual keyboard. Nevertheless, as we do not find this kind of researches for Thai virtual keyboard, we propose our work that experiments and evaluates feasibility of using a combination of language model and key-target resizing technique to reduce typos on Thai virtual keyboard. Our work starts by using standard Thai vocabulary corpuses to train two language models (i.e., Markov Chain and LSTM) in order to predict the most likely buttons that a user will press next. Then, we collect typing data on Thai virtual keyboard from seven users using our prototype system. Finally, we analyze the collected data in conjunction with predicted results from our language model. According to our experimental results, the LSTM based language model performs better than the Markov Chain based language model in predicting the next Thai’s character buttons. When this LSTM language model is used to enlarge six buttons with highest predicted probabilities in advance, results show that it helps reduce typos by 5.05%. More specifically, the number of typos is reduced by 13 out of 257 typos.

Article Details

Section
Applied Science Research Articles

References

Advanced Info Services Public Company Limited. (2020, July). Operating and Financial Report. [Online] (in Thai). Available: http:// investor-th.ais.co.th/operational_highlight.html

J. H. Kim, L. Aulck, O. Thamsuwan, M. C. Bartha, and P. W. Johnson, “The effects of virtual keyboard key sizes on typing productivity and physical exposures,” in Human Factors and Ergonomics Socety Annual Meeting, 2013.

T. Baldwin and J. Y. Chai, “Towards online adaptation and personalization of key-target resizing for mobile devices,” presented at the IUI, 2012.

D. Weir, S. Rogers, R. Murray-Smith, and M. Löchtefeld, “A user-specific machine learning approach for improving touch accuracy on mobile devices,” in UIST, Cambridge, Massachusetts, USA, 2012.

National Statistical Office of Thailand, “Household information technology usage survey 2018 Q1,” Ministry of Digital Economy and Society, Bangkok, Thailand, 2018 (in Thai).

Faculty of Arts. (2021, March). Thai National Corpus. [Online] (in Thai). Available: http:// www.arts.chula.ac.th/ling/tnc/

Human Language Technology Laboratory. (2021, March). BEST by Human Language Technology Laboratory, National Electronics and Computer Technology Center. [Online]. Available: http://thailang.nectec.or.th/archive/ indexdca0.html?q=node/21

Mozilla. (2020, November). Mozilla Common Voice GitHub Page. [Online]. Available: https:// github.com/common-voice/common-voice/ tree/main/server/data/th

H. Wassdahl and K. Cho, “Personalized stroke order dependent keyboard with adaptive key-target areas using user generated data,” in HCI Korea, 2016.

Google, Inc. (2021, April). Pixel density. [Online]. Available: https://material.io/design/layout/ pixel-density.html#density-independence

N. Piyapramote. (2021, March). Keyboard ManMan Google Play Store Page. [Online]. Available: https://play.google.com/store/apps/ details?id=net.siamdev.nattster.manman&hl =th&gl=US

J. Himberg, J. Häkkilä, and J. Mäntyjärvi, “On-line personalization of a touch screen based keyboard,” presented at the IUI, Miami, Florida, USA, 2003.

A. Gunawardana, T. Paek, and C. Meek, “Usability guided key-target resizing for soft keyboards,” presented at the IUI, Hong Kong, China, 2010.