KeywordExtractor typedef

KeywordExtractor = List<List<String>> Function(SourceText source, {NGramRange? nGramRange})

A splitter function that returns an ordered collection of keyword phrases from text.

The text is split at punctuation, line endings and stop-words, resulting in an ordered collection of term sequences of varying length.

Implementation

typedef KeywordExtractor = List<List<String>> Function(SourceText source,
    {NGramRange? nGramRange});