From 921cda35325536c32452f0515ebdab81b334d901 Mon Sep 17 00:00:00 2001 From: tessawiedmann Date: Mon, 21 May 2018 15:09:33 -0700 Subject: [PATCH] Updated SDK.Recognizer.Create to SDK.CreateRecognizer Compared to the sample scripts, `SDK.CreateRecognizer` is the correct way to set up the recognizer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3ca210..98125b6 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ function RecognizerSetup(SDK, recognitionMode, language, format, subscriptionKey // Alternatively use SDK.CognitiveTokenAuthentication(fetchCallback, fetchOnExpiryCallback) for token auth let authentication = new SDK.CognitiveSubscriptionKeyAuthentication(subscriptionKey); - return SDK.Recognizer.Create(recognizerConfig, authentication); + return SDK.CreateRecognizer(recognizerConfig, authentication); } function RecognizerStart(SDK, recognizer) {