PocketSphinx
5.0.0
A small speech recognizer
|
#include <stdio.h>
#include <pocketsphinx/sphinx_config.h>
#include <pocketsphinx/prim_type.h>
#include <pocketsphinx/logmath.h>
#include <pocketsphinx/err.h>
#include <pocketsphinx/vad.h>
#include <pocketsphinx/endpointer.h>
#include <pocketsphinx/model.h>
#include <pocketsphinx/search.h>
#include <pocketsphinx/export.h>
#include <pocketsphinx/lattice.h>
#include <pocketsphinx/alignment.h>
#include <pocketsphinx/mllr.h>
Go to the source code of this file.
Typedefs | |
typedef enum ps_type_e | ps_type_t |
Types of configuration parameters. | |
typedef struct ps_arg_s | ps_arg_t |
typedef struct cmd_ln_s | ps_config_t |
typedef struct ps_decoder_s | ps_decoder_t |
typedef struct ps_astar_s | ps_nbest_t |
typedef struct ps_seg_s | ps_seg_t |
Enumerations | |
enum | ps_type_e { ARG_REQUIRED = (1<<0), ARG_INTEGER = (1<<1), ARG_FLOATING = (1<<2), ARG_STRING = (1<<3), ARG_BOOLEAN = (1<<4), REQARG_INTEGER = (ARG_INTEGER | ARG_REQUIRED), REQARG_FLOATING = (ARG_FLOATING | ARG_REQUIRED), REQARG_STRING = (ARG_STRING | ARG_REQUIRED), REQARG_BOOLEAN = (ARG_BOOLEAN | ARG_REQUIRED) } |
Types of configuration parameters. | |
Main header file for the PocketSphinx decoder.
This is the only header file you should need to include in order to write code using PocketSphinx. The documentation for its various functions and structures is actually located on the pages for those structures, and because Doxygen does not seem smart enough to put links in the "Typedefs" list above, here they are for your convenience:
There are also a few other structures you should be aware of, which can be useful in writing speech applications:
Finally, to learn about switching language models and grammars, see <pocketsphinx/search.h>