9. The method of claim 7 , further comprising: comparing said learning patterns with an unknown text
9. The method of claim 7 , further comprising: comparing said learning patterns with an unknown text 10. The method of claim 9 , wherein said comparing comprises: parsing each said unknown text to form a parse tree; calculating a generalization of said parse tree, said generalization forming a precedence inclusion pattern; calculating an MMSG for said generalization; and using said MMSG to calculate a similarity of said unknown text to said learning pattern.