f"The token \"{input_token}\" has {negative_count} negative, {neutral_count} neutral, and {positive_count} positive appearance(s) in the training data.")
ifscore>0:
print(
f"The token \"{input_token}\" has a differential tf-idf score of {score} and is classified as positive")
else:
print(
f"The token \"{input_token}\" has a differential tf-idf score of {score} and is classified as negative")
else:
print(
f"The token \"{input_token}\" does not appear in the training data.")
# Option: 5
defshow_sentence_stats(data):
reviews=get_reviews(data)
input_tokens=input(
"Enter a sentence as space-separated tokens: ").split()