Skip to main content

A library for technology entity recognition and recommendation

Project description

Entity Recognition Library

Purpose

The Entity Recognition serves as a library for identifying technological entities within texts and suggesting relevant technologies using advanced NLP techniques.

Installing the Library

Integrate our library into your project by installing it directly from PyPI:

pip install entity-recognition-lib

The required spaCy model (en_core_web_sm) will be automatically downloaded and installed if not already present on your system.

Using the Library

Here's how to use the Entity Recognition library in your Python scripts:

from entity_recognition_lib import EntityRecognizer

recognizer = EntityRecognizer()
texts = ["Your text here"]
results = recognizer.process_texts(texts)
print(results)

Expected Output

The library processes text to identify and categorize technology entities, delivering structured output that includes identified entities and contextual recommendations.

Example output:

[
  {
    "input_text": "Example text with technology entities",
    "predicted_topic_name": "topic_name",
    "extracted_entities": [
      {
        "entity_name": "entity_1",
        "score": 0.9,
        "category": "Category 1"
      },
      {
        "entity_name": "entity_2",
        "score": 0.8,
        "category": "Category 1"
      }
    ],
    "recommendations": [
      {
        "category": "Category 1",
        "recommendation": "entity_1"
      }
    ]
  }
]

For detailed usage examples and code snippets, please refer to the examples directory in the repository. The examples cover various scenarios, including:

  • Basic usage of the library for entity recognition and recommendation generation
  • Advanced features such as result analysis and visualization
  • Integration samples with popular frameworks like Flask and Streamlit

We recommend exploring the examples to understand how to effectively utilize the Entity-Recognition library in your projects.

Contributing

If you consider contributing to the Entity Recognition library, make sure to check out our Contributing Guide and our Development Guide, for more information on how to run and test the project locally. You are welcome to expand the technology entities corpus or add a new feature.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

entity_recognition_lib-0.1.6.tar.gz (16.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_recognition_lib-0.1.6-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file entity_recognition_lib-0.1.6.tar.gz.

File metadata

  • Download URL: entity_recognition_lib-0.1.6.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for entity_recognition_lib-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4cf0e087aa4b03e357e9f8d97c2a8067014ca4f99ae0e1d74679b9c56541c30c
MD5 53d7c1f360e4076972aeeabafc426088
BLAKE2b-256 6606d0ad995f257860ff0533bd38ba86321aa8a3f75b4237bd04cdac99534cdb

See more details on using hashes here.

File details

Details for the file entity_recognition_lib-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for entity_recognition_lib-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 282752b7dec7b6d12175082759468cb74797a0f0da43ab926c28b635a2bb9f3e
MD5 6d545e11fb97345f1f956c4f123628bc
BLAKE2b-256 1fa506a682e9533088d0fa6cd511924fbca25a3f61d46c8f5f00425340826d53

See more details on using hashes here.

Supported by

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