Natural Language Classifier
&NLCClassifier = CreateClassifier(&text, NLCLanguage.English,&name)
In: &text of type: Text, GenexusWatsonSDK
In: &language variable based on the domain: NLCLanguage
In: &name variable varchar(50) indicating the name of the classifier.
Out: &NLCClassifier variable based on the SDT: Classifier
&Classifiers = GetClassifiers()
Out: &Classifiers variable based on the SDT: Classifiers
&NLCClassifier = ClassifierInfo(&classifierId)
In: &classifierId ID corresponding to the classifier created.
Out: &NLCClassifier variable based on the SDT: Classifier
&Classification = Classify(&classifierId,&text)
In: &classifierId ID corresponding to the classifier created.
In: &text of type: Text, GenexusWatsonSDK. Text to classify.
Out: &Classification variable based on the SDT: Classification
&success = DeleteClassifier(&classifierId)
In: &classifierId ID corresponding to the classifier.
Out: &success variable of Boolean type with the execution result.