Nlpir-Chinese word segmentation tool and code