|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.dictionary.py.PinyinUtil
public class PinyinUtil
| 构造方法摘要 | |
|---|---|
PinyinUtil()
|
|
| 方法摘要 | |
|---|---|
static Pinyin[] |
convertList2Array(List<Pinyin> pinyinList)
将列表转为数组 |
static List<String> |
convertPinyinList2TonePinyinList(List<Pinyin> pinyinList)
转换List |
static String |
convertToneNumber2ToneMark(String pinyinStr)
Convert tone numbers to tone marks using Unicode Algorithm for determining location of tone mark A simple algorithm for determining the vowel on which the tone mark appears is as follows: First, look for an "a" or an "e". |
static Pinyin |
removeTone(Pinyin p)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public PinyinUtil()
| 方法详细信息 |
|---|
public static String convertToneNumber2ToneMark(String pinyinStr)
pinyinStr - the ascii represention with tone numbers
public static Pinyin[] convertList2Array(List<Pinyin> pinyinList)
pinyinList -
public static Pinyin removeTone(Pinyin p)
public static List<String> convertPinyinList2TonePinyinList(List<Pinyin> pinyinList)
pinyinList -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||