Contents[ Hide ]
Runs a multi-class text classification for the specified raw text.
Classify text REST API
You can use the following parameters in a REST request:
|Parameter Name||Data Type||Required/Optional||Description|
||string||Optional||The number of the best classes to return.|
$multipart/form-data request to combine one or more properties into a single body:
|Property Name||Data Type||Required/Optional||Description|
||string||Required||The text to classify.|
Note: to access this REST API, you need to register and get personal credentials. Use the ‘Quick Start’ guide to go through the procedure in a couple of minutes.
Classify text usage examples
How to classify text with cURL or Postman
One of the easiest and fastest ways to call a REST API is to use cURL or Postman:
Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:
- GitHub repository — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.