sentiment
Classify text polarity in English or Chinese using installed pretrained models, returning compound scores or per-sentence labels and auto-selecting an available engine.
Instructions
Sentiment classification with pretrained models.
English: NLTK VADER (valence lexicon, compound score). Chinese: stanza neural classifier (REN model) with per-sentence labels - a trained model, not a lexicon lookup. Use auto to get the best installed engine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | auto | |
| text | Yes | ||
| engine | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||