def prepare_predict(self):
    from utils.task_helpers import prepare_predict
    parser = ArgParseDefault(description='Prepare data for prediction with the text-classification library.                 This function generates two files (1 for text 1 for IDs/created_at) under data/other. The text.csv file can then be predicted.')
    parser.add_argument('--start_date', required=False, default=None, help='Filter start date')
    parser.add_argument('--end_date', required=False, default=None, help='Filter end date')
    add_bool_arg(parser, 'anonymize', default=True, help='Replace usernames and URLs with filler (@user and <url>)')
    parser.add_argument('--url_filler', required=False, default='<url>', help='Filler for urls (if anonymize)')
    parser.add_argument('--user_filler', required=False, default='@user', help='Filler for user names (if anonymize)')
    args = parser.parse_args(sys.argv[2:])
    prepare_predict(args)
def prepare_predict(self):
    from utils.task_helpers import prepare_predict
    parser = ArgParseDefault(description='Prepare data for prediction with the text-classification library.                 This function generates two files (1 for text 1 for IDs/created_at) under data/other. The text.csv file can then be predicted.')
    parser.add_argument('--start_date', required=False, default=None, help='Filter start date')
    parser.add_argument('--end_date', required=False, default=None, help='Filter end date')
    add_bool_arg(parser, 'anonymize', default=True, help='Replace usernames and URLs with filler (@user and <url>)')
    parser.add_argument('--url_filler', required=False, default='<url>', help='Filler for urls (if anonymize)')
    parser.add_argument('--user_filler', required=False, default='@user', help='Filler for user names (if anonymize)')
    args = parser.parse_args(sys.argv[2:])
    prepare_predict(args)