# businesses_results.count()
    # for item in range(1000):        
    #    query = {"business_id" : unicode(businesses_results[item]["business_id"])}                
        
    count = 1       
    query = {"sentiment" : { "$lt" : -0.05 }}
    for review in db.reviewsSentiment.find(query):                                    
        reviewsSet.append(review["text"])
        sys.stdout.write("\r" + "%d reviews processed" % count)
        sys.stdout.flush()
        count += 1
        # if count == 10:
        #     break
    
    print "\nReviews processing done!"    
    tm.buildTopicModel(reviewsSet)

    # count = 1  
    # for tip in db.tips.find():
    #     tipsSet.append(tip["text"])
    #     sys.stdout.write("\r" + "%d tips processed" % count)
    #     sys.stdout.flush()
    #     count += 1
    #     # if count == 10000:
    #         # break

    # print "\nTips processing done!"
    # tm.analyzeSentiment(reviewsSet)
            
    # print "Reviews %d" % db.reviews.find(query).count()
    # print "Tips %d" % db.tips.find(query).count()