1. A method of converting speech to text, comprising: generating a language model by analyzing textual content for a first web page to determine a topic of the first web page, determining other pages determined to be directed to the same topic of the first web page, and analyzing content of queries previously submitted to the other pages determined to be directed to the same topic of the first web page, wherein the queries previously submitted to the other pages include queries submitted to respective search capabilities of at least some of the other pages; receiving, at a computer server system and from an electronic device, sound information from a user of the electronic device, and a context identifier that indicates a context within which the user provided the sound information; using the context identifier to select the generated language model from among a plurality of language models; converting speech in the sound information to text using the selected language model; and providing the text for use by the electronic device.