Transliterate

Transliterate["string"]

attempts to transliterate string into plain ASCII.

Transliterate["string",script]

attempts to transliterate string into the specified writing script script.

Transliterate["string",script1script2]

attempts to transliterate string from script1 to script2.

Details and Options

  • Transliterate uses standard Unicode writing script transformation rules.
  • The specified script or scripti may be script name strings, Automatic, or "WritingScript" entities. They can also be language specifications.
  • A list of "WritingScript" entities can be found using EntityList["WritingScript"]. Some entities may not have transliteration rules available.
  • Transliterate also accepts "Language" entities, using the primary writing script associated with that language if available.
  • Transliterate automatically threads over lists.

Examples

open allclose all

Basic Examples  (3)

Transliterate text to ASCII:

Transliterate text to Hiragana:

Transliterate from one writing system to another:

Scope  (3)

Transliterate accepts script name strings, Automatic, "WritingScript" entities, and language specifications:

A script specification of Automatic indicates that the origin of the script will be automatically detected:

Transliterate is Listable and automatically threads over lists:

Possible Issues  (3)

Transliterate does not automatically reverse text for right-to-left scripts:

Not all writing scripts have transliteration available:

If a script does not normally include some characters, they will not be transliterated into the target script:

Introduced in 2015
 (10.3)