11. A system comprising: a data processing apparatus; and a data store coupled to the data processing apparatus, in which is stored: an application-independent input method editor configured to receive input for a plurality of applications executable by an electronic device, the application-independent input method editor operable to: receive spoken input from a user of the electronic device in an application of the plurality of applications; determine a category for the application; provide the spoken input and data that indicates the application category to a server that includes a speech recognition system configured to select one or more language models to generate text based on the spoken input, wherein the one or more language models are selected based on the data that indicates the application category; receive text from the server, wherein the text represents a transcription of the spoken input; and provide the text as input to the application.
11. A system comprising: a data processing apparatus; and a data store coupled to the data processing apparatus, in which is stored: an application-independent input method editor configured to receive input for a plurality of applications executable by an electronic device, the application-independent input method editor operable to: receive spoken input from a user of the electronic device in an application of the plurality of applications; determine a category for the application; provide the spoken input and data that indicates the application category to a server that includes a speech recognition system configured to select one or more language models to generate text based on the spoken input, wherein the one or more language models are selected based on the data that indicates the application category; receive text from the server, wherein the text represents a transcription of the spoken input; and provide the text as input to the application. 19. The system of claim 11 , wherein the application-independent input method editor is further operable to: generate a correlation between the spoken input and the application category, comprising matching one or more utterances in the spoken input to one or more stored items that are associated with the application category, wherein the one or more language models are further selected based on the correlation.