1. A method in a computer system for identifying generalized sentence patterns for sentences, the method comprising: for each sentence, generating a generalized sentence by generalizing parts of speech of the sentence; and selecting a generalized sentence to be a generalized sentence pattern based on the generalized sentence being a subset of another generalized sentence.