Title: Efficient segmentation of text