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.2.tar.gz
(2.3 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.2.tar.gz.
File metadata
- Download URL: text2insights-0.1.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f48a6e99f08c50fbac3a2edf4f3a1ed061c221e7aa10caecd6e305fddd1127
|
|
| MD5 |
7fb5ffc22efe65d4a6f0d24277054b0d
|
|
| BLAKE2b-256 |
d2f83d5113b0b4bc3669bbd7c450afdaf7a275804e7cb8019e097e6887e92a4b
|
File details
Details for the file text2insights-0.1.2-py3-none-any.whl.
File metadata
- Download URL: text2insights-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.8 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 |
93f5fce93fd6c79162b0be176a77b2cedf94f4613de6bcc5f2b05d3adc8414af
|
|
| MD5 |
9119dfdf8e7e075b3c9357ff1ef49505
|
|
| BLAKE2b-256 |
b002d612e4aab424b7fe4f92ddd73044c395963a17eed6c16eaec10a4dd9ab0b
|