Text this: An Integrated Machine Learning and Optimization Framework for Railway Track Quality Assessment