A naive bayes approach to classifying data based on a parsed input string. The input string is parsed into tokens (usually words) which are then used to train and classify the data set on a set of classifications.