remove python -m

This commit is contained in:
Samuel Sloniker 2022-07-19 17:02:57 -07:00
parent b61ad35ae7
commit 73b800d60d

View File

@ -14,7 +14,7 @@ GPTC provides both a CLI tool and a Python library.
### Classifying text
python -m gptc classify [-n <max_ngram_length>] <compiled model file>
gptc classify [-n <max_ngram_length>] <compiled model file>
This will prompt for a string and classify it, then print (in JSON) a dict of
the format `{category: probability, category:probability, ...}` to stdout. (For
@ -22,14 +22,14 @@ information about `-n <max_ngram_length>`, see section "Ngrams.")
Alternatively, if you only need the most likely category, you can use this:
python -m gptc classify [-n <max_ngram_length>] <-c|--category> <compiled model file>
gptc classify [-n <max_ngram_length>] <-c|--category> <compiled model file>
This will prompt for a string and classify it, outputting the category on
stdout (or "None" if it cannot determine anything).
### Compiling models
python -m gptc compile [-n <max_ngram_length>] <raw model file>
gptc compile [-n <max_ngram_length>] <raw model file>
This will print the compiled model in JSON to stdout.