# SpeechToText

Runs speech-to-text on the file(s) associated with an IDOL document FlowFile, and adds the text to the IDOL document.

For information about the audio and video file formats that are supported, refer to the Media Server Administration Guide.

## Properties

Name | Default Value | Description
--- | --- | ---
IDOL License Service |  | An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server.
Media Service |  | A MediaServiceImpl that manages media analysis resources.
Language | English (UK) | The language pack to use for speech-to-text. NOTE: Language packs can contain hundreds of megabytes of data, so they are not included in the installation and must be downloaded separately. Extract language packs to the `speechtotext` folder in the "Media Static Data Directory" specified in your Media Service.
Telephony | False | Specifies whether the audio is telephony with an 8kHz sample rate.
Shared Custom Language Model |  | The identifier of a custom language model to use. Set this property to use a custom language model stored in the external database specified by the Media Service (see the "Media Service" property).
Shared Custom Word Database |  | The name of a custom word database to use. Set this property to use a custom word database stored in the external database specified by the Media Service (see the "Media Service" property).
Custom Language Model File |  | A custom language model to use. Specify the path of a file generated by the Media Server action `ExportCustomSpeechLanguageModel`.
Custom Word Database File |  | A custom word database to use. Specify the path of a file generated by the Media Server action `ExportCustomSpeechWordDatabase`.
Custom Language Model Weighting |  | The interpolation weight to use for the custom language model. You only need to set this property if you want to override the recommended weight, as returned by the Media Server action `ListCustomSpeechLanguageModels`.

## Relationships

Name | Description
--- | ---
success | Processing was successful.
failure | Processing failed.

_FT_HTML5_bannerTitle.htm