Skip to content

ExcludeCorpus

ExcludeCorpus module-attribute

ExcludeCorpus: TypeAlias = Literal[
    "reference", "comparison", "both", "either"
]

Which corpus or corpora are used to determine whether a token should be excluded.

  • "reference" excludes a token when its value in the reference corpus falls in the range.
  • "comparison" excludes a token when its value in the comparison corpus falls in the range.
  • "both" excludes a token only when its value falls in the range in both corpora.
  • "either" excludes a token when its value falls in the range in at least one corpus.

Source