Class Command
Represents a dictation command that converts spoken words to formatted text output.
public sealed class Command
- Inheritance
-
Command
- Inherited Members
Remarks
A dictation command maps one or more spoken forms (expressed as regex patterns) to a text replacement. For example, the spoken phrase "new line" maps to the newline character.
Commands support multiple languages, with each spoken form pattern potentially matching different language variants of the same command.
Constructors
- Command(IEnumerable<string>, string, string)
Initializes a new instance of the Command class.
Properties
- DescriptionKey
Gets the resource key for localized description of the command.
- Replacement
Gets the text replacement produced when the command is recognized.
- SpokenForms
Gets the regex patterns representing different spoken forms of the command.