Está en la página 1de 10

Speech Recognition on the Raspberry Pi

Speech recognition on the Raspberry Pi using the CMU Sphinx tools or How to use government funded software written by graduate students to build your own voice controlled robot

Speech Recognition on the Raspberry Pi


Overview of the CMU Sphinx tools uilding and installing sphinxbase uilding and installing poc!etsphinx Creating a language model on the web Using a language model from the web uilding and installing the language model tool!it Using a language model created locally

Overview of the CMU Sphinx tools


Home page" http"##cmusphinx$sourceforge$net# Poc!etsphinx" % recogni&er library written in C http"##downloads$sourceforge$net#pro'ect#cmus phinx#poc!etsphinx#($)#poc!etsphinx*($)$tar$g& Sphinxbase" % support library re+uired by Poc!etsphinx http"##downloads$sourceforge$net#pro'ect#cmus phinx#sphinxbase#($)#sphinxbase*($)$tar$g&

uilding and installing sphinxbase


wget *c ,sphinxbase*($)tar &xvf ,sphinxbase*($)pushd sphinxbase*($) $#configure ma!e sudo ma!e install

uilding and installing poc!etsphinx


wget *c ,poc!etsphinx*($)tar &xvf ,poc!etsphinx*($)pushd poc!etsphinx*($) $#configure ma!e sudo ma!e install

Create a language model on the web


Sphinx .nowledge ase /ool http"##www$speech$cs$cmu$edu#tools#lmtool* new$html 0rom the site" /o use1 create a sentence corpus file1 consisting of all sentences you would li!e the decoder to recogni&e$$$ Upload your corpus and receive a lin! to download the language model files

Using a language model from the web


m!dir ,language model directorypushd ,language model directorywget *c ,language model tarballtar &xvf ,language model tarballcd ,language model directory$$#speech*to*text Start tal!ing

uilding and installing the language model tool!it


/he CMU*Cambridge Statistical 2anguage Modeling /ool!it http"##www$speech$cs$cmu$edu#S2M#tool!it3documentation$html http"##downloads$sourceforge$net#pro'ect#cmusphinx#cmuclmt!#($ )#cmuclmt!*($)$tar$g& wget *c ,cmuclmt!*($)tar &xvf ,cmuclmt!*($)pushd cmuclmt!*($) $#configure ma!e sudo ma!e install

Using a language model created locally


cd ,directory$#m!lm $#m!dict $$#speech*to*text Start tal!ing

4uestions and %nswers


My name is 5avid Cullen developer6!erneldriver$org 7our +uestion here

También podría gustarte