Compared to the sample scripts, SDK.CreateRecognizer is the correct way to create the recognizer
SDK.CreateRecognizer