In this task, you are given books product reviews in English language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.

Ex Input:
A book full of examples of how NOT to write perl . I couldn't resist the title, so I got this book. Unfortunately, I cannot reccommend it to people who want to learn to write better Perl, execpt as a source of examples of the mistakes you should avoid.    For example, in one of the earliest examples, the authors uses "return undef" in a situation where the return value of the routine is assigned to an array, to indicate the routine didn't find any of whatever it was looking for. Unfortunately, this is a mistake, the correct code would be to use "return;" all on its own. The correct solution produces an empty array or interim values; the mistake creates an array containing one element, 'undef'.    There are a number of similar mistakes which indicate the author is in over his head, writing things he doesn't understand; the editors know even less about the matter; and the code was never tested and verified for correctness.    If you want to learn Perl, get "Learning Perl"; If you want to improve your Perl, get "Intermediate Perl.    To

Ex Output:
NEG


Ex Input:
lack of examples and horrible explanations make a ghastly diffE text . Because the guy who initiated the project of writing the book is here at Rice, the rest of us are unlucky enough to have to use this book. If your class uses this book, prepare to go to class. All the time. That's because if you fall behind, the book does not do a good job of explaining things to you. Examples are generally vague and only apply to a few types of problems provided at the back of each section. A lot of the time, I'd find myself stumped on a problem, looking back, and realizing there was no example problem for me to get ideas from.    Yes there are lots of problems and that's good, in a way. But what's the point of having all those problems if the book never teaches you how to do them?    Furthermore, it is a poorly written book. Generally, reading through the book is like searching for a needle in a haystack. Literally speaking. You spend all that time figuring out what the authors talk about and once you figure it out, it was not even worth all that time.    So go to class. All the time. If the prof isnt that great, get yourself another workbook. I havent seen Schaum's but I'm pretty sure they'll do a better job on covering the topics than this text does

Ex Output:
NEG


Ex Input:
Extremely disappointing. . Although claiming to be a study of human-animal relationships, this book  offers an endless recital of man's inhumanity to man, to support the book's  theme that man's history with animals has been even worse. Very poorly  thought out and extremely long-winded, this book reads like an overblown  Usenet message--&quot;those other people are all so horrible, but we animal  lovers are OK, aren't we?&quot; Oddly, Serpell seems so rooted in the very  &quot;human supremacist&quot; philosophy that he rails against, that he  ends up reinforcing that very philosophy. Not enlightening at all; I feel  like a pall has been cast over my relationships with both people and  animals. You would learn far more by taking the money and time you might  waste on this book, and spending them on your own dog or cat or whatever  animal you please

Ex Output:

NEG