public class PinyinKey extends Object implements Comparable<PinyinKey>, ISentenceKey<PinyinKey>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PinyinKey o) |
char[] |
getFirstCharArray() |
Double |
similarity(PinyinKey other) |
int |
size()
拼音的个数
|
String |
toString() |
public PinyinKey(String sentence)
public int compareTo(PinyinKey o)
compareTo in interface Comparable<PinyinKey>public Double similarity(PinyinKey other)
similarity in interface ISentenceKey<PinyinKey>public int size()
public char[] getFirstCharArray()
Copyright © 2014–2021 码农场. All rights reserved.