AnalysisResults
public struct AnalysisResults : Codable, Equatable
Results of the analysis, organized by feature.
-
Language used to analyze the text.
Declaration
Swift
public var language: String? -
Text that was used in the analysis.
Declaration
Swift
public var analyzedText: String? -
URL of the webpage that was analyzed.
Declaration
Swift
public var retrievedURL: String? -
API usage information for the request.
Declaration
Swift
public var usage: AnalysisResultsUsage? -
The general concepts referenced or alluded to in the analyzed text.
Declaration
Swift
public var concepts: [ConceptsResult]? -
The entities detected in the analyzed text.
Declaration
Swift
public var entities: [EntitiesResult]? -
The keywords from the analyzed text.
Declaration
Swift
public var keywords: [KeywordsResult]? -
The categories that the service assigned to the analyzed text.
Declaration
Swift
public var categories: [CategoriesResult]? -
The classifications assigned to the analyzed text.
Declaration
Swift
public var classifications: [ClassificationsResult]? -
The anger, disgust, fear, joy, or sadness conveyed by the content.
Declaration
Swift
public var emotion: EmotionResult? -
Webpage metadata, such as the author and the title of the page.
Declaration
Swift
public var metadata: FeaturesResultsMetadata? -
The relationships between entities in the content.
Declaration
Swift
public var relations: [RelationsResult]? -
Sentences parsed into
subject,action, andobjectform.Declaration
Swift
public var semanticRoles: [SemanticRolesResult]? -
The sentiment of the content.
Declaration
Swift
public var sentiment: SentimentResult? -
Tokens and sentences returned from syntax analysis.
Declaration
Swift
public var syntax: SyntaxResult?
View on GitHub
AnalysisResults Structure Reference