LangIdFeature

The LangIdFeature task converts an audio file containing a single language into a language identification feature (.lif) file. Language identification feature files are required for training language classifiers.

Parameters

Parameter Description Required
Type The task type. Set to LangIdFeature. Yes
AppDnnBase The location of the appResources directory, which contains the DNN and .ian files to use.  
AppFrameDupl The balance between performance and speed for audio preprocessing DNN classification.  
AudioUpsampling Whether to allow audio upsampling if the input audio has a sample rate too low for the task.  
Beam The beam width of the search process.  
DnnFile The Deep Neural Network acoustic modeling file to use.  
EndTime The end of an audio section to process.  
File The audio file to process. Yes, if InputType is File.
InputType The type of audio to process (file, binary data, or stream).  
Lang The name of the language pack to use. Yes
Out The language identification feature (.lif) file to create. Yes
SilThresh The threshold between what the task identifies as silence and non-silence.  
SpeechThresh The threshold between speech and non-speech (music or noise).  
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.  

Example

http://localhost:15000/action=AddTask&Type=LangIdFeature&File=C:\Data\FrenchSpeech.wav&Out=frenchSpeech.lif

This action creates the frenchSpeech.lif file from the FrenchSpeech.wav file.


_FT_HTML5_bannerTitle.htm