added non-unicode character filter to Sentence and exception handling to Corpus