Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
filyp committed Dec 31, 2022
1 parent caa82fd commit e49c4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you wish to use your own set of words for autocorrection, you can pass an `nl
```python
spell = Speller(nlp_data=your_word_frequency_dict)
```
Where `your_word_frequency_dict` is a dictionary which maps words to their average frequencies in your text.
Where `your_word_frequency_dict` is a dictionary which maps words to their average frequencies in your text. If you want to change the default word set only a bit, you can just edit `spell.nlp_data` parameter, after `spell` was initialized.

# Adding new languages
First, define special letters, by adding entries in `word_regexes` and `alphabets` dicts in autocorrect/constants.py.
Expand Down

0 comments on commit e49c4cd

Please sign in to comment.