Changed different things

Fixed bug in punctuation recognizer