-
Notifications
You must be signed in to change notification settings - Fork 0
This program takes a text file as input and analyzes it in terms of number of times each word appears in a text. It takes advantage of visualizing results using self-crafted histogram function as well as built-in matplotlib capabilities.
vstadn/text_analysis
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
You can use file with words that you don't want to be taken into account while analyzing text (stop words option).
Additionally, this code is capable of scraping file from url and analyzing it as well (url option).
usage: text_analysis.py [-h] -i INPUT [-s STOPWORDS] [-a ALGORITHM] [-u URL]
[-p PLOT]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input file that needs to be analyzed(required).
-s STOPWORDS, --stopwords STOPWORDS
File with the list of stop words(optional).
-u URL, --url URL URL or not
-p PLOT, --plot PLOT yes if you want to plot it
About
This program takes a text file as input and analyzes it in terms of number of times each word appears in a text. It takes advantage of visualizing results using self-crafted histogram function as well as built-in matplotlib capabilities.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published