spell.romanize( string as String ) as String
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. |
spell.romanize('Путин'); => "putin"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.