Text this: Optimal selection of the nutritive value