Edit

How to use post-processing

Note

Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Preview features are provided without a service-level agreement and aren't recommended for production workloads. Some features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig.SetProperty(PropertyId.SpeechServiceResponse_PostProcessingOption, "TrueText");

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig->SetProperty(PropertyId::SpeechServiceResponse_PostProcessingOption, "TrueText");

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig.SetProperty(common.SpeechServiceResponsePostProcessingOption, "TrueText")

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig.setProperty(PropertyId.SpeechServiceResponse_PostProcessingOption, "TrueText");

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig.setProperty(sdk.PropertyId.SpeechServiceResponse_PostProcessingOption, "TrueText");

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

[speechConfig setPropertyTo:@"TrueText" byId:SPXSpeechServiceResponsePostProcessingOption];

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speechConfig.setPropertyTo("TrueText", by: SPXPropertyId.speechServiceResponsePostProcessingOption)

Change post-processing option

The Speech service can apply post-processing to recognition results before they're returned. You can control which post-processing option is used by setting the SpeechServiceResponse_PostProcessingOption property on the SpeechConfig instance used to create a SpeechRecognizer.

The following values are supported:

Value Description
TrueText Applies display formatting to recognition results, including punctuation and capitalization, to produce more readable output.
PostRefinement Gives you more accurate final transcription results with no impact to first-token latency. A second recognition pass runs in parallel with real-time streaming. Intermediate results stay low-latency. Only the final result for each segment is replaced with a more accurate version. Monolingual post-stream refinement is generally available. Multilingual post-stream refinement is in public preview. Region availability differs between the two modes. For more information, see Speech service regions.

Example: To enable TrueText post-processing:

speech_config.set_property(property_id=speechsdk.PropertyId.SpeechServiceResponse_PostProcessingOption, value="TrueText")

Change post-processing option

Post-processing options aren't configurable through the REST API. To use post-processing, use the Speech SDK.

Change post-processing option

Post-processing options aren't configurable through the Speech CLI. To use post-processing, use the Speech SDK.