com.languagecomputer.api.text
Interface Entity

All Superinterfaces:
Text
All Known Implementing Classes:
DefaultEntity

public interface Entity
extends Text

Representation of an entity. Entities contain a type from an Entity Type Hierarchy.

Since:
1.0
Author:
Kirk Roberts

Field Summary
static AnnotationType<Entity> TYPE
           
 
Method Summary
 String getType()
          Returns the type of this Entity.
 
Methods inherited from interface com.languagecomputer.api.text.Text
getAnnotationType, getCongruentAnnotations, getDocument, getDocumentID, getEndCharOffset, getIntersectingAnnotations, getRawString, getStartCharOffset, getSubAnnotations, getSuperAnnotations
 

Field Detail

TYPE

static final AnnotationType<Entity> TYPE
Method Detail

getType

String getType()
Returns the type of this Entity.

Returns:
The String representation of this Entity's type.


Copyright © 2009. All Rights Reserved.