An implementation of the ESA unsupervised word segmentation algorithm in C++.