| Package | Description |
|---|---|
| org.ansj.domain | |
| org.ansj.recognition.impl | |
| org.ansj.util |
| Modifier and Type | Field and Description |
|---|---|
static TermNatures |
TermNatures.BEGIN |
static TermNatures |
TermNatures.EN |
static TermNatures |
TermNatures.END |
static TermNatures |
TermNatures.M |
static TermNatures |
TermNatures.NR |
static TermNatures |
TermNatures.NRF |
static TermNatures |
TermNatures.NS |
static TermNatures |
TermNatures.NT |
static TermNatures |
TermNatures.NULL |
static TermNatures |
TermNatures.NW |
TermNatures |
AnsjItem.termNatures
frequency : 词性词典,以及词性的相关权重
|
| Modifier and Type | Method and Description |
|---|---|
TermNatures |
Term.termNatures()
获得这个term的所有词性
|
| Modifier and Type | Method and Description |
|---|---|
void |
Term.updateTermNaturesAndNature(TermNatures termNatures) |
| Constructor and Description |
|---|
Term(String name,
int offe,
TermNatures termNatures) |
| Modifier and Type | Method and Description |
|---|---|
TermNatures |
NatureRecognition.getTermNatures(String word)
传入一次词语获得相关的词性
|
static TermNatures |
NatureRecognition.guessNature(String word)
通过规则 猜测词性
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TermUtil.insertTerm(Term[] terms,
List<Term> tempList,
TermNatures nr) |
static Term |
TermUtil.makeNewTermNum(Term from,
Term to,
TermNatures termNatures)
将两个term合并为一个全新的term
|
Copyright © 2017. All rights reserved.