File size: 174 Bytes
59da9af
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
label_to_sentiment = {
    "POS": "positive",
    "NEG": "negative",
    "NEU": "neutral",
}


def to_nice_sentiment(label: str) -> str:
    return label_to_sentiment[label]