Skip to content

DonghengLi/spellcheck-backtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spellcheck Backtest Script

  1. Download data using this query.

  2. Run python src/main.py <path to the query result> <path to the output result> [loaded dictionaries]. Loaded dictionaries are optional, currently supported medical_abbreviations, wordlist_medicalterms_en, and dsat_case. You can load several dictionaries by concating them using + operator (e.g. dsat_case+medical_abbreviations)

Adding a dictionary

Add an entry to the DICTIONARY variable in src/main.py, mapping the dictionary name to the function that loads the dictionary. The dictionary loading function should take a set of string argument and adds the word into the set.

About

Spellcheck backtest script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages