From 73b800d60d5f721310d5de895ab47d70a3b1fdc1 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Tue, 19 Jul 2022 17:02:57 -0700 Subject: [PATCH] remove `python -m` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38926e0..cd701d4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ GPTC provides both a CLI tool and a Python library. ### Classifying text - python -m gptc classify [-n ] + gptc classify [-n ] 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 `, see section "Ngrams.") Alternatively, if you only need the most likely category, you can use this: - python -m gptc classify [-n ] <-c|--category> + gptc classify [-n ] <-c|--category> 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 ] + gptc compile [-n ] This will print the compiled model in JSON to stdout.