Extracting strings with a prefix in HFST

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