GithubHelp home page GithubHelp logo

tdicola / demomanmonitor Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 5.0 1.71 MB

Device to detect swears like the verbal morality statute monitor from the movie Demolition Man.

License: MIT License

C++ 76.60% Shell 8.89% C 9.43% Python 5.08%

demomanmonitor's People

Contributors

tdicola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

demomanmonitor's Issues

What version of Sphinx was used?

​What versions of Sphinx did you use?

I'm getting compile errors which seem to indicate that the signature for the version I have isn't matching what this project is expecting.

PocketSphinxKWS.cpp: In member function ‘void PocketSphinxKWS::initialize(cmd_ln_t*, const string&)’:
PocketSphinxKWS.cpp:34:24: error: too many arguments to function ‘int ps_start_utt(ps_decoder_t*)’
In file included from PocketSphinxKWS.h:11:0,
                 from PocketSphinxKWS.cpp:5:
/usr/local/include/pocketsphinx/pocketsphinx.h:333:5: note: declared here
PocketSphinxKWS.cpp: In member function ‘virtual std::string PocketSphinxKWS::process(std::vector<unsigned char>&)’:
PocketSphinxKWS.cpp:46:50: error: too many arguments to function ‘const char* ps_get_hyp(ps_decoder_t*, int32*)’
In file included from PocketSphinxKWS.h:11:0,
                 from PocketSphinxKWS.cpp:5:
/usr/local/include/pocketsphinx/pocketsphinx.h:409:13: note: declared here
PocketSphinxKWS.cpp:52:25: error: too many arguments to function ‘int ps_start_utt(ps_decoder_t*)’
In file included from PocketSphinxKWS.h:11:0,
                 from PocketSphinxKWS.cpp:5:
/usr/local/include/pocketsphinx/pocketsphinx.h:333:5: note: declared here
Makefile:16: recipe for target 'DemoManMonitor' failed
make: *** [DemoManMonitor] Error 1

Where are the model files?

The articles says:

Create a folder called 'models' and copy in the appropriate models for your language from PocketSphinx's pocketsphinx\model directory. I copied in the hmm/en_US/hub4wsj_sc_8k folder, lm/en_US/cmu07a.dic, and lm/en_US/wsj0vp.5000.DMP files.

However, I'm not seeing any of these files. I even tried looking in older CLs. Are they generated somehow?

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.