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; 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.