Skip to content

chuehlien/insight-cc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

The goal of this challenge is to implement two features:

  1. Calculate the total number of times each word has been tweeted.
  2. Calculate the median number of unique words per tweet, and update this median as tweets come in.

Requirements

This solution requires the intallation of 'numpy' library.

Misc

Additional text files have been generated via Ruby for testing purposes. Only 'second.txt' was included due to the size of the other files. 'second.txt' contains 6000 lines of randomly chosen words from the dictionary, with each line of varying length in words. 2

├── README.md  
├── run.sh  
├── src  
│   ├── median_unique.py  
│   └── words_tweeted.py  
├── tweet_input  
│   ├── tweets.txt
│   ├── second.txt  
└── tweet_output  
    ├── ft1.txt  
    └── ft2.txt  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors