It connects to the service that classifies given sentence
Project description
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"
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tracardi-text-classification-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1533310d81c025002989e9f5ef5c1707a9bbd219f28e600e9fdd22a6857954e0 |
|
MD5 | 9b7b6aec745414cac7fc11c41723bc90 |
|
BLAKE2b-256 | c5fcd431b7e1fe58124876477935ec0473f8a8fd96be2af190e5c987e5b4e4e3 |
Close
Hashes for tracardi_text_classification-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a29ee116b713de46b06af9a98c46904a32aa3ea7f8e0e94d46820230e15990 |
|
MD5 | dce704e882a95e38fde0f0ad4b570a27 |
|
BLAKE2b-256 | 6f2281c622fa96eec383c7d1d73f0b2c05c0ea13563056da809802c3b57b1ae2 |