зеркало из https://github.com/mozilla/gecko-dev.git
fa52082634
Differential Revision: https://phabricator.services.mozilla.com/D121586 |
||
---|---|---|
.. | ||
extension | ||
README | ||
import_xpi.py | ||
jar.mn | ||
moz.build |
README
This folder contains the source files for Firefox Translations, which utilizes the proceedings from Project Bergamot [1]. The feature is developed as a webextension [2] which utilizes a neural machine translation decoder [3] ported to WebAssembly in order to process the in page translation. The translation models [4] are downloaded on-demand by the extension, so there's no need to bundle them too. The folder `extension_src` contains the entire code of the extension's xpi and the wasm module (which lies inside the folder wasm), and is automatically generated by the `import_xpi.py` script, which is responsibile for cloning the extension repo [2], build it, and generate the `jar.mn` package containing all the pertinent files necessary for running it. For any questions, reach out to anatal@mozilla.com. [1] https://browser.mt/ [2] https://github.com/mozilla-extensions/bergamot-browser-extension [3] https://github.com/mozilla/bergamot-translator/ [4] https://github.com/mozilla-applied-ml/bergamot-models