entity-classification
Perform Entity Classification via two inputs: entity_names: list and input_tokens: list
Assume you wish to classify network_topology and you have these tokens extracted from your text:
[
'edge',
'network',
'moderate',
'cat5',
'topology',
'locate'
]
Use this code
from entity_classification import classify
classify(entity_names=['network_topology'], input_tokens=input_tokens)
The result will be
{
'result': ['network_topology'],
'tokens': ['network', 'topology']
}
Metadata
Release files for entity-classification 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| entity-classification-0.1.3.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entity_classification-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / entity-classification-0.1.3.tar.gz
| Download URL | entity-classification-0.1.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b146ac4ded1e5ec1e1cafbcd131a7c73e1d142c5ed82c0baf99f85defd108b5a
|
|
BLAKE2b-256 checksum How to use checksums |
37cb2e381a4dc756e90528d6a9c8a235a845925093d8785e700ecdad2ed6f61b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.5 Windows/10
|
Release files / entity_classification-0.1.3-py3-none-any.whl
| Download URL | entity_classification-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cc851b430193309b55d073408620c157ad7f5a9dd67d100d08a768da6b5041f
|
|
BLAKE2b-256 checksum How to use checksums |
3829cc608476f3224defb0b65fdcbc68180143854f8572d7092e6ed91a2fbae1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.5 Windows/10
|