Text this: Text segmentation for analysing different languages