What if someone enters 'pick up the lamp with your legs' instead of 'pick up the lamp', or even substitue 'the' with 'blah', should it throw an error in terms of complexity?
Viewing post in Verb Noun Or Complex Parser
That depends on the engine you're using and the grammar that you've defined for the pattern matching. The first example boils to a verb phrase, direct noun phrase, preposition and indirect noun phrase. Most engines can handle that. 'blah' would cause most parsers to spit the dummy and print an error message. I think Adventuron omits any words it doesn't recognise and continues as though the word wasn't there.