DictationGrammar Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DictationGrammar class.
Overloads
DictationGrammar() |
Initializes a new instance of the DictationGrammar class for the default dictation grammar provided by Windows Desktop Speech Technology. |
DictationGrammar(String) |
Initializes a new instance of the DictationGrammar class with a specific dictation grammar. |
DictationGrammar()
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
Initializes a new instance of the DictationGrammar class for the default dictation grammar provided by Windows Desktop Speech Technology.
public:
DictationGrammar();
public DictationGrammar ();
Public Sub New ()
Remarks
The default dictation grammar emulates standard dictation practices, including punctuation. It does not support the spelling of a word.
Applies to
DictationGrammar(String)
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
- Source:
- DictationGrammar.cs
Initializes a new instance of the DictationGrammar class with a specific dictation grammar.
public:
DictationGrammar(System::String ^ topic);
public DictationGrammar (string topic);
new System.Speech.Recognition.DictationGrammar : string -> System.Speech.Recognition.DictationGrammar
Public Sub New (topic As String)
Parameters
- topic
- String
An XML-compliant Universal Resource Identifier (URI) that specifies the dictation grammar, either grammar:dictation
or grammar:dictation#spelling
.
Remarks
The Speech platform uses a specialized URI syntax to define the custom dictation grammar. The value grammar:dictation
indicates the default dictation grammar. The value grammar:dictation#spelling
indicates the spelling dictation grammar.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om