| 限定符和类型 | 方法和说明 |
|---|---|
String[][] |
Sentence.toWordTagNerArray(NERTagSet tagSet)
word pos ner
|
| 限定符和类型 | 方法和说明 |
|---|---|
NERTagSet |
CRFNERecognizer.getNERTagSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
NERTagSet |
HMMNERecognizer.getNERTagSet() |
| 限定符和类型 | 字段和说明 |
|---|---|
NERTagSet |
NERTrainer.tagSet
支持任意自定义NER类型,例如:
tagSet.nerLabels.clear(); tagSet.nerLabels.add("nr"); tagSet.nerLabels.add("ns"); tagSet.nerLabels.add("nt"); |
| 限定符和类型 | 方法和说明 |
|---|---|
NERTagSet |
PerceptronNERecognizer.getNERTagSet() |
| 构造器和说明 |
|---|
NERTrainer(NERTagSet tagSet) |
| 构造器和说明 |
|---|
NERInstance(String[] wordArray,
String[] posArray,
String[] nerArray,
NERTagSet tagSet,
FeatureMap featureMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Set<String> |
Utility.combineNER(String[] nerArray,
NERTagSet tagSet) |
static List<String[]> |
Utility.convertSentenceToNER(Sentence sentence,
NERTagSet tagSet)
将句子转换为 (单词,词性,NER标签)三元组
|
| 限定符和类型 | 方法和说明 |
|---|---|
NERTagSet |
NERecognizer.getNERTagSet() |
NERTagSet |
AbstractLexicalAnalyzer.getNERTagSet() |
| 限定符和类型 | 方法和说明 |
|---|---|
NERTagSet |
LexicalAnalyzerPipeline.getNERTagSet() |
Copyright © 2014–2019 码农场. All rights reserved.