forked from GitHub/gf-core
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.
This commit is contained in:
8
contrib/eaglesconv/mkAbstract.sh
Normal file
8
contrib/eaglesconv/mkAbstract.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/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 "
|
||||
}"
|
||||
Reference in New Issue
Block a user