Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/pocketsphinx.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ps_default_search_args(cmd_ln_t *);
*
* @note The decoder retains ownership of the pointer
* <code>config</code>, so if you are not going to use it
* elsewere, you can free it.
* elsewhere, you can free it.
*
* @param config a command-line structure, as created by
* cmd_ln_parse_r() or cmd_ln_parse_file_r().
Expand Down
4 changes: 2 additions & 2 deletions include/ps_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
/**
* @file ps_search.h User can configure several "search" objects with
* different grammars and langauge models and switch them in runtime to
* different grammars and language models and switch them in runtime to
* provide interactive experience for the user.
*
* There are different possible search modes:
Expand Down Expand Up @@ -97,7 +97,7 @@ POCKETSPHINX_EXPORT
int ps_set_search(ps_decoder_t *ps, const char *name);

/**
* Returns name of curent search in decoder
* Returns name of current search in decoder
*
* @see ps_set_search
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gst-plugin/gstpocketsphinx.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/**
* SECTION:element-pocketsphix
*
* The element runs the speech recohgnition on incomming audio buffers and
* The element runs the speech recognition on incoming audio buffers and
* generates an element messages named <classname>&quot;pocketsphinx&quot;</classname>
* for each hypothesis and one for the final result. The message's structure
* contains these fields:
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/acmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ acmod_process_cep(acmod_t *acmod,
}


/* FIXME: we can't split the last frame drop properly to be on the bounary,
/* FIXME: we can't split the last frame drop properly to be on the boundary,
* so just return
*/
if (inptr + nfeat > acmod->n_feat_alloc && acmod->state == ACMOD_ENDED) {
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/bin_mdef.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ bin_mdef_write(bin_mdef_t * m, const char *filename)
else {
int32 n;

/* Calcluate size of sseq */
/* Calculate size of sseq */
n = 0;
for (i = 0; i < m->n_sseq; ++i)
n += m->sseq_len[i];
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ dict_read(FILE * fp, dict_t * d)
for (i = 1; i < nwd; i++) {
p[i - 1] = dict_ciphone_id(d, wptr[i]);
if (NOT_S3CIPID(p[i - 1])) {
E_ERROR("Line %d: Phone '%s' is mising in the acoustic model; word '%s' ignored\n",
E_ERROR("Line %d: Phone '%s' is missing in the acoustic model; word '%s' ignored\n",
lineno, wptr[i], wptr[0]);
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/fsg_history.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ typedef struct fsg_history_s {


/*
* One-time intialization: Allocate and return an initially empty history
* One-time initialization: Allocate and return an initially empty history
* module.
*/
fsg_history_t *fsg_history_init(fsg_model_t *fsg, dict_t *dict);
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/fsg_search.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ fsg_search_init(const char *name,
return NULL;
}

/* Intialize the search history object */
/* Initialize the search history object */
fsgs->history = fsg_history_init(NULL, dict);
fsgs->frame = -1;

Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/hmm.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ typedef int32 frame_idx_t;
*
* We assume that the initial state is emitting and that the
* transition matrix is n_emit_state x (n_emit_state+1), where the
* extra destination dimension correponds to the non-emitting final or
* extra destination dimension corresponds to the non-emitting final or
* exit state.
*/
typedef struct hmm_context_s {
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/mdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ typedef struct ph_lc_s {
/** The main model definition structure */
/**
\struct mdef_t
\brief strcture for storing the model definition.
\brief structure for storing the model definition.
*/
typedef struct mdef_s {
int32 n_ciphone; /**< number basephones actually present */
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/ngram_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ struct ngram_search_s {
uint8 fwdflat;
uint8 bestpath;

/* State of procesing. */
/* State of processing. */
uint8 done;

/* Allocators */
Expand Down
2 changes: 1 addition & 1 deletion src/libpocketsphinx/ps_lattice.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ ps_lattice_read(ps_decoder_t *ps,
if (ps) {
/* Build links around silence and filler words, since they do
* not exist in the language model. FIXME: This is
* potentially buggy, as we already do this before outputing
* potentially buggy, as we already do this before outputting
* lattices. */
pip = logmath_log(dag->lmath, cmd_ln_float32_r(ps->config, "-pip"));
silpen = pip + logmath_log(dag->lmath,
Expand Down