Changed ClassDef to use map and print it when classifying sentences.