ElementPair

public struct ElementPair : Codable, Equatable

Details of semantically aligned elements.

  • The label of the document (that is, the value of either the file_1_label or file_2_label parameters) in which the element occurs.

    Declaration

    Swift

    public var documentLabel: String?
  • The contents of the element.

    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?
  • Description of the action specified by the element and whom it affects.

    Declaration

    Swift

    public var types: [TypeLabelComparison]?
  • List of functional categories into which the element falls; in other words, the subject matter of the element.

    Declaration

    Swift

    public var categories: [CategoryComparison]?
  • List of document attributes.

    Declaration

    Swift

    public var attributes: [Attribute]?