SemanticRolesResult
public struct SemanticRolesResult : Codable, Equatable
The object containing the actions and the objects the actions act upon.
-
Sentence from the source that contains the subject, action, and object.
Declaration
Swift
public var sentence: String? -
The extracted subject from the sentence.
Declaration
Swift
public var subject: SemanticRolesResultSubject? -
The extracted action from the sentence.
Declaration
Swift
public var action: SemanticRolesResultAction? -
The extracted object from the sentence.
Declaration
Swift
public var object: SemanticRolesResultObject?
View on GitHub
SemanticRolesResult Structure Reference