- Notifications
You must be signed in to change notification settings - Fork137
typos
marking typos for words not inwords.csv
#1303
-
I am using I have noticed words such as Is there some CLI flag to configure Here is my current [tool.typos.default]extend-ignore-re = ["(?Rm)^.*(#|//)\\s*spellchecker:( )?disable-line$"][tool.typos.default.extend-words]arange ="arange"# numpyyhat ="yhat"# \hat{y} |
BetaWas this translation helpful?Give feedback.
All reactions
The keys in that file are typos; the values are valid words. The list of valid words is too incomplete to be relied on. We also don't at least time generate a way to lookup the presence of values in the the way we use that data structure generated from that file.
Replies: 1 comment 3 replies
-
There is not. We do not keep a list of valid words, along with variants. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Doesn'thttps://github.com/crate-ci/typos/blob/v1.32.0/crates/typos-dict/assets/words.csv have a huge list of typos? I am wondering if I can get reductamol The way I think it can be done is reporting any word that does not have a key in the above linked |
BetaWas this translation helpful?Give feedback.
All reactions
-
The keys in that file are typos; the values are valid words. The list of valid words is too incomplete to be relied on. We also don't at least time generate a way to lookup the presence of values in the the way we use that data structure generated from that file. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Sounds good, thank you. I think this would be a nice opt-in feature of |
BetaWas this translation helpful?Give feedback.