Slashdot Mirror


Words with Multiple Meanings Pose a Special Challenge To Algorithms (theatlantic.com)

Sample this: Me: So that's the marshmallow but you're going to eat it with this graham cracker and chocolate.
[My son looks at me like I am the dumbest person alive.]
Sebastian: No, I'm going to eat it with my MOUTH.
[End of play.]
That's from "S'MORES. A Real-Life One-Act Play", a conversation between Hamilton impresario Lin-Manuel Miranda which his young son Sebastian. In that brief interaction, young Sebastian Miranda inadvertently hit upon a kind of ambiguity that reveals a great deal about how people learn and process language -- and how we might teach computers to do the same.

The misinterpretation on which the s'mores story hinges is hiding in the humble preposition with. Imagine the many ways one could finish this sentence: I'm going to eat this marshmallow with ... If you're in the mood for s'mores, then "graham cracker and chocolate" is an appropriate object of the preposition with. But if you want to split the marshmallow with a friend, you could say you're going to eat it "with my buddy Charlie." The Atlantic elaborates: Somehow speakers of English master these many possible uses of the word with without anyone specifically spelling it out for them. At least that's the case for native speakers -- in a class for English as a foreign language, the teacher likely would tease apart these nuances. But what if you wanted to provide the same linguistic education to a machine?

