| Package | Description |
|---|---|
| com.aliasi.chunk |
Classes for extracting meaningful chunks (spans) of text.
|
| com.aliasi.crf |
Classes and interfaces for conditional random fields.
|
| com.aliasi.hmm |
Classes for estimating and decoding hidden Markov models.
|
| com.aliasi.tag |
Classes and interfaces for sequence tagging, including evaluators.
|
| Modifier and Type | Method and Description |
|---|---|
Tagging<String> |
IoTagChunkCodec.toTagging(Chunking chunking) |
Tagging<String> |
TagChunkCodec.toTagging(Chunking chunking)
Return the tagging that partially encodes the specified
chunking.
|
Tagging<String> |
BioTagChunkCodec.toTagging(Chunking chunking) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectHandler<Tagging<String>> |
TagChunkCodecAdapters.chunkingToTagging(TagChunkCodec codec,
ObjectHandler<Chunking> handler)
Returns the tagging handler that converts taggings to chunkings
using the specified codec.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectHandler<Chunking> |
TagChunkCodecAdapters.taggingToChunking(TagChunkCodec codec,
ObjectHandler<Tagging<String>> handler)
Return the chunking handler that converts chunkings to simple
taggings using the specified codec.
|
| Modifier and Type | Method and Description |
|---|---|
Tagging<E> |
ChainCrf.tag(List<E> tokens) |
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
Tagging<String> |
HmmDecoder.tag(List<String> tokens) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHmmEstimator.handle(Tagging<String> tagging)
Train the estimator with the specified tokens, whitespaces and
states.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScoredTagging<E>
A
ScoredTagging<E> represents a tagging of
type E along with a real-valued score. |
class |
StringTagging
A
StringTagging is a tagging over string-based tokens
that indexes each token to a position in an underlying character
sequence. |
| Modifier and Type | Method and Description |
|---|---|
Tagging<E> |
ClassifierTagger.tag(List<E> tokens)
Return the tagging for the specified list of tokens.
|
Tagging<E> |
Tagger.tag(List<E> tokens)
Return the tagging for the specified list of tokens.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NBestTaggerEvaluator.addCase(Tagging<E> referenceTagging,
Iterator<ScoredTagging<E>> responseTaggingIterator)
Add a test case consisting of the specified reference tagging
and iterator over responses.
|
void |
TaggerEvaluator.addCase(Tagging<E> referenceTagging,
Tagging<E> responseTagging)
Add a test case to this evaluator consisting of the specified
reference and response taggings.
|
void |
TaggerEvaluator.addCase(Tagging<E> referenceTagging,
Tagging<E> responseTagging)
Add a test case to this evaluator consisting of the specified
reference and response taggings.
|
void |
MarginalTaggerEvaluator.addCase(Tagging<E> referenceTagging,
TagLattice<E> responseLattice)
Add a case for evaluation consisting of the gold-standard
reference tagging and a lattice representing the output of
a marginal tagger.
|
void |
NBestTaggerEvaluator.handle(Tagging<E> referenceTagging)
Add the specified reference tagging as a test case,
with a response tagging computed by the contained n-best
tagger.
|
void |
TaggerEvaluator.handle(Tagging<E> referenceTagging)
Add a case for the specified reference tagging using the
contained tagger to generate a response tagging.
|
void |
MarginalTaggerEvaluator.handle(Tagging<E> referenceTagging)
Add a test case consisting of the specified reference tagging
along with the lattice output of the marginal tagger being
evaluated on the tokens of the reference tagging.
|
| Modifier and Type | Method and Description |
|---|---|
static <F> Corpus<ObjectHandler<Classified<ClassifierTagger.State<F>>>> |
ClassifierTagger.toClassifiedCorpus(Corpus<ObjectHandler<Tagging<F>>> taggingCorpus)
Return a corpus consisting of classified tagger states derived
from the specified corpus of taggings.
|
Copyright © 2019 Alias-i, Inc.. All rights reserved.