Method and device for mining synonyms

The invention provides a method and device for mining synonyms. The method comprises the following steps of: searching a query and a webpage title which is clicked or browsed in a searching result corresponding to the query from a searching log, or allowing the clicked or browsed webpage title to correspond with different queries, and acquiring a candidate resource of a synonym formed by phrase pairs; and extracting a synonym from each phrase pair of the candidate resource, wherein the extracted synonym pair has the same context from the phrase pairs. According to the method and device for mining synonyms, the efficiency and accuracy of mining synonyms can be improved, and the mined synonyms can be in more accordance with the language characteristics of a search engine.