| Package | Description |
|---|---|
| org.ansj.app.newWord | |
| org.ansj.domain | |
| org.ansj.library | |
| org.ansj.splitWord.impl | |
| org.ansj.util |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Double>> |
LearnTool.getTopTree(int num,
TermNatures nature) |
| Modifier and Type | Field and Description |
|---|---|
static TermNatures |
TermNatures.BEGIN |
static TermNatures |
TermNatures.EN |
static TermNatures |
TermNatures.END |
static TermNatures |
TermNatures.NB |
static TermNatures |
TermNatures.NR |
static TermNatures |
TermNatures.NT |
static TermNatures |
TermNatures.NULL |
static TermNatures |
TermNatures.NW |
| Modifier and Type | Method and Description |
|---|---|
TermNatures |
NewWord.getNature() |
TermNatures |
Term.getTermNatures()
获得这个term的所有词性
|
| Modifier and Type | Method and Description |
|---|---|
void |
NewWord.setNature(TermNatures nature) |
void |
NewWord.update(double score,
TermNatures tn,
int freq)
更新发现权重
|
| Constructor and Description |
|---|
NewWord(java.lang.String name,
TermNatures nature,
double score,
int freq) |
Term(java.lang.String name,
int offe,
TermNatures termNatures) |
| Modifier and Type | Field and Description |
|---|---|
static TermNatures[] |
InitDictionary.termNatures
frequency : 词性词典,以及词性的相关权重
|
| Modifier and Type | Method and Description |
|---|---|
TermNatures |
GetWordsImpl.getTermNatures()
获得当前词的词性
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TermUtil.insertTerm(Term[] terms,
java.util.List<Term> tempList,
TermNatures nr) |
static Term |
TermUtil.makeNewTermNum(Term from,
Term to,
TermNatures termNatures)
将两个term合并为一个全新的term
|
Copyright © 2013. All Rights Reserved.