public interface IPinyin
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasSamePinyin(char chineseOne,
char chineseTwo,
IPinyinContext context)
是否为同音字
|
List<String> |
shengMuList(String chinese,
IPinyinContext context)
获取声母字符
|
List<Integer> |
toneNumList(char chinese,
IPinyinContext context)
获取拼音的音调编号
12345
|
List<Integer> |
toneNumList(String chinese,
IPinyinContext context)
获取拼音的音调编号
12345
|
String |
toPinyin(String string,
IPinyinContext context)
获取指定字符串的拼音
|
List<String> |
toPinyinList(char chinese,
IPinyinContext context)
返回所有拼音列表
(1)返回当前汉字的所有拼音列表
(2)如果不是汉字,返回其本身
|
List<String> |
yunMuList(String chinese,
IPinyinContext context)
获取韵母字符
|
String toPinyin(String string, IPinyinContext context)
string - 原始字符串context - 上下文List<String> toPinyinList(char chinese, IPinyinContext context)
chinese - 中文汉字context - 上下文boolean hasSamePinyin(char chineseOne,
char chineseTwo,
IPinyinContext context)
chineseOne - 中文一chineseTwo - 中文二context - 上下文List<Integer> toneNumList(String chinese, IPinyinContext context)
chinese - 中文拼音context - 上下文List<Integer> toneNumList(char chinese, IPinyinContext context)
chinese - 中文字符context - 上下文List<String> shengMuList(String chinese, IPinyinContext context)
chinese - 中文汉字context - 上下文List<String> yunMuList(String chinese, IPinyinContext context)
chinese - 中文字符context - 上下文Copyright © 2021. All rights reserved.