You are on page 1of 1

Natural Language Processing

Assignment#3

Given the following dataset:

Doc Text Class


1 i loved the movie P
2 i hated the movie N
3 a great movie good movie P
4 poor acting N
5 great acting a good movie P

Use the Naïve Bayes algorithm to predict the class of following movie review.

i hated the poor acting

You might also like