PhraseListGrammar Class
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.
Identifies known phrases in audio data. Added in 1.5.0
public sealed class PhraseListGrammar : Microsoft.CognitiveServices.Speech.Grammar
type PhraseListGrammar = class
inherit Grammar
Public NotInheritable Class PhraseListGrammar
Inherits Grammar
- Inheritance
Remarks
Not available in all languages. For a list of languages and sample code, see Get started with speech-to-text.
Methods
AddPhrase(String) |
Adds a simple phrase to listen for in the speech. |
Clear() |
Clears all phrases from the phrase list. |
FromRecognizer(Recognizer) |
Creates a phrase list grammar for the specified recognizer. |
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin