I've been doing a bit of work to finish some of the loose ends with my disambiguation class project last year. I have run into a case where in a disambiguation class, none of the options make sense and the most useful thing is to fail with a helpful-ish error about a lexical ambiguity. This very small change allows disambiguation functions to explicitly fail by return -1.
I've been doing a bit of work to finish some of the loose ends with my disambiguation class project last year. I have run into a case where in a disambiguation class, none of the options make sense and the most useful thing is to fail with a helpful-ish error about a lexical ambiguity. This very small change allows disambiguation functions to explicitly fail by return -1.