english-lang icon indicating copy to clipboard operation
english-lang copied to clipboard

Ambiguous expressions

Open snarfed opened this issue 11 months ago • 8 comments

I'm having trouble with English's non-determinism: I keep hitting expressions that have multiple valid interpretations, and the runtime doesn't always return the same result. It happens infrequently, but consistently.

For example, "Time flies like an arrow" has at least three valid interpretations, each with a different result.

When the runtime hits one of these, it seems to run some kind of ML model to predict the best interpretation based on the program's current state. This works surprisingly well, but the non-determinism is worrying, as is the unexpected complexity and cost.

How much of a breaking change would it be to either mandate a fixed interpretation for all of these ambiguities, or just remove them altogether?

Thanks in advance. I'm loving English otherwise, it's impressively powerful and concise. And so widely supported!

snarfed avatar Jul 12 '23 05:07 snarfed