Index: src/compdic/compdic-dic-to-cats
===================================================================
--- src/compdic/compdic-dic-to-cats	(revision 555c7f814bf87fa10240e98295372095bc422115)
+++ src/compdic/compdic-dic-to-cats	(revision 555c7f814bf87fa10240e98295372095bc422115)
@@ -0,0 +1,18 @@
+
+if [ $# -lt 2 ]
+then
+    echo "Usage:"
+    echo "        compdic-dic-to-cats <dic-file> <cats-file>"
+    echo "where"
+    echo "    <wordlist> - file containig a list of words, one per line, iso-8859-2 encoded"
+    echo "    <automaton> - a file to which the compiled automaton in openfst format shoul be written"
+    exit 0
+fi	
+
+source=$1
+cats=$2
+
+echo generating cats file ...
+
+cat $source | cut -d ',' -f 2 | sort -u > $cats
+
