Convert Chinese to pinyin and build a trie tree for searching