Show HN: Argos Translate – Open-source offline translation app written in Python
github.com
github.com
It's also cool to see how the open source translation ecosystem has evolved. I worked on a Japanese<->English translation software just a few years back and you had to do everything from scratch or use per-language tooling (like Mecab or Juman ugh).
It'd be cool if there were metrics for your language translation models to be able to compare them to other offerings like google translate for example.
It would be possible, and probably not to hard to benchmark these translations (the standard method for automated testing is a BLEU score) but haven't bothered so far. I use Stanza for sentence boundary detection, SentencePiece for tokenization, and OpenNMT for translations which all seem to be about the best available open source. I think the most interesting thing about the underlying translation is that I use Stanza for sentence boundary detection which lets it deal with languages that don't use periods with one set of tools: https://forum.opennmt.net/t/sentence-boundary-detection-for-.... An OpenNMT demo script I based my training script on claims a 28.0 BLEU score, which is pretty good, so that would probably be a reasonable estimate at least for language pairs with lots of high quality data available: https://github.com/OpenNMT/OpenNMT-tf/tree/230118d72b8787605....
This is my submission/project, happy to answer any questions.