Tagmash: machine learning, python