-
Notifications
You must be signed in to change notification settings - Fork 6
Spell check
Marta Costa edited this page Oct 26, 2015
·
3 revisions
A dictionary for spell checking lives on the repo in tools/dictionaries/standard.dict
This should be soft linked to the OBO-Edit standard.dict. with the standard dictionary moved to a backup:
:::sh
mv ~/oboedit_config/dict/standard.dict ~/oboedit_config/dict/standard.dict_backup
ln -s tools/dictionaries/standard.dict ~/oboedit_config/dict/standard.dict
~~~~~~~~
(The standard dictionary is used for historical reasons as the user dictionary on Obo-Edit was broken for many years).
In order to avoid spell check errors triggered by imported terms, spell checking should be done using the -simple.obo version of the ontology (use fbbt-simple from the latest build from Jenkins trunk). This means that corrections cannot be done in the same OBO-Edit session as checking. A simple way to cope with this is to copy the spell check results from OE into a text document and fix spelling manually in the OBO file (trunk/fbbt-edit.obo). New terms can simply be added to the dictionary on the repo by manually appending to the end. Before using the changed dictionary, you should sort and uniq its contents.
Load fbbt-simple.obo in OBO-Edit and go to Tools>Verification manager. Set the checks needed as shown below, and click 'Run manual check now'. See the results in the 'Verification results' tab.
![Spellchecking settings](images/spellcheck.png)