312 points · by zaik · 4y ago · 84 comments
The GitHub repo for it is here: https://github.com/browsermt/bergamot-translator
The repo contains some details about how to run it in WASM which is quite interesting for embedding it in pages. I've been playing around with using WASM to capture speech to text (https://github.com/ccoreilly/vosk-browser) and automatically translating it using Bergamot.
Results have been, ok. I don't think the tech is quite there yet and the speech to text obviously struggles with multiple speakers.
Here is a list of ~17000 projects funded by Horizon 2020 (H2020 + H2020-EU.5 programme, with at least 1,000,000 EUR funding by EU): https://cordis.europa.eu/search?q=contenttype%3D%27project%2...
Of course, lot of those projects will go nowhere (and therefore seen as "waste" by some), that's bound to happen with any large scale program like this. But unless you make bets on a lot of projects, you won't get results like this submission.
Maybe some of the projects will go somewhere, but there are a good chunk where even the project leads set off from the outset with the goal of getting as much EU money as possible and closing down as quickly as possible when the money stops.
Where I lived in Ireland there was a "park" with some huge signs about how the EU was so generous to fund it.. But they failed to make an opening in the perimeter fence for people to actually enter. The paths just ended at a fence.
It was also totally useless as a park because it was a thin strip right next to a busy 4-lane road. You could hop the fence but it's useless trying to relax right beside a main road. Total cash grab from some real estate developer clearly.
Having the ability to harness all this power locally would be awesome as both a developer and user. Big thanks to the team, whoever you are. I like the choice of languages. Not quite the usual suspects hehe
I really don't understand why e-commerce services do this, especially when the UI behind the scenes supports i18n and has translations. Amazon do have country specific listings, so maybe they just don't want to show two languages, but that is often what happens on Amazon DE if you choose English. If you choose to ship to a different country they will change prices to account for different taxes, so it's not that.
Other e-commerce services are even worse, e.g. Zalando has a single app for all their countries, and the listings are the same, but they don't let you choose the language at all. Just because I am living in a country, doesn't mean I speak the language of that country.
[0] Which is another weird thing, as most of the time they do ship here. I'm somewhat surprised they have't merged to a single "Amazon Europe" storefront, instead they are still opening new country specific storefronts.
I wonder why Mozilla hasn't given their own extension the "Recommended" badge on their add-on site. https://addons.mozilla.org/en-US/firefox/search/?q=Translati...
Probably because it isn't fully baked. It will definitely be included by default or set as "Recommended" when it supports more languages.
Really looking forward to this addon getting more mature, as bookmarklets don't work when you are e.g. logged in or in cases with heavy JS.
https://addons.mozilla.org/en-US/firefox/addon/right-click-s...
The few times I've tried translating news articles in supported languages with the addon it seems to do really well, although it is understandibly (and like Google Translate) more hit and miss for less formal stuff and song lyrics (which can be nearly untranslatable considering how little sense they often make if you do understand the language :/). This is translating to English though, it sounds like translating between other languages goes through English currently.
But on some websites it starts duplicating words over and over. So, seems like there are some rough edges to work out. But I'm definitely keeping it installed for when it is ready to go!
However on the plus side, I'm not seeing a complete inability to translate in Nightly since the context menu let's me translate using Google Translate (i realise many won't want to send their text off to G but this does at least show up one of the claimed limitations in the article, that it simply wasn't possible at all)
What is the technical requirement behind this?
Is there an open source initiative aimed at bringing grammar checking to the edge?
[1]https://ai.googleblog.com/2021/10/grammar-correction-as-you-...
(Disclosure: I work at Google)
I could understand why Google wouldn't open-source this tech, but the blog pretty much covers how to build one. I'm surprised there isn't any open source project that took this direction to bring a privacy-focused grammar checker.
I'm not blaming anyone, the constraints made it nearly impossible, and at the time there wasn't enough properly tagged corpus material to work with, not even for English.
https://github.com/languagetool-org/languagetool https://languagetool.org/
...and that is nowadays what i base my software choices (including mobile/ android) on.
Glad to see more offline-translation options though. Would be nice to have a benchmark for them soon to compare more easily.
Maybe they just happened to be able to get volunteers/partners who know those languages.
The inclusion of Estonian is particularly odd. It's a very small language (1.1m native) and is the only non-Indo-European language in production or development.
I'd imagine the 14 grammatical cases of Estonian would be harder to handle than French grammar, and yet they have Estonian.
Even if this had not been sponsored by the EU, it wouldn't be surprising. This kind of product relies on decades of development. The smaller and poorer a language, the less research will have been done. Chinese and Japanese often have material available, but NLP research in other countries is still behind.
Google Translate seems to require an account or something on my microG'd phone and refused to work after an update, which meant I actually switched to Yandex--purely because I have no other services with them so translations are somewhat siloed away from other applications and services.
About the only time it matters to me is when dealing with stuff I have to do (e.g. bureaucratic or legal things). In which case I prefer using deepl.com, which seems to do a better job of e.g. handling German legal texts.
I guess in a pinch it's handy to be able to translate a bit of text or a web page but that hardly is a regular thing. Browser extensions exist for that. Also for Firefox. I don't tend to use those though because I just don't really need or want that.