Skip to content

Exclude

Method Description
Comparison.exclude.by_frequency Removes tokens whose frequency falls in the given range from the reference and comparison corpora.
Comparison.exclude.by_lexicon_score Removes tokens whose lexicon score falls in the given range from the reference and comparison corpora.
Comparison.exclude.by_proportion Removes tokens whose proportion of a corpus falls in the given range from the reference and comparison corpora.
Comparison.exclude.tokens Removes the given tokens from the the reference and comparison corpora.
Comparison.exclude.unshared_tokens Removes the tokens that do not appear in both of the corpora being compared.