minor tweaks to sentence segmenter