Hacker News new | ask | show | jobs
by Alex-Programs 527 days ago
If you'd like to try to use Wiktionary instead of OpenAI, you may find this useful:

https://dictionary.nuenki.app/get_definition?language=LatinC...

The code is here: https://github.com/Alex-Programs/nuenki-dictionary

However, feel free to use the API for small scale usage; the API can handle ~5 orders of magnitude more requests than it currently receives.

You can see that each word has many different definitions. It's very difficult to do a word-by-word translation that takes context into account, though I'm going to attempt it at some point using a small LLM that merely picks from Wiktionary data for a https://nuenki.app hover mode.