source: src/compdic/compdic-dic-to-cats

Last change on this file 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
2if [ $# -lt 2 ]
3then
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
10fi     
11
12source=$1
13cats=$2
14
15echo generating cats file ...
16
17cat $source | cut -d ',' -f 2 | sort -u > $cats
18
Note: See TracBrowser for help on using the repository browser.