diff2typo #1038
Replies: 3 comments
-
I did a major update: |
Beta Was this translation helpful? Give feedback.
-
FWIW, I usually use the following command to get a rough summary but something more refined sounds good. git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 -> \2/' \
| sort | uniq -c | sort -n |
Beta Was this translation helpful? Give feedback.
-
New feature: New tool: New tool: New workflow for using synthetic typos as a basis for finding actual typos. Possible workflow. Customize steps to your workflow. Mix and match however you like:
python gentypos.py -c gentypos.yaml
typos --config typos_mega.toml --format brief GitHub > typos.txt
|
Beta Was this translation helpful? Give feedback.
-
I'm experimenting with a tool that can turn diffs into
typos
data files.https://github.com/RainRat/diff2typo
git diff [parameters] > diff.txt
git diff [parameters] >> diff.txt
python diff2typo.py --input_file diff.txt --output_file typos.txt --typos_tool_path typos/typos
Beta Was this translation helpful? Give feedback.
All reactions