Source code for various word segmentation techniques (super full)