A program implementing segmentation of Chinese words