diff --git a/dictionary.py b/dictionary.py index 951a41b..a16a8cc 100644 --- a/dictionary.py +++ b/dictionary.py @@ -8,7 +8,7 @@ DEFAULT = spellchecker.WordFrequency() ALTERNATE = spellchecker.WordFrequency() -package_root = pathlib.Path(spellchecker.__file__) / ".." +package_root = pathlib.Path(spellchecker.__file__).parent english = package_root / "resources" / "en.json.gz" extra_words = pathlib.Path(__file__, "..", "extra_words.txt")