How Translation Works
- Look up the source word and identify its sense
- Find the meaning linked to that sense
- Query senses in the target language linked to the same meaning
- Return the best matching word(s) with confidence scores
- Translation between any language pair (no direct pairs needed)
- Sense-level disambiguation
- Automatic coverage expansion as new languages are added
Translation Object
Confidence Scores
Translation confidence (0.0 - 1.0) is calculated based on:| Factor | Weight | Description |
|---|---|---|
| Source agreement | 40% | Multiple sources confirming the translation |
| Sense alignment | 30% | How precisely senses match |
| Frequency data | 15% | Common translations ranked higher |
| POS match | 15% | Same part of speech preferred |
Translation Pairs
For high-traffic language pairs, LangDex caches direct translation pairs:API Endpoints
Translate a word
Translate via meaning ID
Get translation pairs
Multi-hop Translation
For rare language pairs with no direct meaning links, LangDex can perform multi-hop translation through intermediate languages:Sense Disambiguation
When a word has multiple senses, you can specify which sense to translate:Batch Translation
Translate multiple words efficiently:Coverage Statistics
| Metric | Value |
|---|---|
| Languages | 5,700+ |
| Meaning connections | 2M+ |
| Direct translation pairs | 500M+ |
| High-confidence pairs (>0.9) | 150M+ |