Uses of Class
com.artisol.teneo.engine.core.inputprocessor.Annotation
-
Packages that use Annotation Package Description com.artisol.teneo.engine.core.engine com.artisol.teneo.engine.core.inputprocessor This package defines the concept of aninput processor chain
that maintains an ordered sequence of one or moreinput processors
. -
-
Uses of Annotation in com.artisol.teneo.engine.core.engine
Methods in com.artisol.teneo.engine.core.engine that return Annotation Modifier and Type Method Description Annotation
EngineAccess. createInputAnnotation(String _sName, int _iSentenceIndex, Set<Integer> _zWordIndices, Map<String,Object> _mVariables)
Creates a user inputAnnotation
object with the given data. -
Uses of Annotation in com.artisol.teneo.engine.core.inputprocessor
Methods in com.artisol.teneo.engine.core.inputprocessor that return types with arguments of type Annotation Modifier and Type Method Description Set<Annotation>
AnnotationsI. getAll()
Returns all annotations.Set<Annotation>
AnnotationsI. getByName(String _sName)
Returns all annotations with the given name, for all sentences.Set<Annotation>
AnnotationsI. getByName(String _sName, int _iSentenceIndex)
Returns all annotations with the given name, in the specified sentence.Set<Annotation>
AnnotationsI. getBySentenceIndex(int _iSentenceIndex)
Returns all annotations with the given sentences index.Set<Annotation>
AnnotationsI. getByVariable(String _sVariableName)
Returns all annotations with a variable of the given name, for all sentences.Set<Annotation>
AnnotationsI. getByVariable(String _sVariableName, int _iSentenceIndex)
Returns all annotations with a variable of the given name, in the specified sentence.Set<Annotation>
AnnotationsI. getByWordIndex(int _iWordIndex)
Returns all annotations containing the given word index, for all sentences.Set<Annotation>
AnnotationsI. getByWordIndex(int _iWordIndex, int _iSentenceIndex)
Returns all annotations containing the given word index, in the specified sentence.Methods in com.artisol.teneo.engine.core.inputprocessor with parameters of type Annotation Modifier and Type Method Description void
AnnotationsI. add(Annotation _annotation)
Adds the given annotation to the annotations data.boolean
AnnotationsI. contains(Annotation _annotation)
Returnstrue
if an annotation equal to the given annotation is present in the annotations data (seeequals(Object)
for the definition of annotation equality).void
AnnotationsI. remove(Annotation _annotation)
Removes the annotation from the annotations data which is equal to the given annotation, if it's present.
-