News for hackers. Stuff that matters.
Re:Official Firefox add-on bringing offline translation supp... by cyber_kinetist on Monday August 08, 2022 @08:21AM (#32384615)
Maybe you can develop it, if you want. The models and the source code for running it are all there, someone just have to wrap it in a standalone binary instead of a WebExtension.

- https://github.com/mozilla/firefox-translations

- https://github.com/mozilla/firefox-translations-models

- https://github.com/mozilla/bergamot-translator

Note that most of the heavy NLP code used (MarianMMT, fasttext) were originally written as C++ libraries but were compiled to WebAssembly to make a WebExtension out of it. So if you want to make a command line / GUI desktop app there are two choices: use C++ directly if you want to make an app with minimal dependencies, or use JS/WebAssembly to make a NodeJS / Electron based app (which might be heavier but more accessible for JS devleopers.)

There are no comments on this comment yet.