Sign inSign up

dlazesz/kenlm

By dlazesz

•Updated 19 days ago

Ubuntu 22.04 with KenLM installed

Image
0

49

dlazesz/kenlm repository overview

⁠KenLM docker image

Compile KenLM⁠ models easily by installing KenLM in a docker container.

⁠Usage

  1. Pull the docker image: docker pull dlazesz/kenlm
  2. Put kenlmdockercmd.sh⁠ into the PATH and add execute bit (chmod +x kenlmdockercmd.sh)
  3. Go to your preferred working directory
  4. Compile: kenlmdockercmd.sh bash -c "lmplz -o 3 < /data/corpus.txt > /data/corpus.arpa"
  5. The outut is at: corpus.arpa
  6. Profit! :)

⁠Build

docker build . -t dlazesz/kenlm

On Docker Hub: https://hub.docker.com/r/dlazesz/kenlm⁠

⁠License

This work is licensed under the GNU GPL 3.0 license.

Tag summary

Content type

Image

Digest

sha256:b3f5d66cc…

Size

31.3 MB

Last updated

19 days ago

docker pull dlazesz/kenlm