YumnaBatool / median-and-word-count-of-tweets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COUNTING WORD FREQUENCY AND MEDIAN OF UNIQUE WORDS COUNT FOR ALL TWEETS:

1- This code is written in python

2- The src folder contains two files "median_unique.py" and "words_tweeted.py"

3- Both files read input tweets from tweets.txt file present in tweet_input folder

4- "median_unique.py" calculates the median of unique words after every tweet and writes output in "ft1.txt" file present in tweet_output folder

5- "words_tweeted.py" counts word frequency and writes output in "ft2.txt" file present in tweet_output folder

6- "run.sh" is the file used to compile all files and folders

About


Languages

Language:Python 90.8%Language:Shell 9.2%