clean code
a better sentence segmentation approach