sawaw/sawaw/sentiments.py

10 lines
136 B
Python
Raw Normal View History

2023-11-13 22:37:32 +01:00
from enum import Enum
class SentimentResult(Enum):
POSITIVE = 2
NEUTRAL = 1
NEGATIVE = 0
NONE = -1
UNDEFINED = -2