60 Commits

Author SHA1 Message Date
Kevin Lenzo 77bcb6418e Document JSON output format in CLI help
Add output format section to general help describing JSON fields
(b, d, p, t, w). Add documentation to align help explaining when
each level (words, phones, states) is produced based on options.
2026-01-14 09:57:50 -05:00
The Mariday f838c3222e Merge branch 'cmusphinx:main' into master 2025-08-03 01:56:50 +01:00
Kevin Lenzo 4297cb5efb feat: Add command-specific help for alignment options
- Add 'pocketsphinx help align' command to show alignment-specific options
- Document -phone_align and -state_align options with examples
- Update documentation in README and man pages
- Maintain backward compatibility for general help output

Fixes #328
2025-07-16 15:49:19 -04:00
Samuel d618334dfe quick commit to see if this fixes the issue with FetchConent 2024-01-24 22:54:37 +00:00
David Huggins-Daines 29fcc041ea feat: flush stdout everywhere (fixes #371) 2023-12-28 14:20:00 -05:00
David Huggins-Daines 7fae220612 fix: reactivate previous, not default, search after alignment 2023-02-06 16:23:25 -05:00
David Huggins-Daines 679e822bfa test: build programs for regression tests 2023-02-06 15:49:41 -05:00
David Huggins-Daines 63a4997e4b fix: make help text more useful and legible 2022-11-22 09:45:08 -05:00
David Huggins-Daines 0d81d99339 fix: silence a bunch of warnings 2022-11-22 09:29:29 -05:00
David Huggins-Daines 53795d3ed7 feat: output alts and silence in alignment 2022-10-05 00:10:13 -04:00
David Huggins-Daines 3ac8e510ec refactor!: arg_t considered too short for public type name 2022-10-04 22:28:04 -04:00
David Huggins-Daines 23f63b448d feat: bring soundfile header reading into library 2022-10-04 14:39:07 -04:00
David Huggins-Daines 7647ac6c67 fix: output valid json on null hypothesis 2022-09-30 23:11:22 -04:00
David Huggins-Daines cb8dc4b6e8 Merge pull request #307 from cmusphinx/289-save-and-load-config-file-format-for-decoder
feat: add -config and config to parse and save JSON
2022-09-28 22:48:39 -04:00
David Huggins-Daines 0a1843b027 feat: add -config and config to parse and save JSON 2022-09-28 22:45:33 -04:00
David Huggins-Daines ec0f15f862 fix: default to loose VAD in live mode to avoid losing data 2022-09-28 21:00:18 -04:00
David Huggins-Daines 53609850d0 feat: add -verbose to jsgf2fsg 2022-09-28 20:08:20 -04:00
David Huggins-Daines 6523bffba4 fix: mfccs are floats always 2022-09-27 16:45:23 -04:00
David Huggins-Daines fbf398afb6 feat: add -state_align to get state alignments 2022-09-27 12:02:20 -04:00
David Huggins-Daines d55a1d43c2 fix: soxflags takes no inputs 2022-09-27 11:34:28 -04:00
David Huggins-Daines a4a765b5cb fix: require an input or - for stdin (fixes #301) 2022-09-27 11:25:51 -04:00
David Huggins-Daines 03b360532a fix: do not use bestpath for alignment
The bestpath search is not suitable for force-alignment, as it removes
internal silences.  It also sometimes produces bogus segments which are
incompatible with state alignment and cause it to crash.  For the moment
you should never use bestpath search for alignment.
2022-09-27 10:57:39 -04:00
David Huggins-Daines 7b76ae055b fix: use probs from alignment in output 2022-09-27 10:56:30 -04:00
David Huggins-Daines 6890bdfab6 feat: use new improved alignment API 2022-09-23 08:12:14 -04:00
David Huggins-Daines 94d90c8a66 feat: implement phone alignment
Note that we *wont* do state alignment here for the moment
as it is dubiously useful unless you are doing unsupervised
MLLR, which should get a specific implementation
2022-09-21 21:27:35 -04:00
David Huggins-Daines 4e6857dc60 feat: implement alignment in CLI 2022-09-21 17:57:24 -04:00
David Huggins-Daines e9a66be19c refactor: unreverse inputs 2022-09-21 17:57:09 -04:00
David Huggins-Daines 73ebc02294 Merge branch 'master' into enhanced_alignment 2022-09-21 17:56:34 -04:00
David Huggins-Daines 70199bb77c fix: output valid JSON (oops!) 2022-09-21 17:55:57 -04:00
David Huggins-Daines 76c098cb66 fix: use ps_add_align_text 2022-09-21 09:18:36 -04:00
David Huggins-Daines 46c32d1607 refactor!: remove old search function names
might as well break everything now (since we broke other stuff already)
2022-09-17 19:25:17 -04:00
David Huggins-Daines 098f690238 feat: add help 2022-09-16 15:26:00 -04:00
David Huggins-Daines ed1d0ac922 feat: Support input files to pocketsphinx main 2022-09-16 15:26:00 -04:00
David Huggins-Daines a348067e37 fix: better command finding method 2022-09-14 22:51:30 -04:00
David Huggins-Daines 8cdefedd85 fix: bulk remove dashes and underscores 2022-09-14 16:26:39 -04:00
David Huggins-Daines 76ec36f074 feat!: remove dashes and rename cmdln_macro 2022-09-14 16:14:24 -04:00
David Huggins-Daines cf021b87d4 refactor!!: complete sphinxbase removal 2022-09-13 15:35:25 -04:00
David Huggins-Daines 4d09c19675 fix: reinstate cmd_ln.h as an internal api 2022-09-09 12:53:05 -04:00
David Huggins-Daines ce73ac84d6 feat: add back most of the functions
still need to figure out what to do about a few of them
2022-09-08 16:43:20 -04:00
David Huggins-Daines 512f26c11b refactor: switch to new names everywhere 2022-09-08 15:36:34 -04:00
David Huggins-Daines 3fd89714f1 fix: add now required pocketsphinx_internal.h 2022-09-08 13:46:06 -04:00
David Huggins-Daines 74d7254838 fix: read feat.params in soxflags
also add a function for finding the minimum good sampling rate,
which we cannot use as it would also need to be used by ps_init()
which might happen soon
2022-09-02 01:10:36 -04:00
David Huggins-Daines 3028725a3f feat!: change pocketsphinx main output and its documentation slightly 2022-09-02 00:07:57 -04:00
David Huggins-Daines 2d12923b1a feat: add single command 2022-08-29 00:13:35 -04:00
David Huggins-Daines cd01bd2a1d feat: add soxargs (not entirely correct) 2022-08-29 00:13:35 -04:00
David Huggins-Daines b4744d53d8 feat: implement live decoding 2022-08-29 00:13:35 -04:00
David Huggins-Daines 07599c6fcc feat: begin a command-line front-end 2022-08-29 00:13:35 -04:00
David Huggins-Daines 9e00ecd3a7 feat!: make -samprate an int after all these years 2022-08-22 11:47:34 -04:00
David Huggins-Daines 6c5f23f7ae refactor!: on second thought...
cmdln_macro.h isn't very useful as a public header (nor the other definitions
in feat.h and fe.h), there will be a better config interface for 5.0.0
2022-08-22 08:30:16 -04:00
Matt LaRose 4b30ac682d Fix install command for Mac and iOS builds 2022-08-18 10:22:35 -04:00