MMSEG simple word segmenter in C++ 11