| Package | Description |
|---|---|
| com.hankcs.hanlp.model.hmm | |
| com.hankcs.hanlp.model.perceptron |
感知机在线学习算法的线性序列标注模型。基于这套框架实现了一整套分词、词性标注和命名实体识别功能。
理论参考邓知龙 《基于感知器算法的高效中文分词与词性标注系统设计与实现》,
简介:http://www.hankcs.com/nlp/segment/implementation-of-word-segmentation-device-java-based-on-structured-average-perceptron.html
|
| com.hankcs.hanlp.model.perceptron.feature | |
| com.hankcs.hanlp.model.perceptron.instance | |
| com.hankcs.hanlp.model.perceptron.model | |
| com.hankcs.hanlp.model.perceptron.tagset |
| Modifier and Type | Method and Description |
|---|---|
protected TagSet |
HMMSegmenter.getTagSet() |
protected TagSet |
HMMNERecognizer.getTagSet() |
protected abstract TagSet |
HMMTrainer.getTagSet() |
protected TagSet |
HMMPOSTagger.getTagSet() |
| Modifier and Type | Method and Description |
|---|---|
protected TagSet |
NERTrainer.createTagSet()
重载此方法以支持任意自定义NER类型,例如:
NERTagSet tagSet = new NERTagSet(); tagSet.nerLabels.add("nr"); tagSet.nerLabels.add("ns"); tagSet.nerLabels.add("nt"); return tagSet; |
protected TagSet |
CWSTrainer.createTagSet() |
protected abstract TagSet |
PerceptronTrainer.createTagSet()
创建标注集
|
protected TagSet |
POSTrainer.createTagSet() |
| Modifier and Type | Field and Description |
|---|---|
TagSet |
FeatureMap.tagSet |
| Constructor and Description |
|---|
FeatureMap(TagSet tagSet) |
FeatureMap(TagSet tagSet,
boolean mutable) |
ImmutableFeatureDatMap(TreeMap<String,Integer> featureIdMap,
TagSet tagSet) |
ImmutableFeatureMap(Map<String,Integer> featureIdMap,
TagSet tagSet) |
ImmutableFeatureMap(Set<Map.Entry<String,Integer>> entrySet,
TagSet tagSet) |
ImmutableFeatureMDatMap(Map<String,Integer> featureIdMap,
TagSet tagSet) |
ImmutableFeatureMDatMap(MutableDoubleArrayTrieInteger dat,
TagSet tagSet) |
ImmutableFeatureMDatMap(Set<Map.Entry<String,Integer>> featureIdSet,
TagSet tagSet) |
ImmutableFeatureMDatMap(TagSet tagSet) |
LockableFeatureMap(TagSet tagSet) |
MutableFeatureMap(TagSet tagSet) |
MutableFeatureMap(TagSet tagSet,
Map<String,Integer> featureIdMap) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
Instance.tags(TagSet tagSet)
根据标注集还原字符形式的标签
|
| Modifier and Type | Method and Description |
|---|---|
TagSet |
LinearModel.tagSet() |
| Modifier and Type | Class and Description |
|---|---|
class |
CWSTagSet |
class |
NERTagSet |
class |
POSTagSet
词性标注集
|
Copyright © 2014–2021 码农场. All rights reserved.