1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
LANG=C
LC_ALL=C
WORTE = worte.txt verben.txt adjektive.txt klein.txt \
geographie.txt vornamen.txt abkuerz.txt imperat.txt latein.txt \
informatik.txt infoabk.txt
deutsch.hash: all.words deutsch.aff
buildhash all.words deutsch.aff $@
all.words: $(WORTE)
#sort -u $+ > $@
sort -u *.txt > $@
myspelldic: deutsch.hash
perl myspellfixprefix.pl < all.words |sort -u | perl uniqflag.pl > myspell.dic.tmp
wc -l myspell.dic.tmp |sed "s/ *\([0-9]*\) .*/\1/g" > myspell.dic
sed -f dic2iso <myspell.dic.tmp >> myspell.dic
rm myspell.dic.tmp
isowordlist: deutsch.hash
ispell -e -d ./deutsch <all.words |tr " " "\n" | ./dic2iso | sort -u >isowordlist
clean:
rm -f all.words all.words.cnt all.words.stat deutsch.hash hk*deutsch.tar.gz *.tmp myspell.dic isowordlist
sort:
for i in *.txt;do sort -u -o $$i $$i;done
dist: clean sort
tar cvf - * | gzip -9 > hk2-deutsch.tar.gz
|