Update LineSentenceIterator.java

Updated the pre-processing of sentence string at nextSentence() method call.