Package org.coordinatekit.crf.annotator
@NullMarked
package org.coordinatekit.crf.annotator
Interactive annotation: the public tagging contract and the orchestrator that drives it.
The Annotator ties together the I/O surface from
core (tokenization, the XML training-data appender) with the
TaggingInterface presentation contract, walking an input
file line-by-line and persisting each accepted sequence to the output XML file. The default
presentation implementation is
TerminalTaggingInterface, which renders to a
JLine terminal and lives in the terminal subpackage.
-
ClassDescriptionAnnotator<F,
T extends Comparable<T>> Orchestrates an interactive annotation session over an input file of one-sequence-per-line text.Annotator.Builder<F,T extends Comparable<T>> Builder forAnnotator.Parser-free inputs forAnnotatorRunner.Builder for constructingAnnotatorConfigurationinstances.Factory for the public value types in theuipackage.Parser-free invocation of the annotate flow.Factory that wires the typed beans (tag provider, tokenizer, feature extractor, optional CRF tagger) into anAnnotator.AnnotatorSequence<F,T extends Comparable<T>> A view-model describing a single sequence to present to a user for tagging.AnnotatorToken<F,T extends Comparable<T>> A view-model entry for a single token within anAnnotatorSequence.Which display-feature sources anAnnotatorSequencecarries: the four reachable combinations of key features and verbose features.Parser-free inputs forRetokenizeRunner.Builder for constructingRetokenizeConfigurationinstances.RetokenizeReviewer<F,T extends Comparable<T>> Reviews an XML training-data file against a new tokenizer and rewrites a corrected copy.RetokenizeReviewer.Builder<F,T extends Comparable<T>> Builder forRetokenizeReviewer.Parser-free invocation of the retokenize flow.Factory that wires the typed beans (tag provider, tokenizer, feature extractor, optional CRF tagger) into aRetokenizeReviewer.Thrown when areviewpass is asked to run with input or output paths that violate its fresh-pass precondition: the input and output must be different paths, and the output must be absent or empty.The action selected by the user when presented with a sequence to tag.TaggingInterface<F,T extends Comparable<T>> Presents a single sequence to a user for tagging and reports the outcome.The outcome of presenting a sequence to a user for tagging.