1. A computer-implemented method comprising: receiving an initial search query including one or more terms; using statistical machine translation to translate the initial search query into a translated search query, the translated search query being different from the initial search query and being in a same natural language as the initial search query; identifying a first term occurring in the initial search query that was replaced by a corresponding second term occurring in the translated search query; determining that one or more context terms occurring adjacent to the first term in the initial search query also occur adjacent to the second term in the translated search query; and in response to determining that one or more context terms occurring adjacent to the first term in the initial search query also occur adjacent to the second term in the translated search query, designating the second term as a synonym of the first term when the first term occurs adjacent to the one or more context terms in search queries, wherein a search engine expands a particular search query to include the second term in response to a determination that the first term occurs adjacent to the one or more context terms in the particular search query.
1. A computer-implemented method comprising: receiving an initial search query including one or more terms; using statistical machine translation to translate the initial search query into a translated search query, the translated search query being different from the initial search query and being in a same natural language as the initial search query; identifying a first term occurring in the initial search query that was replaced by a corresponding second term occurring in the translated search query; determining that one or more context terms occurring adjacent to the first term in the initial search query also occur adjacent to the second term in the translated search query; and in response to determining that one or more context terms occurring adjacent to the first term in the initial search query also occur adjacent to the second term in the translated search query, designating the second term as a synonym of the first term when the first term occurs adjacent to the one or more context terms in search queries, wherein a search engine expands a particular search query to include the second term in response to a determination that the first term occurs adjacent to the one or more context terms in the particular search query. 5. The method of claim 1 , further comprising: identifying a search result access log identifying search queries and corresponding snippets, each record in the search result access log identifying a respective stored search query and a corresponding snippet, the snippet of a respective stored search query being a portion of content from a document accessed by a user, the document having been presented to the user as a search result in response to receiving the respective stored search query; and building a translation model trained on the search queries and the corresponding snippets including using the search queries from the search result access log as a source language for the translation model and the corresponding snippets as a target language for the translation model, wherein using statistical machine translation to translate the initial search query into a translated search query comprises providing the initial search query as input to the translation model trained on the search queries and the corresponding snippets and receiving the translated search query as output from the translation model trained on the search queries and the corresponding snippets.