1. A method comprising: collecting multiple parameters relating to a user input into an input method editor (IME), the multiple parameters including a user-submitted query received through the IME and a scenario of a host application; and selecting, at least partly based on the multiple parameters, an application from one or more applications to provide one or more candidates for the user to select from to input into the host application.