1. A method comprising: determining that a user is using an input method editor (IME) to input one or more input candidates into a first user interface of a first computer application; determining a first scenario of the first computer application that the IME is to input the one or more candidates into; determining a query input by the user into a user interface of the IME; determining, based on the first scenario of the first computer application and the query, first scores for different types of input candidates, each first score indicating a likelihood that a respective type of input candidate is associated with a context of the first scenario and the query; determining, based at least in part on the first scores, a desired first type of input candidate from the types of input candidates to be presented at the user interface of the IME; identifying or generating a first set of input candidates at least partly based on a first relevancy of individual input candidates of the first set of input candidates to the first scenario, the query, and the desired first type of input candidate; presenting the first set of input candidates via the user interface of the IME; receiving a first selection of at least one input candidate of the first set of input candidates; inputting the selected at least one input candidate into the first user interface of the first computer application, the first computer application being separate from the IME; determining that the user has entered the query into the user interface of the IME to input one or more second input candidates into a second user interface of a second computer application, the second computer application being separate from the first computer application and the IME; determining a second scenario of the second computer application that the IME is to input the one or more second candidates into; determining, based on the second scenario of the second computer application and the query, second scores for different types of input candidates, each second score indicating a likelihood that a respective type of input candidate is associated with a context of the second scenario and the query; and presenting based at least in part on the second scores, a second set of input candidates via the user interface of the IME, wherein at least one input candidate of the second set of input candidates is not included in the first set of input candidates.
1. A method comprising: determining that a user is using an input method editor (IME) to input one or more input candidates into a first user interface of a first computer application; determining a first scenario of the first computer application that the IME is to input the one or more candidates into; determining a query input by the user into a user interface of the IME; determining, based on the first scenario of the first computer application and the query, first scores for different types of input candidates, each first score indicating a likelihood that a respective type of input candidate is associated with a context of the first scenario and the query; determining, based at least in part on the first scores, a desired first type of input candidate from the types of input candidates to be presented at the user interface of the IME; identifying or generating a first set of input candidates at least partly based on a first relevancy of individual input candidates of the first set of input candidates to the first scenario, the query, and the desired first type of input candidate; presenting the first set of input candidates via the user interface of the IME; receiving a first selection of at least one input candidate of the first set of input candidates; inputting the selected at least one input candidate into the first user interface of the first computer application, the first computer application being separate from the IME; determining that the user has entered the query into the user interface of the IME to input one or more second input candidates into a second user interface of a second computer application, the second computer application being separate from the first computer application and the IME; determining a second scenario of the second computer application that the IME is to input the one or more second candidates into; determining, based on the second scenario of the second computer application and the query, second scores for different types of input candidates, each second score indicating a likelihood that a respective type of input candidate is associated with a context of the second scenario and the query; and presenting based at least in part on the second scores, a second set of input candidates via the user interface of the IME, wherein at least one input candidate of the second set of input candidates is not included in the first set of input candidates. 7. A method as recited in claim 1 , wherein the identifying or generating comprises: identifying an engine pool, the engine pool including a plurality of input search engines, each input search engine of the plurality of input search engines being preset to search a specific type of input candidate applicable to a specific scenario; selecting an input search engine preset for the first type of input candidate applicable to the first scenario; and using the input search engine to identify the first set of input candidates.