Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] sort_words: Create sort_words.py to make words.txt easier to maintain #1098

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

JJRcop
Copy link
Collaborator

@JJRcop JJRcop commented Nov 2, 2023

sort_words.py outputs a diff that if applied will sort words.txt

It has a few options:

  • --add-word: Add a word before sorting (usable multiple times)
  • --save: Save changes to file instead of only outputting a diff
  • --quiet: Don't output a diff

In the future we could let spellchecker use this to suggest a correction to the wordlist if there are missing words

…intain

sort_words.py outputs a diff that if applied will sort words.txt

It has a few options:
    - '--add-word': Add a word before sorting (usable multiple times)
    - '--save': Save changes to file instead of only outputting a diff
    - '--quiet': Don't output a diff
@gnif gnif merged commit 4f508d3 into gnif:master Nov 10, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants