Text this: Generalized Quadratic Linearization of Machine Models