File size: 359 Bytes
e45ddff
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from utils.nlp_utils import analyze_sentiment

print("Testing Positive:")
print(analyze_sentiment("This is an absolutely fantastic product, highly recommend!"))

print("\nTesting Negative:")
print(analyze_sentiment("What a terrible waste of money. Completely broken."))

print("\nTesting Neutral:")
print(analyze_sentiment("The package arrived on Tuesday."))