Text this: Nonparametric function estimation, modeling, and simulation