Text Classification
This plugin classifies provided text.
Configuration
{
"source": {
"name": "Text classification",
"id": "e7a3979e-7f31-452b-a571-8ca613de77fb"
},
"language": "en",
"model": "press",
"title": "The iPhone 13 isn’t a game changer",
"text": "The iPhone 13 isn’t a game changer for Apple’s series of smartphones, but it’s an ..."
}
- source.id - Id that points to resource with an access token. See below for resource configuration schema.
- language - language of the text to classify. (en|sp|it|pt|ct|fr)
- title - optional title of the text
- text - text to classify
Resource configuration
{
"token": "dgrhfcd6hhdj706..."
}
Output
Example
{
"categories": [
{
"code": "13016000",
"label": "science and technology - electronics",
"abs_relevance": "0.2833175",
"relevance": "100"
}
]
}
Metadata
Release files for tracardi-text-classification 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tracardi-text-classification-0.6.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tracardi_text_classification-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / tracardi-text-classification-0.6.0.tar.gz
| Download URL | tracardi-text-classification-0.6.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1533310d81c025002989e9f5ef5c1707a9bbd219f28e600e9fdd22a6857954e0
|
|
BLAKE2b-256 checksum How to use checksums |
c5fcd431b7e1fe58124876477935ec0473f8a8fd96be2af190e5c987e5b4e4e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / tracardi_text_classification-0.6.0-py3-none-any.whl
| Download URL | tracardi_text_classification-0.6.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0a29ee116b713de46b06af9a98c46904a32aa3ea7f8e0e94d46820230e15990
|
|
BLAKE2b-256 checksum How to use checksums |
6f2281c622fa96eec383c7d1d73f0b2c05c0ea13563056da809802c3b57b1ae2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|