def main(args): dates = F.get_date_list(args) for i in range(len(dates) - 1): d0, d1 = F.get_dates(i, dates) print("Running for", d0) gt = GetTopics(args, d0) gt.import_data().vectorize().get_best().save_aspects().get_visual() print("Topics for", d0, "found and saved")
def main(args): F.set_up_folders(args) dates = F.get_date_list(args) for i in range(len(dates) - 1): d0, d1 = F.get_dates(i, dates) print("Running for", d0) gt = GetTweets(args, d0, d1) gt.get_tweets().fill_list().save() print("Done", d0, "found", len(gt.all_info), "tweets")
def main(args): dates = F.get_date_list(args) for i in range(len(dates) - 1): d0, d1 = F.get_dates(i, dates) pt = ProcessTweets(args, d0) pt.read_data() \ .get_user() \ .get_islanders() \ .add_dummy_cols() \ .format_time() \ .contains_pic() \ .apply_processing() \ .get_sentiment() \ .weighted_sentiment() \ .save()