mirror of
https://github.com/codespell-project/codespell.git
synced 2025-08-06 18:24:41 +08:00
Improve the definition of the "rare" builtin dictionary
For an end user who is not familiar with the inner details of the script, the meaning of the old definition was ambiguous. It wasn't clear whether using this dictionary flags the rare words as errors (false positives) or on the contrary does not flag these rare words (false negatives). Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
This commit is contained in:
@ -54,7 +54,7 @@ _builtin_dictionaries = (
|
||||
# realistic for obscure words
|
||||
('clear', 'for unambiguous errors', '',
|
||||
False, None, supported_languages_en, None),
|
||||
('rare', 'for rare but valid words', '_rare',
|
||||
('rare', 'for rare (but valid) words which are likely to be errors', '_rare', # noqa: E501
|
||||
None, None, None, None),
|
||||
('informal', 'for making informal words more formal', '_informal',
|
||||
True, True, supported_languages_en, supported_languages_en),
|
||||
|
Reference in New Issue
Block a user