Skip to content
Discussion options

You must be logged in to vote

The sentiment attribute isn't being automatically filled by any spaCy components - it's there for convenience in case you want to implement sentiment analysis using a rule-based or machine learning approach (using textcat). There's a simple example in the docs for a rule-based approach: https://spacy.io/usage/rule-based-matching#example3.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ibrokhimsadikov
Comment options

@svlandeg
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / doc Feature: Doc, Span and Token objects
2 participants
Converted from issue

This discussion was converted from issue #12544 on April 19, 2023 11:46.