Women-Men Translator

A joke translator: type what was said and get what was meant. Works both ways between women and men, in 10 languages.

A for-fun server. You type a phrase such as "I'm fine" and it answers with what the person really meant. It works in both directions and in 10 languages: English, Russian, Latvian, Lithuanian, Estonian, Polish, German, Ukrainian, Spanish and Russian in Latin letters.

Under the joke there is a small experiment with caching. Each meaning is stored once as a concept, with an embedding of its English version. A phrase in any language lands in the same concept, so an answer found in one language is ready for the others without a new model call.

It runs on the free Gemini tier, so answers are not instant and there is a request limit. Plain PHP and SQLite, no framework. The code is open under GPL-3.0.

1 comment

Aleksejs K.
This is sick! Really enjoyed playing around with it. The Russian translit mode is a brilliant touch - definitely my favorite feature :D :D