67 Commits
Author SHA1 Message Date
nshmyrev d1922b6fe7 More sane defaults for pocketsphinx and android demo
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@13252 94700074-3cef-4d97-a70e-9c8c206c02f5
2016-10-31 21:26:04 +00:00
nshmyrev 053fa8fb99 Be more strict in sphinx_fe about configured parameters, don't automatically take them from files since it might
cause unexpected problems



git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@13240 94700074-3cef-4d97-a70e-9c8c206c02f5
2016-09-23 14:50:38 +00:00
nshmyrev 2d5622f9cf Reverted floating point in pitch, it is supposed to be fixed-point from the start
Fixes https://sourceforge.net/p/cmusphinx/bugs/445/



git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@13225 94700074-3cef-4d97-a70e-9c8c206c02f5
2016-07-17 21:14:03 +00:00
nshmyrev 00ac31b66a Fix continuous decoding and update test
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12893 94700074-3cef-4d97-a70e-9c8c206c02f5
2015-03-25 20:53:47 +00:00
nshmyrev 4f96a51543 More reasonable initial noise estimation
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12886 94700074-3cef-4d97-a70e-9c8c206c02f5
2015-03-22 20:01:10 +00:00
nshmyrev 3a0fe574dc Fixes tests in sphinxbase
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12884 94700074-3cef-4d97-a70e-9c8c206c02f5
2015-03-22 17:32:14 +00:00
nshmyrev d74170481d Don't use public rules from imported grammars
See for details https://sourceforge.net/p/cmusphinx/bugs/407/

Thanks to Laimis



git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12719 94700074-3cef-4d97-a70e-9c8c206c02f5
2014-12-07 03:05:20 +00:00
mbait 1889596f83 Merge branch 'feature-vad'.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12369 94700074-3cef-4d97-a70e-9c8c206c02f5
2014-03-19 06:28:12 +00:00
nshmyrev fd19d120b5 Fixes sphinxbase tests
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12147 94700074-3cef-4d97-a70e-9c8c206c02f5
2014-01-03 18:58:33 +00:00
nshmyrev e59cac4048 Greatly optimize the number of states in FSG created from JSGF
by avoiding new unnecessary nodes. See for details

https://sourceforge.net/p/cmusphinx/bugs/358/

Patch by Steven J. Boswell II



