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"