| Package | Description |
|---|---|
| com.hankcs.hanlp.model.crf.crfpp |
这个包下面是由Zhifa Chen移植的CRF++。
做了一些注释、修改与debug。本来想自己移植的,后来发现已经有移植版,所以就没有浪费时间重复造轮子。 关于理论,请参考《CRF++代码分析》。 这份代码(含CRF++和darts-java)的许可证是LGPL & Modified BSD,需注明如下版权声明: |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoderFeatureIndex |
class |
EncoderFeatureIndex |
| Modifier and Type | Method and Description |
|---|---|
FeatureIndex |
TaggerImpl.getFeature_index_() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TaggerImpl.open(FeatureIndex featureIndex) |
boolean |
Tagger.open(FeatureIndex featureIndex,
int nbest,
int vlevel) |
boolean |
TaggerImpl.open(FeatureIndex featureIndex,
int nbest,
int vlevel) |
boolean |
Tagger.open(FeatureIndex featureIndex,
int nbest,
int vlevel,
double costFactor) |
boolean |
TaggerImpl.open(FeatureIndex featureIndex,
int nbest,
int vlevel,
double costFactor) |
void |
TaggerImpl.setFeature_index_(FeatureIndex feature_index_) |
Copyright © 2014–2021 码农场. All rights reserved.