politweet / app.py
Demea9000's picture
added Makefile and app.py
e515291
raw
history blame
437 Bytes
from textclassifier import TextClassifier as tc
def main():
"""
Main function. Runs the program.
:return: None
"""
from_date = input("Enter from date (YYYY-MM-DD): ")
to_date = input("Enter to date (YYYY-MM-DD): ")
user_name = input("Enter user name: ")
text_classifier = tc.TextClassifier(from_date=from_date, to_date=to_date, user_name=user_name, num_tweets=20)
text_classifier.run_main_pipeline()