TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using aligned word vectors for instant translations with Python and Rust

112 pointsby beaualmost 4 years ago

8 comments

beaualmost 4 years ago
We&#x27;ve released the underlying Rust implementation here: <a href="https:&#x2F;&#x2F;github.com&#x2F;InstantDomain&#x2F;instant-distance" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;InstantDomain&#x2F;instant-distance</a> with Python bindings at <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;instant-distance" rel="nofollow">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;instant-distance</a> — feedback welcome!
评论 #27467375 未加载
评论 #27467298 未加载
评论 #27466414 未加载
maelnalmost 4 years ago
This webpage use a significant amount of CPU <i>constantly</i> 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 ?
评论 #27470603 未加载
评论 #27474031 未加载
评论 #27470296 未加载
denysvitalialmost 4 years ago
&gt; For example, here are the results of translating the English word &quot;hello&quot;:<p>&gt; Language: fr, Translation: bonjours<p>&gt; Language: fr, Translation: bonsoir<p>&gt; Language: fr, Translation: salutations<p>&gt; Language: it, Translation: buongiorno<p>&gt; Language: it, Translation: buonanotte<p>&gt; Language: fr, Translation: rebonjour<p>&gt; Language: it, Translation: auguri<p>&gt; Language: fr, Translation: bonjour,<p>&gt; Language: it, Translation: buonasera<p>&gt; Language: it, Translation: chiamatemi<p>Is it just me or these machine translations are worse than ... Google Translate?
评论 #27467045 未加载
评论 #27466308 未加载
评论 #27466602 未加载
fulafelalmost 4 years ago
Was disappointed this can&#x27;t translate from Python to Rust.
dukeofdoomalmost 4 years ago
Can something like this be done to compare&#x2F;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.<p>Full genome of COVID-19 is available:<p><a href="https:&#x2F;&#x2F;www.snapgene.com&#x2F;resources&#x2F;coronavirus-resources&#x2F;?resource=SARS-CoV-2_(COVID-19)_Genome" rel="nofollow">https:&#x2F;&#x2F;www.snapgene.com&#x2F;resources&#x2F;coronavirus-resources&#x2F;?re...</a>
评论 #27469734 未加载
评论 #27473541 未加载
PaulHoulealmost 4 years ago
Nice example.<p>The short text and that fact that your application would tolerate or celebrate catchy neologisms plays to fasttext&#x27;s strengths.
评论 #27465755 未加载
shakowalmost 4 years ago
&gt; fast translates to vite in French<p>Only as an adverb, it should be &quot;rapide&quot; otherwise.
aitkalmost 4 years ago
At first glance at the title, I thought it was translating Python code to Rust code.
评论 #27467515 未加载