FTS5Tokenizer
The protocol for FTS5 tokenizers
- 
                  
                  Tokenizes the text described by pTextandnText, and notifies found tokens to thetokenCallbackfunction.It matches the xTokenizefunction documented at https://www.sqlite.org/fts5.html#custom_tokenizers
- 
                  tokenize(document:Extension method) Tokenizes the string argument as a document that would be inserted into an FTS5 table. For example: let tokenizer = try db.makeTokenizer(.ascii()) try tokenizer.tokenize(document: "foo bar") // [("foo", flags), ("bar", flags)]See also tokenize(query:).Throws An error if tokenization fails.
- 
                  tokenize(query:Extension method) Tokenizes the string argument as an FTS5 query. For example: let tokenizer = try db.makeTokenizer(.ascii()) try tokenizer.tokenize(query: "foo bar") // [("foo", flags), ("bar", flags)]See also tokenize(document:).Throws An error if tokenization fails.
 View on GitHub
View on GitHub Install in Dash
Install in Dash FTS5Tokenizer Protocol Reference
        FTS5Tokenizer Protocol Reference