/World_polyptics

A Twitter bot that searches for political tweets and n+7s them.

Primary LanguageJavaScript

World_polyptics

A Twitter bot that searches for political tweets and n+7s them. Give it a follow!

Procedure:

This bot searches for political tweets, parses their text, and replaces each noun with the seventh noun after it in a dictionary. Based on the OuLiPo's n+7 method.

"Polyp" is the seventh noun after "politics" in the list I'm using. Mostly unchanged, but I do try to add words when I find unchanged nouns in the tweets.

Limitations:

Right now, there is no procedure to capture plural words, which I think is the biggest weakness of this bot.

Some punctuation is not handled correctly. I haven't been able to isolate why or what inputs cause it, though.