Simple IAB-2 Text classification Call Classify method with a Text as the first parameter to perform classification. Default taxonomy (IAB-2) and bestClassesCount (1) will be used.
var response = classifier.Classify("Medicine is an important part of our lifes"); Console.WriteLine(response.BestClassName, response.BestClassProbability); Raw Text classification with Documents taxonomy and 2 best classes to return Taxonomy, bestClassesCount and precisionRecallBalance could also be specified:
var response = classifier.Classify("Medicine is an important part of our lifes", 2, Taxonomy....Annotation Product Solution GroupDocs...Usage / Classify Raw Text Classify Raw Text Leave feedback Simple...