Stochastic language models for speech recognition and understanding