Last change
on this file since 519eaf5 was
555c7f8,
checked in by Tomasz Obrebski <to@…>, 12 years ago
|
dodanie mo�liwo�ci szybkiego uaktualniania s�ownika dla lema
|
-
Property mode set to
100755
|
File size:
430 bytes
|
Line | |
---|
1 | |
---|
2 | if [ $# -lt 2 ] |
---|
3 | then |
---|
4 | echo "Usage:" |
---|
5 | echo " compdic-dic-to-cats <dic-file> <cats-file>" |
---|
6 | echo "where" |
---|
7 | echo " <wordlist> - file containig a list of words, one per line, iso-8859-2 encoded" |
---|
8 | echo " <automaton> - a file to which the compiled automaton in openfst format shoul be written" |
---|
9 | exit 0 |
---|
10 | fi |
---|
11 | |
---|
12 | source=$1 |
---|
13 | cats=$2 |
---|
14 | |
---|
15 | echo generating cats file ... |
---|
16 | |
---|
17 | cat $source | cut -d ',' -f 2 | sort -u > $cats |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.