public final class UIMAAnnotationsTokenizer extends BaseUIMATokenizer
Tokenizer which creates tokens from UIMA AnnotationsAttributeSource.AttributeFactory, AttributeSource.Stateae, cas, iterator| Constructor and Description |
|---|
UIMAAnnotationsTokenizer(String descriptorPath,
String tokenType,
Map<String,Object> configurationParameters,
AttributeSource.AttributeFactory factory,
Reader input) |
UIMAAnnotationsTokenizer(String descriptorPath,
String tokenType,
Map<String,Object> configurationParameters,
Reader input) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
boolean |
incrementToken() |
protected void |
initializeIterator()
initialize the FSIterator which is used to build tokens at each incrementToken() method call
|
analyzeInput, resetclose, correctOffset, setReaderaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreStatepublic UIMAAnnotationsTokenizer(String descriptorPath, String tokenType, Map<String,Object> configurationParameters, Reader input)
protected void initializeIterator()
throws IOException
BaseUIMATokenizerinitializeIterator in class BaseUIMATokenizerIOException - If there is a low-level I/O error.public boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionpublic void end()
throws IOException
end in class BaseUIMATokenizerIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.