Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

NormalizerCollection.Normalize Method

Performs normalization of the specified string.

Namespace:  Microsoft.Speech.Text
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Function Normalize ( _
    textToNormalize As String _
) As NormalizedResult
'Usage
Dim instance As NormalizerCollection
Dim textToNormalize As String
Dim returnValue As NormalizedResult

returnValue = instance.Normalize(textToNormalize)
public NormalizedResult Normalize(
    string textToNormalize
)

Parameters

Return Value

Type: Microsoft.Speech.Text.NormalizedResult
A NormalizedResult instance that contains the results from the normalization operation.

Exceptions

Exception Condition
ArgumentNullException

Thrown when textToNormalize is a null reference (Nothing in Visual Basic) or when its Length property is zero.

See Also

Reference

NormalizerCollection Class

NormalizerCollection Members

Microsoft.Speech.Text Namespace