I have an old code in python which uses different sklearn algorithms to predict the intent of a sentence. It uses tfidf to preprocess the data and with Logistic Regression,