Sentence Pattern Classification