r/Ithkuil • u/humblevladimirthegr8 • 5d ago
Proof of Concept for AI-based Ithkuil to English translation
As many of you know, simply asking an AI model like ChatGPT to translate Ithkuil isn't even close to correct unless it just looks up the official translation. I'm pleased to announce that I have made significant progress in programming an AI-powered translator.
How it works: 1. You give it an Ithkuil (v4) gloss in my standardized format (not all examples in the official Ithkuil docs use the same format so you might have to change the punctuation). The app also lets you go through the official examples. 2. It looks up all the roots/affixes of that gloss for what it means (building that machine-readable lookup table was by far the hardest part) 3. It builds an AI prompt containing all those definitions 4. You copy that prompt and paste it into a chatbot of your choice
You can try it here: https://main.d13zlexucvvtwj.amplifyapp.com/
Example (#208):
* Gloss: 'clown'-OBJ-G-NEG1-3-TMP-OBS PRC-'study'-DYN-PRX-BMP2-5-LOC
* Official translation: "The school is free of clowns for the time being."
* AI Translation: "On the contrary, there are no clowns in this section of the school for the time being."
I've provided the full output for this example in the comments. I've also provided 19 additional translations (for a total of 20 per the rules) in the comments.
Further research: - less verbose translations. I've found most models are overly-precise in their translations. Some prompt tuning could probably help. - improve morpheme descriptions to better guide translations - automatically convert from romanized Ithkuil to the gloss. As I understand it the rules are deterministic and context-independent so it is definitely possible but tedious. Someone else will need to do that as I have little interest in the morphophonology. - have it actually execute the prompt instead of making you do it. I would first want people to try different models and refine the prompts to see what works best. - proper benchmarking to see which models/prompts work the best - separate prompts for each formative and a final one to put them together. This will likely help for more complicated translations. - English to Ithkuil translator. I believe it's possible but much harder than Ithkuil to English. An MCP server might allow an AI agent to piece together a translation. Failing that, it would have to be a multi-stage pipeline where an AI systematically goes through each grammatical category and decides which ones to apply to each root.
How you can help: - try it out and report your results and any issues. If a translation is incorrect, prompt a follow-up "What in the previous prompt would have helped you arrive at the correct answer, which is [correct translation]" - run the same prompt against different models and note the differences - tweak the prompts to see if you can get better output - flag incorrect official examples or descriptions (I used parsers to try to locate all examples, but it wasn't 100% accurate. In hindsight I should've just done it manually). - if you consider yourself reasonably fluent in Ithkuil v4 and want to provide manual translations for benchmarking purposes, let me know. - if you have coding skills and you're motivated to work on romanized-ithkuil-to-gloss, let me know. - I would like to release this project as open source but need to ask John Quijada for permission as the codebase contains a lot of text derived from the official Ithkuil docs. If anyone knows how to contact him, please let me know or do so on my behalf. This project will never be commercial.
Thank you for coming to my TED Talk.