摘要 |
Embodiments of the present invention provide an input processing method and apparatus. The input processing method includes: acquiring, by a terminal device according to an input mode selected by a user, first input information that is input by the user and matches the input mode, where the input mode is a gesture input mode or a voice input mode; encoding the first input information according to a preset encoding rule to obtain code corresponding to the first input information; and querying a pre-established vocabulary to acquire a candidate word corresponding to the code. In the input processing method provided in the embodiments of the present invention, by acquiring first input information according to an input mode selected by a user, acquiring corresponding code according to the first input information, and then acquiring, by encoding, a word to be input by the user, rapid and accurate input of complex words is implemented, thereby effectively improving the input efficiency. |