Menu

#119 lexical selection rules don't seem to be longest-match

open
nobody
2017-03-27
2017-03-26
Jonathan
No

Between a context-free and context-sensitive rule that select different readings, which one applies seems to be random. In fact, currently I can only get the context-free one to apply—it seems to be overriding the context-sensitive one even when the latter should match.

However, I believe the most specific rules should match first, and then the context-free ones should match only if no more specific rules match.

Discussion

  • Francis Tyers

    Francis Tyers - 2017-03-27

    Use lrx-proc -m and give the one with context a higher weight (e.g. weight=2.0).

     
  • Jonathan

    Jonathan - 2017-03-27

    Yes, I'm aware that that's currently the best way to get around this issue, but I'm not yet convinced that it's not an issue...

     

Log in to post a comment.