Deploying Substitutions to V‑Blaze
V‑Blaze is an ASR engine that performs speech-to-text transcription and provides user access via a RESTful API. The following steps describe how to deploy substitutions on V‑Blaze .
Place the substitution file in a working directory.
Use the following cURL command to submit audio for transcription with substitutions applied.
mySubFile.sub
in the following command should be set to the name of your substitution file.
curl -F 'subst_rules=</path/mySubFile.sub'
-F 'model=eng1:callcenter' -F 'output=text' -F 'file=@example/sample1.wav' http://blaze_name:17171/transcribe
The following list describes the parameter specifications from the cURL command above.
- subst_rules
Specifies a newline-delimited string that contains substitution rules to be applied during transcription. The substitution rules are specified in a local file and loaded into the subst_rules field by using the
<
operator as shown in the curl command above. This approach makes it easier to edit and maintain these rules over time.- model
Specifies the language model to be used during transcription. Use the same language model previously used during the development of the substitution rules.
- output
The transcription output format. Text is specified here for readability.
- file
Audio file to be transcribed.