ietf-tools / editor

A fully featured editor to write, review, refine and submit Internet-Drafts.
https://draftforge.ietf.org
Other
10 stars 2 forks source link

Ability to check spelling #9

Open ajeanmahoney opened 9 months ago

ajeanmahoney commented 9 months ago

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.

ajeanmahoney commented 9 months ago

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.

ajeanmahoney commented 9 months ago

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).