Tell me what programming language / compiler can do that by just specifying word meanings? Context, sentence structure, your understanding, etc all play into it as well.
Tell me what programming language / compiler can do that by just specifying word meanings? Context, sentence structure, your understanding, etc all play into it as well.
Seems to me that computers were instructed to (1) refuse to work in front of ambiguities, or (2) resolve them by choosing one of the options.
Kind of like when `yacc` tells you that some rule is ambiguous, but then it ends up resolving it by deterministically picking always the same option.
Of course what is 'common sense'? Something that only comes about when you have a billion neurons doing your calculations perhaps.
Also if computers had human level understanding we wouldn't need Yacc rules at all; we can recognize from 100's of different languages just by looking at them, even partial code, despite all the ambiguity of putting all programming languages into one Yacc grammar.
No, that would presume incorrectly that it understood what ambiguity was or even knew it was in an ambiguous situation. Computers don't refuse anything, they do exactly what they're told and only what they're told even when what they're told doesn't make any sense.
> resolve them by choosing one of the options.
They don't even know there are options.