Talk:Trmorph

From Apertium
Revision as of 07:13, 29 March 2011 by Francis Tyers (talk | contribs) (Created page with '<pre> $ hfst-invert -i trmorph.a | hfst-fst2fst -O -o trmorph.ol $ echo -e "hakan\nokula\ngitti" | hfst-proc trmorph.ol ^hakan/*hakan$ ^okula/*okula$ ^gitti/git<v><t_past><3s>$ …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
$ hfst-invert -i trmorph.a | hfst-fst2fst -O -o trmorph.ol
$ echo -e "hakan\nokula\ngitti" | hfst-proc trmorph.ol
^hakan/*hakan$
^okula/*okula$
^gitti/git<v><t_past><3s>$


$ hfst-invert -i trmorph.a | hfst-fst2fst -F -o trmorph.foma
$ echo -e "hakan\nokula\ngitti" | hfst-lookup trmorph.foma

hfst-lookup: warning: Lookup not supported on this automaton format: converting to HFST basic transducer and trying

Allowing all flag paths!
Allowing all flag paths!
Allowing all flag paths!
Allowing all flag paths!
hakan	hakan<n>	0.000000
hakan	hakan<n><3s>	0.000000
hakan	hakan<np>	0.000000
hakan	hakan<np><3s>	0.000000

Allowing all flag paths!
Allowing all flag paths!
okula	okul<n><dat>	0.000000
okula	okul<n><dat><3s>	0.000000

Allowing all flag paths!
gitti	git<v><t_past><3s>	0.000000