filyp / autocorrect

Spelling corrector in python
GNU Lesser General Public License v3.0
447 stars 79 forks source link

Question #10

Closed TzurV closed 3 years ago

TzurV commented 3 years ago

Q1: How can I check if a word exist in the dictionary ? Q2: what method 'existing' is doing ?

filyp commented 3 years ago

Hi! existing method takes some list of words and filters out those which don't appear in the dictionary. So it gives an example of how to check it, just do if word in self.nlp_data