Users can download the Sango spellchecker from its page on the LibreOffice Extensions site.
- Download the above OXT file to your computer.
- Open LibreOffice (can be installed from https://www.libreoffice.org/download/download-libreoffice/).
- Install the extension in LibreOffice using "Tools" > "Extension Manager..."
- Click "Add" button.
- Select downloaded OXT file.
- Accept the license.
- Close the Extension Manager.
- Restart LibreOffice when prompted.
- Set document language (e.g. "Sango") to use new spell checker using "Tools" > "Language" > "For the whole text" > "Sango" (or maybe via "More..." if "Sango" doesn't appear there).
More instructions can be found on the LibreOffice help site at Selecting the Document Language
- Prepare basic lexicon file.
- Convert original lexicon(s) to plaintext or LIFT files.
- Convert file(s) to basic lexicon format; e.g. each line has:
word[tab]Noun Verb Adjective
- Consider adding additional wordlist files and/or including their parts of speech.
- Prepare AFF file.
- Include all affixes and their usage rules.
- Convert basic lexicon file(s) to DIC file using affixes from AFF file; e.g.
scripts/make-sango-dic.py *-lexicon.txt *-wordlist.txt
- Build OXT file; e.g.
scripts/aff-dic-to-oxt.sh -d description.xml sg-CF.aff
- Upload OXT file to extensions.libreoffice.org.
- https://github.com/silnrsi/oxttools/blob/master/docs/USAGE.md
- https://www.systutorials.com/docs/linux/man/4-hunspell/
$ man 5 hunspell
$ man hunspell
$ hunspell -h