poprawki w komponencie compdic

This commit is contained in:
tom 2011-12-14 17:53:54 +01:00
parent 93afab8cc2
commit 8f395c89a9
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
CFLAG1 = -m32 -Wno-deprecated -O3 -fpermissive CFLAG1 = -Wno-deprecated -O3 -fpermissive
CFLAG_ST = -Wno-deprecated -O3 -fpermissive -static CFLAG_ST = -Wno-deprecated -O3 -fpermissive -static
all: compdic aut2fsa all: compdic aut2fsa
@ -7,7 +7,6 @@ compdic:
aut2fsa: aut2fsa.cc aut2fsa: aut2fsa.cc
#g++ -m32 -Wno-deprecated -O3 -fpermissive -static -o aut2fsa aut2fsa.cc
g++ $(CFLAG1) -o aut2fsa aut2fsa.cc g++ $(CFLAG1) -o aut2fsa aut2fsa.cc

View File

@ -20,11 +20,15 @@ done
if [ $# -lt 2 ] if [ $# -lt 2 ]
then then
echo
echo "compdic is a tool to compile lists of automaton paths (words) into the automaton format"
echo "suitable for use with lem, gue, cor, and kor components"
echo
echo "Usage:" echo "Usage:"
echo " compdic [-p <parts>] <wordlist> <automaton>" echo " compdic [-p <parts>] <wordlist> <automaton>"
echo "where" echo "where"
echo " <wordlist> - file containig a list of words, one per line, iso-8859-2 encoded" echo " <wordlist> - file containig a list of words, one per line, iso-8859-2 encoded"
echo " <automaton> - a file to which the compiled automaton (cor/kor format) shoul be written" echo " <automaton> - a file to which the compiled automaton (lem/gue/cor/kor format) should be written"
exit 0 exit 0
fi fi