Polderland spell-checker

Build 1501 on 14/Nov/2017  This topic last edited on: 25/Aug/2014, at 17:37

GN4Polderland.dll can be used with PSC.dll Porderland language library. The main language file is [xx]_psc_maindict.lex (where [xx] is the language abbreviation, for example 'nl' for Nederlands) and it must be located into the same directory than the GN4Polderland.dll ).

GN4Polderland is able to load two supplementary dictionaries to perform spellchecking: a generic one (psc_dict.lex located into the global folder) and a language-specific dictionary ([language]_psc_dict.lex located into the local directory).

These two additional dictionaries are plain text files with the list of the correct words.

They are valid for all the users just like the main Polderland dictionary (REQ03439).

If you can have 2 or 3 different dictionaries, it's enough that they are named in different ways, and then in EdAdmin4 you can setup different spell checkers for different titles.

Let's suppose that the first title will use the nlvk_psc_maindict.lex, the second title the nltr_psc_maindict.lex and third title the nlnh_psc_maindict.lex.

In the first title config, the CSAPI section will have:

SpellLanguage > nlvk

SpellLibrary  > GN4polderland.dll

SpellName     > Witte Boekje (VK)

The second title config:

SpellLanguage > nltr

SpellLibrary  > GN4polderland.dll

SpellName     > Witte Boekje (TR)

The third title config:

SpellLanguage > nlnh

SpellLibrary  > GN4polderland.dll

SpellName     > Witte Boekje (NRCH)

Basically the GN4polderland.dll is loading the dictionary named as {SpellLanguage}_psc_maindict.lex