Machine Learning, Naturallanguageprocessing, NLP, Bots.
choose the class which maximizes Σ λiƒi(c,d). Now scan features and assign the weights to the classes for the datum d. There are many ways to choose the weights for features. Perceptron: Find currently misclassified example and nudge weights in the direction of its correct classification.