Message Boards Message Boards

[?] Get list of languages supported by Transliterate?

Posted 5 years ago

Hello. I am new to Wolfram and need your kind help. I am trying the following 3 commands to transliterate a word "Nirati":

top100 = EntityClass[ "Language", {"NativePopulation" -> TakeLargest[100]}] // EntityList

len = Length[top100]

Do[Transliterate["Nirati", "English" -> top100[[i]]], {i, 1, len}]

But I end up in many errors and don't get any good output. Distinct errors are as follows:

Message 1 Transliterate::notrans: Unable to transliterate between English and Mandarin Chinese for Nirati.

Message 2 Transliterate::sname: Bengali is not a recognized transliteration script.

The Help/Reference just mentions the below and I could not figure out a good way forward for myself.

A list of "WritingScript" entities can be found using EntityList["WritingScript"]. Some entities may not have transliteration rules available.

Please guide me as to how I can know the list of those languages/ scripts which are supported for transliteration in Wolfram.

POSTED BY: Rahul Gupta
2 Replies
Posted 5 years ago

Thank You so much Rohit for the kind help. I understand my mistake.

Thanks and Regards, Rahul

POSTED BY: Rahul Gupta
Posted 5 years ago

Rahul,

Transliterate is used for transliterating between writing scripts, not languages.

Quiet[# -> Transliterate["?????", #] & /@ 
   EntityList["WritingScript"]] // Cases[Except[_ -> _Transliterate]]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract