Question: Write a C++ computer program that reads one sentence (as if an email msg) from the user and decide if it should go to SPAM
Write a C++ computer program that reads one sentence (as if an email msg) from the user and decide if it should go to SPAM or Inbox The program should print the final probability (or Likelehood if you wish) and the final decision. Use the same dictionary that we use in the lecture. Your program should be well structured.
the image can help in sol.
offer is secret
click secret link
secret sport link
play sport today
went play sport
secret sport event
sport is today
sport cost money
(SPAM) soffer is secret click sechet link Secret sport link. Inbox Went play sport event sport PL email content SPAM) e play sport today Secret Joly P (spam email content eg P(SPAM | sport is secret (SPAM) soffer is secret click sechet link Secret sport link. Inbox Went play sport event sport PL email content SPAM) e play sport today Secret Joly P (spam email content eg P(SPAM | sport is secret
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
