Code Monkey home page Code Monkey logo

5prealpha-win32's Introduction

CMU Sphinx Build

An attempt to build the CMU Sphinx 5prealpha source for use on a Raspberry Pi 3.

The process I used is was...

Downloaded the sources from:

https://cmusphinx.github.io/wiki/download/

In particular, downloaded the following "sphinxbase-5prealpha" and "pocketsphinx-5prealpha" files from sourceforge:

pocketsphinx-5prealpha-win32.zip from https://sourceforge.net/projects/cmusphinx/files/pocketsphinx/5prealpha/ sphinxbase-5prealpha-win32.zip from https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha/

Decompressed both zip files into a folder (which I named "5prealpha-win32") and moved both of the solution folders ("pocketsphinx" and "sphinxbase") into the same folder (the decompress method I used put each of the solution folders into folders named the same as the zip file.)

I then opened the .sln files with Visual Studio 2015 Enterprise (which had all installation options [C++, mobile, the whole lot] installed).

I hit rebuild solution with Debug and Win32 selected.

I then copied the following files from the sphinxbase\bin\Debug\Win32 folder into the pocketsphinx\bin\Debug\Win32 folder:

  • sphinx_cepview.exe
  • sphinx_fe.exe
  • sphinx_jsgf2fsg.exe
  • sphinx_lm_convert.exe
  • sphinx_pitch.exe
  • sphinx_seg.exe
  • sphinxbase.dll
  • sphinxbase.dll
  • sphinxbase.lib

I then opened powershell and navigated to the pocketsphinx solution folder and used the following command:

C:\git\5prealpha-win32\pocketsphinx> .\bin\Debug\Win32\pocketsphinx_continuous.exe -inmic yes -hmm .\model\en-us\en-us\ -lm .\model\en-us\en-us.lm.bin -dict .\model\en-us\cmudict-en-us.dict

This SO post indicates how to turn off the verbose logging on the command line: https://stackoverflow.com/questions/17825820/how-do-i-turn-off-e-info-in-pocketsphinx

The above post indicates that the following should output minimal log info and only the captured speech: C:\git\5prealpha-win32\pocketsphinx> .\bin\Debug\Win32\pocketsphinx_continuous.exe -inmic yes -hmm .\model\en-us\en-us\ -lm .\model\en-us\en-us.lm.bin -dict .\model\en-us\cmudict-en-us.dict -logfn nul

5prealpha-win32's People

Contributors

horacebury avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.