lookout.style.typos.benchmarks.evaluate_typos

Module Contents

lookout.style.typos.benchmarks.evaluate_typos.TYPOS_DATASET
lookout.style.typos.benchmarks.evaluate_typos.evaluate_typos_on_identifiers(dataset:str=TYPOS_DATASET, config:Optional[Mapping[str, Any]]=None, mistakes_output:Optional[str]=None)

Run IdTyposAnalyzer on the identifiers from the evaluation dataset.

Parameters:
  • dataset – Dataset of misspelled identifiers.
  • config – Configuration for the IdTyposAnalyzer.
  • mistakes_output – Path to the file for printing the wrong corrections.
Returns:

Quality report.