add pinyin extension support