SemanticRolesResultSubject

public struct SemanticRolesResultSubject : Codable, Equatable

The extracted subject from the sentence.

  • Text that corresponds to the subject role.

    Declaration

    Swift

    public var text: String?
  • An array of extracted entities.

    Declaration

    Swift

    public var entities: [SemanticRolesEntity]?
  • An array of extracted keywords.

    Declaration

    Swift

    public var keywords: [SemanticRolesKeyword]?