Last change
on this file since 57728c1 was
57728c1,
checked in by Mateusz Hromada <ruanda@…>, 15 years ago
|
Move old files to _old dir.
|
-
Property mode set to
100644
|
File size:
653 bytes
|
Rev | Line | |
---|
[f1563c0] | 1 | How to prepare gue dictionary? |
---|
| 2 | |
---|
| 3 | 1. Preparing input file. |
---|
| 4 | |
---|
| 5 | Lines in input file should look like this: |
---|
| 6 | |
---|
| 7 | prefix*suffix~weight;description |
---|
| 8 | |
---|
| 9 | where: |
---|
| 10 | prefix - is the prefix of a word |
---|
| 11 | suffix - is the suffix of a word |
---|
| 12 | weight - is the weight saying how importand information in this line is |
---|
| 13 | description - is a description of the word |
---|
| 14 | (in any format - description will be in output of gue) |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | 2. Compiling a dictionary. |
---|
| 18 | |
---|
| 19 | Let's say we have input file named "dict.in". |
---|
| 20 | Commands compiling dictionary: |
---|
| 21 | |
---|
| 22 | prep_user_dict.pl < dict.in > dict.temp |
---|
| 23 | compile_user_dict.pl dict.temp |
---|
| 24 | |
---|
| 25 | Those should create file called "gue.bin" which is dictionary |
---|
| 26 | for gue component. |
---|
| 27 | |
---|
| 28 | Good luck. |
---|
Note: See
TracBrowser
for help on using the repository browser.