Menu

#302 different results from hfst-proc and hfst-optimised-lookup

future
closed
nobody
proc (7)
1
2015-08-10
2015-07-01
No

$ echo Eurohpálaš|hfst-proc analyser-mt-apertium-desc.nob.hfstol
^Eurohpálaš/Eurohpá<n><prop><der_laš><attr>/Eurohpá<n><prop><der_laš><sg><nom>/Eurohpá<n><prop><sem_plc><der_laš><attr>/Eurohpá<n><prop><sem_plc><der_laš><sg><nom>/Eurohpálaš<attr>/Eurohpálaš<sg><nom>$

$ echo Eurohpálaš|hfst-optimised-lookup analyser-mt-apertium-desc.nob.hfstol
Eurohpálaš +?

This is revision 116626 of
https://victorio.uit.no/langtech/trunk/langs/sme/
where the analyser is in tools/mt/apertium
configured with
./autogen.sh && ./configure --enable-apertium --with-hfst --without-xfst --disable-spellers --disable-analysers --disable-generators

Discussion

  • Kevin Brubeck Unhammer

    fstol

     
  • Kevin Brubeck Unhammer

    OK, this can be closed, it's the expected behaviour.

    This fst was supposed to be composed with one that disallowed the der_laš tag, so I thought there must be a bug when the disallowing "worked" with hfst-optimised-lookup but not hfst-proc. But in fact, the composition never happened, and the only reason is that hfst-proc allows titlecased analyses but hfst-optimised-lookup doesn't, so

    $ echo eurohpálaš|hfst-optimised-lookup analyser-mt-gt-desc.hfstol
    eurohpálaš Eurohpá+N+Prop+Sem/Plc+Der/laš+A+Sg+Nom
    eurohpálaš Eurohpá+N+Prop+Sem/Plc+Der/laš+A+Attr
    eurohpálaš eurohpálaš+A+Sg+Nom
    eurohpálaš eurohpálaš+A+Attr

    sorry for the noise …

     
  • Erik Axelson

    Erik Axelson - 2015-08-10
    • status: open --> closed