added transform word problem
added word segmentation problem
fixed bug