Comments added to TextSegmenter.java