[pinyin] port pinyin to imclass2