Is the language model based on character or word?

I wonder whether the language is trained based on character or word?

A LM is a file containing probabilities about words order in sentences…

@elpimous_robot you are right that lm is a file containing probabilities about words order in sentences,and would like to know whether the lm of deepspeech based on character level or word level?
Thanks

Please don’t hijack 3 year old posts … it is words for the western world.