Slashdot Mirror


Software Recognizes Sarcastic Tweets

An anonymous reader writes "Even humans sometimes fail to recognize sarcasm and irony; can machines do better? An algorithm that identifies sarcastic tweets (PDF) on Twitter and sarcastic sentences in product reviews on Amazon will be presented next week in the International Conference for Weblogs and Social Media in Washington, DC, and in the Computational Natural Language Learning in Sweden in July. A team from the Hebrew University, Israel, has developed an algorithm that identifies sarcastic sentences by using a machine learning technique in which a small number of sarcastic sentences act as seeds for the software to learn and generalize upon. The algorithm can then identify sarcastic sentences that are nothing like the examples. The variety of recognized sarcastic sentences is impressive, though the results are not perfect. But again, we don't do it so well ourselves, do we?"

28 of 168 comments (clear)

  1. Software Recognizes Sarcastic Tweets? by nacturation · · Score: 5, Funny

    Yeah, sure it does.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Software Recognizes Sarcastic Tweets? by binarylarry · · Score: 4, Funny

      I'm not so sure I'd jump to the conclusion that this is useful.

      Determining the amount of sarcasm in bird calls doesn't seem to be an effective way to use research money IMO.

      --
      Mod me down, my New Earth Global Warmingist friends!
    2. Re:Software Recognizes Sarcastic Tweets? by clickety6 · · Score: 4, Funny

      The professor was lecturing the class.

      "So while two negatives make a positive, two positives can never make a negative"

      An answering voice came from the back of the class:

      "Yeah, right"

       

      --
      ----------------------------------- My Other Sig Is Hilarious -----------------------------------
  2. You Know DRM is a Pervasive Problem When ... by eldavojohn · · Score: 4, Insightful
    From the research paper:

    Weight of various patterns and features. We present here a deeper look on some examples. A classic example of a sarcastic comment is: "Silly me, the Kindle and the Sony eBook can’t read these protected formats. Great!". Some of the patterns it contains are ...

    You know DRM is pervasive as a very serious consumer problem when statistical research papers recognize user dissatisfaction with it as a classic example of sarcasm that floods reviews.

    --
    My work here is dung.
    1. Re:You Know DRM is a Pervasive Problem When ... by FatdogHaiku · · Score: 2, Funny

      Oh Great, my Sarcasm Meter and my Bullshit Detector both exploded and now my UPS is on fi

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  3. This is great! by Anonymous Coward · · Score: 5, Insightful

    This may help people with autism and Asperger's Syndrome recognize satire.

    1. Re:This is great! by Anonymous Coward · · Score: 5, Funny

      You don't have to be sarcastic, they might really find this useful.

    2. Re:This is great! by Itninja · · Score: 4, Interesting

      As someone with Aspergers I have found that watching sitcoms is very helpful. Since nearly every character is being sarcastic most of the time, I learn through observing caricatures of reality.

      --
      I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
    3. Re:This is great! by xouumalperxe · · Score: 2, Funny

      I'd have though that even autistics would be able to recognize horns, goat legs, and a pan pipe? Oh, satire.

    4. Re:This is great! by fuzzyfuzzyfungus · · Score: 5, Interesting

      As someone with Asperger's Syndrome(yes, actual extensive-testing-and-medical-consensus-of-qualified-shrinks, not "well, I like computers and girls make me nervous"), I suspect that it won't be of much use for that purpose.

      Many, though not all, Asperger's types actually have average to excellent parsing of written communications, or the strictly verbal component of other people's utterances(ie. the part that would get written down, if a transcriptionist were in the room). Odds are, most such people could easily outperform this algorithm(since, obviously, the purpose of the algorithm is to provide large volumes of adequate analysis for cheap, not to be human level).

      The part of communication that is really difficult, though, is the nonverbal component, the stuff that doesn't show up in text. Tone of voice, expression, tiny muscular movements and reconfigurations around the eyes, that sort of thing. Since typical social standards of politeness and interaction actually discourage direct statement of things(ie. "Your story bores me." "Yes, I am interested." "No, go away") in favor of relying on subtle nonverbal communication of those message, this can be a real handicap. You care about what others around you are thinking, since you naturally want to be on good terms with them(or, even if you don't, you want to be on bad terms deliberately, not accidentally); but you just can't tell, unless somebody explicitly says something, which is rare, unless you've already really fucked up.

      In fact, in my experience,(and yes, "my experience" = "N of 1" = "anecdote") I tend to find text-based communication comfortable for exactly these reasons. For normal people, strict text-based communication is harder, because they are denied the nonverbal cues that they normally take for granted. For me, I don't see the nonverbal cues that never mean much anyway, and we are both forced to rely on strict verbal expression, which is my best-practiced level.

    5. Re:This is great! by clone53421 · · Score: 2, Informative

      Just about everyone is less-than-average in some aspect. Asperger syndrome is an autism spectrum disorder, which means it’s a broad range going from just about normal all the way to really mentally impaired.

      It’s not like blindness; it’s more like near-sightedness. Some people get it worse than others, and some people are just about impaired enough to be considered legally blind. However, everyone fits in somewhere on the autism spectrum... including people who are considered normal.

      You can’t have just a touch of herpes, but you can of Asperger’s. Whether or not it makes you “disabled” is debatable.

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
    6. Re:This is great! by Anonymous Coward · · Score: 2, Funny

      How are mods supposed to moderate anything in this thread?

      Like the fair, independent, open-minded, thoughtful people that you know they are.

    7. Re:This is great! by Anonymous Coward · · Score: 3, Funny

      Dude. He was being sarcastic.

  4. Oblig. Simpsons by billius · · Score: 5, Funny

    A sarcasm detector, that's a real useful invention!

  5. Tweet from the developer by spleen_blender · · Score: 3, Funny

    "Yeah, we totally developed a program to detect sarcastic tweets... #fuckinggenius"

  6. I don't see this as a problem by Merc248 · · Score: 2, Funny

    Just end your sarcasm tags before being sarcastic. This won't conform to W3C standards, however.

    --
    "Hegelians, who love a synthesis, will probably conclude that he wears a wig." - Bertrand Russell
    1. Re:I don't see this as a problem by aicrules · · Score: 4, Funny

      I opened my sarcasm tag about 28 years ago and don't plan on closing it any time soon. That has forced me to come up with a new language nuance that I like to call "more sarcastic than usual". But really that just means I add an extra, overemphasized "really" ahead of the point of super sarcasm.

  7. Will have very good recognition rate... by gweihir · · Score: 2, Funny

    Given that sometimes not even humans understand when I am being sarcastic, I expect this software will have an exceptionally high recognition rate with very low false positives. A truly remarkable achievement and the one algorithm the human race has been waiting for!

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  8. Finally a way to verify Smith's Law by Eric+Smith · · Score: 2, Interesting

    "Any sufficiently optimistic statement is indistinguishable from sarcasm."

  9. Oh, sure! by medcalf · · Score: 3, Funny

    Yeah, like that would work!

    --
    -- Two men say they're Jesus. One of them must be wrong. - Dire Straits
  10. Testing by Bobfrankly1 · · Score: 2, Funny

    The algorithm can then identify sarcastic sentences that are nothing like the examples.

    Place it in my office. If it still responds at the end of the week, it's not working correctly. If it's overloaded and partially melted, we've got a winner.

  11. For a real test by medcalf · · Score: 2, Funny

    I wonder what would happen if you applied their algorithm to any given slashdot post, particularly one on the Apple board.

    --
    -- Two men say they're Jesus. One of them must be wrong. - Dire Straits
  12. Re:Ohh.. a sarcasm detector! by sexconker · · Score: 4, Informative

    When quoting the Simpsons, do it correctly.

    Comic Book Guy: Oh, a sarcasm detector, that's a real useful invention.

  13. Sarcasm, older than we thought by HockeyPuck · · Score: 2, Funny

    It dates back into some of the great classic works of our time... upon reading Romeo and Juliet one critic was overheard saying:

    "Nice play Shakespeare..."

    or upon solving a great mystery, Watson was once overheard saying, "No shit Sherlock."

  14. Oblig Python by $RANDOMLUSER · · Score: 2, Informative

    Vercotti: Well, I had been running a successful escort agency - high class, no really, high class girls - we didn't have any of that. That was right out. And I decided. (phone rings on desk) Excuse me (he answers it) Hello......no, not now......shtoom...shtoom....right......yes, we'll have the watch ready for you at midnight.......the watch.....the Chinese watch....yes, right-oh, bye-bye mother (he replaces reciever) Anyway I decided then to open a high-class night club for the gentry at Biggleswade with International cuisine, cooking, top-line acts, and not a cheap clip joint for picking up tarts, that was right out, I deny that completely, and one night Dinsdale walked in with a couple of big lads, one of whom was carrying a tactical nuclear missile. They said I'd bought one of their fruit machines and would I pay for it.

    Interviewer: How much did they want?

    Vercotti: Three quarters of a million pounds. Then they went out.

    Interviewer: Why didn't you call the police?

    Vercotti: Well I had noticed that the lad with the thermo-nuclear device was the Chief Constable for the area. Anyway a week later they came back, said that the cheque had bounced and that I had to see Doug.

    Interviewer: Doug?

    Vercotti: Doug (takes a drink) I was terrified of him. Everyone was terrified of Doug. I've seen grown men pull their own heads off rather than see Doug. Even Dinsdale was frightened of Doug.

    Interviewer: What did he do?

    Vercotti: He used sarcasm. He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and satire.
    ....

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  15. Tech behind this by adeft · · Score: 3, Funny

    I bet it just looks for itallic text.

  16. 77% accuracy? by pseudorand · · Score: 2, Funny

    Their algorithm gets 77% accuracy. I think I can do better:

    # Estimated accuracy: 92.1%
    isSarcastic(tweet) { return true; }

    Or does that only work for slashdot comments?

  17. There's a problem with that. by Estanislao+Mart�nez · · Score: 2, Insightful

    The problem with that is that in American sitcoms, verbal irony is accompanied by non-verbal cues like facial expression, tone of voice, or, ugh, laugh tracks. Take away the cues, and deliver the sarcasm in a deadpan manner, and tons of people in the USA are completely unable to catch it, neurotypical or not.