To identify the language of speech
Create a new configuration to send to Media Server with the process
action, or open an existing configuration that you want to modify.
In the [Session]
section, add a new analysis task by setting the EngineN
parameter. You can give the task any name, for example:
[Session] Engine0=Ingest Engine1=SpeechLanguageId
Create a new section to contain the settings for the task, and set the following parameters:
Type
|
The analysis engine to use. Set this parameter to LanguageID . |
Input
|
(Optional) The audio track to process. If you do not specify an input track, Media Server processes the first audio track produced by the ingest engine. |
Languages
|
(Optional) The list of languages to consider when running language identification. If you know which languages are likely to be present in the media, Micro Focus recommends setting this parameter because restricting the possible languages can increase accuracy and improve performance. For a list of supported languages with language codes, see Speech Analysis Supported Languages. |
Mode
|
The type of language identification task to run. Set this parameter to one of the following options:
|
SegmentDuration
|
(Optional, default 15s ) The amount of audio to analyze as a single segment. |
For example:
[SpeechLanguageId] Type=LanguageID Languages=ENUK,DEDE Mode=Cumulative SegmentDuration=30s
For more information about the parameters that you can use to configure this task, refer to the Media Server Reference.
Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the ConfigDirectory
parameter.
|