com.textrazor.annotations
Class Response

java.lang.Object
  extended by com.textrazor.annotations.Response

public class Response
extends java.lang.Object


Constructor Summary
Response()
           
 
Method Summary
 java.util.List<Topic> getCoarseTopics()
           
 java.lang.String getCustomAnnotationOutput()
           
 java.util.List<Custom> getCustomAnnotations()
           
 java.util.List<Entailment> getEntailments()
           
 java.util.List<Entity> getEntities()
           
 java.lang.String getLanguage()
           
 java.util.List<NounPhrase> getNounPhrases()
           
 java.util.List<Property> getProperties()
           
 java.util.List<Relation> getRelations()
           
 java.util.List<Sentence> getSentences()
           
 java.util.List<Topic> getTopics()
           
 java.util.List<Word> getWords()
           
 boolean isLanguageIsReliable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Response

public Response()
Method Detail

getSentences

public java.util.List<Sentence> getSentences()
Returns:
List of Sentence objects that were extracted from your text.

getRelations

public java.util.List<Relation> getRelations()
Returns:
List of Relation objects that were extracted from your text.

getTopics

public java.util.List<Topic> getTopics()
Returns:
List of Topic objects that were extracted from your text.

getEntities

public java.util.List<Entity> getEntities()
Returns:
List of Entity objects that were extracted from your text.

getCoarseTopics

public java.util.List<Topic> getCoarseTopics()
Returns:
List of Coarse Topic objects that were extracted from your text.

getEntailments

public java.util.List<Entailment> getEntailments()
Returns:
List of Entailment objects that were extracted from your text.

getNounPhrases

public java.util.List<NounPhrase> getNounPhrases()
Returns:
List of NounPhrase objects that were extracted from your text.

getProperties

public java.util.List<Property> getProperties()
Returns:
List of Property objects that were extracted from your text.

getCustomAnnotations

public java.util.List<Custom> getCustomAnnotations()
Returns:
List of Custom objects, custom rule matches.

getCustomAnnotationOutput

public java.lang.String getCustomAnnotationOutput()
Returns:
Any output generated as part of the custom annotation process.

getLanguage

public java.lang.String getLanguage()
Returns:
The ISO-639-2 language used to analyze this document, either explicitly provided as the languageOverride, or as detected by the language detector.

isLanguageIsReliable

public boolean isLanguageIsReliable()
Returns:
Boolean indicating whether the language detector was confident of its classification. This may be false for shorter or ambiguous content.

getWords

public java.util.List<Word> getWords()
Returns:
List of Word objects that were extracted from your text.