Created
December 26, 2019 09:33
-
-
Save Anwarvic/cd296c5ed653068c69a69dbb894b1522 to your computer and use it in GitHub Desktop.
This gits is used to install Ken Language Model package made by Kenneth Heafield. This package is used to create ARPA language models.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install dependencies (src: https://kheafield.com/code/kenlm/dependencies/) | |
| sudo apt-get install build-essential libboost-all-dev cmake zlib1g-dev libbz2-dev liblzma-dev | |
| # clone official GitHub repo | |
| git clone https://github.com/kpu/kenlm/ | |
| # build the repo using cmake | |
| cd kenlm | |
| mkdir -p build | |
| cd build | |
| cmake .. | |
| make -j 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment