GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
KenLM: Faster and Smaller Language Model Queries. Contribute to kpu/kenlm development by creating an account on GitHub.
Language model inference code by Kenneth Heafield (kenlm at kheafield.com) I do development in master on https://github.com/kpu/kenlm/. Normally, it works, but I do not guarantee it will compile, give correct answers, or generate non-broken binary files. For a more stable release, get ...
Please base your contributions on https://github.com/kpu/kenlm and send pull requests (or I might give you commit access). Downstream copies in Moses and cdec are maintained by overwriting them so do not make changes there.Python module...
Please base your contributions on https://github.com/kpu/kenlm and send pull requests (or I might give you commit access). Downstream copies in Moses and cdec are maintained by overwriting them so do not make changes there.Python module...
pip install https://github.com/kpu/kenlm/archive/master.zip Basic Usage importkenlmmodel=kenlm.Model('lm/test.arpa')print(model.score('this is a sentence .',bos=True,eos=True)) Seepython/example.pyandpython/kenlm.pyxfor more, including stateful APIs. ...
I do development in master on https://github.com/kpu/kenlm/. Normally, it works, but I do not guarantee it will compile, give correct answers, or generate non-broken binary files. For a more stable release, get https://kheafield.com/code/kenlm.tar.gz ....
I do development in master onhttps://github.com/kpu/kenlm/. Normally, it works, but I do not guarantee it will compile, give correct answers, or generate non-broken binary files. For a more stable release, gethttp://kheafield.com/code/kenlm.tar.gz. ...
Additional navigation options master 6Branches1Tag Code This branch is925 commits behindkpu/kenlm:master. kenlm Language model inference code by Kenneth Heafield (kenlm at kheafield.com) I do development in master onhttps://github.com/kpu/kenlm/. Normally, it works, but I do not guarantee it...