As it happens, just days after Miranda sent his tweet, computational linguists presented a conference paper exploring exactly why such ambiguous language is challenging for a computer-based system to figure out. The researchers did so using an online game that serves as a handy introduction to some intriguing work currently being done in the field of natural language processing (NLP). The game, called Madly Ambiguous , was developed by the linguist Michael White and his colleagues at Ohio State University. In it, you are given a challenge: to stump a bot named Mr. Computer Head by filling the blank in the sentence Jane ate spaghetti with ____________. Then the computer tries to determine which kind of with you intended. Playful images drive the point home. [Editor's note: check the article for corresponding images.]

In the sentence Jane ate spaghetti with a fork, Mr. Computer Head should be able to figure out that the fork is a utensil, and not something that is eaten in addition to the spaghetti. Likewise, if the sentence is Jane ate spaghetti with meatballs, it should be obvious that meatballs are part of the dish, not an instrument for eating spaghetti.

101 of 173 comments (clear)

  1. Learn Lojban today! by MostAwesomeDude · · Score: 1

    Want a context-free language, easily parseable, with plenty of computer-driven tooling, without this irritating English ambiguity? Lojban is learnable today: https://mw.lojban.org/papri/la...

    In all seriousness, it is mind-blowing to me that our tribe of computer scientists continue to expend so much effort deriving meaning from English utterances. If we only wanted to encode meaning in a computer-manageable way, we could have been doing it decades ago.

    --
    ~ C.
    1. Re:Learn Lojban today! by drinkypoo · · Score: 3, Insightful

      Want a context-free language, easily parseable, with plenty of computer-driven tooling, without this irritating English ambiguity?

      Sure, but I also want to be able to converse with people on the street. Since statistically nobody speaks lojban there is no sense in learning it. If I were going to spend effort learning another language, it would be one people actually use.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Learn Lojban today! by javaman235 · · Score: 3, Insightful

      Computer scientists focus on this because it highlights a really interesting difference between how our brains represent information and how computers do. The reality is human minds have no problem holding onto a word or phrase in a state of semantic superposition. For instance, if someone tells you to "turn left at the bronze rooster", you will keep an eye out for a business with that name, or an actual bronze statue of a rooster. Computers don't have this ability, to declare
      Int x = 54 or 75 or 23;
      Intuitively, and the ability to do so seems to give our minds a lot of unique powers.

      --
      -The art of programming is the pursuit of absolute simplicity.
    3. Re:Learn Lojban today! by cayenne8 · · Score: 2
      They think English is hard...??

      Geez, what's with other languages having words/nouns "male" and "female" for things....with no rhyme or reason.

      I've tried to figure that out for decades and it makes no fucking sense.

      Now that today, somehow we have > 2 genders [rolls eyes], are those languages changing that, or making a telephone gender neutral?

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    4. Re:Learn Lojban today! by Anonymous Coward · · Score: 1

      There's an XKCD for this https://xkcd.com/191/

    5. Re:Learn Lojban today! by Anonymous Coward · · Score: 1

      Geez, what's with other languages having words/nouns "male" and "female" for things....with no rhyme or reason.

      In Spanish, a car is male, a bus is female, and a Volkswagen is LGBTQ.

    6. Re: Learn Lojban today! by CyberRacer · · Score: 3, Insightful

      The problem (as I see it) is one of context. Each answer is possible, but given "context", one answer will be more likely than another. It's this notion of context that's the difficult part to grok, and must be accounted for in any system intended for "intelligent" processing.

    7. Re:Learn Lojban today! by houghi · · Score: 1

      Living in Belgium what I think is hard for both the Dutch and the French speaking is to determine what to use for the gender, even if it is clear what the gender is. e.g. saying "The daughter of the father." In one it is "His daughter" and in the other it would become "Her daughter" (Zijn dochter, Sa fille)
      Both are logical and defendable and it is one of the few things I need to concentrate to get it correct.

      That said, in Dutch you have 'de' and 'het' and even many Dutch. One is gende neutral and the other is male/female, but with things like "De jongen" (The boy). That is male. so 'De'. 'Het jongetje" (The small boy). Gender neutral, so 'het'. But if there are more than one, it become 'De' again. 'De jongetjes'.

      The best sense of what I can make of it if I see a new word to determine if it is 'de' or 'het' is that it somehow sounds wrong one way and right the other way.

      --
      Don't fight for your country, if your country does not fight for you.
    8. Re:Learn Lojban today! by lgw · · Score: 1

      The generally open way is to spawn an independent process for each known interpretation of an unclear term, then evaluate the conclusions of each thread at the end. If no expected value forms a coherent result, or more than one value forms a coherent result, use some form of requesting clarification.

      If you have some reasonable constraints, this can be faked with array evaluations instead of individual variable evaluations. I think there is some fairly standard method of "bounded algebra" that works by retaining the calculated and upper and lower certainty range at each step, expand that concept and you can state Int x= [54,74,23]; with answers for each at the end of the function.

      Informative AC.

      And this is the mechanical approach for most of what we call "AI" these days: take a vector representing the input, do some linear algebra, normalize, do some more matrix multiplication, normalize, rinse, repeat, until you get an output vector representing the probability of each interpretation. Then adjust the weightings in your matrices based on whether you guessed right.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    9. Re: Learn Lojban today! by javaman235 · · Score: 2

      One thing I notice is that our brains don't seem to rely on this type of *explicit* enumeration. Assume it is a statue, and imagine the trillions and trillions of possible permutations, each a different size, pose, or with one different feather from the last, that you would still recognize as a rooster. We don't hold all those in our brain at once. The only thing I've seen in CS like it is with quantum computers, where you've prepared a state with a million different outcomes, from an original uncorrelated state with a billion different outcomes, using a small amount of info. Somehow concepts in our brain are like that: A concept simple enough to share and communicate (e.g. shoe) applies simultaneously to trillions and trillions of possible things, while excluding even more, without us having a mental list of every possible shoe. It's a magic that's hard for me to visualize as code!

      --
      -The art of programming is the pursuit of absolute simplicity.
    10. Re: Learn Lojban today! by datavirtue · · Score: 1

      In my brain, if I am looking for a giant bronze rooster I wont see a little one and I sure as hell will not notice a restaurant called the Bronze Rooster.

      --
      I object to power without constructive purpose. --Spock
    11. Re: Learn Lojban today! by reboot246 · · Score: 1

      It started a long time ago, way before English. Check out Latin for a good example.

      sum - I am,
      es - you are,
      est - he, she or it is

    12. Re:Learn Lojban today! by mcswell · · Score: 1

      Grammatical gender is trivial for computers, even in languages with > 2 genders. German, for example, has masculine, feminine and neuter. Swahili (like other Bantu languages) has more than a dozen noun classes, which are similar to genders. And trivial for computers, because computers memorize easily. What they don't do is relate words to the real world, and that's why ambiguity hurts them more than it does us.

    13. Re: Learn Lojban today! by drinkypoo · · Score: 1

      One thing I notice is that our brains don't seem to rely on this type of *explicit* enumeration. Assume it is a statue, and imagine the trillions and trillions of possible permutations, each a different size, pose, or with one different feather from the last, that you would still recognize as a rooster. We don't hold all those in our brain at once. The only thing I've seen in CS like it is with quantum computers,

      Yolo 9000 can recognize thousands of different objects in near-realtime on a raspberry pi (or in effectively realtime, 30 fps, on a fast machine with a titan x.) Pattern recognition is something our brain does well, but computers are getting to the point where they can do it cheaply.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:Learn Lojban today! by tehcyder · · Score: 1

      They think English is hard...??

      Geez, what's with other languages having words/nouns "male" and "female" for things....with no rhyme or reason.

      I've tried to figure that out for decades and it makes no fucking sense.

      Now that today, somehow we have > 2 genders [rolls eyes], are those languages changing that, or making a telephone gender neutral?

      But that's not a cause of ambiguity. "La table" is a table. Your computer just needs to learn the gender of a word. It's pointless, but not ambiguous. You don't use "la table" sometimes and "le table" at other times.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    15. Re:Learn Lojban today! by Godwin+O'Hitler · · Score: 1

      The Latin use of possessive pronouns provides less information than the Germanic use. Nobody in his right mind questions the gender of the daughter (or cares about the gender of a spoon), but they might be very interested in the gender of the person who says it. The only time gender is of any use is when two identical words have different meanings according to the gender ("le tour" and "la tour"), and those represent what? 0.05% of all nouns?

      --
      No, your children are not the special ones. Nor are your pets.
    16. Re: Learn Lojban today! by Godwin+O'Hitler · · Score: 1

      I agree that all conjugations are pointless but you're picking on the wrong guy. You cherry-picked the verb "to be". All other English verbs have at most 4 possible inflections (drink, drinking, drank, drunk). And "to be" still has only seven inflections compared with 10^100 in Spanish.

      --
      No, your children are not the special ones. Nor are your pets.
    17. Re: Learn Lojban today! by Godwin+O'Hitler · · Score: 1

      Replying to myself: sorry five possible inflections with the 3rd person singular (drinks).

      --
      No, your children are not the special ones. Nor are your pets.
  2. These two people can be on the same side in WWII by Anonymous Coward · · Score: 1

    These two people can be on the same side in WWII:
    "I'm going to fight with the Allies."
    "I'm going to fight with Hitler."

  3. Dative, and no there is no ambiguity by goombah99 · · Score: 5, Interesting

    THis really isn't that complicated. It's not that words have two meaning but there are different cases. In many languages there is a dative suffix for words taking a supporting roll. I threw the ball out the window. case endings can cleanly separate subject (I), direct object (ball) and participating clause object (window). IN english we lack a dative suffix on most words. So we have helper words and word orders to tell us which are the dative.

    In the case of all the examples give, "with" here is just saying the object named participated. "fork, meatball, Buddy". It doesn't say how it participated. That is completely not the content of the sentence.

    the point I'm making is that the sentence scans identically. It's not ambiguous. It's exact. It's entirely possible that I ground up my buddy to make meatballs out of him and that I actually like eating small forks. That information is not intended to be present. It would come from external context. The senstence is not ambiguous.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Dative, and no there is no ambiguity by rossdee · · Score: 1

        "supporting roll.'

      lol

    2. Re:Dative, and no there is no ambiguity by Archangel+Michael · · Score: 1

      See this for how hard English is. Funny, but fits the topic.

      https://www.youtube.com/watch?...

      And don't get me started on the word "FUCK", which is just about every word type in English: Noun, Verb, Adverb, Adjective, Exclamation, point of emphasis ...

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    3. Re:Dative, and no there is no ambiguity by Anonymous Coward · · Score: 1

      The fact that may have you ground up your buddy to make meatballs and put them in your spaghetti or that you may eat your spaghetti in his presence is precisely what makes the sentence ambiguous. In other words, it is ambiguous because you cannot tell the meaning of the sentence without external context.

      dom

    4. Re:Dative, and no there is no ambiguity by PPH · · Score: 1

      the point I'm making is that the sentence scans identically.

      Actually, the sentence can be diagrammed three different ways. In a breadth-first search of solution space, all three solutions will be found and considered. Another search layer will then take each possibility and attempt to solve it, given some deeper world knowledge. The probabilities assigned to the diagrams asserting that you served pasta with a helping of fork or your buddy will come out pretty low. Meatballs would result in this particular graph winning.

      Since breadth first searches can be pretty expensive in terms of memory and processing time, a reasonableness step will be used frequently to prune the search tree. What makes the kid with s'mores example funny and interesting is that children don't do so much graph pruning automatically. It's part of a learning process that examines alternatives. Like eating food with one's nose (which happens from time to time).

      --
      Have gnu, will travel.
    5. Re:Dative, and no there is no ambiguity by laie_techie · · Score: 2

      Jane ate spaghetti with relish.

      This is where external context has to be considered. tone of voice, preceding or supporting sentences, visual cues. Teaching this to a machine is hard, because as human understanding, we can process this as an ambiguity and proceed through the information and fill in the awareness of context later or discard it as unnecessary information or even sometimes we simply carry the dual context forward.

      Hannibal Lector invited his neighbors over for dinner.

    6. Re:Dative, and no there is no ambiguity by lgw · · Score: 1

      The English language is VERY complex, and the additional rules governing its basic means of communication (governing its representations, and what the individual combinations are) can be somewhat arbitrary.

      There are over 100 basic concepts in its functional taxonomic hierarchy, and a large number of manners of syntactic use that are caused by them, MOST of which are NOT RECOGNISED FOR WHAT THEY ARE AT THIS TIME, and for a good reason, which is what I'm working on atm..

      Did you not realize there's a spec for the English language? Sure, it's not a normative spec, since there's no governing body (unlike French), but every rule and every exception to every rule is listed in detail.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    7. Re:Dative, and no there is no ambiguity by suutar · · Score: 1

      Do they have a companion volume for American?

    8. Re:Dative, and no there is no ambiguity by g01d4 · · Score: 1

      The comedy in most Burns and Allen skits is based on Gracie's parsing the ambiguity of the language. Passing the Turing test should include the computer replying in those instances with "I see what you did there".

    9. Re:Dative, and no there is no ambiguity by Kjella · · Score: 1

      That information is not intended to be present. It would come from external context.

      Well that's what language is all about, I can understand what you wrote because we have a common understanding of English. And that extends to expressions, euphemisms, allegories, slang, sarcastic and ironic usage that can't be taken literally or deconstructed into simpler terms. If "I had spaghetti and meatballs for dinner" means you ate them and that's the meaning most everybody agree on then you can quibble all you want about "to have" not implying "to eat", but that's just your opinion of how it should work. The meaning is conveyed by the sender, while dictionaries and grammar have a normative effect the real meaning is defined by everyone using it. Or TL;DR - if I spank the monkey, it's not corporal punishment of a primate. But I guess you'd need some external context to figure that out.

      --
      Live today, because you never know what tomorrow brings
    10. Re:Dative, and no there is no ambiguity by goombah99 · · Score: 1

      Doh! you are right. Been too long for me since Latin class.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    11. Re:Dative, and no there is no ambiguity by epine · · Score: 1

      And don't get me started on the word "FUCK", which is just about every word type in English: Noun, Verb, Adverb, Adjective, Exclamation, point of emphasis ...

      And being quite so promiscuous, FUCK can be treated as a hairy wart—commanding attention without in any way being instrumental—in just about every sentence more elaborate than "See Jack fuck Jill."

    12. Re:Dative, and no there is no ambiguity by Aighearach · · Score: 1

      The F word is just a synonym for smurf. It is the easiest word to use, in any language.

    13. Re:Dative, and no there is no ambiguity by tehcyder · · Score: 1

      This also means that most puns and jokes based on word ambiguity do not work in Russian, which make it a bad language to tell jokes.

      Duh, what about the legendary "in Soviet Russia Party jokes" which I have seen in countless variations over the years on slashdot?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  4. Magazines by DalM · · Score: 2

    Me: Your new magazine you got from your grandmother for your birthday came in the mail. Do you want to read it tonight for bedtime?
    4yo: [Confused] Magazines aren't for reading.
    Me: What are they for?
    4yo: [Stated with an tone of obviousness] Magazines are for cutting.

    [End scene]

    1. Re:Magazines by DalM · · Score: 1

      No point to that. I just would like to see more conversations with children misunderstanding some seemingly basic concepts in dialogue form here.

    2. Re:Magazines by Anonymous Coward · · Score: 2, Insightful

      I thought magazines were for holding ammunition. How they cut, I'm not sure.

    3. Re:Magazines by drinkypoo · · Score: 1

      4yo: [Stated with an tone of obviousness] Magazines are for cutting.

      That makes sense to anyone who's done a collage. Getting information from paper is pretty awful; you can't even do a simple substring search without executing it manually. But it can be a nice source of art materials, especially when stuffed with advertisements designed to wrest your attention away from whatever actual content was put in there to attempt to justify it.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:Magazines by Aighearach · · Score: 1

      Everything cuts. Use more force.

    5. Re:Magazines by tedcloak · · Score: 1

      No, Magazines are for storing ammunition on a 19th Century warship.

  5. Ambiguity by Anonymous Coward · · Score: 3, Insightful

    Time flies like an arrow

    Fruit flies like a banana.

    1. Re:Ambiguity by phantomfive · · Score: 1

      "I saw a woman on the beach with binoculars." (Was she holding them? Or was I looking through binoculars?)

      These problems are almost as old as AI itself, nearly half a century old, and we haven't made any real improvement in solving them.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Ambiguity by DalM · · Score: 1

      We won the Lottery! ... Why are you excited? *WE* won the lottery. You didn't.

    3. Re: Ambiguity by nigelo · · Score: 1

      There's not enough data to establish context.
      We need a linguistic Enhance button, I guess.

      --
      *Still* negative function...
    4. Re:Ambiguity by Shotgun · · Score: 1

      These problems are almost as old as AI itself, nearly half a century old, and we haven't made any real improvement in solving them.

      If by that you mean "as old as men trying to talk to women" , which is MUCH older than AI, then yes,I'd agree with you.

      Spoiler alert:

      They guy was wrong.

      --
      Aah, change is good. -- Rafiki
      Yeah, but it ain't easy. -- Simba
    5. Re:Ambiguity by tehcyder · · Score: 1

      Time flies like an arrow

      Fruit flies like a banana.

      There is no ambiguity there. Both sentences' meanings are perfectly clear. Their juxtaposition is amusing, but the question of whether an AI can appreciate jokes is a totally different issue.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
  6. Welcome to the AI winter again by AHuxley · · Score: 1

    Vey smart people have found that in the 1970, 1980, 1990. 2000... 2018. With decades of funding and experts.
    https://en.wikipedia.org/wiki/...
    Maybe some Seeding Intelligence https://www.wired.com/1997/07/...
    "...program only basic behaviors into the device, give it a way to experience sensory perception, and allow it to learn from experience.. "

    --
    Domestic spying is now "Benign Information Gathering"
  7. reductio ad absurdum by turpialito · · Score: 3, Interesting

    Children are very highly specialized in reducing an argument to absurdity. This is a very important tool in logic and, in my opinion, it is no better exemplified elsewhere other than in Lewis Carroll's books, which I think is why Miranda's kid interpreted his father's statement as absurd. As a mathematician, Carroll was quite aware of how easily logical errors come about. I like citing when Humpty Dumpty explains what an un-birthday is to Alice: “I mean, what is an un-birthday present?" A present given when it isn't your birthday, of course." Alice considered a little. "I like birthday presents best," she said at last. You don't know what you're talking about!" cried Humpty Dumpty. "How many days are there in a year?" Three hundred and sixty-five," said Alice. And how many birthdays have you?" One.” I suppose Miranda could have been more explicit and said "along with", rather than just using "with" alone. As another example of this, we say "a glass of water", despite the glass not being made of water. Yet we don't say "a glass with water". And we certainly don't drink the glass, but rather its contents. I find all this fascinating. Brits have trouble understanding some American phrases as well for pretty much the same reason. Same thing goes for European Spanish and Latin American Spanish. Maybe feeding an AI with several samples of such phrases, as said and interpreted by multiple cultures would better train it to deal with such "inconsistencies"?

    1. Re:reductio ad absurdum by mcswell · · Score: 1

      `I see nobody on the road,' said Alice.

      `I only wish I had such eyes,' the King remarked in a fretful tone. `To be able to see Nobody! And at that distance, too! Why, it's as much as I can do to see real people, by this light!'

  8. Yummy in her tummy by krray · · Score: 1

    jane ate spaghetti with dick.

    Now .. what does that mean?

    1. Re:Yummy in her tummy by houghi · · Score: 1

      Jane likes spotted dick. I like great tits.
      Now that you know I do not have a dirty mind, can I interest you in some images of blue waffels?

      --
      Don't fight for your country, if your country does not fight for you.
    2. Re:Yummy in her tummy by Aighearach · · Score: 1

      It isn't really that hard though, it only needs a big enough database of idioms.

      Almost everything people think of the computers are bad at because nobody is doing the legwork, instead they're trying to cheat with big datacenters and "AI" algorithms. What they need is a big team of linguists to catalog more.

      Not only that, but a system that attempts to track state should be able to tell from the context that there would be other references to Jane's poverty or money problems. Otherwise, nobody cares if it gets it wrong or not because it either wasn't even part of a larger work, or didn't have significance. So it should have an idiom match, and supporting context. Not much work is even being done on that yet.

  9. This was settled 30 years ago by jalvarez13 · · Score: 1
    This is old news. Terry Winograd (Larry Page's advisor) and Fernando Flores wrote a whole book about it in 1987: Understanding Computers and Cognition: A New Foundation for Design

    Take a look at it and give yourself a treat.

    1. Re:This was settled 30 years ago by mcswell · · Score: 1

      There's also the apocryphal story in which one of the earliest Machine Translation systems translated English to Russian and, as an evaluation, translated the Russian result back into English. Input: "The spirit is willing, but the flesh is weak." (= Matthew 26:41) The supposed output: "The vodka is good, but the meat is rotten." Although this never happened, it does illustrate that ambiguity has been known as a problem for computers for many decades.

  10. What by ArchieBunker · · Score: 1

    the fuck did I just read?

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  11. Context context context by Lije+Baley · · Score: 1

    But context gets complicated, quickly. And when things get too complicated, managers and grad students retreat to their happy places. End of AI story.

    --
    Strange things are afoot at the Circle-K.
    1. Re:Context context context by Aighearach · · Score: 1

      If they'd just transfer the expert systems out of AI and into one of the programming majors then it would get done really quick.

  12. fuck that shit. by Gravis+Zero · · Score: 1, Insightful

    If that shit can't figure the fuck I mean, then shit's on them, so fuck 'em! Fuck those fucking fuckers because no fucks given for that shit. ;)

    --
    Anons need not reply. Questions end with a question mark.
    1. Re:fuck that shit. by VorpalRodent · · Score: 1

      Parent's sentence is a far better example of something rife with potential for algorithmic ambiguities than that given in the article.

      --
      Take it to the limit, everybody to the limit, come on, everybody fhqwhgads.
  13. Dative, and no there is no model. by Anonymous Coward · · Score: 1

    Context comes from our knowledge about those objects. We know a great deal about utensils. We know about what's food and what isn't based upon both what we've eaten in the past, as well as what society mores allow. It's one of the reasons the first delving into AI consisted in codifying a lot of human knowledge into a idiot savant, but brittle outside it's sphere of knowledge.

  14. Hello Captain Obvious! by Anonymous Coward · · Score: 1

    I've always thought that if you know code and/or other artificial languages the next real challenge is trying to use it to decipher human natural languages. A person learns really quickly the huge amounts of strange quirks and mental leaps we humans have to make just to communicate somewhat rationally. When we actively choose to do so anyway.

    There's even whole other worlds of artificially structured "semi-natural" languages used to define things further to prevent and/or promote misunderstanding. An incomplete list might read as: technical writing, political speech, legal documents, formal and informal language.

    News at 11.

    1. Re:Hello Captain Obvious! by Aighearach · · Score: 1

      If you can't read old Perl, just give up. ;)

  15. Sarcasm? by Imazalil · · Score: 1

    Oh Reaaallly??

    Next, you're going to tell me they have trouble with sarcasm.

    1. Re:Sarcasm? by houghi · · Score: 1

      I have no problem with sarcasm. It just never happens here on Slashdot.

      --
      Don't fight for your country, if your country does not fight for you.
    2. Re:Sarcasm? by Aighearach · · Score: 1

      Luckily online sarcasm was deprecated in 1986, so they only have to parse that when doing books.

  16. Commas save lives by PackMan97 · · Score: 1

    Let's eat, Grandma.
    Let's eat Grandma

    Hmm...I think this is where things went wrong with Skynet, someone left out the comma!

    1. Re:Commas save lives by fahrbot-bot · · Score: 1

      Let's eat, Grandma.
      Let's eat Grandma.

      Hmm...I think this is where things went wrong with Skynet, someone left out the comma!

      A panda walks into a café. He orders a sandwich, eats it, then draws a gun and proceeds to fire it at the other patrons.

      "Why?" asks the confused, surviving waiter amidst the carnage, as the panda makes towards the exit. The panda produces a badly punctuated wildlife manual and tosses it over his shoulder.

      "Well, I'm a panda," he says. "Look it up."

      The waiter turns to the relevant entry in the manual and, sure enough, finds an explanation. "Panda. Large black-and-white bear-like mammal, native to China. 'Eats, shoots and leaves.'"

      --
      It must have been something you assimilated. . . .
    2. Re:Commas save lives by FFOMelchior · · Score: 1

      So does capitalization.
      I helped my uncle Jack off a horse.
      I helped my uncle jack off a horse.

    3. Re:Commas save lives by Cro+Magnon · · Score: 1

      Let's eat, Grandma.

      Let's eat Grandma

      Hmm...I think this is where things went wrong with Skynet, someone left out the comma!

      Could be worse. Have you ever helped your uncle Jack off a horse?

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    4. Re:Commas save lives by OneHundredAndTen · · Score: 1

      I like the traffic sign "Slow children at play".

    5. Re:Commas save lives by Cro+Magnon · · Score: 1

      I like the traffic sign "Slow children at play".

      Oh yes! There are several such signs in my area. I always get a kick out of those.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    6. Re:Commas save lives by Aighearach · · Score: 1

      Watch out, the parents are slow too.

  17. "Speakers of English" my ass by kaur · · Score: 2

    Ambiguity exists in all natural languages, and in many forms.

    1. Re:"Speakers of English" my ass by mjwx · · Score: 1

      Ambiguity exists in all natural languages, and in many forms.

      However only English has refined it to a weapons grade.

      When most English speakers cant handle words with esoteric or odd meanings, I dont expect AI to.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
  18. Query by eyepeepackets · · Score: 1

    When humans find the contextual reference vague or ambiguous they usually query for more information. Can't machines do this as well?

    --
    Everything in the Universe sucks: It's the law!
    1. Re:Query by Aighearach · · Score: 1

      Nobody is trying to program computers to do this stuff, so nobody is there to program them to do it.

      They just use AI algorithms that put code in a blender, and tests chunks to see if something didn't fail, and eventually they can "train" it to do some simple task. Except they're not "training" anything, they're just establishing the success conditions. So they have a hard time intentionally teaching it a nuance to a trick; they don't even know what tricks it is using!

      Eventually some humans will write some code, and then the machines will be able to do it just fine.

  19. In related news... by TimMD909 · · Score: 1

    ... words with Multiple Meanings Pose a Special Challenge To Autistics. /yawn

  20. I Am Developer by darkain · · Score: 1

    I couldn't have said it better myself! https://twitter.com/iamdevlope...

  21. Cyc by sycodon · · Score: 1

    Cyc has been working on this for quite a while and actually has products available.

    Another example of the challenges:

    She saw the bicycle in the window and wanted it.

    What did she want? The window or the bike?

    --
    When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    1. Re:Cyc by tommeke100 · · Score: 1

      The sentence itself may be ambiguous but there is probably more context int the rest of the text to disambiguate. Also, if you have a big enough annotated corpus to train on (meaning supervised machine learning), your model may already expect bicycle to be the most probably match.
      Because if you look at it, without further context, this is also ambiguous for humans, we just expect it to be the bike, but it could actually be the window she wants.
      Same with the sentence "Batman hits the villain with a wrench". Did Batman use the wrench to hit the villain, or did he just hit the villain who was holding a wrench?
      Even humans don't know for sure, but more context, like a sentence before or after this one, could give more information.

  22. math defficiency by datavirtue · · Score: 1

    They try to teach math the same way, assuming people will just figure out the context to solve problems. Newflash, it isnt working very well.

    --
    I object to power without constructive purpose. --Spock
  23. Re:These two people can be on the same side in WWI by suutar · · Score: 1

    that was the point. This illustrates that for fighting, "with X" can mean who you're allied to or who you're opposing (admittedly, the opposition form is less common than "against" or no word at all "I'm fighting Hitler").

  24. Other languages by Chaset · · Score: 1

    In Japanese, the "with" meaning "using this tool" would be the particle "de". "with" meaning "together" would be the particle "to", but without further elaboration, there's still ambiguity between "eat two ingredients together" and "two participants eat together" depending on how the sentence got constructed. Who knows an actual language people use that makes this completely unambiguous?

    --
    -- "This world is a comedy to those who think, a tragedy to those who feel."
    1. Re: Other languages by CyberRacer · · Score: 1

      I think it's important to note that all context is tied to action. State (nouns) carries no inate sense of context with it. It's only when an action takes place that dependencies and conditionals come into play. The fact that you are awake or asleep is just a state. If I try to talk (action) to you, THEN your state becomes significant (context). Change of state is only accomplished through action ergo all context is aquired through action. Verb you, ya bunch of nouns!

  25. I'm fighting with my wife by raymorris · · Score: 1

    An example for clarity:

    Bob: What's wrong?
    Steve: I'm fighting with my wife.

  26. Word Sense Disambiguation by LetterRip · · Score: 1

    This is known as word sense disambiguation - there are a number of ways to do so. Training systems for disambiguation is more resource intensive, and in many use cases provides little gain, so most don't bother.

    https://en.wikipedia.org/wiki/...

  27. Re:A preposition is bad to end a sentence with. by laie_techie · · Score: 1

    "The misinterpretation on which the s'mores story hinges is hiding in the humble preposition with."

    In this case "with" acts as a noun -- the word "with" and not a preposition.

  28. My Moringa Agent Engine Uses Cascading Contexts by Slicker · · Score: 1

    The main context is called "general", akin to "void main( argc, argv)" (in C/C++). Each context consists of a sequence of recognizers (patterns for recognizing user statements), organized from longest (number of pertinent words) to shortest. For example, in MorgaScript (I think (and hope) any programmer could figure out how this works by looking at it):

    Context "general"
        Synonyms yes: yep, yeah, sure
        Synonyms no: nope, nah, no way
        Group personName: "Jane", "Joe", "Jim"
        Group foodType: "spagetti", "smores"
        Remember "third person possessive term for female is her"
        Remember "Jane's gender is female"

        Recognizer "[person:personName] ate [food:foodType] with [toolType:tool]"
            Option
                    Recall "[person]'s gender is [gender]"
                    Recall "third person possessive term for [gender] is [possterm]"
                    Say "Did [person] find using a [tool] convenient for eating [possterm] [food]?"
                    Expect "yes" As "[person] likes to eat using [tool]."
                    Expect "no" As "[person] does not like to eat using [tool]."

        Recognizer "[person:personName] ate [food:foodType] with [foodType:other]"
            Option
                    Recall "[person]'s gender is [gender]"
                    Recall "third person possessive term for [gender] is [possterm]"
                    Say "Did [person] find the combination of [food] and other more delicious than [food] alone?"
                    Expect "yes" As "[person] likes [food] with [other]."
                    Expect "no" As "[person] does not like [food] with [other]."

    Context "whatever" ..

    You can use the command "Enter" followed by a context name to activate a context and put it first in the cascading priority. Similarly, "Exit" followed by the context name deactivates the named context. Recognizers are checked in order of highest to lower priority context, and longest to shortest within contexts. Any recognizer matched within a context, moves that context to the top priority automatically.

    You could use contexts to do what is said.. or you could just use the method I used above... classifying different types of foods and tools.

    Thanks -- I have made many version of this kind of thing and my latest Moringa Agent Engine is probably a few days from it's 1.0 release.
    Matthew C. Tedder

  29. A challenge, but not impossible... by Timothy2.0 · · Score: 1

    In natural language processing polysemous words in a dictionary are often discerned with hashes. In the example above "with", with respect to "with graham crackers", would have one hash, whereas "with" with respect to "with my friend", would have a different hash. Through a well-developed NLP algorithm, and a lot of training, discerning between the two different contexts is certainly doable.

  30. Natural Languages Overlap Contexts to Resolve by Slicker · · Score: 1

    We overlap contexts to resolve ambiguities. One could think of English's object orientation like this (with comments to the right of each line):

    a dog sat in the yard. // instantiate class "dog"
    The dog's hair is brown. // assign "hair" attribute of the last instantiated instance of the "dog" class
    a dog is running down the road. // instantiate class dog
    The dog is fast. // refers to the last dog instantiated.
    The dog with brown hair is slow. // refers to the last dog with the aforementioned brown hair attribute.

    In other words, we always refer to the last version of whatever it is (instance of class) that has whatever attributes we ascribe it is..

  31. Welcome back to the 60s by OneHundredAndTen · · Score: 1

    This was already known in the 60s, but that did not prevent the AI community to hype things even more extravagantly than today. How much longer before the next AI Winter?

  32. Ironic misuse of "with" by tjhayes · · Score: 1
    It's quite ironic that in a story that discusses how the word "with" can imply many different things with different meanings that the summary contained a sentence that should have used the word "with" but didn't:

    That's from "S'MORES. A Real-Life One-Act Play", a conversation between Hamilton impresario Lin-Manuel Miranda which his young son Sebastian

    Surely the word "with" should have been used instead of "which" in that sentence.

  33. Let me make it smooth by miller701 · · Score: 1

    When Kiddo was 2 or 3 years old he was using his plastic dinos to make dino tracks in Silly Putty. Eventually he made so many tracks that the Silly Putty was nothing but a bunch of marks. I wanted to make some fresh tracks with a different dino so I said

    "Here, let me make it smooth" and I rolled it between my two palms making it into a smooth ball and I showed it to him

    "Can I have the smooth?" he asked.

    I smiled because he took the word smooth to describe the shape of it, not the texture of it.

  34. This just seems like a context thing by thewolfkin · · Score: 1

    In the sentence Jane ate spaghetti with a fork, Mr. Computer Head should be able to figure out that the fork is a utensil, and not something that is eaten in addition to the spaghetti. Likewise, if the sentence is Jane ate spaghetti with meatballs, it should be obvious that meatballs are part of the dish, not an instrument for eating spaghetti.

    For instance if you say Jane ate spaghetti with veramissimo no one knows what you're talking about until you know whether that's an herb, an adjective, or a utensil.

    --
    Just another second banana
  35. What aoubt this one by Bob+the+Super+Hamste · · Score: 1

    Now I wonder how these algorithms deal with this sentence:
    A ship shipping ship, shipping shipping ships.

    --
    Time to offend someone
    1. Re:What aoubt this one by skids · · Score: 1

      You can try it out on a few natural language sentence diagram applications e.g. http://www.link.cs.cmu.edu/cgi... (though that server seems to be unresponsive at the moment.)

      Here's one that hits many of the words listed here.

      give or take point get set and mark go for good line plays make the dead run a light roll

  36. /. would stump it by Shotgun · · Score: 1

    I'll eat spaghetti with hot grits in my pants.

    Why should NLP remain sane?

    --
    Aah, change is good. -- Rafiki
    Yeah, but it ain't easy. -- Simba
  37. Tricky humans by Tablizer · · Score: 1

    "Use context? Sorry Dave, I don't know how."

  38. Chicken by Corporate+Gadfly · · Score: 1

    I will leave you with some chicken https://www.youtube.com/watch?....

    --
    Corporate Gadfly
    Jonathan Archer: the most beaten up Enterprise captain in Star Trek history
  39. Re:Let me know if you've heard this before by mcswell · · Score: 1
  40. Buffalo by megabulk · · Score: 1

    Buffalo buffalo buffalo buffalo buffalo buffalo buffalo.

    Similar sentences exist in other languages.
    German: Die Männer, die vor dem Schokoladenladen Laden laden, laden Ladenmädchen zum Tanzen ein, meaning "The men, who loaded chests in front of the chocolate shop, asked shop girls for a dance".
    Or Wenn hinter Fliegen Fliegen fliegen, fliegen Fliegen Fliegen nach, meaning "When flies fly behind flies, flies fly after flies".
    Danish, Swedish, and Norwegian: Bar barbarbarbarbar bar bar barbarbarbarbar, meaning "naked barbarian-bar-barbarian [barbarian usually hanging out in bars for barbarians] carried naked barbarian-bar-barbarian."
    Or Når graver Graver graver grave, graver graver Graver grave for andre, meaning "When digger Graver [his name is Graver] digs graves, digger Graver digs graves for others."
    Spanish: Cómo como? Como como como, meaning "How do I eat? I eat the way I do".
    Dutch: Als achter vliegen vliegen vliegen vliegen vliegen vliegen achterna, meaning "If flies fly behind flies, then those flies are flying behind flies".
    Or "Als graven graven graven graven graven graven graven graven", meaning "When counts dig graves for other counts, counts are digging graves for other counts".

  41. And even more difficult by NewYork · · Score: 1

    for Oxymoron statements