From 0fffda8fe8a31656af8fc3b998d1ea201b5e745b Mon Sep 17 00:00:00 2001 From: scoopgracie Date: Fri, 14 Aug 2020 16:11:42 -0700 Subject: [PATCH] classify returns None, not 'unknown' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a755d0..737bdd6 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ as JSON). If the model is raw (a list), it will print a big warning on stderr. ### `Classifier.classify(text)` Classify `text` with GPTC using the model used to instantiate the `Classifier`. Returns the category into which the text is placed (as a -string), or `'unknown'` when it cannot classify the text. +string), or `None` when it cannot classify the text. ## Model format Since you never really need to mess with compiled models, I won't discuss