Closed jeroenjanssens closed 10 years ago
Great package! Wouldn't it be nice if you could invoke the scripts with something like:
$ nltk train movie_reviews --instances paras --classifier NaiveBayes $ nltk analyze --sort count --reverse
instead of:
$ python train_classifier.py movie_reviews --instances paras --classifier NaiveBayes $ python analyze_tagged_corpus.py treebank --sort count --reverse
so that this is truly a command-line tool? Shouldn't be too much work using docopt and adding a console_script entry point in setup.py. What do you think?
Thanks, I like the idea. I don't have the time to work on it right now, but you're welcome to fork & contribute.
Great package! Wouldn't it be nice if you could invoke the scripts with something like:
instead of:
so that this is truly a command-line tool? Shouldn't be too much work using docopt and adding a console_script entry point in setup.py. What do you think?