Skip to content
Translate tweets until equilibrium is reached.
Python Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


TransEquilibrium is a Twitter bot which translates a user's tweets back and forth between English and Japanese until the translation is stable, that is translating the tweet further is not going to change it any more.

The idea comes from TranslationParty, but is applied to Twitter.

@reTrumplation, translating Donald Trump's tweets, is the reason this bot was written.

What's the point?
There's no point.

Why Japanese?
I thought other languages, like Russian, could be more fun, but Japanese seems to be the worst translated language, which gives the funnier results.

Who are you?
This is me.

What do you use to translate text?
The Microsoft Azure Translator API which is behind Bing Translator.

How do you translate the text?
TransEquilibrium can use Azure Translator or Google Translate (either using the “base” model or the neural network-based model called “nmt”).

  1. Google with the “nmt” model produces the best sentences which actually have some kind of meaning.
  2. Azure is the second best, but sentences not always have a meaning.
  3. Google with the “base” model produces the worst quality sentences. Moreover, the sentences are often very long, so not suitable to tweeting.

Something the bot said is offensive or inappropriate
Sorry. 😞
Unfortunately this is unavoidable with a bot that works automatically.

You can’t perform that action at this time.