def cmdline(argv=sys.argv[<NUM_LIT:1>:]):
parser = ArgumentParser(<EOL>description='<STR_LIT>')<EOL>parser.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>parser.add_argument('<STR_LIT:source>', help='<STR_LIT>')<EOL>options = parser.parse_args(argv)<EOL>factory = StopWordFactory()<EOL>language = options.language<EOL>stop_words = factory.get_stop_words(language, fail_safe=True)<EOL>content = open(options.source, '<STR_LIT:rb>').read().decode('<STR_LIT:utf-8>')<EOL>print(stop_words.rebase(content))<EOL>
Script for rebasing a text file