SyntaxOptionsTokens
public struct SyntaxOptionsTokens : Codable, Equatable
Tokenization options.
-
Set this to
trueto return the lemma for each token.Declaration
Swift
public var lemma: Bool? -
Set this to
trueto return the part of speech for each token.Declaration
Swift
public var partOfSpeech: Bool? -
Initialize a
SyntaxOptionsTokenswith member variables.Declaration
Swift
public init( lemma: Bool? = nil, partOfSpeech: Bool? = nil )Parameters
lemmaSet this to
trueto return the lemma for each token.partOfSpeechSet this to
trueto return the part of speech for each token.Return Value
An initialized
SyntaxOptionsTokens.
View on GitHub
SyntaxOptionsTokens Structure Reference