Text this: Automatic selection for non-linear models