Extract sentiment, keywords, and entities from text.
Project description
text2insights
A Python package to extract:
- ✅ Sentiment (positive / negative / neutral)
- ✅ Keywords (using TF-IDF)
- ✅ Named Entities (ORG, PERSON, GPE, MONEY)
🔧 Installation
pip install text2insights
## Usage
```from text2insights import analyze_text
text = "South African Reserve Bank raised interest rates to fight inflation."
print(analyze_text(text))
``
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
text2insights-0.1.1.tar.gz
(2.4 kB
view details)
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 text2insights-0.1.1.tar.gz.
File metadata
- Download URL: text2insights-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca1ba2f4825cf453c5d878eab605aba4946c79f3847ee5101167bf5f10dd5e9b
|
|
| MD5 |
a3438a37d0b063f0d3eea361a30bdfd3
|
|
| BLAKE2b-256 |
5ea4ce5a0646d3a1958ea3b5cd3fc5d71af8b23b1750f085d74d9490f156007c
|
File details
Details for the file text2insights-0.1.1-py3-none-any.whl.
File metadata
- Download URL: text2insights-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d3c1af2a5c84b68aade38bb8dd63e47113cc18aac7340c20c11f7b1f1d8462
|
|
| MD5 |
5f45a7d789d8c4d4f3dc52fbdcc60888
|
|
| BLAKE2b-256 |
f35874eaa208ea89c2e5436ac2c88ae178fe3ec4869853c29a702f2c50152985
|