Skip to main content

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']
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

entity-classification-0.1.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entity_classification-0.1.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file entity-classification-0.1.3.tar.gz.

File metadata

  • Download URL: entity-classification-0.1.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.5 Windows/10

File hashes

Hashes for entity-classification-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b146ac4ded1e5ec1e1cafbcd131a7c73e1d142c5ed82c0baf99f85defd108b5a
MD5 418306f03d407398fd52b69cdc346fd3
BLAKE2b-256 37cb2e381a4dc756e90528d6a9c8a235a845925093d8785e700ecdad2ed6f61b

See more details on using hashes here.

File details

Details for the file entity_classification-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for entity_classification-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc851b430193309b55d073408620c157ad7f5a9dd67d100d08a768da6b5041f
MD5 2ceb4b9915702ad11a95981ee1d92bab
BLAKE2b-256 3829cc608476f3224defb0b65fdcbc68180143854f8572d7092e6ed91a2fbae1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page