1
0
forked from GitHub/gf-core

separated the modules for compound and ordinary words in building DictFin. Both have about 40k lemmas

This commit is contained in:
aarne
2010-12-28 20:17:08 +00:00
parent cdebaef7ef
commit ed4e07d0c2
4 changed files with 31 additions and 19 deletions

View File

@@ -1,17 +1,19 @@
gf: abs cnc
all: dict
src:
dict:
runghc Kotus.hs src/kotus-sanalista_v1.xml >src.tmp
compounds:
runghc Kotus.hs src/kotus-sanalista_v1.xml -compounds >src.tmp
abs: src
cp prelDictFinAbs DictFinAbs.gf
grep ":" src.tmp >>DictFinAbs.gf
echo "}" >>DictFinAbs.gf
cnc: src
cp prelDictFin DictFin.gf
grep "=" src.tmp >>DictFin.gf
echo "}" >>DictFin.gf
compounds:
runghc Kotus.hs src/kotus-sanalista_v1.xml -compounds >src-comp.tmp
cp prelDictCompFinAbs DictCompFinAbs.gf
grep ":" src-comp.tmp >>DictCompFinAbs.gf
echo "}" >>DictCompFinAbs.gf
cp prelDictCompFin DictCompFin.gf
grep "=" src-comp.tmp >>DictCompFin.gf
echo "}" >>DictCompFin.gf