$recce->ambiguous() calls $recce->ambiguity_metric() internally. Usually you'll only need to call one of them. In your case, guessing the intent, you only want to call ambiguous(), and if you want to do nothing for an unambiguous parse, check for the empty string.
On Wed, Nov 5, 2014 at 2:24 PM, Ron Savage <[email protected]> wrote: > Aggghh. My secret is out! > > But what you say makes me even more confused :-). > > In the docs for Marpa/R2/Scanless/R there are 23 references to ambiguity. > If I could understand even 20% of them I'd be happy. > > -- > You received this message because you are subscribed to the Google Groups > "marpa parser" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
