Implementation of unsupervised Chinese word segmentation algorithm modified from the ESA algorithm.