Wolfram Language

Multilingual Functionality

Translate Words from an Unknown Language

Take a string in some language.

In[1]:=
Click for copyable input
string = "Danke";

Identify the language of this word.

In[2]:=
Click for copyable input
origin = LanguageIdentify[string]
Out[2]=

Translate to another language.

In[3]:=
Click for copyable input
WordTranslation[string, origin -> Entity["Language", "Spanish"]]
Out[3]=

Take a list of languages and build a nice-looking word cloud of the words appearing on the multiple translations that this word has.

show complete Wolfram Language input
In[4]:=
Click for copyable input
langs = {Entity["Language", "Spanish"], Entity["Language", "English"], Entity["Language", "Russian"], Entity["Language", "Danish"], Entity["Language", "Korean"]}; Manipulate[ WordCloud[ Flatten[TextWords /@ WordTranslation[string, LanguageIdentify[string] -> language]], ImageSize -> {512, 256}], {language, langs}]
Play Animation
Stop Animation

Related Examples

de es fr ja ko pt-br ru zh