29 lines
653 B
Plaintext
29 lines
653 B
Plaintext
|
How to prepare gue dictionary?
|
||
|
|
||
|
1. Preparing input file.
|
||
|
|
||
|
Lines in input file should look like this:
|
||
|
|
||
|
prefix*suffix~weight;description
|
||
|
|
||
|
where:
|
||
|
prefix - is the prefix of a word
|
||
|
suffix - is the suffix of a word
|
||
|
weight - is the weight saying how importand information in this line is
|
||
|
description - is a description of the word
|
||
|
(in any format - description will be in output of gue)
|
||
|
|
||
|
|
||
|
2. Compiling a dictionary.
|
||
|
|
||
|
Let's say we have input file named "dict.in".
|
||
|
Commands compiling dictionary:
|
||
|
|
||
|
prep_user_dict.pl < dict.in > dict.temp
|
||
|
compile_user_dict.pl dict.temp
|
||
|
|
||
|
Those should create file called "gue.bin" which is dictionary
|
||
|
for gue component.
|
||
|
|
||
|
Good luck.
|