added chinese segmentation