[libpinyin] fix ui