<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/spell.romanize.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>spell.romanize</api:function-name><api:suggest>spell.romanize</api:suggest><api:suggest>spell</api:suggest><api:suggest>romanize</api:suggest><api:function-link mode="xquery" fullname="spell:romanize">/apidoc/8.0/spell:romanize.xml</api:function-link><api:function mode="javascript" name="romanize" type="builtin" lib="spell" category="SpellBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="spell" namespace="http://marklogic.com/xdmp/spell" fullname="spell.romanize"><api: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.
</api:summary><api:params><api:param name="string" type="xs:string"><api:param-description>
     The input string.
  </api:param-description><api:param-name>string</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>String</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
spell.romanize("Путин");
=&gt; "putin"
</pre></api:example></api:function></api:function-page>