File size: 418 Bytes
73d1bf6
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -e

echo "Installing system deps for KenLM..."
apt-get update && apt-get install -y build-essential cmake libbz2-dev liblzma-dev zlib1g-dev

echo "Installing kenlm from GitHub (may take a while)..."
pip install --no-cache-dir https://github.com/kpu/kenlm/archive/master.zip

echo "Installing pyctcdecode with kenlm support..."
pip install --no-cache-dir pyctcdecode[kenlm]

echo "Done start.sh"