TokenResult

public struct TokenResult : Codable, Equatable

TokenResult.

  • The part of speech of the token. For more information about the values, see Universal Dependencies POS tags.

    See more

    Declaration

    Swift

    public enum PartOfSpeech : String
  • The token as it appears in the analyzed text.

    Declaration

    Swift

    public var text: String?
  • The part of speech of the token. For more information about the values, see Universal Dependencies POS tags.

    Declaration

    Swift

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

    Declaration

    Swift

    public var location: [Int]?
  • The lemma of the token.

    Declaration

    Swift

    public var lemma: String?