Skip to content

sil-car/oxt-spellcheckers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spellcheck extensions for LibreOffice (OXT)

Downloads

Users can download the Sango spellchecker from its page on the LibreOffice Extensions site.

Using an OXT extension.

  1. Download the above OXT file to your computer.
  2. Open LibreOffice (can be installed from https://www.libreoffice.org/download/download-libreoffice/).
    no Sango
  3. Install the extension in LibreOffice using "Tools" > "Extension Manager..."
  4. Click "Add" button.
  5. Select downloaded OXT file.
  6. Accept the license.
  7. Close the Extension Manager.
  8. Restart LibreOffice when prompted.
  9. 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

Creating an OXT extension.

  1. Prepare basic lexicon file.
    1. Convert original lexicon(s) to plaintext or LIFT files.
    2. Convert file(s) to basic lexicon format; e.g. each line has: word[tab]Noun Verb Adjective
    3. Consider adding additional wordlist files and/or including their parts of speech.
  2. Prepare AFF file.
    1. Include all affixes and their usage rules.
  3. Convert basic lexicon file(s) to DIC file using affixes from AFF file; e.g. scripts/make-sango-dic.py *-lexicon.txt *-wordlist.txt
  4. Build OXT file; e.g. scripts/aff-dic-to-oxt.sh -d description.xml sg-CF.aff
  5. Upload OXT file to extensions.libreoffice.org.

References