-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ability to check spelling #9
Comments
The user should be able to step through each highlighted instance and do one of the following: accept the current spelling, update the highlighted word with a proposed correction, skip to the next instance. Accepting the current spelling writes the term to a document-specific wordlist. This wordlist should be editable in case a term is incorrectly added. |
The user should be able to select a custom wordlist (e.g., draftstring-nn-wordlist) in addition to a standard wordlist when checking spelling. This is helpful when checking two documents that reference each other (e.g., load the draft-foo-bar-architecture-01-wordlist to check the spelling of draft-foo-bar-security-03.xml). |
aspell would be the best solution for draftforge as well. The interface to the CLI seems straightforward (ref). There's no native build for Windows but I found a script to compile it so it could be added to the build workflow. For the merriam-webster integration, we have the following options:
|
Would aspell be part of the DraftForge install? My read of the m-w API documentation is that the key is per app and not per user... |
It would be downloaded in the background when opening the app for the first time. (Similar to the lemminx server for validating XML) |
The RPC currently runs its files through aspell to check spelling. However, our official dictionary is Merriam-Webster, and we check words manually there. It would be nice if the Merriam-Webster API could be used.
Another nice-to-have feature is the ability to select American or British spelling when doing a spell check. As long as British spelling is used consistently, it is accepted. If a mix of American and British spelling is used, we update the document to use American spelling.
The text was updated successfully, but these errors were encountered: