Blog

President Donald Trump's unique speaking style — particularly his penchant to go on never ending tangents — crashed an AI robot trained to recognize patterns in speech.

To understand Trump, an AI bot had to be de-programmed from using English grammar. It uses 11 million words from Trump's remarks to tell when he's angry or lying

Whenever it seems like it’s too hard to keep track of everything President Donald Trump is saying, now there’s a bot for that.

Margaret, named after the meticulous West Wing character, catalogues all of Trump’s spoken words, tweets and other utterances to compile in its database — more than 11 million of the president’s words dating back to 1976.

A new Los Angeles Times profile of its creator, Bill Frischling, traces the history of the bot, which is used by Amazon for help with Trump-related queries on its Alexa devices.

The AI network is also available online for users to search through.

The bot can predict whether Trump is lying, if he’s mad, and how stressed he is whenever speaking on camera.

In Frischling’s telling, he faced unique challenges getting Margaret to figure out what, exactly, Trump was saying — much less whether he was telling the truth.

“It was still trying to punctuate it like it was English, versus trying to punctuate it like it was Trump,” Frischling told the LA Times.

One passage of a Trump speech was such a tangled mess of never ending tangents and clauses that the bot crashed.

Frischling, a 48-year-old self-taught coder from Great Falls, Va., brought in a scientist with a PhD in machine punctuation to help him out.

They ended up deprogramming Margaret from relying on correct English syntax and grammar, instead focusing on how to uniquely understand Trump.

“Every word he says makes Margaret smarter and allows her to make more subtle distinctions,” Frischling said.

By monitoring Trump’s stress levels and gestures on camera, Margaret compares his statements to independent fact checks to determine whether he’s lying.

Frischling noted that unlike most people, Trump is less stressed when lying.

Studying these kind of tells is increasingly of interest in the AI community, according to Frischling, especially when it comes to world leaders. Frischling added that he also studies members of Congress using the same technology, and shares the findings with private clients.

Trump speaks at 220 words per-minute when he’s not reading off a teleprompter, which is close to double the national average for Americans speaking extemporaneously. But he slows down on the prompter to around 111 words per minute.

Unlike most members of Congress, Trump addresses so many topics at once that it’s harder to tell when he may change a policy position or forecast other shifts, according to Frischling.

And when Trump gets mad, he simply stops gesturing.

“When he stops making gestures, that’s the — watch out,” Frischling said. “Whatever’s about to happen, hang on to your tush.”

By Jake Lahut, first published on https://www.businessinsider.com/ on May 8, 2020