In this task, you're given text messages in natural language. Your task is to classify those text messages based on their content into two classes: (1) Spam and (2) Ham messages. If the content of the given message is irrelevant to the receiver or is equally relevant to many other potential recipients then it must be labeled as ‘spam’, otherwise, it should be labeled as ‘ham’.

Q: You have won ?1,000 cash or a ?2,000 prize! To claim, call09050000327. T&C: RSTM, SW7 3SS. 150ppm

A: spam
****
Q: idc get over here, you are not weaseling your way out of this shit twice in a row

A: ham
****
Q: Some of them told accenture is not confirm. Is it true.

A:
ham
****