A naive Bayes implementation that classifies biographies based on the subject's profession