MarkLogic 10 Product Documentation
spell:romanize

spell:romanize(
   $string as xs:string
) as xs: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"
Powered by MarkLogic Server | Terms of Use | Privacy Policy