The PhraseSearch
task searches an audio file or stream for one or more phrases.
Parameter | Description | Required |
---|---|---|
Type |
The task name. Set to |
Yes |
AudioUpsampling | Whether to allow audio upsampling if the input audio has a sample rate too low for the task. | |
EndTime | The end of an audio section to process. | |
File | The audio file to process. | Yes, if InputType is File . |
FrameDupl | An integer value which allows for greater time efficiency with only a minimal loss of recognition accuracy. | |
InputType | The type of audio to process (file, binary data, or stream). | |
Lang | The phonetic phrase search language pack to use. | Yes |
Out | The file to write the results to. | Yes |
Phrase | The word or phrase to search for. | See Comments |
PhraseList | A list of multiple phrases to search for. | See Comments |
StartTime | The beginning of an audio section to process. | |
SugdInputChannels | The channel layout of the input media file. This parameter does not apply when InputType is Stream . |
|
SugdInputFrequency | The sampling rate of the input media file. This parameter does not apply when InputType is Stream . |
You must set one of Phrase or PhraseList.
http://localhost:15000/action=AddTask&Type=PhraseSearch&File=C:/Data/Speech.wav&Lang=ENUK-pm&Out=SearchResults.ctm&Phrase=financial
This action searches the Speech.wav
file for the phrase ‘financial
’ and writes the search results to the SearchResults.ctm
file.
|