LearnedVector / A-Hackers-AI-Voice-Assistant

A hackers AI voice assistant, built using Python and PyTorch.
https://www.youtube.com/playlist?list=PL5rWfvZIL-NpFXM9nFr15RmEEh4F4ePZW
MIT License
1k stars 360 forks source link

Where to get the kenlm model from? #31

Open drdileepunni opened 3 years ago

drdileepunni commented 3 years ago

I installed and built the kenlm using the github page directions. But there is no model file, it is a bunch of folders. Is the path_to_nlm the path to that folder? If not, how can I get the kenlm model file?

Thanks.

LearnedVector commented 3 years ago

you'll have to train your own! https://github.com/kpu/kenlm. make sure you preprocess the kenlm training data same way you preprocess the speech recognition model data

LearnedVectorAi commented 3 years ago

how to train kenlm model from https://github.com/kpu/kenlm. same problem here.