Package eu.bandm.tools.lexic
Class TokenProcessor<D,T>
java.lang.Object
eu.bandm.tools.lexic.TokenProcessor<D,T>
- Type Parameters:
D
- the type of source document identifiersT
- the type of token types
- All Implemented Interfaces:
TokenSource<D,
,T> Supplier<Token<D,
T>>
- Direct Known Subclasses:
TokenFilter
Abstract base class for secondary token sources that feed on other
token sources.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
TokenProcessor
(TokenSource<D, T> input) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.lexic.TokenSource
removeTypes, removeTypes, with
-
Field Details
-
input
The input token source.
-
-
Constructor Details
-
TokenProcessor
Creates a new instance.- Parameters:
input
- the input token source
-