Practical overview
When it fits
Use it when a workflow already uses fastText word vectors and needs cross-language comparison or nearest-neighbour translation lookup.
Who it is for
- NLP developers building workflows that compare word meanings across languages.
- Researchers or practitioners exploring nearest-neighbour translation prediction with aligned word vectors.
Documented uses
- Compare the similarity of words from different languages using their aligned vectors.
- Retrieve likely translations by finding nearest neighbours in the shared vector space.
- Use aligned multilingual representations in monolingual tasks while preserving the original within-language similarity relationships.
Requirements & limits
The repository is public and licensed under BSD-3-Clause. Its README says Babylon Health no longer actively maintains it.
- You need the relevant fastText vectors as well as the repository’s alignment matrices.
- The documented matrices align 78 languages to English as the shared reference space.
- The README provides a Python example using FastVector and cosine similarity.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Compare two words across languages with aligned vectors
Calculate cosine similarity between words in two languages after applying their alignment matrices.
Before you start
- A local copy of the repository.
- Downloaded fastText vectors in text format for the languages being compared.
- The corresponding alignment matrices and the repository’s FastVector class.
Steps
Load each language’s text-format vectors with FastVector.
Apply the relevant alignment matrix to each language dictionary.
Calculate cosine similarity between the two word vectors.
Expected outcome
A cosine-similarity value for the words in the shared vector space.
Guide limitations
- The README notes that the repository is no longer actively maintained by Babylon Health.
- The example compares word vectors; it does not describe a standalone translation service.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- babylonhealth/fastText_multilingual · Official homepage title · retained in its source language

