public class AnalysisResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
analyzedText |
protected java.util.List<CategoriesResult> |
categories |
protected java.util.List<ConceptsResult> |
concepts |
protected EmotionResult |
emotion |
protected java.util.List<EntitiesResult> |
entities |
protected java.util.List<KeywordsResult> |
keywords |
protected java.lang.String |
language |
protected AnalysisResultsMetadata |
metadata |
protected java.util.List<RelationsResult> |
relations |
protected java.lang.String |
retrievedUrl |
protected java.util.List<SemanticRolesResult> |
semanticRoles |
protected SentimentResult |
sentiment |
protected SyntaxResult |
syntax |
protected AnalysisResultsUsage |
usage |
Constructor and Description |
---|
AnalysisResults() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnalyzedText()
Gets the analyzedText.
|
java.util.List<CategoriesResult> |
getCategories()
Gets the categories.
|
java.util.List<ConceptsResult> |
getConcepts()
Gets the concepts.
|
EmotionResult |
getEmotion()
Gets the emotion.
|
java.util.List<EntitiesResult> |
getEntities()
Gets the entities.
|
java.util.List<KeywordsResult> |
getKeywords()
Gets the keywords.
|
java.lang.String |
getLanguage()
Gets the language.
|
AnalysisResultsMetadata |
getMetadata()
Gets the metadata.
|
java.util.List<RelationsResult> |
getRelations()
Gets the relations.
|
java.lang.String |
getRetrievedUrl()
Gets the retrievedUrl.
|
java.util.List<SemanticRolesResult> |
getSemanticRoles()
Gets the semanticRoles.
|
SentimentResult |
getSentiment()
Gets the sentiment.
|
SyntaxResult |
getSyntax()
Gets the syntax.
|
AnalysisResultsUsage |
getUsage()
Gets the usage.
|
protected java.lang.String language
@SerializedName(value="analyzed_text") protected java.lang.String analyzedText
@SerializedName(value="retrieved_url") protected java.lang.String retrievedUrl
protected AnalysisResultsUsage usage
protected java.util.List<ConceptsResult> concepts
protected java.util.List<EntitiesResult> entities
protected java.util.List<KeywordsResult> keywords
protected java.util.List<CategoriesResult> categories
protected EmotionResult emotion
protected AnalysisResultsMetadata metadata
protected java.util.List<RelationsResult> relations
@SerializedName(value="semantic_roles") protected java.util.List<SemanticRolesResult> semanticRoles
protected SentimentResult sentiment
protected SyntaxResult syntax
public java.lang.String getLanguage()
Language used to analyze the text.
public java.lang.String getAnalyzedText()
Text that was used in the analysis.
public java.lang.String getRetrievedUrl()
URL of the webpage that was analyzed.
public AnalysisResultsUsage getUsage()
API usage information for the request.
public java.util.List<ConceptsResult> getConcepts()
The general concepts referenced or alluded to in the analyzed text.
public java.util.List<EntitiesResult> getEntities()
The entities detected in the analyzed text.
public java.util.List<KeywordsResult> getKeywords()
The keywords from the analyzed text.
public java.util.List<CategoriesResult> getCategories()
The categories that the service assigned to the analyzed text.
public EmotionResult getEmotion()
The anger, disgust, fear, joy, or sadness conveyed by the content.
public AnalysisResultsMetadata getMetadata()
Webpage metadata, such as the author and the title of the page.
public java.util.List<RelationsResult> getRelations()
The relationships between entities in the content.
public java.util.List<SemanticRolesResult> getSemanticRoles()
Sentences parsed into `subject`, `action`, and `object` form.
public SentimentResult getSentiment()
The sentiment of the content.
public SyntaxResult getSyntax()
Tokens and sentences returned from syntax analysis.