Describe the bug
When trying to recognize a custom keyword from a .table file exported from speech studio I get an error: 0x5 (SPXERR_INVALID_ARG)
To Reproduce
Steps to reproduce the behavior:
Program.cs:
class Program
{
static async Task Main(string[] args)
{
var keywordModel = KeywordRecognitionModel.FromFile("Hey_Roku.table");
var audioConfig = AudioConfig.FromDefaultMicrophoneInput();
var keywordRecognizer = new KeywordRecognizer(audioConfig);
Console.WriteLine("Say \"Hey Roku...\"");
var result = await keywordRecognizer.RecognizeOnceAsync(keywordModel);
Console.WriteLine(result.Text);
}
}
Output:
Say "Hey Roku..."
libc++abi.dylib: terminating with uncaught exception of type Microsoft::CognitiveServices::Speech::Impl::ExceptionWithCallStack: Exception with an error code: 0x5 (SPXERR_INVALID_ARG)
Expected behavior
A clear and concise description of what you expected to happen.
The program runs without erroring and recognizes the custom keyword
Version of the Cognitive Services Speech SDK
1.13.0
Platform, Operating System, and Programming Language
@hankhester Thanks for the feedback, KeywordRecognizer is not currently supported on Mac, we are working to support it in the future releases, apologies for the inconvenience.
To update the status, support for KeywordRecognizer on macOS is now implemented and will be available in the next Speech SDK release (1.14.0). Therefore I'm closing this issue.
Hey @pankopon when is 1.14.0 scheduled to be released?
Most helpful comment
To update the status, support for KeywordRecognizer on macOS is now implemented and will be available in the next Speech SDK release (1.14.0). Therefore I'm closing this issue.