Project - Building Spam Classifier

9 / 27

Spam Classifier - Check Content of Emails

Now we will look at one example of ham and one example of spam, to get a feel of what the data looks like.

INSTRUCTIONS
  • You can use the following commands to check the content of a ham email:

    print(ham_emails[1].get_content().strip())
    
  • You can use the following commands to check the content of a spam email:

    print(spam_emails[6].get_content().strip())
    
Get Hint See Answer

Loading comments...