SyntaxOptionsTokens
public struct SyntaxOptionsTokens : Codable, Equatable
Tokenization options.
-
Set this to
true
to return the lemma for each token.Declaration
Swift
public var lemma: Bool?
-
Set this to
true
to return the part of speech for each token.Declaration
Swift
public var partOfSpeech: Bool?
-
Initialize a
SyntaxOptionsTokens
with member variables.Declaration
Swift
public init( lemma: Bool? = nil, partOfSpeech: Bool? = nil )
Parameters
lemma
Set this to
true
to return the lemma for each token.partOfSpeech
Set this to
true
to return the part of speech for each token.Return Value
An initialized
SyntaxOptionsTokens
.