1. A method comprising: identifying, by one or more processors, sentences, within one or more documents, that include text represented by a query; determining, by one or more processors and from the identified sentences, completions for the query; determining, by one or more processors, that two or more of the completions have text in common; merging, by one or more processors, the two or more completions based on the text in common; and outputting, by one or more processors and for presentation, the completions as potential completions for the query.
1. A method comprising: identifying, by one or more processors, sentences, within one or more documents, that include text represented by a query; determining, by one or more processors and from the identified sentences, completions for the query; determining, by one or more processors, that two or more of the completions have text in common; merging, by one or more processors, the two or more completions based on the text in common; and outputting, by one or more processors and for presentation, the completions as potential completions for the query. 6. The method of claim 1 , further comprising: trimming at least one of the completions by dropping one or more words from the at least one completion.