Open topic with navigation

# Phonetic Phrase Search in a Single Step

Use the following procedure to perform phonetic phrase search in a single operation.

Note: HPE recommends that you use this task for single searches only, because the procedure does not produce a phoneme time track file. If you use the `WavPhraseSearch` task to perform multiple searches on a file, IDOL Speech Server must process the audio file each time. To perform multiple searches, HPE recommends that you process the audio file to produce a phoneme time track file, and then perform searches separately.

To perform phonetic phrase search in a single operation

1. To search for more than one phrase, create a list that contains the phrases.

   For more information about IDOL Speech Server's list manager, see Create and Manage Lists.

2. Send an `AddTask` action to IDOL Speech Server, and set the following parameters:

   `Type` | The task name. Set to `WavPhraseSearch`.
   `DnnFile` | The DNN acoustic model file to use for processing. Note: The use of DNNs improves both precision and recall, but increases processing time. If faster processing time is more important to you than accuracy, set `DnnFile` to `none` to disable DNN acoustic modeling.
   `File` | The audio file to process. To restrict processing to a section of the audio file, set the start and end times in the `wav` module (for information about how to configure the `wav` module, see the IDOL Speech Server Reference).
   `Lang` | The phonetic phrase search language pack to use.
   `Out` | The file to write the results to.

   Set one of the following parameters.

   `Phrase` | The word or phrase to search for.
   `PhraseList` | The list that specifies multiple phrases to search for.

For example:

    http://localhost:13000/action=AddTask&Type=WavPhraseSearch&File=C:/Data/Speech.wav&DnnFile=ver-ENUK-tel-6.2-8k.dnn&Lang=ENUK-pm&Out=SearchResults.ctm&Phrase=financial

This action uses port `13000` to instruct IDOL Speech Server, which is located on the local machine, to search the `Speech.wav` file for the phrase ‘`financial`’, , using the `ver-ENUK-tel-6.2-8k.dnn` DNN acoustic model file for processing, and to write the search results to the `SearchResults.ctm` file.

This action returns a token. You can use the token to:

- Check the task status. See Check the Status of a Task.
- Retrieve the results file. See Find Recommended Language Resources to Use in a Task.

© 2013-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm