Kevin Brubeck Unhammer <[email protected]> čálii:

> 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.

… that should be --out-exclude :) e.g. hfst-fst2strings -U '<vblex>'
ought to exclude all verbs

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
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

Reply via email to