GroupDocs.Classification Cloud 20.11

Major Features

  • Batch text classification was added to API. Now up to 10 texts can be classified in one request.
  • Sentiment3 taxonomy (Negative/Neutral/Positive) is supported now.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
GDCLASS-62Add a support for batch text classificationFeature
GDCLASS-64Add a support for sentiment3 taxonomyFeature

Public API and Backward Incompatible Changes

Classify batch of texts with the Sentiment taxonomy

Sentiment Analysis (Classification)


curl -X POST "https://api.groupdocs.cloud/v1.0/classification/classify/batch?BestClassesCount=3&Taxonomy=sentiment" \
-H "accept: application/json" -H "Content-Type: application/json" \
-d "{ \"batch\": [\"\", \"\"]}" -H "Authorization: Bearer [Access_token]"
{
	"results":
	[
		{"bestClassName":"Positive","bestClassProbability":79.44,"bestResults":
			[
			{"className":"Positive","classProbability":79.44},{"className":"Neutral","classProbability":11.34},{"className":"Negative","classProbability":9.22}
			]},
		{"bestClassName":"Positive","bestClassProbability":79.44,"bestResults":
			[
			{"className":"Positive","classProbability":79.44},{"className":"Neutral","classProbability":11.34},{"className":"Negative","classProbability":9.22}
			]}
	],
	"Code":200,
	"status":"OK"
}