Compiling main lexicons

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Nov/2012, at 15:32

The *.clx lexicons are binary compressed files, but using the WinSqLex utility it is possible to generate them starting from ASCII lists, this means that it is possible to create entire new dictionaries or modify existing ones.

Upon request Tera can provide the WinSqLex utility and also the 'source' (tlx) version of the languages main lexicons.

Instructions:

1.Install WinSqLex using provided setup.
2.Install patch514 for ssce. Replace ssce5332.dll and (optionally for win16 support) ssce5316.dll in Windows\system32 subfolder (there should already be this files installed by step 1)
3.Install all *.tlx and *.clx files found in patch514 into "Program files\ssce\runtime\lex" directory (or wherever you installed ssce).
4.Prepare a file with words:

The set of words may be divided into any number of word files, but each file must contain all words that start with the same first two letters (i.e., all words starting with the same first two letters must appear in the same file). Words must not be duplicated.

Words in the word files must be stored one word per line. For non-English languages: the words may contain any of the characters defined by the Latin1 (also known as ANSI or ISO-8859-1) character set. The words must be sorted according to the collation sequence defined by the character set.

WinSqLex treats lines starting with "#" as comments.

5.Launch WinSqlex and then by means of Add button, add all word file(s) you want to compile.
6.Set language id accordingly to the list of allowed languages, as shown in the Header topic.
7.Fill in the output lexicon with path and filename where you want to compile it. (filename must be ssce<language prefix>2.clx ie. For example, for Slovenian language enter sscesi2.clx, for Croatian language sscehr2.clx etc.
8.On the Project menu, click Build, and wait till done.