Naive Bayes

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:
    I have to write a program in Unix to do the following.Given a phrase like george hates john, by using naive Bayes to be able to restore the cases in the phrase and generate George hates John.I am not very familiar with Unix and i would appreciate any help

  2. Relevant commands, code, scripts, algorithms

Naive Bayes Algorithm

  1. The attempts at a solution (include all code and scripts):

I don't know where to begin from.

  1. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course)
    University of Patra,Patra,Greece,prof.Stavrou,no link/Course ID:Algorithm Design and Implementations
    Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).