Open topic with navigation

# Look Up Pronunciations

If you are unsure as to whether a particular word exists in a language pack with the right pronunciation, HPE IDOL Speech Server can list the pronunciations for a specific word in the pronunciation dictionary file.

To obtain the pronunciation listing

- Send the `GetWordPron` action to HPE IDOL Speech Server, and set the following parameters:

  `Name` | The name of the language pack.
  `Token` | The word for which to retrieve pronunciations.

For example:

    http://localhost:13000/action=GetWordPron&Name=ENUK&Token=pronunciation

This action uses port `13000` to instruct HPE IDOL Speech Server, which is located on the local machine, to return the pronunciations listed in the pronunciation dictionary file for the word `pronunciation`.

This action returns a response:

    <responsedata>
       <word>pronunciation</word>
          <pronunciations>
             <pron>p r ax n ah n s iy ey sh ax n</pron>
             <pron>p r ow n ah n s iy ey sh ax n</pron>
          </pronunciations>
    </responsedata>

where `<word>` is the word that you submitted as the value of the `Token` parameter, and `<pron>` is the pronunciation listed for that word in the dictionary.

You can replace or add alternative pronunciations of words when you load a language pack; see Load a Language Pack Manually for more information.

You can also return a list of all the phonemes in a language pack, with the top five words and their corresponding full pronunciations for each phoneme.

To obtain a phoneme listing

- Send the `GetPhoneList` action to HPE IDOL Speech Server, and set the following parameter:

  `Name` | The name of the language pack.

For example:

    http://localhost:13000/action=GetPhoneList&Name=ENUK

This action uses port `13000` to instruct HPE IDOL Speech Server, which is located on the local machine, to return a list of all phonemes in the `ENUK` language pack.

This action returns a response:

    <phone>ax</phone>
       <phoneExamples>
          <word>that - dh ax d</word>
          <word>are - ax r</word>
          <word>this - dh ax s</word>
          <word>then - dh ax n</word>
          <word>had - hh ax d</word>
       </phoneExamples>
    <phone>ih</phone>
       <phoneExamples>
          <word>in - ih n</word>
          <word>is - ih s</word>
          <word>to - t ih</word>
          <word>with - w ih th</word>
          <word>it - ih d</word>
       </phoneExamples>
    etc.

where `<phone>` is the phoneme, and `<word>` is the example word and pronunciation.

© 2013-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm