textmodel_lr function

Logistic regression classifier for texts