-
Notifications
You must be signed in to change notification settings - Fork 116
Migration
Ajiemar Santiago edited this page Mar 29, 2018
·
4 revisions
This guide will help you migrate from v1.3.1 to v2.0.0 of the .NET Standard SDK by highlighting the major changes.
v2.0.0 of the .NET Standard SDK is migrated to Visual Studio 2017 and the source project can be used in Visual Studio Mac.
Each service of the SDK is programmatically generated.
First-time generated services include Speech to Text,
Text to Speech, Visual Recognition and Natural Language Classifier.
Version date constants have been removed.
-
GetModels()is replaced withListModels(). -
ListCustomWords()is replaced byListWords(). -
wordTypeis a string instead of an enum. -
DeleteCustomWord()is replaced byDeleteWord(). -
AddCustomWords()is replaced byAddWords(). -
AddCustomWord()is replaced byAddWord(). -
GetClassifiersPerClassifierVerboseis replaced byclassifier. -
SpeechRecognitionEventis replaced bySpeechRecognitionResults. -
WordDefinitionis replaced byWord. -
CorporaPropertyis replaced by_Corpora. -
CreateCustomModel()is replaced byCreateLanguageModel(). -
DeleteCustomModel()is replaced byDeleteLanguageModel(). -
DeleteCustomWord()is replaced byDeleteWord(). -
TrainCustomModel()is replaced byTrainLanguageModel(). -
ResetCustomModel()is replaced byResetLanguageModel(). -
UpgradeCustomModel()is replaced byUpgradeLanguageModel(). -
ListCustomModel()is replaced byGetLanguageModel(). -
ListCustomModels()is replaced byListLanguageModels(). -
ListCustomWord()is replaced byGetWord(). -
ListCustomWords()is replaced byGetWords(). -
AddCorpus()accepts a stream instead of a byte[].
-
CreateClassifiernow takes a singleCreateClassifierobject. -
UpdateClassifiernow takes a singleUpdateClassifierobject. -
statusis now an enum instead of a string. -
ClassNameis replaced by_Class. -
GetClassifiersBrief()is replaced byListClassifiers(verbose: false). -
GetClassifiersVerbose()is replaced byListClassifiers(verbose: true). -
Classify()accepts a stream instead of a byte[]. -
DetectFaces()accepts a stream instead of a byte[].