public interface TaggingAttribute extends Attribute
Taggerto decide if a token can start a new
By default this Attribute will return
true, but it might be
reset by some
TokenFilter added to the
to analyze the parsed text. Typically this will be done based on NLP
processing results (e.g. to only lookup Named Entities).
NOTE: that all Tokens are used to advance existing
|Modifier and Type||Field and Description|
By default this Attribute will be initialised with
|Modifier and Type||Method and Description|
Getter for the taggable state of the current Token
Setter for the taggable state.
static final boolean DEFAULT_TAGGABLE
true. This ensures that all tokens are taggable by default (especially if the
TaggingAttributeis not set by any component in the configured
void setTaggable(boolean lookup)
lookup- the state
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.