1. A method for providing conversion, the method comprising: receiving a first input; determining, in response to the first input, an input mode comprising one of the following: a pinyin input mode, a stroke order input mode, and a stroke number input mode; receiving data based on the determined input mode; and converting the received data comprising; using the determined input mode, and using a language model configured to be used with each of the following input modes: the pinyin input mode, the stroke order input mode, and the stroke number input mode.