Package org.coordinatekit.crf.annotator
Interface RetokenizeRunner.ReviewerFactory
- Enclosing class:
RetokenizeRunner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory that wires the typed beans (tag provider, tokenizer, feature extractor, optional CRF
tagger) into a
RetokenizeReviewer.-
Method Summary
Modifier and TypeMethodDescriptionRetokenizeReviewer<?, ?> create(RetokenizeConfiguration configuration, org.jline.terminal.Terminal terminal) Constructs a reviewer from the configuration and the JLine terminal opened by the runner.
-
Method Details
-
create
RetokenizeReviewer<?,?> create(RetokenizeConfiguration configuration, org.jline.terminal.Terminal terminal) Constructs a reviewer from the configuration and the JLine terminal opened by the runner.- Parameters:
configuration- the parser-free retokenize configurationterminal- the JLine terminal to install on the reviewer's tagging interface; ownership remains with the runner- Returns:
- a configured reviewer ready to
review
-