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:

Wolfram Research (2015), Transliterate, Wolfram Language function, https://reference.wolfram.com/language/ref/Transliterate.html.

Text

Wolfram Research (2015), Transliterate, Wolfram Language function, https://reference.wolfram.com/language/ref/Transliterate.html.

CMS

Wolfram Language. 2015. "Transliterate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Transliterate.html.

APA

Wolfram Language. (2015). Transliterate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Transliterate.html

BibTeX

@misc{reference.wolfram_2024_transliterate, author="Wolfram Research", title="{Transliterate}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/Transliterate.html}", note=[Accessed: 05-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_transliterate, organization={Wolfram Research}, title={Transliterate}, year={2015}, url={https://reference.wolfram.com/language/ref/Transliterate.html}, note=[Accessed: 05-December-2024 ]}