Extracting strings with a prefix in HFST

From Apertium
Revision as of 19:40, 2 March 2017 by Francis Tyers (talk | contribs) (Created page with "<pre> $ echo "y e %<v%> %<tv%> ?*" | hfst-regexp2fst -o /tmp/ye.prefix $ hfst-compose-intersect -2 ~/source/apertium/languages/apertium-tur/.deps/tur.LR.hfst -1 /tmp/ye.prefi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$ echo "y e %<v%> %<tv%> ?*" | hfst-regexp2fst -o /tmp/ye.prefix
$ hfst-compose-intersect -2 ~/source/apertium/languages/apertium-tur/.deps/tur.LR.hfst -1 /tmp/ye.prefix  | hfst-fst2strings