public final class TextAnnotation extends Enhancement
https://stanbol.apache.org/docs/trunk/components/enhancer/enhancementstructure#fisetextannotation| Constructor and Description |
|---|
TextAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getEnds()
Returns the position of the text where the annotation ends
|
String |
getSelectedText()
Returns the matched/extracted piece of text from the analyzed content
|
String |
getSelectionContext()
Returns a surrounding context of the matched text
|
int |
getStarts()
Returns the position of the text where the annotation starts
|
int |
hashCode() |
compareTo, getConfidence, getLanguage, getRelationspublic int getStarts()
public int getEnds()
public String getSelectedText()
public String getSelectionContext()
Copyright © 2014 Redlink GmbH. All rights reserved.