Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ Classify text instantly with pre-trained models—no coding required:

```bash
# Detect spam
classifier classify "You won a free iPhone!" -r sms-spam-filter
classifier -r sms-spam-filter "You won a free iPhone"
# => spam

# Analyze sentiment
classifier classify "This movie was absolutely amazing!" -r imdb-sentiment
classifier -r imdb-sentiment "This movie was absolutely amazing"
# => positive

# Detect emotions
classifier classify "I'm so happy today!" -r emotion-detection
classifier -r emotion-detection "I am so happy today"
# => joy

# List all available models
Expand All @@ -59,7 +59,7 @@ classifier train positive reviews/good/*.txt
classifier train negative reviews/bad/*.txt

# Classify new text
classifier classify "Great product, highly recommend"
classifier "Great product, highly recommend"
# => positive
```

Expand Down