Now all the mistakes are classified correctly. Changed some functions in the Sentence class in order to do this.