RAPP Platform API
|
#include "cloud/service_controller/service_controller.hpp"
#include "cloud/speech/speech_detection_sphinx4/speech_detection_sphinx4.hpp"
#include "objects/audio/audio.hpp"
#include <boost/program_options.hpp>
#include <string>
#include <fstream>
#include <streambuf>
Go to the source code of this file.
Functions | |
std::string | load_jsgf (const std::string filename) |
int | main (int argc, char *argv[]) |
template<class T > | |
std::ostream & | operator<< (std::ostream &os, const std::vector< T > &v) |
std::string load_jsgf | ( | const std::string | filename | ) |
Definition at line 20 of file speech_to_text.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Query the CMU Sphinx4 engine for keywords and sentences using a WAV file argv[1]: audio file argv[2]: audio source type argv[3]: language argv[4]: user argv[5]: words to search for - OPTIONAL argv[6]: sentences to search for - OPTIONAL argv[7]: grammar file (JSGF text file) - OPTIONAL
Definition at line 44 of file speech_to_text.cpp.
std::ostream& operator<< | ( | std::ostream & | os, |
const std::vector< T > & | v | ||
) |
Definition at line 13 of file speech_to_text.cpp.