fix usage text: one comment, not one tweet

This commit is contained in:
Rob Speer 2016-01-12 13:05:38 -05:00
parent 115c74583e
commit 8d9668d8ab

View File

@ -4,7 +4,7 @@ import argparse
def main(): def main():
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('filename', help='filename of input file containing one tweet per line') parser.add_argument('filename', help='filename of input file containing one comment per line')
parser.add_argument('outprefix', help='prefix of output filenames') parser.add_argument('outprefix', help='prefix of output filenames')
args = parser.parse_args() args = parser.parse_args()
tokenize_by_language(args.filename, args.outprefix, tokenizer=cld2_reddit_tokenizer) tokenize_by_language(args.filename, args.outprefix, tokenizer=cld2_reddit_tokenizer)