18. The method of claim 16 , further comprising automatically generating a candidate context for generating the context restriction, the candidate context being based on at least one of: a common term which is present in both the first query and second query; and a knowledge base term which is present in the knowledge base in association with the second term.
16. The method of claim 12 , wherein the defining of the synonymy rules includes generating, for at least one of the extracted candidate synonymy pairs, a context restriction, the synonymy rule comprising the candidate pair and the context restriction.