-
Notifications
You must be signed in to change notification settings - Fork 117
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()
. -
wordType
is a string instead of an enum. -
DeleteCustomWord()
is replaced byDeleteWord()
. -
AddCustomWords()
is replaced byAddWords()
. -
AddCustomWord()
is replaced byAddWord()
. -
GetClassifiersPerClassifierVerbose
is replaced byclassifier
. -
SpeechRecognitionEvent
is replaced bySpeechRecognitionResults
. -
WordDefinition
is replaced byWord
. -
CorporaProperty
is 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[].
-
CreateClassifier
now takes a singleCreateClassifier
object. -
UpdateClassifier
now takes a singleUpdateClassifier
object. -
status
is now an enum instead of a string. -
ClassName
is 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[].