Project Intro an online giftbasket company clien wants to do

Project Intro: an online gift-basket company (clien) wants to do a marketing campaign know campaign marketing of past customers. Their database contains over 100,000 and they need to which orders came from businesses and which came from personal (private) sources. to Unfortunately, there is no box on the order for to indicate which is which. Your job is figure it out for the client. Specifically: create an algorithm which can correctly decide if a specific order is from a business or from a private source, based on the order form specifically, the personal greeting that accompanies the basket. The personal greeting contains up to 120 characters and is written by customer who purchased the order. Some examples of personal greeting messages is given on a separate page. You may assume the algorithm can manipulate the message in any straightforward sort of way for example, you can count up the number of \"A\" letters in the message, or the number of words, or check capitalization, or see if the word \"big\" comes just before the word \"party whatever you think is appropriate Your algorithm should ultimately be written in rough pseudo-code (computer-like syntax without worrying about actual programming language issues). It should ultimately make a decision (business or private) in every single case. Your assessment will be based on how well your algorithm works, how complete it is, how well explained it is... and how well you justify it\'s success.

Solution

//let\'s keep score int business = 0; int personal = 0; if(last_character = \".\") // if last character is a full stop business++ ; // increment business value by 1 // can generalize this for consecutive punctuation if(Consecutive Capital letters >= 6 OR consecutive exclamation marks >2) personal ++ ; // CAPS message or very EXCITED if(message contains words {\"love\",\"birthday\",\"mom\",\"dad\",\"<3\",\":)\", .. all smileys}) personal = personal +2; if(number exclamation marks (!) > 3) personal ++; if (message contains words {\"management\",\"team\",\"business\",\"service\",\"customer\",\"company\",\"appreciate\" etc.}) business = business + 2; //add 3 points if (number of commas >4) business ++; // and so on .. add your own innovative rules // in the end just compare and return if ( business > personal ) return \"business greeting\"; else return \"personal greeting\"; //Do this whole process for each input in a loop
 Project Intro: an online gift-basket company (clien) wants to do a marketing campaign know campaign marketing of past customers. Their database contains over 1

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site