1. A computer-implemented method comprising: providing location factors for first phrases in a collection of phrases, each location factor for a first phrase being associated with a likelihood that a second phrase of a search query is associated with a location when the first phrase and the second phrase are used in the search query; receiving a search query, the received search query including a first phrase from the collection of phrases and a second phrase; determining that the second phrase does not correspond to a location that can be identified by the second phrase alone, by: determining a name score indicating a popularity of the second phrase for the location; obtaining a signature for the location, wherein the signature includes a set of combinations of location specifiers, wherein each combination of location specifiers refers to the location; determining a signature score that indicates a popularity of the signature for the location; and determining that the location cannot be identified by the second phrase alone based on the name score and the signature score for the location; and determining whether the second phrase of the received search query refers to a location based, at least in part, on the location factor for the first phrase of the search query.
1. A computer-implemented method comprising: providing location factors for first phrases in a collection of phrases, each location factor for a first phrase being associated with a likelihood that a second phrase of a search query is associated with a location when the first phrase and the second phrase are used in the search query; receiving a search query, the received search query including a first phrase from the collection of phrases and a second phrase; determining that the second phrase does not correspond to a location that can be identified by the second phrase alone, by: determining a name score indicating a popularity of the second phrase for the location; obtaining a signature for the location, wherein the signature includes a set of combinations of location specifiers, wherein each combination of location specifiers refers to the location; determining a signature score that indicates a popularity of the signature for the location; and determining that the location cannot be identified by the second phrase alone based on the name score and the signature score for the location; and determining whether the second phrase of the received search query refers to a location based, at least in part, on the location factor for the first phrase of the search query. 7. The method of claim 1 , wherein determining whether the second phrase refers to a location includes: determining an origin factor based on an origin associated with the search query; and determining whether the second phrase refers to a location based, at least in part, on the origin factor.