tdicola / demomanmonitor Goto Github PK
View Code? Open in Web Editor NEWDevice to detect swears like the verbal morality statute monitor from the movie Demolition Man.
License: MIT License
Device to detect swears like the verbal morality statute monitor from the movie Demolition Man.
License: MIT License
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
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.