use wordseg as tokenizer