Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

typos marking typos for words not inwords.csv#1303

Answeredbyepage
jamesbraza asked this question inQ&A
Discussion options

I am usingtypos to monitor the emergence of typos across an LLM training.

I have noticed words such asreductamol are typos, buttypos doesn't flag them as such because there's not an entry inwords.csv.

Is there some CLI flag to configuretypos to mark any word not matched as a typo?


Here is my currenttypos configuration:

[tool.typos.default]extend-ignore-re = ["(?Rm)^.*(#|//)\\s*spellchecker:( )?disable-line$"][tool.typos.default.extend-words]arange ="arange"# numpyyhat ="yhat"# \hat{y}
You must be logged in to vote
Answered by epageMay 28, 2025

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

Comment options

There is not. We do not keep a list of valid words, along with variants.

You must be logged in to vote
3 replies
@jamesbraza
Comment options

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 gettypos to flag this somehow:

reductamol

The way I think it can be done is reporting any word that does not have a key in the above linkedwords.csv

@epage
Comment options

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.

Answer selected byjamesbraza
@jamesbraza
Comment options

Sounds good, thank you.

I think this would be a nice opt-in feature oftypos, if you'd entertain something like this as a request

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@jamesbraza@epage

[8]ページ先頭

©2009-2025 Movatter.jp