Generative and discriminative algorithms for spoken language understanding | Synapse