FALLOUT 4
  • written by mcguffin   20 June 2016 21:44:20   1571 views   1 likes

    SpellChecker in Fallout4Translator

    Fallout4Translator supports 2 methods for SpellCheck

    1)MSWord API: this requires to have MSWord (office) properly installed on you system. It's activated by default, and requires nothing else to do. 
    2)HunSpell/Mozilla/OpenOffice API: This last one requires a specific installation described below.

    Pros & cons:
    -MSword API is installed by default if you have MSOffice installed on your system, but it works only on the language selected for the MSWord SpellCheck.
    -HunspellAPI requires a bit of attention to be installed, but after than you can change dictionary language on the fly in Fallout4translator
    -MSWord API is faster than Hunspell API to suggest corrections, but slower than Hunspell API to detect fault and really slower when performing a global spellcheck (coming in beta5)


    =================Hunspell Installation=====================

    Since 1.0.0beta5 the HunSpell API is included in the main distribution of fallout4Translator,
    but you still need to add one (or more) dictionary:

    -Go to one of these pages: (you can open them in FireFox, Chrome etc...)

    • ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/OpenOffice/contrib/dictionaries/
    • ftp://ftp.snt.utwente.nl/pub/software/openoffice/contrib/dictionaries/
    • ftp://gd.tuwien.ac.at/office/openoffice/contrib/dictionaries/

    (copy paste the link, for some reason Nexus doesnt parse Ftp link)

    and look for a dictionary zip for your language and download it (right click --> save as)
    For example
    french: fr_FR*.zip
    english(GB): en-GB*.zip 
    etc.

    -Extract the zip in the fallout4Translator\spellCheck\ dictionaries folder:
    Each language comes with 2 files:
    ----YourLanguage.dic
    ----YourLanguage.aff
    And both file MUST stay together, directly here and *NOT* in a subfolder.
    The tree should look like this:

    Fallout4TranslatorFolder\Fallout4Translator.exe
    Fallout4TranslatorFolder\SpellCheck\libhunspell.dll
    Fallout4TranslatorFolder\SpellCheck\dictionaries\YourLanguage.dic
    Fallout4TranslatorFolder\SpellCheck\dictionaries\YourLanguage.aff


    Now, open Fallout4translator, go to the option menu->spellchecker, and there you can set the desired API and the dictionary you want to use if you choose the Hunspell API.
    (All Found dictionaries are listed in the combolist, if you see nothing there then you did something wrong)

    The spellchecker underlines faulty words in red, and put suggestions in the context menu right over the word.

Comments (0)