Automatic extraction of language models from a linguistic knowledge baseSemantic Hidden Markov Networks