public class TokenizationStep extends AbstractPipelineStep
| Modifier and Type | Field and Description |
|---|---|
static int |
RAWTEXT |
| Constructor and Description |
|---|
TokenizationStep() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
component_init() |
boolean |
exec(Object sender,
String command,
Object info)
Sends a command for the object to react
|
String |
getConfigInfo() |
List<LexerRule> |
getIdleRules() |
List<ILexer> |
getLexers() |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setConfiguration(Class<?> classRef,
String configLocation) |
void |
setLexers(List<ILexer> lexers) |
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocalecomponent_done, getParameters, getParameters, getParametersClassName, setParametersgetDescription, getName, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getName, getParameters, setParameterspublic static final int RAWTEXT
protected void component_init()
component_init in class OkapiComponentpublic boolean exec(Object sender, String command, Object info)
INotifiableexec in interface INotifiableexec in class Componentcommand - a string identifying the commandinfo - command-specific objectprotected Event handleTextUnit(Event event)
AbstractPipelineStepEventType.TEXT_UNIT event.handleTextUnit in class AbstractPipelineStepevent - the event itself.public String getConfigInfo()
Copyright © 2021. All rights reserved.