5. The method of claim 1 , further comprising comparing all of the first plurality of meanings to all of the second plurality of meanings to determine if any pair of meanings has a connection in the semantic space.
1. A computer-implemented method comprising: receiving a query having a plurality of query terms; obtaining a plurality of meanings associated with each of the plurality of query terms, including a first plurality of meanings associated with a first query term and a second plurality of meanings associated with a different second query term, wherein each meaning of the plurality of meanings is a sequence of one or more terms having a respective score corresponding to a likelihood of a query term having the meaning; obtaining data representing a semantic space having a plurality of elements, each element being associated with a different respective meaning, and wherein each of the plurality of elements has a connection with at least one other element in the semantic space, wherein the connection between two elements indicates that the two elements have a similar meaning; determining that a first meaning of the first plurality of meanings for the first query term has a connection in the semantic space with a second meaning of the second plurality of meanings for the second query term; in response to determining that the first meaning has a connection in the semantic space with the second meaning, increasing respective scores associated with the first meaning, the second meaning, or both, an increase indicating a higher probability that a respective meaning relates to the query; ranking the plurality of meanings according to the respective scores associated with the plurality of meanings; selecting a highest-ranked meaning of the plurality of meanings; identifying a first element in the semantic space having the highest-ranked meaning; determining a plurality of additional elements in the semantic space that are each located within a threshold semantic distance of the first element; identifying one or more advertisements associated, in the semantic space, with one or more of the additional elements that are located within the threshold semantic distance of the first element, wherein the one or more of the additional elements differ from the plurality of query terms; and providing the identified one or more advertisements in response to receiving the query.