News for hackers. Stuff that matters.
Re:Mozilla releases local machine translation tools as part ... by dnc on Thursday June 02, 2022 @02:26PM (#31598689)
Hi,

This is an awesome project, congratulations!

Could you share details about the machine translation engine that is used (or where to find out more about it)? Are there any plans to open source the extension code (with the WebAssembly optmizations that are mentioned in the article)?

Thanks.

Re:Mozilla releases local machine translation tools as part ... by jphilip on Thursday June 02, 2022 @03:01PM (#31599172)
A fork of marian-dev[1] is the underlying machine-translation engine:

- https://github.com/browsermt/marian-dev

Development of higher-level code wrapping around marian-dev make suitable for the browser-extension happens at:

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

Some of the WebAssembly optimizations are available in bergamot-translator/marian-dev. Rest are in Firefox source-code. A start point could be https://bugzilla.mozilla.org/show_bug.cgi?id=1720747.

Extension code is open-source, and linked already in other comments: - https://github.com/mozilla/firefox-translations

[1] https://github.com/marian-nmt/marian-dev

Re:Mozilla releases local machine translation tools as part ... by andrenatal1 on Friday June 03, 2022 @05:49AM (#31606246)
You can find the engine used here [1], the API built around it here [2] and its WASM port here [3] and the WebAssembly matrix multiplication optimizations are here [4]

[1] https://marian-nmt.github.io/

[2] https://github.com/browsermt/bergamot-translator

[3] https://github.com/browsermt/bergamot-translator/tree/main/w...

[4] https://github.com/mozilla/gecko-dev/tree/master/third_party...

Re:Mozilla releases local machine translation tools as part ... by baobob on Thursday June 02, 2022 @02:53PM (#31599052)
At least the code parts seem to be on GitHub: https://github.com/browsermt