@lancedb/lancedb • Docs
@lancedb/lancedb / TokenizeOptions
Interface: TokenizeOptions¶
Options for tokenizing a full-text search query without a table index.
Properties¶
asciiFolding?¶
Whether to fold ASCII characters.
baseTokenizer?¶
The tokenizer to use. The default is "simple".
customStopWords?¶
Custom stop words that replace the built-in list for language.
This option only affects tokenization when removeStopWords is true.
undefined keeps the built-in language list. An empty array explicitly
replaces it with no stop words.
language?¶
Language for stemming and stop words.
lowercase?¶
Whether to lowercase tokens.
maxTokenLength?¶
Maximum token length; tokens longer than this are ignored.
ngramMaxLength?¶
N-gram maximum length.
ngramMinLength?¶
N-gram minimum length.
prefixOnly?¶
Whether to only emit token prefixes for the n-gram tokenizer.
removeStopWords?¶
Whether to remove stop words.
stem?¶
Whether to stem tokens.