git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12042 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-10 11:37:45 +00:00
nshmyrev 095c2d294e Update regression data to match changed feature extraction
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@11851 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-08-03 18:02:12 +00:00
nshmyrev a77494c9ba Work around automake break, don't use srcdir to reference tests
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@11741 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-04-06 20:43:28 +00:00
nshmyrev 4c0492ceab Fixes tests for jsgf2fsg and restores fsm functionality
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10981 94700074-3cef-4d97-a70e-9c8c206c02f5
2011-05-24 13:49:04 +00:00
nshmyrev 075973d48f Fixes distcheck
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10778 94700074-3cef-4d97-a70e-9c8c206c02f5
2011-02-16 08:58:24 +00:00
dhdfu ea4df05a94 add support for multiple channels
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10119 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-05-25 00:34:02 +00:00
dhdfu d078ca57fd ordering of arcs changed in fsg iteration
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10087 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-05-05 11:40:55 +00:00
dhdfu c6e10cfae4 windows updates from 0.6
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10043 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-05-01 20:22:37 +00:00
nshmyrev 85fc920188 Unit test passes now
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10020 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-04-25 19:04:42 +00:00
dhdfu a85f4c9e05 remerge a ton of release fixes from the 0.6 branch
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9902 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-03-22 03:03:37 +00:00
dhdfu 3a01675f37 fix make distcheck, ready for release
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9859 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-03-12 15:14:31 +00:00
dhdfu 8ba9bc7f19 Finally refactor (actually, rewrite) sphinx_fe to be less horrible.
Now autodetects file types to some extent, will support more types via
libsndfile in the near future.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9754 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-02-28 19:08:15 +00:00
dhdfu 4f6ed6cd19 Changes to JSGF code may have broken jsgf2fsg and certainly did break the regression tests
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9081 94700074-3cef-4d97-a70e-9c8c206c02f5
2009-03-23 19:31:16 +00:00
dhdfu e1b750bae2 include fsm write test, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8930 94700074-3cef-4d97-a70e-9c8c206c02f5
2009-01-14 14:12:49 +00:00
dhdfu 43f39c1b05 Fix some remaining memory errors and one memory leak in JSGF code.
Tests all pass cleanly now.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8802 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-10-20 17:31:31 +00:00
dhdfu d57c7bfff1 argh! remove memcheck_program calls that mistakenly got committed
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8220 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-05-05 17:51:56 +00:00
dhdfu e4b23c34fb renovation of cmd_ln_t to remove memory leaks and redundant functions. also remove little-used and inefficient glist_t functions. this breaks binary compatibility but you knew that already
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8132 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-04-22 19:37:15 +00:00
dhdfu 0993ba7189 Fix make distcheck
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7888 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-02-29 04:06:41 +00:00
dhdfu 9367ec381f Add a regression test for sphinx_pitch (now that I'm pretty sure it works)
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7887 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-02-29 03:58:43 +00:00
dhdfu 4553102230 More serious front-end surgery:
Make fe_process_utt() allocate a LOT less memory, and sanitize the
internal APIs a bit further.

Add a declaration for what will become the new recommended function
for processing cepstra.  It doesn't allocate any memory at all.

Remove other brain damage here and there.

The new code processes the last frame a bit differently.  I believe
that it's actually correct and the old code was wrong.  In any case
the difference is quite small.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7657 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-01-28 08:23:26 +00:00
dhdfu 3ef766026b fix paths for debug, memcheck
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7655 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-01-27 19:10:11 +00:00
dhdfu bb00507a1d add debug and memcheck options
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7652 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-01-27 18:54:51 +00:00
dhdfu f549b002ef Remove gnumake-isms
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7549 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-01-05 03:30:14 +00:00
dhdfu 540ef47daf Oh, that wacky Solaris /bin/sh
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7242 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-09-05 12:55:27 +00:00
dhdfu d530d1c803 Add test cases for JSGF compiler (also the ability to search $JSGF_PATH for grammars)
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7235 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-09-04 18:20:25 +00:00
dhdfu 5e6896fd04 Add JSGF compiler and build it (as sphinx_jsgf2fsg). Needs documentation and command-line!
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7234 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-09-04 17:37:27 +00:00
egouvea 1c26bf6471 Updated the expected sentence error rate. This value is still hardwired in the script, not sure how to fix this dependency. Also, the performance on linux and solaris is slightly different, 56 vs. 58 SER
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6968 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-26 22:12:41 +00:00
dhdfu 9f0f4e7d06 Remove the dependency on an external loopUntilSuccess.sh script
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6939 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-19 19:29:37 +00:00
egouvea afe6b157fa sed in Solaris doesn\'t accept \n or \t as replacement character
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6906 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-12 20:23:11 +00:00
egouvea 6474c2eb33 Explicitly specify raw audio file's endianness in the regression tests.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6904 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-12 18:44:14 +00:00
egouvea fc34eb96bb Store the tutorial log file in a directory whose name contains the execution host name
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6901 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-12 17:21:48 +00:00
egouvea 9759de6418 Use $MAKE instead of make, and add /usr/ucb to path
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6900 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-12 17:19:49 +00:00
egouvea 6ee28d9869 Updated the svn host to cmusphinx.svn.sourceforge.net
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6883 94700074-3cef-4d97-a70e-9c8c206c02f5
2007-07-10 20:21:48 +00:00
dhdfu 52416b5e31 sh compatibility for tests
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6289 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-11-06 23:28:15 +00:00
egouvea 9a55bc3796 Fixed tutorial check by changing the expected sentence error rate;
Changed compilation flags so we compile without -g;
Have sphinx3 and SphinxTrain use --with-sphinx-base, just in case

git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6243 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-25 15:03:33 +00:00
dhdfu ef9e2f05c2 God damn stupid RedHat/Fedora ships a stupid broken autoconf that doesn't make @abs_top_srcdir@ absolute so we have to have a separate testfuncs.sh for each test directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6212 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-21 14:13:47 +00:00
dhdfu c5d5770d6c Use the same scheme as sphinx3 for regression tests, also make them run in distcheck properly
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6208 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-21 03:56:28 +00:00
egouvea 54e2f43fc5 Created macro with command line arguments for the front end in fe.h
Changed srate to samprate
Changed sphinx3's livepretend so it uses the arguments defined in sphinxbase


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6176 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-13 19:39:48 +00:00
dhdfu 0a85ab66c2 Disable sphinx_fe tests if fixed point is enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6162 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-12 22:46:04 +00:00
dhdfu 1a899aca78 Hopefully the final DCT-related change. Now, there is an option
-transform, which determines whether to use the "legacy" transform
(this is the default) or the orthogonal DCT-II to compute MFCCs.
Instead of having -dct2 and -dct3 options to do logspec<->cepstrum
conversion there are more sensibly named -spec2cep and -cep2spec
options.  All tests pass and there is no difference in the output with
the default flags.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6157 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-12 17:48:26 +00:00
dhdfu ccb45d8a02 A bunch of minor changes to the front-end. The old-fashioned MFCC is
not affected and continues to do as it always did albeit with a tiny
bit more accuracy and speed on fixed-point platforms.  The question of
exactly which DCT is being used for what has been resolved with some
comments to that effect in the header.

The misnamed and misfunctional -idct and -dct options to sphinx_fe
have been removed and replaced with -dct2 and -dct3, which do the
canonical (and invertible) DCT-II and DCT-III.  An option -smoothspec
has been added to output the cepstral-smoothed log spectrum.

Some tests have been added for these new features.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@6115 94700074-3cef-4d97-a70e-9c8c206c02f5
2006-10-09 02:21:46 +00:00