1
0
forked from GitHub/gf-core
Files
gf-core/contrib/eaglesconv/mkAbstract.sh
Nick Frolov 2ff1d34c86 A Russian dictionary
A Russian dictionary generated from a wordlist created by the FreeLing
project. The accompanying converter can be used to convert other wordlists in
EAGLES format to GF grammars.
2011-12-31 02:36:24 +00:00

8 lines
198 B
Bash

#!/bin/sh
echo "abstract DictRusAbs = Cat ** {
"
cat $1 | sed 's/^lin/fun/g;s/=.*$//g;s/\_N/\_N : N\;/g;s/\_PN/\_PN : PN\;/g;s/\_A /\_A : A\;/g;s/\_V/\_V : V\;/g;s/\_Adv/\_Adv : Adv\;/g'
echo "
}"