Skip to main content

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

Screenshot 2024-12-06 at 11 36 07 PM

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

MIT

Metadata

Release files for isimplify 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isimplify 1.2.3
File Size Uploaded Provenance Actions
isimplify-1.2.3.tar.gz 41.7 kB Without provenance Details for isimplify-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for isimplify 1.2.3
File Interpreter ABI Platform Actions
isimplify-1.2.3-py3-none-any.whl Python 3 none any Details for isimplify-1.2.3-py3-none-any.whl

Total release size: 83.6 kB

Release files / isimplify-1.2.3.tar.gz

Download URL isimplify-1.2.3.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
97f4622a925a41627e2905700e8c18c200f7fa395705df415881bf9ed08f1093
BLAKE2b-256 checksum
How to use checksums
d2e123c0e85fab10d9e819404972de3a41822227658575a4091373501e8c74d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.5 Darwin/23.5.0

Release files / isimplify-1.2.3-py3-none-any.whl

Download URL isimplify-1.2.3-py3-none-any.whl
Size 42.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
263408ad66fc573c10170b856fe5269a8bca4984748fd5d2117397f828f0d7ef
BLAKE2b-256 checksum
How to use checksums
b956750bc9c78e73f213e2f3303dbb33aa82e241ab19ec70df98cfdf1279b66c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.5 Darwin/23.5.0

Security for isimplify 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page