Uses of Interface
org.tribuo.classification.sequence.viterbi.LabelFeatureExtractor
Package
Description
Provides an implementation of Viterbi for generating structured outputs, which can sit on top of any
Label
based classification model.-
Uses of LabelFeatureExtractor in org.tribuo.classification.sequence.viterbi
Modifier and TypeClassDescriptionclass
A label feature extractor that produces several kinds of label-based features.class
A label feature extractor that doesn't produce any label based features.Modifier and TypeMethodDescriptionstatic LabelFeatureExtractor
LabelFeatureExtractor.deserialize
(org.tribuo.classification.protos.LabelFeatureExtractorProto proto) Deserializes the LabelFeatureExtractor from the supplied protobuf.ModifierConstructorDescriptionViterbiTrainer
(Trainer<Label> trainer, LabelFeatureExtractor labelFeatureExtractor, int stackSize, ViterbiModel.ScoreAggregation scoreAggregation) Constructs a ViterbiTrainer wrapping the specified trainer.ViterbiTrainer
(Trainer<Label> trainer, LabelFeatureExtractor labelFeatureExtractor, ViterbiModel.ScoreAggregation scoreAggregation) Constructs a ViterbiTrainer wrapping the specified trainer, with an unbounded stack size.