|
|
Log in / Subscribe / Register

Mozilla releases a machine-translation plugin

Mozilla releases a machine-translation plugin

Posted Jun 5, 2022 10:00 UTC (Sun) by zoobab (guest, #9945)
Parent article: Mozilla releases a machine-translation plugin

Why not start with a CLI client?


to post comments

Mozilla releases a machine-translation plugin

Posted Jun 5, 2022 14:43 UTC (Sun) by atnot (guest, #124910) [Link] (5 responses)

At this point with modern tooling and wasm it isn't really significantly more work to create a simple web app than a CLI, and will be significantly easier for most people to quickly try out.

Mozilla releases a machine-translation plugin

Posted Jun 7, 2022 4:54 UTC (Tue) by JanC_ (guest, #34940) [Link] (2 responses)

But ideally we get a library/service that can be called from/used by any language/application, as browsers are not the only applications people use that could benefit from machine translation…

Mozilla releases a machine-translation plugin

Posted Jun 7, 2022 14:07 UTC (Tue) by atnot (guest, #124910) [Link] (1 responses)

You can just use it as a C++ library natively, they have instructions in the repo: https://github.com/mozilla/bergamot-translator#using-nati...

Mozilla releases a machine-translation plugin

Posted Jun 23, 2022 2:45 UTC (Thu) by JanC_ (guest, #34940) [Link]

Great!

And sorry for not checking this out further myself first, but all the PR was rather empty on things like that, and your answer to zoobab seemed to indicate that Mozilla only cared about the in-browser use mostly…

So, good to see we were wrong about that.

Mozilla releases a machine-translation plugin

Posted Jun 7, 2022 12:19 UTC (Tue) by ballombe (subscriber, #9523) [Link] (1 responses)

It works both way:
wasm makes it easy to convert a cli tool to a simple web app, but not the other way round,
so why not do both ?

Mozilla releases a machine-translation plugin

Posted Jun 7, 2022 14:12 UTC (Tue) by atnot (guest, #124910) [Link]

I'm not really sure what you mean, wasm is just a compiler target like any other. If you want to use this library natively, you can just compile it for your preferred architecture. You still need to wrap it with a UI of course, be that a CLI or some JS for a website.

It looks like the repo already contains a basic CLI for testing purposes either way: https://github.com/mozilla/bergamot-translator/blob/main/...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds