FTS5 supports things like porter stemming using a tokenize= option:
https://www.sqlite.org/fts5.html#tokenizers
Something like this in code:
CREATE VIRTUAL TABLE [{table}_fts] USING {fts_version} (
{columns},
tokenize='porter',
content=[{table}]
);
I tried this out just now and it worked exactly as expected.
So... db[table].enable_fts(...) should accept a 'tokenize= argument, and sqlite-utils enable-fts ... should support a --tokenize option.
FTS5 supports things like porter stemming using a
tokenize=option:https://www.sqlite.org/fts5.html#tokenizers
Something like this in code:
I tried this out just now and it worked exactly as expected.
So...
db[table].enable_fts(...) should accept a 'tokenize=argument, andsqlite-utils enable-fts ...should support a--tokenizeoption.