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
Built Distribution
Hashes for entity_recognition_lib-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf0e087aa4b03e357e9f8d97c2a8067014ca4f99ae0e1d74679b9c56541c30c |
|
MD5 | 53d7c1f360e4076972aeeabafc426088 |
|
BLAKE2b-256 | 6606d0ad995f257860ff0533bd38ba86321aa8a3f75b4237bd04cdac99534cdb |
Hashes for entity_recognition_lib-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282752b7dec7b6d12175082759468cb74797a0f0da43ab926c28b635a2bb9f3e |
|
MD5 | 6d545e11fb97345f1f956c4f123628bc |
|
BLAKE2b-256 | 1fa506a682e9533088d0fa6cd511924fbca25a3f61d46c8f5f00425340826d53 |