You can comment out any line with Use/Circ in the .lexc file before you compile.
Fran A 2017-01-17 17:36, mansur escrigué: > Kevin, thank you for advice! > > 1) I tried this one: > hfst-fst2strings --out-prefix="а" -c0 tat.automorf.hfst > > But when I put any prefix it doesn't print anything. > > 2) I also tried --out-exclude="0" and this is very useful, but how can > I exclude all digits here? > > Mansur > > On Tue, Jan 17, 2017 at 3:22 PM, Kevin Brubeck Unhammer > <[email protected]> wrote: > >> mansur <[email protected]> čálii: >> >>> Hello, everybody! >>> >>> I am trying to generate all forms of all words in the Apertium's >> Tatar dictionary. Ilnar Salimzyanov recommended me this way: >>> >>> hfst-fst2strings -c 1 tat.automorf.hfst > file.txt >>> >>> It works great, but after launching it consumes more and more RAM >> every second. So in about half an hour or maybe hour according to >> 'top' >>> command RAM usage by 'hfst-fst2strings' process is about 5,5 Gb. >> How can I fix it? >> >> See --help for that command. E.g. try -c0 (fewer strings out, but >> should >> be faster), or fiddle with -r/-N/-n/-l/-L to restrict by number or >> length. Maybe try --out-prefix to restrict it to one part of speech >> at a >> time, if you really want "all" forms. >> >> > ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot [1] >> _______________________________________________ >> Apertium-stuff mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/apertium-stuff [2] > > > > Links: > ------ > [1] http://sdm.link/slashdot > [2] https://lists.sourceforge.net/lists/listinfo/apertium-stuff > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > Apertium-stuff mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/apertium-stuff ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
