Loading TOC...

spell.romanize

spell.romanize(
   $string as String
) as String

Summary

Returns the romanization of the string, substituting basic Latin letters for the letters in the string, according to their sound. Unsupported characters will be mapped to '?' for compatibility with the double metaphone algorithm. We support romanization of the scripts of the languages with advanced support in MarkLogic except for Chinese characters and Hangul.

Parameters
$string The input string.

Example

spell.romanize("Путин");
=> "putin"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy