barrust / pyspellchecker

Pure Python Spell Checking http://pyspellchecker.readthedocs.io/en/latest/
MIT License
713 stars 164 forks source link

Demography is changed to Geography in the latest version #85

Closed prem2282 closed 3 years ago

prem2282 commented 3 years ago

The word "Demography " is being spell corrected to "Geograpy", in the latest version. In version 0.5.5 it is not so.

Could you please correct it?

barrust commented 3 years ago

Interesting! The building of all the supported dictionaries are automated and demography was only in the source file two times and was therefore removed from the dictionary for not being frequently used. (most words that are in the source just a few times are actually misspelled!)

I am working on a solution to the automated script to ensure that certain words are in the dictionary.

prem2282 commented 3 years ago

Thank you. Is it possible to add a dictionary with medical terminologies? I see most medical terms are not recognized.

barrust commented 3 years ago

I am happy to have medical terminology added to the dictionaries. It is just a rabbit hole that I do not have time to figure out. If someone built a specific dictionary, there could be a way that the library supported storing those types of dictionaries for others to use!