tagset module documentation

Submitted by fcbr on Mon, 10/03/2016 - 14:57
Forums

Hi,

I noticed that there are differences between the documentation of the tagset module and the implementation. I'm using the perl bindings and the released 4.0 sources.

For example, instead of get_msf_string, the method name available seems to be get_msd_string.

Also, it is not clear to me which method to use to convert from the morphological features back to an EAGLES tag. The documentation seems to indicate that this would be the get_short_tag method, but it always gives me an error (TAGSET: No rule to get short version of tag 'pos=...').

I did find a method called msd_to_tag that seems to work, but I can't figure out what the first parameter is. The name of the parameter is cat but it is not clear which values it accepts. Using the empty string seems to work, and that's what I have been using so far, but I would like to know if this is correct or not.

I improved the documentation to make those things clearer
Thanks for pointing them out.