GetWordPron

If you are unsure as to whether a particular word exists in a language pack with the right pronunciation, you can run the GetWordPron action to return the pronunciations listed in the language pack for a specific word.

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 a list of all pronunciations in the dictionary file associated with the ENUK language pack for the word pronunciation, and returns the following XML 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.

Parameters

Parameter Description Required
Name The name of the language pack.  
Token The word for which to retrieve pronunciations.  

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

_HP_HTML5_bannerTitle.htm