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 Details

    • AnalysisResults

      public AnalysisResults()
  • Method Details

    • getLanguage

      public String getLanguage()
      Gets the language.

      Language used to analyze the text.

      Returns:
      the language
    • getAnalyzedText

      public String getAnalyzedText()
      Gets the analyzedText.

      Text that was used in the analysis.

      Returns:
      the analyzedText
    • getRetrievedUrl

      public String getRetrievedUrl()
      Gets the retrievedUrl.

      URL of the webpage that was analyzed.

      Returns:
      the retrievedUrl
    • getUsage

      public AnalysisResultsUsage getUsage()
      Gets the usage.

      API usage information for the request.

      Returns:
      the usage
    • getConcepts

      public List<ConceptsResult> getConcepts()
      Gets the concepts.

      The general concepts referenced or alluded to in the analyzed text.

      Returns:
      the concepts
    • getEntities

      public List<EntitiesResult> getEntities()
      Gets the entities.

      The entities detected in the analyzed text.

      Returns:
      the entities
    • getKeywords

      public List<KeywordsResult> getKeywords()
      Gets the keywords.

      The keywords from the analyzed text.

      Returns:
      the keywords
    • getCategories

      public List<CategoriesResult> getCategories()
      Gets the categories.

      The categories that the service assigned to the analyzed text.

      Returns:
      the categories
    • getClassifications

      public List<ClassificationsResult> getClassifications()
      Gets the classifications.

      The classifications assigned to the analyzed text.

      Returns:
      the classifications
    • getEmotion

      public EmotionResult getEmotion()
      Gets the emotion.

      The anger, disgust, fear, joy, or sadness conveyed by the content.

      Returns:
      the emotion
    • getMetadata

      public FeaturesResultsMetadata getMetadata()
      Gets the metadata.

      Webpage metadata, such as the author and the title of the page.

      Returns:
      the metadata
    • getRelations

      public List<RelationsResult> getRelations()
      Gets the relations.

      The relationships between entities in the content.

      Returns:
      the relations
    • getSemanticRoles

      public List<SemanticRolesResult> getSemanticRoles()
      Gets the semanticRoles.

      Sentences parsed into `subject`, `action`, and `object` form.

      Returns:
      the semanticRoles
    • getSentiment

      public SentimentResult getSentiment()
      Gets the sentiment.

      The sentiment of the content.

      Returns:
      the sentiment
    • getSyntax

      public SyntaxResult getSyntax()
      Gets the syntax.

      Tokens and sentences returned from syntax analysis.

      Returns:
      the syntax