reddit-analysis
reddit-analysis copied to clipboard
A Python script that parses post titles, self-texts, and comments on reddit and makes word clouds out of the word frequencies.
Anybody know how to fix? Has Reddit changed too much since this tools most recent release to be salvaged? Thank you. C:\Windows\System32\reddit-analysis>word_freqs myusername /r/news Analyzing /r/news .Traceback (most recent call...
I'm having some trouble running `word_freqs`. When I run the tool each submission is skipped due to ValueError, and the output files are empty. Example: ``` (env) MacBook-Air:reddit-analysis john$ word_freqs...
In the course of completing my thesis, I produced a Jupyter Notebook that used Pandas, Matplotlib, and WordCloud to analyze particular aspects of the subreddit data (e.g., relationships between author,...
When using word_freqs [username] [/u/username] --verbose I ran into this error with out_text `Traceback (most recent call last): File "C:\Python27\Scripts\word_freqs-script.py", line 9, in load_entry_point('redditanalysis==1.0.4', 'console_scripts', 'word_freqs')() File "c:\python27\lib\site-packages\redditanalysis\__init__.py", line 400,...
It looks like Python's Counter module (http://docs.python.org/2/library/collections.html#counter-objects) would simplify some of the code (https://github.com/rhiever/reddit-analysis/blob/master/redditanalysis/__init__.py#L167) by doing the word counting for us. Low priority, but useful to reduce code size.
If any foreign language speakers would like to contribute to `word-freqs` so it can support any other foreign languages, please commit to this issue.
Description of library: http://peekaboo-vision.blogspot.com/2012/11/a-wordcloud-in-python.html Library: https://github.com/amueller/word_cloud Takes the words generated in `word_freqs` and passes them to `word_cloud`.
**What is the motivation behind this request?** - If the word frequency has to be restricted to only a set of submissions on the sub-reddits based on matches with the...