Create generate_ngrams.py
The file can read a csv file and calculate n-grams
generate_ngrams.py can now read the whole directory tree and generate a csv file with all the n-grams
Starting to build the python files to feed the database
Function send_tweets_to_mongodb.py to send all the tweets to a mongodb
Taking into account that a tweet could be represented in different files, if it refers to more than one disease
Debugging
Errata in the comments
Create function send_tweets_one_core.py, which doesn’t use multiprocessing
function add_ngrams_mongo.py, to calculate and insert the n-grams in the database
Avoid empty n-grams fields
Correcting errors with the rank of n-grams for each tweet (a counter had the same name as the variable n for the rank)
In mongo_pruebas.py we have now the skeleton of what is needed to compute frequencies
Merge pull request #9 from JuanIgnacioGil/master

Mongo db scripts for n-gram from Juan