Loading TOC...

MarkLogic 12 EA 1 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.