-
Notifications
You must be signed in to change notification settings - Fork 287
Description
Current pythainlp commands are ['corpus', 'tokenization', 'soundex', 'tagging'], which are
- not verbs
- not consistent with module names (
.corpus,.tokenize,.transliterate,.tag)
(see: https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/cli/__init__.py )
Verb commands are more intuitive (and many time also shorter).
Example of verb commands:
- git add
- git commit
- git push
- git pull
We should try to use verb commands when possible.
Work in progress in https://github.com/PyThaiNLP/pythainlp/tree/verb-commands
Todo:
thainlp data purgeto remove all downloaded datasets- Add
benchmarkcommand: https://github.com/PyThaiNLP/pythainlp/blob/dev/bin/word-tokenization-benchmark - Write testcases (maybe using subprocess)
- Update document at https://github.com/PyThaiNLP/pythainlp/blob/verb-commands/docs/notes/command_line.rst
- Record usage demo with https://asciinema.org
p16i
Metadata
Metadata
Assignees
Labels
bugbugs in the librarybugs in the library