modified the segmenter to use sentences of fixed number of tokens