LWT JavaScript API
    Preparing search index...
    • Get the phonetic version of a text, asynchronous.

      Parameters

      • text: string

        Text to convert to phonetics.

      • lang: string | number

        Language, either two letters code or four letters (BCP 47), or language ID

      Returns Promise<{ phonetic_reading: string }>