install_ctc_decoders.sh 313 Bytes
Newer Older
Sehoon Kim's avatar
Sehoon Kim committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

mkdir externals
cd ./externals || exit

# Install baidu's beamsearch_with_lm
if [ ! -d ctc_decoders ]; then
    git clone https://github.com/usimarit/ctc_decoders.git

    cd ./ctc_decoders || exit
    chmod a+x setup.sh
    chown "$USER":"$USER" setup.sh
    ./setup.sh

    cd ..
fi

cd ..