Swarmauri Community Entity Recognition Tool
Project description
Entity Recognition Tool
A Swarmauri tool that extracts named entities from text using a pre-trained NLP model.
Installation
pip install swarmauri_tool_entityrecognition
Usage
Here's a basic example of how to use the Entity Recognition Tool:
from swarmauri.tools.EntityRecognitionTool import EntityRecognitionTool
# Initialize the tool
tool = EntityRecognitionTool()
# Example text for entity recognition
text = "Apple Inc. is an American multinational technology company."
# Get entities from the text
result = tool(text=text)
# The result will contain entities in JSON format
# Example output: {"I-ORG": ["Apple", "Inc"], "I-MISC": ["American"]}
print(result["entities"])
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_tool_entityrecognition-0.7.0.dev5.tar.gz.
File metadata
- Download URL: swarmauri_tool_entityrecognition-0.7.0.dev5.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f5c79f63d34818ed4f340f3a9857f2c2fb83efaa70da10ce99dc20a16bcb260
|
|
| MD5 |
4b0e8372a7f17f56a2371a80c7d8828b
|
|
| BLAKE2b-256 |
8e921b24ab57fe360f1b4460197f9fb48f4ac8117d78d921bc64da95aa95a3cc
|
File details
Details for the file swarmauri_tool_entityrecognition-0.7.0.dev5-py3-none-any.whl.
File metadata
- Download URL: swarmauri_tool_entityrecognition-0.7.0.dev5-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4527a33aae89dbcf476e28104a0f52a12308a35fc8f24efe7301441da99577f7
|
|
| MD5 |
01f2f3668f6150183819228bfe0cd8ad
|
|
| BLAKE2b-256 |
a83f478c6e8e88e424f68a352312b06584d3e113da35d0d34140110b3e4dfe94
|