| Package | Description |
|---|---|
| com.aliasi.crf |
Classes and interfaces for conditional random fields.
|
| Modifier and Type | Method and Description |
|---|---|
ChainCrf<String> |
ChainCrfChunker.crf()
Returns the underlying CRF for this chunker.
|
static <F> ChainCrf<F> |
ChainCrf.estimate(Corpus<ObjectHandler<Tagging<F>>> corpus,
ChainCrfFeatureExtractor<F> featureExtractor,
boolean addInterceptFeature,
int minFeatureCount,
boolean cacheFeatureVectors,
boolean allowUnseenTransitions,
RegressionPrior prior,
int priorBlockSize,
AnnealingSchedule annealingSchedule,
double minImprovement,
int minEpochs,
int maxEpochs,
Reporter reporter)
Return the CRF estimated using stochastic gradient descent with
the specified prior from the specified corpus of taggings of
type
F pruned to the specified minimum feature count,
using the specified feature extractor, automatically adding an
intercept feature if the flag is true, allow unseen tag
transitions as specified, using the specified training
parameters for annealing, measuring convergence, and reporting
the incremental results to the specified reporter. |
| Constructor and Description |
|---|
ChainCrfChunker(ChainCrf<String> crf,
TokenizerFactory tokenizerFactory,
TagChunkCodec codec)
Construct a chunker based on the specified chain conditional
random field, tokenizer factory and tag-chunk coder/decoder.
|
Copyright © 2016 Alias-i, Inc.. All rights reserved.