billw2015
King
- Joined
- Jun 22, 2015
- Messages
- 837
This tool will do semi-automated grammar and spelling correction on Text XML files.
Usage:
Using google as the spell check means it shouldn't hit many false positives for spelling, but it will miss some things like incorrect capitalization etc. Basically if you can type it in google and google doesn't say "did you mean xyz?" it won't be picked up as an error in this system by default.
The interface is just simple keyboard + console, with some color added to make it easier to understand. When the tool finds errors in a TEXT entry it will present all the corrections applied and allow you to choose to either apply them all, or interactively select which ones you want to use. Of course you can skip, ignore and exit at the appropriate places as well.
Usage:
- Have java installed (most people probably do?)
- Run Tools\Autocorrect\StartServer.bat
Spoiler :
This starts the grammar and spelling server that the tool uses, a local version of the LanguageTool service. However I only use this for grammar and detecting initial spelling errors, its dictionary is way too limited for our eclectic needs. I added a couple of other spell checkers on top of this to give better accuracy, however the default is set to just use google search for spell checking.
- Drag and drop Text XML files on to Tools\Autocorrect\DropXMLHere.bat
You can also run Autocorrect.bat from the command line and see the available options.
Using google as the spell check means it shouldn't hit many false positives for spelling, but it will miss some things like incorrect capitalization etc. Basically if you can type it in google and google doesn't say "did you mean xyz?" it won't be picked up as an error in this system by default.
The interface is just simple keyboard + console, with some color added to make it easier to understand. When the tool finds errors in a TEXT entry it will present all the corrections applied and allow you to choose to either apply them all, or interactively select which ones you want to use. Of course you can skip, ignore and exit at the appropriate places as well.
Spoiler Screenshot :
Last edited: