Primary results: Did Twitter predict Santorum losses? Mitt Romney's victories in Michigan and Arizona have generated "joy" and "surprise" on Twitter. And so have Rick Santorum's losses, according to sentiment analysis by San Francisco-based Kanjoya. "The short story: Twitter does not like Rick Santorum," said Moritz Sudhof, a Kanjoya engineer. The "joy" is for Romney's victory. The "joy" is for Santorum's defeat. Same sentiments, different meanings; an indication of the nuance necessary when interpreting what's being said, and felt, in social media. Kanjoya uses a computer algorithm to assess emotional language and is tracking emotions it defines as joy, surprise, anger, sadness and fear relating to the remaining Republican presidential hopefuls. The algorithm found joy in these tweets about Romney: "Jubilant cheers of 'Mitt!' at Romney party in Phoenix as CNN calls AZ," tweeted chriswilsondc. And from @PoliticallyOC: "Romney did BETTER in MI than he did last year. You couldn't ask for a better result in MI. Then there were the "joyful" tweets around Santorum, which Sudhof said either expressed general happiness about the results or were "derisive, not supportive." "There's an element of humor to a lot of the tweets," he said, citing one from @PimpBillClinton that had been retweeted 90 times in 15 minutes: "I guarantee you that Rick Santorum owns a flip phone that he keeps on a belt clip." And another: "It's a good time for sweater vests. Rick Santorum is gracing it. Will it count as a costume if I wear it on Halloween? Shortly before Michigan was called for Romney, Sudhof said their analysis found a spike in anger toward Santorum, who made a strong bid for an upset in the state where his opponent's father once served as governor. Behind the anger, Kanjoya officials said, was outrage at Santorum's call for Democrats to cast votes in the open primary. Of tweets expressing anger about Santorum, about 18% specifically referenced this point, Sudhof said. One printable example (many were more colorful): @jhinderaker; Worse? Santorum being sold as a #principled #conservative is begging Obama Democrats to manipulate GOP Primary. #pathetic Another tweeter complained: "SABOTAGE! EARLY MICHIGAN EXITS: In GOP primary, 10% of voters were Democrats. Among Democrats, 50% voted for Santorum, 15% for Romney. About 10% of anger surrounding Santorum could be tied to his JFK comments, Kanjoya officials said. There also were those who were surprised, self-proclaimed Democrats prominent among them, "about the fact that anyone would vote for Santorum at all," Sudhof said. It is a very scary thing to think that Rick Santorum is 2 contests away from becoming the most powerful man in the world! #Obama2012 Baby! Then again, not long ago Romney himself was the subject of expressions of joy that were less than flattering. In South Carolina, word that Newt Gingrich was the victor spurred "joy" around Romney that Kanjoya said turned out to really be happiness about his defeat. Kanjoya engineers have found that roughly 40% of the political tweets captured qualify as emotional in their algorithm. By 8:30 p.m. Tuesday they had analyzed about 27,000 tweets for Romney and 35,000 for Santorum.