15. A non-transitory computer-readable medium including instructions executable by one or more processors, the instructions comprising: one or more instructions that, when executed by the one or more processors, cause the one or more processors to: identify sentences, within one or more documents, the sentences including text included in a query; determine, from the identified sentences, completions for the query, the one or more instructions that cause the one or more processors to determine completions for the query including one or more instructions that cause the one or more processors to merge similar completions into a single completion; assign scores to the completions based on locations within the identified sentences at which the text occurs; and select a set of completions, of the determined completions, as potential completions for the query based on the scores.
15. A non-transitory computer-readable medium including instructions executable by one or more processors, the instructions comprising: one or more instructions that, when executed by the one or more processors, cause the one or more processors to: identify sentences, within one or more documents, the sentences including text included in a query; determine, from the identified sentences, completions for the query, the one or more instructions that cause the one or more processors to determine completions for the query including one or more instructions that cause the one or more processors to merge similar completions into a single completion; assign scores to the completions based on locations within the identified sentences at which the text occurs; and select a set of completions, of the determined completions, as potential completions for the query based on the scores. 20. The computer-readable medium of claim 15 , where the instructions further comprise: one or more instructions that cause the one or more processors to trim text from a particular completion of the completions prior to assigning the score for the particular completion.