The SENTIMENT function in Snowflake Cortex analyzes text and returns a numerical sentiment score between -1 and 1. This value indicates whether the text expresses negative, positive, or neutral sentiment. It accepts English-language text and uses Snowflake’s managed AI models to infer polarity based on contextual understanding. A negative score represents negative emotion, a positive score represents positive emotion, and values near zero indicate neutrality. It is ideal for customer reviews, feedback analysis, and text mining. TRANSLATE is used for language translation, COMPLETE for text generation, and PARSE_DOCUMENT for extracting text from documents—not sentiment analysis. SENTIMENT provides fast, in-database AI inference without external model hosting or integration.
=======================================
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit