6 lines
215 B
Bash
6 lines
215 B
Bash
#!/bin/bash
|
|
|
|
KENLM_BUILD_PATH='/home/dawid/kenlm/build'
|
|
$KENLM_BUILD_PATH/bin/lmplz -o 3 < train_data.txt > kenlm_model.arpa
|
|
$KENLM_BUILD_PATH/bin/build_binary kenlm_model.arpa kenlm_model.binary
|
|
rm train_data.txt |