keywordExtractor property Null safety

KeywordExtractor keywordExtractor
override

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

@override
KeywordExtractor get keywordExtractor =>
    (String source, {NGramRange? nGramRange}) => source.toKeyWords(
        termExceptions, stopWords,
        stemmer: stemmer,
        range: nGramRange,
        characterFilter: characterFilter);