If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Installation
Das Paket ist verfügbar bei PyPI und kann über pip mit folgendem Befehl installiert werden:
pip install groupdocs-classification-cloud

Anforderungen
Abhängigkeiten
Das SDK installiert automatisch die folgenden Pakete:
| Package | Constraint |
|---|
| urllib3 | >= 1.15 |
| six | >= 1.10 |
| certifi | — |
| python-dateutil | — |
Dokumentenklassifizierung Python Cloud REST API
GroupDocs.Classification Cloud SDK für Python ist eine leistungsstarke REST API für Entwickler, die erweiterte Text- und Dokumentenklassifizierungsfunktionen benötigen. Mit Unterstützung für mehrere Dokumentenformate und eine breite Palette von Taxonomien können Sie Rohtext, Dokumente und Textstapel in verschiedene Kategorien klassifizieren, darunter IAB-2-, Documents- und Sentiment-Taxonomien. Die API ist mit JWT Authentication gesichert, und das Python SDK vereinfacht die Integration in Ihre Web-Apps, Skripte und Automatisierungs-Workflows.
Dokumentenklassifizierungsfunktionen
Unterstützung für Dateiformate - Klassifizieren Sie Text und Dokumente in vielen Formaten wie PDF, DOCX, TXT.
Mehrsprachige Unterstützung - Klassifizieren Sie Dokumente in mehreren Sprachen, darunter Englisch, Chinesisch, Spanisch und Deutsch.
Benutzerdefinierte Klassifizierung - Erstellen Sie benutzerdefinierte Klassifizierungskategorien nach Ihren Anforderungen.
Stapelklassifizierung - Klassifizieren Sie bis zu 10 Texte in einer Anfrage.
Inhaltsbasierte Klassifizierung - Klassifizieren Sie Dokumente basierend auf ihrem Textinhalt.
Taxonomie-Klassifizierungsfunktionen
IAB-2-Taxonomie - Klassifizierung mit der IAB-2-Standardtaxonomie für digitale Inhalte und Werbung.
Dokumententaxonomie - Klassifizieren Sie Dokumente in Kategorien wie ADVE, Email, Form, Letter, Memo, Invoice, Report, Resume.
Sentiment-Taxonomie - Klassifizieren Sie Text in Positive oder Negative Sentiment.
Sentiment3-Taxonomie - Klassifizieren Sie Text in Positive, Neutral oder Negative Sentiment.
API-Integrationsfunktionen
RESTful API - Zugriff auf Klassifizierung über eine REST API für einfache Integration.
Echtzeit-Klassifizierung - Führen Sie Echtzeit-Klassifizierung von Text und Dokumenten durch.
JSON- und XML-Antworten - Erhalten Sie Ergebnisse in JSON oder XML für einfache Systemintegration.
Sicherheits- und Authentifizierungsfunktionen
JWT Authentication - Sicherer API-Zugriff mit JWT Authentication.
Client ID and Secret - Verwenden Sie Client ID and Secret für sichere API-Aufrufe.
Datenverschlüsselung - Verschlüsseln Sie die Kommunikation zwischen Client-Anwendungen und Classification Cloud API.
Leistungsfunktionen
Skalierbare Infrastruktur - Verarbeitet große Dokumentenmengen effizient.
Hohe Genauigkeit - Liefert hochpräzise Ergebnisse mit fortschrittlichen ML-Algorithmen.
Schnelle Verarbeitung - Optimiert für schnelle Klassifizierung in leistungsstarken Anwendungen.
Lizenzierung und Authentifizierung
Evaluierungsmodus - Testen Sie die API mit einem kostenlosen Testkonto.
Sichere Authentifizierung - Verwenden Sie Client ID and Client Secret für sicheren API-Zugriff.
MIT License - Das Python SDK ist unter der MIT License lizenziert.
GroupDocs.Classification Cloud unterstützt die Klassifizierung für folgende Dateiformate:
| Format Name | Extension |
|---|
| Portable Document Format | PDF |
| Words Document Formats | DOC, DOCX, DOCM, DOT, DOTX, DOTM |
| Rich Text Formats | RTF |
| Plain Text File | TXT |
| OpenDocument Formats | ODT, OTT |
Die vollständige Formatliste finden Sie in der Dokumentation.
Unterstützte Taxonomien
IAB-2-Taxonomie - Kategorien wie Automotive, Books & Literature, Business & Finance, Technology & Computing, Travel und mehr.
Documents Taxonomy - Klassifizierungen wie ADVE, Email, Form, Letter, Memo, News, Invoice, Report, Resume, Scientific, Other.
Sentiment Taxonomy - Binäre Sentiment-Klassifizierung: Negative und Positive.
Sentiment3 Taxonomy - Drei-Klassen-Sentiment: Negative, Neutral, Positive.
Details zu Taxonomien finden Sie in der Dokumentation.
Schnellstart
Um GroupDocs.Classification Cloud zu verwenden, registrieren Sie sich im GroupDocs.Cloud Dashboard und holen Sie sich Ihre Client ID und Ihr Client Secret.
API initialisieren
Verwenden Sie den folgenden Code, um mit der Verwendung des GroupDocs.Classification Cloud SDK für Python zu beginnen:
import groupdocsclassificationcloud
from groupdocsclassificationcloud import ClassificationApi, Configuration
# Get your ClientId and ClientSecret at https://dashboard.groupdocs.cloud
client_id = "YourClientId"
client_secret = "YourClientSecret"
# Create API configuration
configuration = Configuration(client_id, client_secret, "https://api.groupdocs.cloud")
# Create instance of the Classification API
classification_api = ClassificationApi(configuration=configuration)
Rohtext klassifizieren
Verwenden Sie nach der Initialisierung dieses einfache Beispiel, um Rohtext zu klassifizieren:
import groupdocsclassificationcloud
from groupdocsclassificationcloud import ClassificationApi, Configuration, BaseRequest, ClassifyRequest
client_id = "YourClientId"
client_secret = "YourClientSecret"
configuration = Configuration(client_id, client_secret, "https://api.groupdocs.cloud")
classification_api = ClassificationApi(configuration=configuration)
request = ClassifyRequest(BaseRequest("Try text classification"), 3)
result = classification_api.classify(request)
print("Best class name = " + result.best_class_name)
print("Best class probability = " + str(result.best_class_probability))
Mit dieser Kurzanleitung können Sie mit der Klassifizierung von Text und Dokumenten mithilfe von GroupDocs.Classification Cloud in Ihren Python-Anwendungen beginnen. Weitere Informationen finden Sie in der Dokumentation.
Rufen Sie die vollständige Liste der über die Classification API unterstützten Dateiformate ab.
import groupdocsclassificationcloud
from groupdocsclassificationcloud import ClassificationApi, Configuration, GetSupportedFileFormatsRequest
client_id = "YourClientId"
client_secret = "YourClientSecret"
configuration = Configuration(client_id, client_secret, "https://api.groupdocs.cloud")
classification_api = ClassificationApi(configuration=configuration)
request = GetSupportedFileFormatsRequest()
response = classification_api.get_supported_file_formats(request)
print("Supported file-formats:")
for fmt in response.formats:
print("{0} ({1})".format(fmt.file_format, fmt.extension))
Dokument aus Cloud-Speicher klassifizieren
Klassifizieren Sie ein in GroupDocs Cloud-Speicher abgelegtes Dokument mithilfe der Documents-Taxonomie.
import groupdocsclassificationcloud
from groupdocsclassificationcloud import ClassificationApi, Configuration, BaseRequest, ClassifyRequest, FileInfo
client_id = "YourClientId"
client_secret = "YourClientSecret"
configuration = Configuration(client_id, client_secret, "https://api.groupdocs.cloud")
classification_api = ClassificationApi(configuration=configuration)
request = ClassifyRequest(
BaseRequest(document=FileInfo(name="test_multi_pages.docx", folder="Temp/SdkTests/python"))
)
result = classification_api.classify(request)
print("Best class name = " + result.best_class_name)
print("Best class probability = " + str(result.best_class_probability))
Text mit Sentiment-Taxonomie klassifizieren
Führen Sie binäre oder Drei-Klassen-Sentimentanalyse für Rohtext durch.
import groupdocsclassificationcloud
from groupdocsclassificationcloud import ClassificationApi, Configuration, BaseRequest, ClassifyRequest
client_id = "YourClientId"
client_secret = "YourClientSecret"
configuration = Configuration(client_id, client_secret, "https://api.groupdocs.cloud")
classification_api = ClassificationApi(configuration=configuration)
request = ClassifyRequest(
BaseRequest("This product exceeded my expectations!"),
best_classes_count=1,
taxonomy="Sentiment3"
)
result = classification_api.classify(request)
print("Sentiment = " + result.best_class_name)
Beispielprojekte auf GitHub
Das GroupDocs.Classification Cloud Python SDK-Repository enthält sofort ausführbare Unit-Tests und Beispiele für:
| Category | Examples |
|---|
| Text Classification | Classify raw text with IAB-2 taxonomy |
| Document Classification | Classify documents stored in cloud storage |
| Info | Supported file formats |
| Sentiment Analysis | Binary and three-class sentiment classification |
Beispiele ausführen
- Klonen oder laden Sie das SDK-Repository herunter
- Bearbeiten Sie
Settings/servercreds.json und setzen Sie Ihre AppSid und AppKey - Abhängigkeiten installieren:
pip install groupdocs-classification-cloud -U - Tests aus dem Repository-Stammverzeichnis ausführen:
python -m unittest discover -s test
Weitere Informationen finden Sie unter Getting Started.

Document Classification API | Python Cloud API | GroupDocs.Classification Cloud | REST API | Text Classification | Document Taxonomy | IAB-2 Taxonomy | Sentiment Taxonomy | Sentiment3 Taxonomy | JWT Authentication | Multi-language Support | Batch Classification | Content-Based Classification | Real-time Classification | Sentiment Analysis | Machine Learning Classification | High Accuracy Classification | Secure API Access | Cloud Storage Integration | Customer Feedback Analysis | Social Media Monitoring | Cross-platform API