Text & Document Classification with cURL

Classify raw text and documents as per IAB-2, Documents, and Sentiment taxonomy into predefined classes.

  • GroupDocs.Classification Cloud SDK for .NET
Start Free Trial

GroupDocs.Classification Cloud for cURL provides you an automated way to classify your raw text or documents into ‎predefined categories based on IAB-2, Documents, or Sentiment taxonomy.‎

Advanced Document Classification REST API Features

Classify raw text based on IAB-2, Documents, and Sentiment taxonomies

Perform classification of the documents as per IAB-2, Documents, or Sentiment taxonomies

View classification information regarding classes and their respective probabilities

Speed up the development process

100% tested and out of the box running

Convenient to use API

Easy integration with REST API

APIs are secured and require authentication

API explorer based on swagger collection

Classification of pivot tables in Excel workbooks

APIs are secured and require authentication

API explorer based on swagger collection

Supported Types of Taxonomy

GroupDocs.Classification Cloud SDK for .NET performs classification based on three types of Taxonomies. ‎The raw text or document classification is done as per IAB-2, Document, or Sentiment ‎taxonomies. Following example shows how to classify raw text based on IAB-2 taxonomy using cURL:‎‎

Raw Text Classification as per IAB-2 Taxonomy - cURL - Request

curl -X POST "https://api.groupdocs.cloud/v1.0/classification/classify?BestClassesCount=3" \
-H "accept: application/json" \
-H "authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d "{ \"description\": \"Medicine is an important part of our life\"}"

Raw Text Online Classification as per IAB-2 Taxonomy - cURL - Response

    {
    "bestClassName": "Healthy_Living",
    "bestClassProbability": 53.77,
    "bestResults": [
        {
            "className": "Healthy_Living",
            "classProbability": 53.77
        },
        {
            "className": "Medical_Health",
            "classProbability": 38.27
        },
        {
            "className": "Pets",
            "classProbability": 1.98
        }
    ],
    "code": 200,
    "status": "OK"
}

Support and Learning Resources

GroupDocs.Classification Cloud also offers individual document rendering SDKs for other popular languages as listed below:

  English
4e77447