Text this: Generalized latent variable modeling