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.