tokenize method Null safety
- SourceText source,
- {NGramRange? nGramRange,
- Zone? zone,
- TokenizingStrategy strategy = TokenizingStrategy.terms}
Extracts one or more tokens from source for use in full-text search
queries and indexes.
nGramRangeis the range of N-gram lengths to generate; andzoneis the name of the zone in a document in which the term is located.
Returns a List<Token>.
Implementation
Future<List<Token>> tokenize(SourceText source,
{NGramRange? nGramRange,
Zone? zone,
TokenizingStrategy strategy = TokenizingStrategy.terms});