SentenceResult

public struct SentenceResult : Codable, Equatable

SentenceResult.

  • The sentence.

    Declaration

    Swift

    public var text: String?
  • Character offsets indicating the beginning and end of the sentence in the analyzed text.

    Declaration

    Swift

    public var location: [Int]?