1. A computer-implemented input-method editor process comprising: receiving a request from a user of an electronic device for an application-independent input method editor having written and spoken input capabilities, wherein the application-independent input method editor is configured to receive input for a plurality of applications executable by the electronic device; identifying that the user is about to provide spoken input to the application-independent input method editor; receiving a spoken input from the user, wherein the spoken input corresponds to an input to an application from the plurality of applications; identifying, with the electronic device, an application from the plurality of applications to which the spoken input was addressed by (i) identifying an application type for the application that identifies an application category for the application, wherein each application category is capable of including a plurality of applications, and (ii) matching one or more utterances in the spoken input to one or more stored terms that are associated with the application type; providing the spoken input and information indicating the application type to a server, that is remote form the electronic device and includes a speech recognition system configured to access one or more language models for recognizing text based on the spoken input and the information indicating the application type; receiving text from the remote server, wherein the text represents a translation of the spoken input; selecting an application from the plurality of applications to receive the text, based on the identifying of the application; and providing the text as the input to the application.