Normalize Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Performs normalization of the specified string.

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

Syntax

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

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

Parameters

textToNormalize
Type: System..::..String

The string to normalize.

Return Value

Type: Microsoft.Speech.Text..::..NormalizedResult

A NormalizedResult instance that contains the results from the normalization operation.

Exceptions

ExceptionCondition
ArgumentNullException

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

See Also