SyntaxOptions
public struct SyntaxOptions : Codable, Equatable
Returns tokens and sentences from the input text.
-
Tokenization options.
Declaration
Swift
public var tokens: SyntaxOptionsTokens? -
Set this to
trueto return sentence information.Declaration
Swift
public var sentences: Bool? -
Initialize a
SyntaxOptionswith member variables.Declaration
Swift
public init( tokens: SyntaxOptionsTokens? = nil, sentences: Bool? = nil )Parameters
tokensTokenization options.
sentencesSet this to
trueto return sentence information.Return Value
An initialized
SyntaxOptions.
View on GitHub
SyntaxOptions Structure Reference