Class AnalysisResults
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.AnalysisResults
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AnalysisResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Results of the analysis, organized by feature.
-
Constructor Summary
Constructors Constructor Description AnalysisResults()
-
Method Summary
Modifier and Type Method Description String
getAnalyzedText()
Gets the analyzedText.List<CategoriesResult>
getCategories()
Gets the categories.List<ClassificationsResult>
getClassifications()
Gets the classifications.List<ConceptsResult>
getConcepts()
Gets the concepts.EmotionResult
getEmotion()
Gets the emotion.List<EntitiesResult>
getEntities()
Gets the entities.List<KeywordsResult>
getKeywords()
Gets the keywords.String
getLanguage()
Gets the language.FeaturesResultsMetadata
getMetadata()
Gets the metadata.List<RelationsResult>
getRelations()
Gets the relations.String
getRetrievedUrl()
Gets the retrievedUrl.List<SemanticRolesResult>
getSemanticRoles()
Gets the semanticRoles.SentimentResult
getSentiment()
Gets the sentiment.SyntaxResult
getSyntax()
Gets the syntax.AnalysisResultsUsage
getUsage()
Gets the usage.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
AnalysisResults
public AnalysisResults()
-
-
Method Details
-
getLanguage
Gets the language.Language used to analyze the text.
- Returns:
- the language
-
getAnalyzedText
Gets the analyzedText.Text that was used in the analysis.
- Returns:
- the analyzedText
-
getRetrievedUrl
Gets the retrievedUrl.URL of the webpage that was analyzed.
- Returns:
- the retrievedUrl
-
getUsage
Gets the usage.API usage information for the request.
- Returns:
- the usage
-
getConcepts
Gets the concepts.The general concepts referenced or alluded to in the analyzed text.
- Returns:
- the concepts
-
getEntities
Gets the entities.The entities detected in the analyzed text.
- Returns:
- the entities
-
getKeywords
Gets the keywords.The keywords from the analyzed text.
- Returns:
- the keywords
-
getCategories
Gets the categories.The categories that the service assigned to the analyzed text.
- Returns:
- the categories
-
getClassifications
Gets the classifications.The classifications assigned to the analyzed text.
- Returns:
- the classifications
-
getEmotion
Gets the emotion.The anger, disgust, fear, joy, or sadness conveyed by the content.
- Returns:
- the emotion
-
getMetadata
Gets the metadata.Webpage metadata, such as the author and the title of the page.
- Returns:
- the metadata
-
getRelations
Gets the relations.The relationships between entities in the content.
- Returns:
- the relations
-
getSemanticRoles
Gets the semanticRoles.Sentences parsed into `subject`, `action`, and `object` form.
- Returns:
- the semanticRoles
-
getSentiment
Gets the sentiment.The sentiment of the content.
- Returns:
- the sentiment
-
getSyntax
Gets the syntax.Tokens and sentences returned from syntax analysis.
- Returns:
- the syntax
-