-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue#85: Frequency Analysis Word Cloud #94
base: master
Are you sure you want to change the base?
Conversation
Just updating text mining tool and adding stop words
… track of ideas for implementation
…al-CS/GatorMiner into issue#51" This reverts commit 8b5347d, reversing changes made to 446215a.
… into issue#51 Merge other work on branch with categorization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! See the reviews below.
streamlit_web.py
Outdated
wordcloud.to_file("resources/images/word_cloud.png") | ||
st.image("resources/images/word_cloud.png") | ||
os.remove("resources/images/word_cloud.png") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Paths are hardcoded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find any alternative method that displays the wordcloud in streamlit, and saving and displaying an image of the wordcloud seems to be how other people online display it on streamlit. Would there an alternative way to save and display an image that isn't hardcoded?
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
+ Coverage 92.09% 92.39% +0.30%
==========================================
Files 6 6
Lines 253 263 +10
==========================================
+ Hits 233 243 +10
Misses 20 20
|
What is the current behavior?
This feature was added to GatorMiner by using the collected data in the words frequency analysis and passing it into a package responsible for creating the word cloud. Once the image has been created, it will be displayed on the Streamlit Web Application using Streamlit's API
What is the new behavior if this PR is merged?
Frequency analysis can now be displayed in a word cloud format to plot the data. This is a new feature that shows another interesting way of plotting word frequency.
Type of change
Please describe the pull request as one of the following:
Other information
This PR has:
Developers
@solisa986 @hewittk @hadenwIV @donizk @favourojo