Or maybe the simple 'syntactic ambiguity'.
"A noteworthy example in the field of computer natural language processing is Time flies like an arrow. Although humans unambiguously understand it to mean "Time flies in the same way that an arrow does," it could also mean:
measure the speed of flying insects like you would measure that of an arrow (thus interpreted as an imperative) - i.e. (You should) time flies as you would (time) an arrow.;
measure the speed of flying insects like an arrow would - i.e. Time flies in the same way that an arrow would (time them).;
measure the speed of flying insects that are like arrows - i.e. Time those flies that are like arrows;
all of a type of flying insect, "time-flies," collectively enjoy a single arrow (compare Fruit flies like a banana);
each of a type of flying insect, "time-flies," individually enjoys a different arrow (similar comparison applies);
(As Groucho Marx is said to have observed, "Time flies like an arrow; fruit flies like a banana.")"
https://en.wikipedia.org/wiki/Syntactic_ambiguity