Skip to content

EC2 Installation Walkthrough

opendcd edited this page Oct 20, 2014 · 22 revisions

Introduction

In this guide I will explain how to setup OpenDcd with Kaldi on EC and decode open source models based on Librivox corpus.

Machine Configure and Setup

   sudo add-apt-repository ppa:ubuntu-toolchain-r/test
   sudo apt-get update
   sudo apt-get install -y gcc-4.9 g++-4.9 cpp-4.9 subversion make    zlib1g-dev automake libtool autoconf libatlas3-base

Due a bug in gcc 4.8 we installed gcc 4.9 and set hard links as the system default

   sudo ln -s /usr/bin/g++-4.9 /usr/bin/g++
   sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
   sudo ln -s -f bash /bin/sh

Install Kaldi

'''bash svn co https://svn.code.sf.net/p/kaldi/code/trunk kaldi cd kaldi/tools make cd ../src ./configure '''

Install OpenDcd

   

Download Models

Build Cascade

Decode

Clone this wiki locally