1
0
forked from GitHub/gf-core

prepared Kotus to produce adjectives and compounds (by heuristics)

This commit is contained in:
aarne
2010-12-28 15:33:52 +00:00
parent c9ca289a7c
commit 0fd9d1f1a7
5 changed files with 171 additions and 24 deletions

View File

@@ -1,10 +1,17 @@
gf: abs cnc
abs:
src:
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
runghc Kotus.hs <src/kotus-sanalista_v1.xml | grep ":" >>DictFinAbs.gf
grep ":" src.tmp >>DictFinAbs.gf
echo "}" >>DictFinAbs.gf
cnc:
cnc: src
cp prelDictFin DictFin.gf
runghc Kotus.hs <src/kotus-sanalista_v1.xml | grep "=" >>DictFin.gf
grep "=" src.tmp >>DictFin.gf
echo "}" >>DictFin.gf