This repository contains GroupDocs.Classification Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Classification Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost.
- Perform raw text classification.
- Perform document classification for the supported file formats.
- Perform multilingual sentiment analysis (binary or 3-classes) in English, Chinese, Spanish, and German.
See API Reference for full API specification.
- 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.
- Microsoft Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM
- OpenOffice: ODT, OTT
- Portable: PDF
- Other: RTF, TXT
- Automotive,
- Books_and_Literature,
- Business_and_Finance,
- Careers,
- Education,
- Events_and_Attractions,
- Family_and_Relationships,
- Fine_Art,
- Food_&_Drink,
- Healthy_Living,
- Hobbies_&_Interests,
- Home_&_Garden,
- Medical_Health,
- Movies,
- Music_and_Audio,
- News_and_Politics,
- Personal_Finance,
- Pets,
- Pop_Culture,
- Real_Estate,
- Religion_&_Spirituality,
- Science,
- Shopping,
- Sports,
- Style_&_Fashion,
- Technology_&_Computing,
- Television,
- Travel,
- Video_Gaming
- ADVE - advertisements, brochures.
- Form
- Letter
- Memo - memorandums.
- News - articles, including news articles.
- Invoice
- Report
- Resume
- Scientific - scientific papers.
- Other - the other classes of documents or cases where the classifier is not sure.
- Negative
- Positive
- Negative
- Neutral
- Positive
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended). For more details, please visit our documentation website.
To use GroupDocs.Classification for Cloud .NET SDK you need to register an account with GroupDocs Cloud Dashboard and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see GroupDocs Cloud Pricing.
From the command line:
`nuget install GroupDocs.Classification-Cloud`
From Package Manager:
`PM> Install-Package GroupDocs.Classification-Cloud`
From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "GroupDocs.Classification-Cloud".
- Click on the GroupDocs.Classification-Cloud package, select the appropriate version in the right-tab and click Install.
The examples below show how your application have to initiate and classify "pdf" file using GroupDocs.Classification-Cloud library:
// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
string MyClientId = "";
string MyClientSecret = "";
// Create instance of the API
var configuration = new Configuration { ClientId = MyClientId, ClientSecret = MyClientSecret };
var api = new ClassificationApi(configuration);
// Get supported file formats
var response = api.GetSupportedFileFormats();
foreach (var format in response.Formats)
{
Debug.Print(format.ToString());
}
Tests contain various examples of using the SDK.
- .NET Framework 2.0 or later
- Json.NET
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Free Trial