Difference between revisions of "Talk:Trmorph"
Jump to navigation
Jump to search
(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>$ …') |
|||
Line 6: | Line 6: | ||
^gitti/git<v><t_past><3s>$ |
^gitti/git<v><t_past><3s>$ |
||
$ echo -e "hakan\nokula\ngitti" | hfst-lookup trmorph.ol |
|||
hakan hakan+? inf |
|||
okula okula+? inf |
|||
gitti git<v><t_past><3s> 0.000000 |
|||
$ hfst-invert -i trmorph.a | hfst-fst2fst -F -o trmorph.foma |
$ hfst-invert -i trmorph.a | hfst-fst2fst -F -o trmorph.foma |
Latest revision as of 07:15, 29 March 2011
$ 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>$ $ echo -e "hakan\nokula\ngitti" | hfst-lookup trmorph.ol hakan hakan+? inf okula okula+? inf gitti git<v><t_past><3s> 0.000000 $ 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