|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Text | |
---|---|
com.languagecomputer.api.query | |
com.languagecomputer.api.text |
Uses of Text in com.languagecomputer.api.query |
---|
Subinterfaces of Text in com.languagecomputer.api.query | |
---|---|
interface |
Answer
Representation of an answer to a Query . |
Classes in com.languagecomputer.api.query that implement Text | |
---|---|
class |
DefaultAnswer
Default implementation of a Answer . |
Uses of Text in com.languagecomputer.api.text |
---|
Classes in com.languagecomputer.api.text with type parameters of type Text | |
---|---|
class |
AnnotationType<T extends Text>
Identifier for a particular type of annotation. |
Subinterfaces of Text in com.languagecomputer.api.text | |
---|---|
interface |
Attribute
Representation of an attribute (set). |
interface |
Document
Representation of an unstructured document after processing by the DocumentService and containing results of processing through the
annotation services. |
interface |
Entity
Representation of an entity. |
interface |
Event
Representation of an event. |
interface |
MentionChain
Representation of a coreference mention chain. |
interface |
QuestionAnswerPair
Representation of an extracted question/answer pair. |
interface |
SpatialSpan
Representation of a gazetteer object found in text. |
interface |
TemporalSpan
Representation of a temporal object found in text. |
Classes in com.languagecomputer.api.text that implement Text | |
---|---|
class |
DefaultAttribute
Default implementation of an Attribute . |
class |
DefaultDocument
Default implementation of a Document . |
class |
DefaultEntity
Default implementation of an Entity . |
class |
DefaultEvent
Default implementation of an Event . |
class |
DefaultMentionChain
Default implementation of an MentionChain . |
class |
DefaultQuestionAnswerPair
Default implementation of an QuestionAnswerPair . |
class |
DefaultSpatialSpan
Default implementation of a SpatialSpan . |
class |
DefaultTemporalSpan
Default implementation of a TemporalSpan . |
class |
DefaultText
Default implementation of a Text . |
class |
GenericDefaultText
Generic implementation of a Text object for annotations or other
types of Text objects which are not included in either the
DocumentXML or QueryXML specifications. |
Methods in com.languagecomputer.api.text with type parameters of type Text | ||
---|---|---|
|
DefaultDocument.getAnnotations(AnnotationType<T> annType)
Returns all the annotations on this Document that correspond
to the given AnnotationType . |
|
|
Document.getAnnotations(AnnotationType<T> type)
Returns all the annotations on this Document that correspond
to the given AnnotationType . |
|
|
DefaultText.getCongruentAnnotations(AnnotationType<T> type)
Returns all the annotations congruent with this Text that
correspond to the given AnnotationType . |
|
|
Text.getCongruentAnnotations(AnnotationType<T> type)
Returns all the annotations congruent with this Text that
correspond to the given AnnotationType . |
|
|
DefaultText.getIntersectingAnnotations(AnnotationType<T> type)
Returns all the annotations that intersect this Text and
correspond to the given AnnotationType . |
|
|
Text.getIntersectingAnnotations(AnnotationType<T> type)
Returns all the annotations that intersect this Text and
correspond to the given AnnotationType . |
|
|
DefaultText.getSubAnnotations(AnnotationType<T> type)
Returns all the annotations within this Text that correspond
to the given AnnotationType . |
|
|
Text.getSubAnnotations(AnnotationType<T> type)
Returns all the annotations within this Text that correspond
to the given AnnotationType . |
|
|
DefaultText.getSuperAnnotations(AnnotationType<T> type)
Returns all the annotations that contain this Text as a
subspan and correspond to the given AnnotationType . |
|
|
Text.getSuperAnnotations(AnnotationType<T> type)
Returns all the annotations that contain this Text as a
subspan and correspond to the given AnnotationType . |
Methods in com.languagecomputer.api.text that return Text | |
---|---|
Text |
DefaultQuestionAnswerPair.getAnswer()
Returns the answer Text for this QuestionAnswerPair . |
Text |
QuestionAnswerPair.getAnswer()
Returns the answer Text for this QuestionAnswerPair . |
Methods in com.languagecomputer.api.text that return types with arguments of type Text | |
---|---|
Collection<Text> |
DefaultDocument.getAllAnnotations()
Returns all the annotations on this Document . |
Collection<Text> |
Document.getAllAnnotations()
Returns all the annotations on this Document . |
List<Text> |
MentionChain.getMentions()
Returns the mentions in this chain. |
List<Text> |
DefaultMentionChain.getMentions()
Returns the mentions in this chain. |
Collection<Text> |
DefaultAttribute.getRoles(String roleName)
Returns the Text of the role instances for this
Attribute with the given roleName. |
Collection<Text> |
DefaultEvent.getRoles(String roleName)
Returns the Text of the roles instances for this Event
with the given roleName. |
Collection<Text> |
Event.getRoles(String roleName)
Returns the Text of the roles instances for this Event
with the given roleName. |
Collection<Text> |
Attribute.getRoles(String roleName)
Returns the Text of the role instances for this
Attribute with the given roleName. |
Collection<Text> |
DocumentXML.readAnnotations(Reader reader,
Document document)
Reads the XML into a new Collection of Text s and adds
any services to the Document 's service list. |
Methods in com.languagecomputer.api.text with parameters of type Text | |
---|---|
void |
DefaultDocument.addAnnotation(Text annotation)
Adds a Text to the Document . |
void |
Document.addAnnotation(Text annotation)
Adds a Text to this Document . |
void |
DefaultMentionChain.addMention(Text text)
Adds a new mention to the DefaultMentionChain . |
void |
DefaultAttribute.addRole(String roleName,
Text text)
Adds a role instance to this Attribute . |
void |
DefaultEvent.addRole(String roleName,
Text text)
Adds a role instance to this Event . |
int |
TextComparator.compare(Text text1,
Text text2)
Compares the two Text objects according to the sorting algorithm
described above. |
void |
DefaultQuestionAnswerPair.setAnswer(Text answer)
Sets the answer to use for this QuestionAnswerPair . |
Method parameters in com.languagecomputer.api.text with type arguments of type Text | |
---|---|
void |
DocumentXML.writeAnnotations(Collection<? extends Text> annotations,
Collection<String> services,
Writer writer)
Writes the given Text objects (just annotations, cannot contain any
Document s) to the given Writer . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |