Modifier and Type | Method and Description |
---|---|
static TermIterator |
create(org.apache.uima.jcas.JCas jcas,
String featurePath,
boolean convertToLowercase)
Create a Iterator over all represented strings (specified with the featurePath) in the JCas.
|
boolean |
hasNext() |
Iterator<String> |
iterator() |
String |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public static TermIterator create(org.apache.uima.jcas.JCas jcas, String featurePath, boolean convertToLowercase) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- Iterate over all specified Annotations in this jcasfeaturePath
- Specifies the annotation and its string representation method.convertToLowercase
- The terms are converted as specified with this parameterorg.apache.uima.analysis_engine.AnalysisEngineProcessException
- if the feature path is invalid.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.