Using text in machine learning pipelines