| 限定符和类型 | 方法和说明 |
|---|---|
void |
CommonDictionaryMaker.learn(Sentence... sentences)
同compute
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CommonDictionaryMaker.learn(List<Sentence> sentenceList)
同compute
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<Sentence> |
Document.sentenceList |
| 构造器和说明 |
|---|
Document(List<Sentence> sentenceList) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Sentence |
Sentence.create(String param)
以人民日报2014语料格式的字符串创建一个结构化句子
|
Sentence |
Sentence.mergeCompoundWords() |
Sentence |
Sentence.translateCompoundWordLabels()
按照 PartOfSpeechTagDictionary 指定的映射表将复合词词语词性翻译过去
|
Sentence |
Sentence.translateLabels()
按照 PartOfSpeechTagDictionary 指定的映射表将词语词性翻译过去
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
CharTable.normalize(Sentence sentence) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
CRFNERecognizer.convertCorpus(Sentence sentence,
BufferedWriter bw) |
protected void |
CRFSegmenter.convertCorpus(Sentence sentence,
BufferedWriter bw) |
protected abstract void |
CRFTagger.convertCorpus(Sentence sentence,
BufferedWriter bw) |
protected void |
CRFPOSTagger.convertCorpus(Sentence sentence,
BufferedWriter bw) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<String[]> |
HMMSegmenter.convertToSequence(Sentence sentence) |
protected List<String[]> |
HMMNERecognizer.convertToSequence(Sentence sentence) |
protected abstract List<String[]> |
HMMTrainer.convertToSequence(Sentence sentence) |
protected List<String[]> |
HMMPOSTagger.convertToSequence(Sentence sentence) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Instance |
PerceptronSegmenter.createInstance(Sentence sentence,
FeatureMap featureMap) |
protected Instance |
NERTrainer.createInstance(Sentence sentence,
FeatureMap featureMap) |
protected abstract Instance |
InstanceConsumer.createInstance(Sentence sentence,
FeatureMap featureMap) |
protected Instance |
CWSTrainer.createInstance(Sentence sentence,
FeatureMap mutableFeatureMap) |
protected Instance |
PerceptronPOSTagger.createInstance(Sentence sentence,
FeatureMap featureMap) |
protected Instance |
PerceptronNERecognizer.createInstance(Sentence sentence,
FeatureMap featureMap) |
protected Instance |
POSTrainer.createInstance(Sentence sentence,
FeatureMap featureMap) |
boolean |
PerceptronTagger.learn(Sentence sentence)
在线学习
|
boolean |
PerceptronLexicalAnalyzer.learn(Sentence sentence)
在线学习
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CWSInstance |
CWSInstance.create(Sentence sentence,
FeatureMap featureMap) |
static POSInstance |
POSInstance.create(Sentence sentence,
FeatureMap featureMap) |
static NERInstance |
NERInstance.create(Sentence sentence,
FeatureMap featureMap) |
boolean |
InstanceHandler.process(Sentence instance) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<String[]> |
Utility.convertSentenceToNER(Sentence sentence,
NERTagSet tagSet)
将句子转换为 (单词,词性,NER标签)三元组
|
static void |
Utility.normalize(Sentence sentence) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Sentence |
NLPTokenizer.analyze(String sentence)
词法分析
|
| 限定符和类型 | 方法和说明 |
|---|---|
Sentence |
LexicalAnalyzer.analyze(String sentence)
对句子进行词法分析
|
Sentence |
AbstractLexicalAnalyzer.analyze(String sentence) |
| 限定符和类型 | 方法和说明 |
|---|---|
Sentence |
LexicalAnalyzerPipeline.analyze(String sentence) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
TextUtility.combine(Sentence sentence) |
Copyright © 2014–2019 码农场. All rights reserved.