Using aligned word vectors for instant translations with Python and Rust

by beauon 6/10/2021, 8:22 PMwith 35 comments

by beauon 6/10/2021, 8:38 PM

We've released the underlying Rust implementation here: https://github.com/InstantDomain/instant-distance with Python bindings at https://pypi.org/project/instant-distance — feedback welcome!

by maelnon 6/11/2021, 7:10 AM

This webpage use a significant amount of CPU constantly for no apparent reason (as far as I can see it is mostly a static webpage). What the hell ? Is it mining crypto in the background ?

by denysvitalion 6/10/2021, 9:52 PM

> For example, here are the results of translating the English word "hello":

> Language: fr, Translation: bonjours

> Language: fr, Translation: bonsoir

> Language: fr, Translation: salutations

> Language: it, Translation: buongiorno

> Language: it, Translation: buonanotte

> Language: fr, Translation: rebonjour

> Language: it, Translation: auguri

> Language: fr, Translation: bonjour,

> Language: it, Translation: buonasera

> Language: it, Translation: chiamatemi

Is it just me or these machine translations are worse than ... Google Translate?

by fulafelon 6/11/2021, 4:14 AM

Was disappointed this can't translate from Python to Rust.

by dukeofdoomon 6/11/2021, 1:28 AM

Can something like this be done to compare/translate subsequences COVID genetic code to SARS and other virus genetic codes. Would be interesting how much overlap there is. And would further the research into where it came from.

Full genome of COVID-19 is available:

https://www.snapgene.com/resources/coronavirus-resources/?re...

by PaulHouleon 6/10/2021, 8:38 PM

Nice example.

The short text and that fact that your application would tolerate or celebrate catchy neologisms plays to fasttext's strengths.

by shakowon 6/10/2021, 11:12 PM

> fast translates to vite in French

Only as an adverb, it should be "rapide" otherwise.

by aitkon 6/10/2021, 10:18 PM

At first glance at the title, I thought it was translating Python code to Rust code.