|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.search.api.helper.AnnotationListAccessor
org.eclipse.smila.search.api.helper.Terms
public class Terms
wrapper for annotations describing term lists (e.g. textminer token lists).
| Constructor Summary | |
|---|---|
Terms(java.lang.String attributeName,
java.util.Collection<Annotation> annotations)
create instance from data. |
|
Terms(java.lang.String attributeName,
java.util.List<Annotation> annotations)
create instance from data. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConcept(int index)
get concept property of n'th term. |
java.lang.Integer |
getEndCharPos(int index)
get end character position property of n'th term. |
java.lang.Integer |
getEndWordPos(int index)
get end word position property of n'th term. |
java.lang.String |
getMethod(int index)
get method (of recognition, analysis, extraction) property of n'th term. |
java.lang.String |
getPartOfSpeech(int index)
get part-of-speech property of n'th term. |
java.lang.Double |
getQuality(int index)
get quality property of n'th term. |
java.lang.Integer |
getStartCharPos(int index)
get start character position property of n'th term. |
java.lang.Integer |
getStartWordPos(int index)
get start word position property of n'th term. |
java.lang.String |
getTargetAttributeName(int index)
get target attribute property of n'th term. |
java.lang.String |
getToken(int index)
get token property of n'th term. |
| Methods inherited from class org.eclipse.smila.search.api.helper.AnnotationListAccessor |
|---|
getAnnotation, getAnnotations, getAttributeName, getFloatProperty, getIntProperty, getProperty, getSource, length |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Terms(java.lang.String attributeName,
java.util.List<Annotation> annotations)
attributeName - annotated attributeannotations - terms annotations.
public Terms(java.lang.String attributeName,
java.util.Collection<Annotation> annotations)
attributeName - annotated attributeannotations - terms annotations.| Method Detail |
|---|
public java.lang.String getConcept(int index)
index - position in term list.
public java.lang.String getToken(int index)
index - position in term list.
public java.lang.String getTargetAttributeName(int index)
index - position in term list.
public java.lang.Integer getStartCharPos(int index)
index - position in term list.
public java.lang.Integer getEndCharPos(int index)
index - position in term list.
public java.lang.Integer getStartWordPos(int index)
index - position in term list.
public java.lang.Integer getEndWordPos(int index)
index - position in term list.
public java.lang.String getPartOfSpeech(int index)
index - position in term list.
public java.lang.String getMethod(int index)
index - position in term list.
public java.lang.Double getQuality(int index)
index - position in term list.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||