Ensemble transform methods for Bayesian inference with applications to language comprehension and generative models | Synapse