SMS dit: Segmentation and reconstruction of ethnic cultural texts