Open GoogleCodeExporter opened 9 years ago
Following works well for me:
in shell script test.foma I say:
foma -l enhu2.foma <savestack.sh
savestack.sh has following content:
save stack hun41.fst
In an other script I can the do flookup using for example:
echo tűz+Noun+Plur+Gens+Ade | flookup -i hun41.fst >> tfoma2.txt
I use Foma, version 0.9.16alpha
on linux/debian
Original comment by eleonor...@gmx.net
on 21 Feb 2012 at 5:34
Thanks eleonor...,
Your approach works for me!
Original comment by jrwdunham@gmail.com
on 23 Feb 2012 at 10:26
You can also just run a string of commands with various instantiations of the
-e flag producing what you want:
foma -e "source test.script" -e "save stack test.foma" -e "quit"
This would load "test.script" and then save the resulting transducer(s) in
"test.foma", and then quit foma.
Original comment by mans.hul...@gmail.com
on 24 Feb 2012 at 3:56
Thanks Mans,
That was exactly what I was looking for!
Original comment by jrwdunham@gmail.com
on 28 Feb 2012 at 7:04
Original issue reported on code.google.com by
jrwdunham@gmail.com
on 17 Feb 2012 at 4:16