‹ projects

vmc

a voice model creator for CMU Sphinx
Log | Files | Refs | README | LICENSE

commit 155cdcb301f4523889278f33fec4a8eaba4b8c62
parent d9cdb0d327e72443c5c2282550ed097f78f7805a
Author: umhau <umhau@users.noreply.github.com>
Date:   Tue,  1 Nov 2016 19:09:12 -0400

Delete buildLM.sh
Diffstat:
DbuildLM.sh | 43-------------------------------------------
1 file changed, 0 insertions(+), 43 deletions(-)

diff --git a/buildLM.sh b/buildLM.sh @@ -1,43 +0,0 @@ -#!/bin/bash -# -# DESCRIPTION -# -# Produce binary language model from plain sentence list. Invokes CMU-created perl script -# located in /opt/vmc/tools. Saves file in given directory. -# -# USAGE -# -# bash buildLM.sh sentence-list model-name save-directory -# -# DEPENDENCIES -# -# CMU Sphinx -# -# VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -sentence_list_path=$1 - -model_name=$2 - -save_directory=$3 - -tools_dir=/opt/vmc/tools - -# COMMANDS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# run perl script to create language model -perl $tools_dir/quick_lm.pl -s $sentence_list_path #&> /dev/null - -sentence_list=`basename $sentence_list_path` - -sentence_list_dir=`dirname $sentence_list_path` - -# rename output -src=$sentence_list_path.arpabo -dst=$sentence_list_dir/$model_name.lm -mv $src $dst - -# convert lm to binary (bin) format (command was too complex for python to handle) -filename=$sentence_list_dir/$model_name.lm -sphinx_lm_convert -i $dst -o $dst.bin &> /dev/null -