Imported from https://github.com/bakarov/cross-lang-embeddings