5 lines
197 B
Bash
5 lines
197 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
|