Text this: Control and Prediction of Solid-State of Pharmaceuticals