Designing Small Keyboards Is Hard
We study the problem of placing symbols of an alphabet onto the minimum number of keys on a small keyboard so that any word of a given dictionary can be recognized univoquely only by looking at the corresponding sequence of pressed keys. This problem is motivated by the design of small keyboards for mobile devices. We show that the problem is hard in general, and NP-complete even if we only wish to decide whether two keys are sufficient. We also consider two variants of the problem. In the first one, symbols on a same key must be contiguous in an ordered alphabet. The second variant is a fixed-parameter version of the previous one that minimizes a well-chosen measure of ambiguity in the recognition of the words for a given number of keys. Hardness and approximability results are given.
KeywordsMobile Phone Word Pair Ambiguous Word Submodular Function Text Entry
Unable to display preview. Download preview PDF.
- 1.ISO/IEC 9995-8. Information systems – keyboard layouts for text and office systems – part 8: Allocation of letters to keys of a numeric keypad (1994), International Organisation for standardisation Google Scholar
- 3.Butts, L., Cockburn, A.: An evaluation of mobile phone text input methods. In: Proc. 3rd Australasian User Interfaces Conference (2001)Google Scholar
- 4.Tegic Communications. T9 text entry, http://www.t9.com
- 7.Hochbaum, D.S. (ed.): Approximation algorithms for NP-hard problems. PWS Publishing Company (1997)Google Scholar
- 8.Lesher, G., Moulton, B., Jeffery Higginbotham, D.: Optimal character arrangements for ambiguous keyboards. IEEE Trans. on Rehabilitation Engineering 6(4) (1998)Google Scholar
- 10.Raz, R., Safra, S.: A sub-constant error-probability low-degree test, and a subconstant error-probability PCP characterization of NP. In: Proceedings of the 29th ACM Symposium on Theory of Computing, pp. 475–484 (1997)Google Scholar
- 11.Vazirani, V.: Approximation Algorithms. Springer, Berlin (2001)Google Scholar