Skip to main content

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.

Metadata

Release files for entity-recognition-lib 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entity-recognition-lib 0.1.6
File Size Uploaded
entity_recognition_lib-0.1.6.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for entity-recognition-lib 0.1.6
File Interpreter ABI Platform
entity_recognition_lib-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 34.2 kB

Release files / entity_recognition_lib-0.1.6.tar.gz

Download URL entity_recognition_lib-0.1.6.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4cf0e087aa4b03e357e9f8d97c2a8067014ca4f99ae0e1d74679b9c56541c30c
BLAKE2b-256 checksum
How to use checksums
6606d0ad995f257860ff0533bd38ba86321aa8a3f75b4237bd04cdac99534cdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1018-azure

Release files / entity_recognition_lib-0.1.6-py3-none-any.whl

Download URL entity_recognition_lib-0.1.6-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
282752b7dec7b6d12175082759468cb74797a0f0da43ab926c28b635a2bb9f3e
BLAKE2b-256 checksum
How to use checksums
1fa506a682e9533088d0fa6cd511924fbca25a3f61d46c8f5f00425340826d53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page