hi all,
i am trying to build a language model with order of 1 but i am getting error as it requires at least 2 grams is there any way to make a language model with order of 1 as i am trying to build a command based system with only one word on every line of my vocabulary file.
Please have a look at KenLM documentation. I think you need to provide a minimal amount of data and maybe use --discount_fallback
.