simplifies word counting
Project description
Word Frequency and Sentiment Analysis Package
isimplify is a Python library for dealing with word frequency.
Installation
Use the package manager pip to install isimplify.
pip install isimplify
additional requirments
pip install gradio matplotlib PyPDF2
overview
This Python package allows you to analyze word frequencies from text or PDF files, visualize the results using bar plots, and perform sentiment analysis on the text. It includes functionalities to remove stop words, customize the list of stop words, and generate plots for the most frequent words.
The package also provides an interactive Gradio interface to upload PDFs, perform analysis, and view the results.
using UI to interact and visualize the word freq
import isimplify
isimplify.showWindow()
Interactable window for word frequency analysis
Usage
get word freq by reading pdf
import isimplify
word_freq = isimplify.getWord_freq_file_removingStopWords("example.pdf")
print(word_freq)
get word freq by reading pdf (without removing stop words)
import isimplify
text = "This is an example text to analyze."
word_freq = isimplify.getWord_freq_text_removing_StopWords(text)
print(word_freq)
save the plot
import isimplify
text = "This is an example text to analyze."
plot_path = isimplify.plot_top_n_words_text(text, top_n=5)
print(f"Plot saved at: {plot_path}")
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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 isimplify-1.2.3.tar.gz.
File metadata
- Download URL: isimplify-1.2.3.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.5 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97f4622a925a41627e2905700e8c18c200f7fa395705df415881bf9ed08f1093
|
|
| MD5 |
3f6ebcadbc808758f81ac23bd61ea95e
|
|
| BLAKE2b-256 |
d2e123c0e85fab10d9e819404972de3a41822227658575a4091373501e8c74d6
|
File details
Details for the file isimplify-1.2.3-py3-none-any.whl.
File metadata
- Download URL: isimplify-1.2.3-py3-none-any.whl
- Upload date:
- Size: 42.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.5 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
263408ad66fc573c10170b856fe5269a8bca4984748fd5d2117397f828f0d7ef
|
|
| MD5 |
747ac313b4c580233caf1a7cde51508c
|
|
| BLAKE2b-256 |
b956750bc9c78e73f213e2f3303dbb33aa82e241ab19ec70df98cfdf1279b66c
|