A method of dynamically generating word occurrence probabilities according to the contextual information and the system response