add max matching word segmentation