New answers tagged

0

You could take pretrained embedder on multiple languages, then check distances between the encodings. There's unofficial pypi port of Facebook's LASER. It's langauge-agnostic and pretrained on both en and fr. from laserembeddings import Laser laser = Laser() sentence_en = 'My name is Hendrik' sentence_fr = 'Je suis Hendrik' en_embedding = laser....


Top 50 recent answers are included