Home▸Geology & Earth Science▸Writing Translation Simulation

Context-Vector Word Sense Disambiguation in Translation

Interactive 3D simulator: watch a translation system resolve an ambiguous word (bank, spring, bass, light) by averaging surrounding context words into a vector and picking the closest candidate meaning by cosine similarity.

Geology & Earth Science2DModerate60 FPS📱 Mobile-adapted🌍 Earth
writing-translation-simulation ↗ Open standalone

Words like "bank", "spring", "bass" and "light" have several unrelated meanings, and a translator — human or machine — has to pick the right one from context alone. This simulator embeds each candidate meaning and each surrounding context word as a point in a 3D semantic space, then computes a weighted context vector from the words you leave switched on and measures its cosine similarity to every candidate. The closest meaning wins; a softmax over the similarities produces a confidence score, and a configurable threshold decides whether the system auto-translates or flags the segment for human review — the same trade-off real machine-translation pipelines make between speed and reliability. Shrink the context window or switch off the on-topic words and watch the decision flip, or turn ambiguous, in real time.

⚙ Under the hood

This simulation allows you to explore the complex process of translating text from one language to another, focusing on the nuances of terminology and localization strategies. By manipulating source texts and target translations, you'll gain an understanding of how context impacts meaning and the importance of accurate adaptation.

TranslationLocalizationTerminology

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)