|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| com.hankcs.hanlp.algoritm 中 Nature 的使用 |
|---|
| 类型变量类型为 Nature 的 com.hankcs.hanlp.algoritm 中的方法参数 | |
|---|---|
static void |
Viterbi.compute(List<Vertex> vertexList,
TransformMatrixDictionary<Nature> transformMatrixDictionary)
特化版的求解HMM模型 |
| com.hankcs.hanlp.corpus.dictionary 中 Nature 的使用 |
|---|
| 声明为 Nature 的 com.hankcs.hanlp.corpus.dictionary 中的字段 | |
|---|---|
Nature[] |
EasyDictionary.Attribute.nature
词性列表 |
| 参数类型为 Nature 的 com.hankcs.hanlp.corpus.dictionary 中的方法 | |
|---|---|
int |
EasyDictionary.Attribute.getNatureFrequency(Nature nature)
获取词性的词频 |
| 参数类型为 Nature 的 com.hankcs.hanlp.corpus.dictionary 中的构造方法 | |
|---|---|
EasyDictionary.Attribute(Nature nature)
使用单个词性,默认词频1000构造 |
|
EasyDictionary.Attribute(Nature[] nature,
int[] frequency)
|
|
EasyDictionary.Attribute(Nature nature,
int frequency)
|
|
| com.hankcs.hanlp.corpus.tag 中 Nature 的使用 |
|---|
| 返回 Nature 的 com.hankcs.hanlp.corpus.tag 中的方法 | |
|---|---|
static Nature |
Nature.valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static Nature[] |
Nature.values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| com.hankcs.hanlp.dependency.common 中 Nature 的使用 |
|---|
| 参数类型为 Nature 的 com.hankcs.hanlp.dependency.common 中的方法 | |
|---|---|
static String |
POSUtil.compilePOS(Nature nature)
|
| com.hankcs.hanlp.dictionary 中 Nature 的使用 |
|---|
| 声明为 Nature 的 com.hankcs.hanlp.dictionary 中的字段 | |
|---|---|
Nature[] |
CoreDictionary.Attribute.nature
词性列表 |
| 类型参数类型为 Nature 的 com.hankcs.hanlp.dictionary 中的字段 | |
|---|---|
static TransformMatrixDictionary<Nature> |
CoreDictionaryTransformMatrixDictionary.transformMatrixDictionary
|
| 参数类型为 Nature 的 com.hankcs.hanlp.dictionary 中的方法 | |
|---|---|
int |
CoreDictionary.Attribute.getNatureFrequency(Nature nature)
获取词性的词频 |
boolean |
CoreDictionary.Attribute.hasNature(Nature nature)
是否有某个词性 |
static boolean |
CustomDictionary.load(String path,
Nature defaultNature,
TreeMap<String,CoreDictionary.Attribute> map)
加载用户词典(追加) |
| 参数类型为 Nature 的 com.hankcs.hanlp.dictionary 中的构造方法 | |
|---|---|
CoreDictionary.Attribute(Nature nature)
使用单个词性,默认词频1000构造 |
|
CoreDictionary.Attribute(Nature[] nature,
int[] frequency)
|
|
CoreDictionary.Attribute(Nature[] nature,
int[] frequency,
int totalFrequency)
|
|
CoreDictionary.Attribute(Nature nature,
int frequency)
|
|
| com.hankcs.hanlp.seg.common 中 Nature 的使用 |
|---|
| 声明为 Nature 的 com.hankcs.hanlp.seg.common 中的字段 | |
|---|---|
Nature |
Term.nature
词性 |
| 返回 Nature 的 com.hankcs.hanlp.seg.common 中的方法 | |
|---|---|
Nature |
Vertex.getNature()
获取该节点的词性,如果词性还未确定,则返回null |
Nature |
Vertex.guessNature()
猜测最可能的词性,也就是这个节点的词性中出现频率最大的那一个词性 |
| 参数类型为 Nature 的 com.hankcs.hanlp.seg.common 中的方法 | |
|---|---|
boolean |
Vertex.confirmNature(Nature nature)
将属性的词性锁定为nature |
boolean |
Vertex.confirmNature(Nature nature,
boolean updateWord)
将属性的词性锁定为nature,此重载会降低性能 |
boolean |
Vertex.hasNature(Nature nature)
|
| 参数类型为 Nature 的 com.hankcs.hanlp.seg.common 中的构造方法 | |
|---|---|
Term(String word,
Nature nature)
构造一个单词 |
|
| com.hankcs.hanlp.seg.NShort.Path 中 Nature 的使用 |
|---|
| 返回 Nature 的 com.hankcs.hanlp.seg.NShort.Path 中的方法 | |
|---|---|
Nature |
AtomNode.getNature()
原子的词性 |
| com.hankcs.hanlp.utility 中 Nature 的使用 |
|---|
| 参数类型为 Nature 的 com.hankcs.hanlp.utility 中的方法 | |
|---|---|
static boolean |
SentencesUtil.hasNature(List<Term> sentence,
Nature nature)
句子中是否含有词性 |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||