SyntaxToken
public struct SyntaxToken
Describes syntactical information resulting from text interpretation as a result of interpret() API
-
Declaration
Swift
public let tokenId: Int
-
Declaration
Swift
public let text: String
-
Declaration
Swift
public let range: Range<String.Index>
-
Declaration
Swift
public let detectedPartOfSpeech: PartOfSpeech.DetectionResult
-
Declaration
Swift
public init( tokenId: Int, text: String, range: Range<String.Index>, detectedPartOfSpeech: PartOfSpeech.DetectionResult )