LeadingSentence

public struct LeadingSentence : Codable, Equatable

The leading sentences in a section or subsection of the input document.

  • The text of the leading sentence.

    Declaration

    Swift

    public var text: String?
  • The numeric location of the identified element in the document, represented with two integers labeled begin and end.

    Declaration

    Swift

    public var location: Location?
  • An array of location objects that lists the locations of detected leading sentences.

    Declaration

    Swift

    public var elementLocations: [ElementLocations]?