debian/0000755000000000000000000000000012255577710007201 5ustar debian/sphinx_jsgf2fsg.10000644000000000000000000000117712076003450012357 0ustar .TH SPHINX_JSGF2FSG 1 "2008-05-12" .SH NAME sphinx_jsgf2fsg \- Convert JSGF grammar to Sphinx FSG file .SH SYNOPSIS .B sphinx_jsgf2fsg [ < .I jsgf-file ] [ > .I output-file ] .SH DESCRIPTION .PP This program reads a JSGF grammar file and outputs a Sphinx finite-state grammar file. If no files are given, it reads from standard input and writes to standard output. .PP The FSG is generated from the first public rule in the input file. .SH AUTHOR David Huggins-Daines .SH COPYRIGHT Copyright \(co 2007-2008 Carnegie Mellon University. See the file \fICOPYING\fR included with this package for more information. .br debian/sphinx_lm_eval.10000644000000000000000000000222012076003450012251 0ustar .TH SPHINX_LM_EVAL 1 "2008-05-12" .SH NAME sphinx_lm_eval \- Evaluate perplexity of a transcription .SH SYNOPSIS .B sphinx_lm_eval [\fI options \fR]... .SH DESCRIPTION .PP This program evaluates the perplexity of a text file according to a given language model. The text file is assumed to be in transcript format, i.e. one utterance per line, delimited by and . .TP .B \-help Shows the usage of the tool .TP .B \-lm model file .TP .B \-lmctlfn file listing a set of language models .TP .B \-lmname of language model in \fB\-lmctlfn\fR to use for all utterances .TP .B \-logbase Base in which all log-likelihoods calculated .TP .B \-lsn file to evaluate .TP .B \-lw Language model weight .TP .B \-mmap Use memory-mapped I/O for reading binary LM files .TP .B \-probdef definition file for classes in LM .TP .B \-text string to evaluate .TP .B \-uw Unigram probability weight (interpolated with uniform distribution) .TP .B \-wip Word insertion probability .SH AUTHOR David Huggins-Daines .SH COPYRIGHT Copyright \(co 2007-2008 Carnegie Mellon University. See the file \fICOPYING\fR included with this package for more information. .br debian/sphinx_fe.10000644000000000000000000000723112076003450011233 0ustar .TH SPHINX_FE 1 "2007-08-27" .SH NAME sphinx_fe \- Convert audio files to acoustic feature files .SH SYNOPSIS .B sphinx_fe [\fI options \fR]... .SH DESCRIPTION .PP This program converts audio files (in either Microsoft WAV, NIST Sphere, or raw format) to acoustic feature files for input to batch-mode speech recognition. The resulting files are also useful for various other things. A list of options follows: .TP .B \-alpha Preemphasis parameter .TP .B \-blocksize Block size, used to limit the number of samples used at a time when reading very large audio files .TP .B \-c file for batch processing .TP .B \-cep2spec Input is cepstral files, output is log spectral files .TP .B \-di directory, input file names are relative to this, if defined .TP .B \-dither Add 1/2-bit noise .TP .B \-do directory, output files are relative to this .TP .B \-doublebw Use double bandwidth filters (same center freq) .TP .B \-ei extension to be applied to all input files .TP .B \-eo extension to be applied to all output files .TP .B \-example Shows example of how to use the tool .TP .B \-fbtype FB Type of mel_scale or log_linear .TP .B \-feat SPHINX format - big endian .TP .B \-frate Frame rate .TP .B \-help Shows the usage of the tool .TP .B \-i audio input file .TP .B \-input_endian Endianness of input data, big or little, ignored if NIST or MS Wav .TP .B \-lifter Length of sin-curve for liftering, or 0 for no liftering. .TP .B \-logspec Write out logspectral files instead of cepstra .TP .B \-lowerf Lower edge of filters .TP .B \-mach_endian Endianness of machine, big or little .TP .B \-mswav Defines input format as Microsoft Wav (RIFF) .TP .B \-ncep Number of cep coefficients .TP .B \-nchans Number of channels of data (interlaced samples assumed) .TP .B \-nfft Size of FFT .TP .B \-nfilt Number of filter banks .TP .B \-nist Defines input format as NIST sphere .TP .B \-nskip a control file was specified, the number of utterances to skip at the head of the file .TP .B \-o cepstral output file .TP .B \-raw Defines input format as raw binary data .TP .B \-remove_dc Remove DC offset from each frame .TP .B \-round_filters Round mel filter frequencies to DFT points .TP .B \-runlen a control file was specified, the number of utterances to process (see \fB\-nskip\fR too) .TP .B \-samprate Sampling rate .TP .B \-seed Seed for random number generator; if less than zero, pick our own .TP .B \-smoothspec Write out cepstral-smoothed logspectral files .TP .B \-spec2cep Input is log spectral files, output is cepstral files .TP .B \-transform Which type of transform to use to calculate cepstra (legacy, dct, or htk) .TP .B \-unit_area Normalize mel filters to unit area .TP .B \-upperf Upper edge of filters .TP .B \-verbose Show input filenames .TP .B \-warp_params defining the warping function .TP .B \-warp_type Warping function type (or shape) .TP .B \-whichchan Channel to process .TP .B \-wlen Hamming window length .PP Currently the only kind of features supported are MFCCs (mel-frequency cepstral coefficients). There are numerous options which control the properties of the output features. It is \fBVERY\fR important that you document the specific set of flags used to create any given set of feature files, since this information is \fBNOT\fR recorded in the files themselves, and any mismatch between the parameters used to extract features for recognition and those used to extract features for training will cause recognition to fail. .SH AUTHOR Written by numerous people at CMU from 1994 onwards. This manual page by David Huggins-Daines .SH COPYRIGHT Copyright \(co 1994-2007 Carnegie Mellon University. See the file \fICOPYING\fR included with this package for more information. .br debian/copyright0000644000000000000000000001414012076003450011116 0ustar This package was debianized by David Huggins-Daines on Wed, 22 Aug 2007 16:40:17 -0400. It was downloaded from http://downloads.sourceforge.net/cmusphinx/ Upstream Authors: Evandro Gouvêa Arthur Chan Mosur Ravishankar Yitao Sun David Huggins-Daines Copyright: © 1994-2008 Carnegie Mellon University License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This work was supported in part by funding from the Defense Advanced Research Projects Agency and the National Science Foundation of the United States of America, and the CMU Sphinx Speech Consortium. THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dtoa.c: /**************************************************************** * * The author of this software is David M. Gay. * * Copyright © 1991, 2000, 2001 by Lucent Technologies. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that this entire notice * is included in all copies of any software which is or includes a copy * or modification of this software and in all copies of the supporting * documentation for such software. * * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. * ***************************************************************/ fe/yin.c /* * Copyright © 2008 Beyond Access, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY BEYOND ACCESS, INC. ``AS IS'' AND ANY * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BEYOND ACCESS, INC. NOR * ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ utils/genrand.c /* A C-program for MT19937, with initialization improved 2002/1/26. Coded by Takuji Nishimura and Makoto Matsumoto. Copyright © 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright ` notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Any feedback is very welcome. http://www.math.keio.ac.jp/matumoto/emt.html email: matumoto@math.keio.ac.jp */ The Debian packaging is © 2008, David Huggins-Daines and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/changelog0000644000000000000000000000576512255577705011074 0ustar sphinxbase (0.8-0ubuntu10) trusty; urgency=medium * Patch m4/libtool.m4 and configure to support ppc64el. -- Matthias Klose Sun, 22 Dec 2013 16:05:18 +0100 sphinxbase (0.8-0ubuntu9) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for AArch64. -- Matthias Klose Thu, 10 Oct 2013 18:23:52 +0200 sphinxbase (0.8-0ubuntu8) saucy; urgency=low * debian/patches/approximate_tests: - Backport patch from Debian's packaging to relax test checks a bit, fixing FTBFS on i386 due to newer glib float handling. * debian/rules: - Disable tests on powerpc, fixing FTBFS on powerpc. -- Michael Terry Wed, 03 Jul 2013 09:51:56 -0400 sphinxbase (0.8-0ubuntu7) saucy; urgency=low * debian/rules: - Run tests during builds -- Michael Terry Thu, 06 Jun 2013 13:08:52 -0400 sphinxbase (0.8-0ubuntu6) saucy; urgency=low [ Lukasz 'sil2100' Zemczak ] * debian/control, debian/rules: - Switch from python-support to dh_python2 * Remove debian/pycompat [ Didier Roche ] * Don't install the .la files -- Didier Roche Thu, 06 Jun 2013 18:22:31 +0200 sphinxbase (0.8-0ubuntu5) raring; urgency=low * Stop building with --enable-fixed on ARM, to resolve sphinx3 FTBFS. -- Adam Conrad Tue, 23 Apr 2013 08:34:23 -0600 sphinxbase (0.8-0ubuntu4) raring; urgency=low * Patch pulse driver to improve recognition latency (lp: #1132927). - This patch has also been accepted upstream. -- Pete Woods Wed, 27 Feb 2013 10:23:36 +0000 sphinxbase (0.8-0ubuntu2) raring; urgency=low * Add libpulse as a dependency. (lp: #1112404) * Remove --with-alsa flag from build rules. -- Pete Woods Fri, 01 Feb 2013 11:30:35 +0000 sphinxbase (0.8-0ubuntu1) raring; urgency=low * New upstream release. * debian/control: - Add bison to Build-Depends. - Bump Standards-Version to 3.9.4. * debian/libsphinxbase1.symbols: Update with new symbols. -- Logan Rosen Tue, 08 Jan 2013 00:54:22 -0500 sphinxbase (0.4.1-0ubuntu4) precise; urgency=low * Rebuild to drop python2.6 dependencies and provides. -- Matthias Klose Sat, 14 Apr 2012 13:45:35 +0000 sphinxbase (0.4.1-0ubuntu3) oneiric; urgency=low * Update watch file. * Lintian cleanup. Bump Standards-Version to 3.9.2. * Use source format 3.0 (quilt). * Remove useless index.html file. * Drop changes to python/setup.py.in because setuptools aren't available during the build process anyway. -- Ilya Barygin Sat, 03 Sep 2011 16:11:37 +0400 sphinxbase (0.4.1-0ubuntu2) natty; urgency=low * Rebuild to add support for python 2.7. -- Matthias Klose Fri, 03 Dec 2010 00:14:52 +0000 sphinxbase (0.4.1-0ubuntu1) karmic; urgency=low * Initial release (LP: #134925). -- Michael Nelson Wed, 19 Aug 2009 12:12:23 +0200 debian/libsphinxbase1.install0000644000000000000000000000002212076003450013461 0ustar usr/lib/lib*.so.* debian/sphinx_cepview.10000644000000000000000000000156212076003450012304 0ustar .TH SPHINX_CEPVIEW 1 "2007-08-27" .SH NAME sphinx_cepview \- View acoustic feature files .SH SYNOPSIS .B sphinx_cepview [\fI options \fR]... .SH DESCRIPTION .PP This program reads acoustic feature files in Sphinx format and displays their contents as text for inspection. .TP .B \-b The beginning frame 0-based. .TP .B \-d Number of displayed coefficients. .TP .B \-describe Whether description will be shown. .TP .B \-e The ending frame. .TP .B \-f feature file. .TP .B \-header Whether header is shown. .TP .B \-i Number of coefficients in the feature vector. .TP .B \-logfn file (default stdout/stderr) .SH AUTHOR Written by numerous people at CMU from 1994 onwards. This manual page by David Huggins-Daines .SH COPYRIGHT Copyright \(co 1994-2007 Carnegie Mellon University. See the file \fICOPYING\fR included with this package for more information. .br debian/sphinxbase-utils.manpages0000644000000000000000000000027112076003450014202 0ustar debian/sphinx_fe.1 debian/sphinx_pitch.1 debian/sphinx_cepview.1 debian/sphinx_jsgf2fsg.1 debian/sphinx_lm_eval.1 doc/sphinx_lm_sort.1 doc/sphinx_cont_adseg.1 doc/sphinx_cont_fileseg.1 debian/sphinxbase-utils.install0000644000000000000000000000001212076003450014046 0ustar usr/bin/* debian/libsphinxbase1.symbols0000644000000000000000000003501212076003471013515 0ustar libsphinxad.so.0 libsphinxbase1 #MINVER# ad_close@Base 0.4.1 ad_open@Base 0.4.1 ad_open_dev@Base 0.4.1 ad_open_sps@Base 0.4.1 ad_read@Base 0.4.1 ad_start_rec@Base 0.4.1 ad_stop_rec@Base 0.4.1 cont_ad_attach@Base 0.4.1 cont_ad_buffer_space@Base 0.4.1 cont_ad_calib@Base 0.4.1 cont_ad_calib_loop@Base 0.4.1 cont_ad_calib_size@Base 0.4.1 cont_ad_classify@Base 0.4.1 cont_ad_close@Base 0.4.1 cont_ad_detach@Base 0.4.1 cont_ad_frame_pow@Base 0.4.1 cont_ad_get_params@Base 0.4.1 cont_ad_init@Base 0.4.1 cont_ad_init_rawmode@Base 0.4.1 cont_ad_powhist_dump@Base 0.4.1 cont_ad_read@Base 0.4.1 cont_ad_reset@Base 0.4.1 cont_ad_set_logfp@Base 0.4.1 cont_ad_set_params@Base 0.4.1 cont_ad_set_rawfp@Base 0.4.1 cont_ad_set_thresh@Base 0.4.1 cont_set_thresh@Base 0.4.1 libsphinxbase.so.1 libsphinxbase1 #MINVER# _E__abort_error@Base 0.4.1 _E__die_error@Base 0.4.1 _E__fatal_sys_error@Base 0.4.1 _E__pr_header@Base 0.4.1 _E__pr_info@Base 0.4.1 _E__pr_info_header@Base 0.4.1 _E__pr_info_header_wofn@Base 0.4.1 _E__pr_warn@Base 0.4.1 _E__sys_error@Base 0.4.1 __ckd_alloc_2d_ptr@Base 0.4.1 __ckd_alloc_3d_ptr@Base 0.4.1 __ckd_calloc_2d__@Base 0.4.1 __ckd_calloc_3d__@Base 0.4.1 __ckd_calloc_4d__@Base 0.8 __ckd_calloc__@Base 0.4.1 __ckd_malloc__@Base 0.4.1 __ckd_realloc__@Base 0.4.1 __ckd_salloc__@Base 0.4.1 __listelem_free__@Base 0.4.1 __listelem_malloc__@Base 0.4.1 __listelem_malloc_id__@Base 0.8 accum_3d@Base 0.8 agc_emax@Base 0.4.1 agc_emax_get@Base 0.4.1 agc_emax_set@Base 0.4.1 agc_emax_update@Base 0.4.1 agc_free@Base 0.4.1 agc_get_threshold@Base 0.4.1 agc_init@Base 0.4.1 agc_max@Base 0.4.1 agc_noise@Base 0.4.1 agc_set_threshold@Base 0.4.1 agc_type_from_str@Base 0.4.1 agc_type_str@Base 0.4.1 atof_c@Base 0.4.1 band_nz_1d@Base 0.8 bio_fread@Base 0.4.1 bio_fread_1d@Base 0.4.1 bio_fread_2d@Base 0.4.1 bio_fread_3d@Base 0.4.1 bio_fwrite@Base 0.4.1 bio_hdrarg_free@Base 0.4.1 bio_readhdr@Base 0.4.1 bio_read_wavfile@Base 0.8 bio_verify_chksum@Base 0.4.1 bio_writehdr@Base 0.8 bio_writehdr_version@Base 0.4.1 bit_encode_attach@Base 0.8 bit_encode_flush@Base 0.8 bit_encode_free@Base 0.8 bit_encode_retain@Base 0.8 bit_encode_write@Base 0.8 bit_encode_write_cw@Base 0.8 bitvec_count_set@Base 0.4.1 bitvec_realloc@Base 0.8 build_directory@Base 0.8 ckd_fail@Base 0.4.1 ckd_free@Base 0.4.1 ckd_free_2d@Base 0.4.1 ckd_free_3d@Base 0.4.1 ckd_free_4d@Base 0.8 ckd_set_jump@Base 0.4.1 classdef_free@Base 0.4.1 cmd_ln_access_r@Base 0.4.1 cmd_ln_appl_enter@Base 0.4.1 cmd_ln_appl_exit@Base 0.4.1 cmd_ln_exists_r@Base 0.4.1 cmd_ln_float_r@Base 0.4.1 cmd_ln_free@Base 0.4.1 cmd_ln_free_r@Base 0.4.1 cmd_ln_get@Base 0.4.1 cmd_ln_init@Base 0.4.1 cmd_ln_int_r@Base 0.4.1 cmd_ln_parse@Base 0.4.1 cmd_ln_parse_file@Base 0.4.1 cmd_ln_parse_file_r@Base 0.4.1 cmd_ln_parse_r@Base 0.4.1 cmd_ln_print_help_r@Base 0.4.1 cmd_ln_retain@Base 0.4.1 cmd_ln_set_float_r@Base 0.4.1 cmd_ln_set_int_r@Base 0.4.1 cmd_ln_set_str_r@Base 0.4.1 cmd_ln_str_list_r@Base 0.8 cmd_ln_str_r@Base 0.4.1 cmd_ln_val_free@Base 0.4.1 cmn@Base 0.4.1 cmn_free@Base 0.4.1 cmn_init@Base 0.4.1 cmn_prior@Base 0.4.1 cmn_prior_get@Base 0.4.1 cmn_prior_set@Base 0.4.1 cmn_prior_update@Base 0.4.1 cmn_type_from_str@Base 0.4.1 cmn_type_str@Base 0.4.1 determinant@Base 0.4.1 err_get_debug_level@Base 0.8 err_get_logfp@Base 0.4.1 err_set_debug_level@Base 0.8 err_set_logfile@Base 0.4.1 err_set_logfp@Base 0.4.1 fclose_comp@Base 0.4.1 fe_build_melfilters@Base 0.4.1 fe_compute_melcosine@Base 0.4.1 fe_create_2d@Base 0.4.1 fe_create_hamming@Base 0.4.1 fe_create_twiddle@Base 0.4.1 fe_dct2@Base 0.4.1 fe_dct3@Base 0.4.1 fe_end_utt@Base 0.4.1 fe_float_to_mfcc@Base 0.4.1 fe_free@Base 0.4.1 fe_free_2d@Base 0.4.1 fe_get_args@Base 0.4.1 fe_get_config@Base 0.4.1 fe_get_input_size@Base 0.4.1 fe_get_output_size@Base 0.4.1 fe_init_auto@Base 0.4.1 fe_init_auto_r@Base 0.4.1 fe_init_dither@Base 0.4.1 fe_lifter@Base 0.4.1 fe_logspec_dct2@Base 0.4.1 fe_logspec_to_mfcc@Base 0.4.1 fe_mfcc_dct3@Base 0.4.1 fe_mfcc_to_float@Base 0.4.1 fe_parse_general_params@Base 0.4.1 fe_print_current@Base 0.4.1 fe_process_frame@Base 0.4.1 fe_process_frames@Base 0.4.1 fe_process_utt@Base 0.4.1 fe_read_frame@Base 0.4.1 fe_retain@Base 0.4.1 fe_shift_frame@Base 0.4.1 fe_spec2cep@Base 0.4.1 fe_start_utt@Base 0.4.1 fe_warp_affine_doc@Base 0.4.1 fe_warp_affine_id@Base 0.4.1 fe_warp_affine_n_param@Base 0.4.1 fe_warp_affine_print@Base 0.4.1 fe_warp_affine_set_parameters@Base 0.4.1 fe_warp_affine_unwarped_to_warped@Base 0.4.1 fe_warp_affine_warped_to_unwarped@Base 0.4.1 fe_warp_doc@Base 0.4.1 fe_warp_id@Base 0.4.1 fe_warp_inverse_linear_doc@Base 0.4.1 fe_warp_inverse_linear_id@Base 0.4.1 fe_warp_inverse_linear_n_param@Base 0.4.1 fe_warp_inverse_linear_print@Base 0.4.1 fe_warp_inverse_linear_set_parameters@Base 0.4.1 fe_warp_inverse_linear_unwarped_to_warped@Base 0.4.1 fe_warp_inverse_linear_warped_to_unwarped@Base 0.4.1 fe_warp_n_param@Base 0.4.1 fe_warp_piecewise_linear_doc@Base 0.4.1 fe_warp_piecewise_linear_id@Base 0.4.1 fe_warp_piecewise_linear_n_param@Base 0.4.1 fe_warp_piecewise_linear_print@Base 0.4.1 fe_warp_piecewise_linear_set_parameters@Base 0.4.1 fe_warp_piecewise_linear_unwarped_to_warped@Base 0.4.1 fe_warp_piecewise_linear_warped_to_unwarped@Base 0.4.1 fe_warp_print@Base 0.4.1 fe_warp_set@Base 0.4.1 fe_warp_set_parameters@Base 0.4.1 fe_warp_unwarped_to_warped@Base 0.4.1 fe_warp_warped_to_unwarped@Base 0.4.1 fe_write_frame@Base 0.4.1 feat_array_alloc@Base 0.4.1 feat_array_free@Base 0.4.1 feat_array_realloc@Base 0.8 feat_free@Base 0.4.1 feat_init@Base 0.4.1 feat_lda_transform@Base 0.4.1 feat_print@Base 0.4.1 feat_read_lda@Base 0.4.1 feat_report@Base 0.4.1 feat_retain@Base 0.4.1 feat_s2mfc2feat@Base 0.4.1 feat_s2mfc2feat_live@Base 0.4.1 feat_set_subvecs@Base 0.4.1 fixlog2@Base 0.4.1 fixlog@Base 0.4.1 floor_nz_1d@Base 0.8 floor_nz_3d@Base 0.8 fopen_comp@Base 0.4.1 fopen_compchk@Base 0.4.1 fread_line@Base 0.4.1 fread_retry@Base 0.4.1 free_sorted_list@Base 0.8 fsg_arciter_free@Base 0.8 fsg_arciter_get@Base 0.8 fsg_arciter_next@Base 0.8 fsg_model_add_alt@Base 0.4.1 fsg_model_add_silence@Base 0.4.1 fsg_model_arcs@Base 0.8 fsg_model_free@Base 0.4.1 fsg_model_init@Base 0.4.1 fsg_model_null_trans@Base 0.8 fsg_model_null_trans_add@Base 0.4.1 fsg_model_null_trans_closure@Base 0.4.1 fsg_model_read@Base 0.4.1 fsg_model_readfile@Base 0.4.1 fsg_model_retain@Base 0.4.1 fsg_model_tag_trans_add@Base 0.8 fsg_model_trans@Base 0.8 fsg_model_trans_add@Base 0.4.1 fsg_model_word_add@Base 0.4.1 fsg_model_word_id@Base 0.4.1 fsg_model_write@Base 0.4.1 fsg_model_write_fsm@Base 0.8 fsg_model_write_symtab@Base 0.8 fsg_model_writefile@Base 0.4.1 fsg_model_writefile_fsm@Base 0.8 fsg_model_writefile_symtab@Base 0.8 genrand_int31@Base 0.4.1 genrand_int32@Base 0.4.1 genrand_real1@Base 0.4.1 genrand_real2@Base 0.4.1 genrand_real3@Base 0.4.1 genrand_res53@Base 0.4.1 genrand_seed@Base 0.4.1 glist_add_float32@Base 0.4.1 glist_add_float64@Base 0.4.1 glist_add_int32@Base 0.4.1 glist_add_ptr@Base 0.4.1 glist_add_uint32@Base 0.4.1 glist_count@Base 0.4.1 glist_free@Base 0.4.1 glist_insert_float32@Base 0.4.1 glist_insert_float64@Base 0.4.1 glist_insert_int32@Base 0.4.1 glist_insert_ptr@Base 0.4.1 glist_insert_uint32@Base 0.4.1 glist_reverse@Base 0.4.1 glist_tail@Base 0.4.1 global_cmdln@Base 0.4.1 gnode_free@Base 0.4.1 hash_table_delete@Base 0.4.1 hash_table_delete_bkey@Base 0.8 hash_table_display@Base 0.4.1 hash_table_empty@Base 0.4.1 hash_table_enter@Base 0.4.1 hash_table_enter_bkey@Base 0.4.1 hash_table_free@Base 0.4.1 hash_table_iter@Base 0.4.1 hash_table_iter_free@Base 0.4.1 hash_table_iter_next@Base 0.4.1 hash_table_lookup@Base 0.4.1 hash_table_lookup_bkey@Base 0.4.1 hash_table_lookup_bkey_int32@Base 0.4.1 hash_table_lookup_int32@Base 0.4.1 hash_table_new@Base 0.4.1 hash_table_replace@Base 0.4.1 hash_table_replace_bkey@Base 0.8 hash_table_tolist@Base 0.4.1 heap_destroy@Base 0.4.1 heap_insert@Base 0.4.1 heap_new@Base 0.4.1 heap_pop@Base 0.4.1 heap_remove@Base 0.8 heap_size@Base 0.8 heap_top@Base 0.4.1 host_endian@Base 0.4.1 huff_code_attach@Base 0.8 huff_code_build_int@Base 0.8 huff_code_build_str@Base 0.8 huff_code_decode_int@Base 0.8 huff_code_decode_str@Base 0.8 huff_code_detach@Base 0.8 huff_code_dump@Base 0.8 huff_code_dump_codebits@Base 0.8 huff_code_encode_int@Base 0.8 huff_code_encode_str@Base 0.8 huff_code_free@Base 0.8 huff_code_read@Base 0.8 huff_code_retain@Base 0.8 huff_code_write@Base 0.8 init_genrand@Base 0.4.1 init_sorted_list@Base 0.8 invert@Base 0.4.1 jsgf_add_link@Base 0.4.1 jsgf_atom_free@Base 0.4.1 jsgf_atom_new@Base 0.4.1 jsgf_build_fsg@Base 0.4.1 jsgf_build_fsg_raw@Base 0.8 jsgf_define_rule@Base 0.4.1 jsgf_get_rule@Base 0.4.1 jsgf_grammar_free@Base 0.4.1 jsgf_grammar_name@Base 0.8 jsgf_grammar_new@Base 0.4.1 jsgf_import_rule@Base 0.4.1 jsgf_kleene_new@Base 0.4.1 jsgf_optional_new@Base 0.4.1 jsgf_parse_file@Base 0.4.1 jsgf_read_file@Base 0.8 jsgf_rule_free@Base 0.4.1 jsgf_rule_iter@Base 0.4.1 jsgf_rule_name@Base 0.4.1 jsgf_rule_public@Base 0.4.1 jsgf_rule_retain@Base 0.4.1 jsgf_write_fsg@Base 0.4.1 lcase@Base 0.4.1 lineiter_free@Base 0.4.1 lineiter_lineno@Base 0.8 lineiter_next@Base 0.4.1 lineiter_start@Base 0.4.1 lineiter_start_clean@Base 0.8 listelem_alloc_free@Base 0.4.1 listelem_alloc_init@Base 0.4.1 listelem_get_item@Base 0.8 listelem_stats@Base 0.4.1 lm3g_add_ug@Base 0.4.1 lm3g_apply_weights@Base 0.4.1 lm3g_tginfo_free@Base 0.4.1 lm3g_tginfo_reset@Base 0.4.1 logfp_index_alloc@Base 0.4.1 logmath_add@Base 0.4.1 logmath_add_exact@Base 0.4.1 logmath_exp@Base 0.4.1 logmath_free@Base 0.4.1 logmath_get_base@Base 0.4.1 logmath_get_shift@Base 0.4.1 logmath_get_table_shape@Base 0.4.1 logmath_get_width@Base 0.4.1 logmath_get_zero@Base 0.4.1 logmath_init@Base 0.4.1 logmath_ln_to_log@Base 0.4.1 logmath_log10_to_log@Base 0.4.1 logmath_log@Base 0.4.1 logmath_log_to_ln@Base 0.4.1 logmath_log_to_log10@Base 0.4.1 logmath_read@Base 0.4.1 logmath_retain@Base 0.4.1 logmath_write@Base 0.4.1 matrixadd@Base 0.4.1 matrixmultiply@Base 0.4.1 mmio_file_ptr@Base 0.4.1 mmio_file_read@Base 0.4.1 mmio_file_unmap@Base 0.4.1 nextword@Base 0.4.1 ngram_add_word_internal@Base 0.4.1 ngram_bg_score@Base 0.4.1 ngram_class_add_word@Base 0.4.1 ngram_class_free@Base 0.4.1 ngram_class_new@Base 0.4.1 ngram_class_prob@Base 0.4.1 ngram_file_name_to_type@Base 0.4.1 ngram_iter@Base 0.8 ngram_iter_free@Base 0.8 ngram_iter_get@Base 0.8 ngram_iter_init@Base 0.8 ngram_iter_next@Base 0.8 ngram_iter_successors@Base 0.8 ngram_model_add_class@Base 0.4.1 ngram_model_add_class_word@Base 0.4.1 ngram_model_add_word@Base 0.4.1 ngram_model_apply_weights@Base 0.4.1 ngram_model_arpa_read@Base 0.4.1 ngram_model_arpa_write@Base 0.4.1 ngram_model_casefold@Base 0.8 ngram_model_dmp32_read@Base 0.4.1 ngram_model_dmp32_write@Base 0.4.1 ngram_model_dmp_build@Base 0.8 ngram_model_dmp_read@Base 0.4.1 ngram_model_dmp_write@Base 0.4.1 ngram_model_flush@Base 0.4.1 ngram_model_free@Base 0.4.1 ngram_model_get_counts@Base 0.4.1 ngram_model_get_size@Base 0.4.1 ngram_model_get_weights@Base 0.4.1 ngram_model_init@Base 0.4.1 ngram_model_mgrams@Base 0.8 ngram_model_read@Base 0.4.1 ngram_model_read_classdef@Base 0.4.1 ngram_model_recode@Base 0.4.1 ngram_model_retain@Base 0.4.1 ngram_model_set_add@Base 0.4.1 ngram_model_set_count@Base 0.4.1 ngram_model_set_current@Base 0.4.1 ngram_model_set_current_wid@Base 0.4.1 ngram_model_set_init@Base 0.4.1 ngram_model_set_interp@Base 0.4.1 ngram_model_set_iter@Base 0.4.1 ngram_model_set_iter_free@Base 0.4.1 ngram_model_set_iter_model@Base 0.4.1 ngram_model_set_iter_next@Base 0.4.1 ngram_model_set_known_wid@Base 0.4.1 ngram_model_set_lookup@Base 0.4.1 ngram_model_set_map_words@Base 0.4.1 ngram_model_set_read@Base 0.4.1 ngram_model_set_remove@Base 0.4.1 ngram_model_set_select@Base 0.4.1 ngram_model_write@Base 0.4.1 ngram_ng_iter@Base 0.8 ngram_ng_prob@Base 0.4.1 ngram_ng_score@Base 0.4.1 ngram_prob@Base 0.4.1 ngram_score@Base 0.4.1 ngram_score_to_prob@Base 0.4.1 ngram_str_to_type@Base 0.8 ngram_tg_score@Base 0.4.1 ngram_type_to_str@Base 0.8 ngram_unknown_wid@Base 0.4.1 ngram_wid@Base 0.4.1 ngram_word@Base 0.4.1 ngram_zero@Base 0.4.1 norm_3d@Base 0.8 outerproduct@Base 0.4.1 parse_subvecs@Base 0.4.1 path2basename@Base 0.4.1 path2dirname@Base 0.8 path_is_absolute@Base 0.4.1 pctr_free@Base 0.4.1 pctr_increment@Base 0.4.1 pctr_new@Base 0.4.1 pctr_print@Base 0.4.1 pctr_reset@Base 0.4.1 prime@Base 0.4.1 print_appl_info@Base 0.4.1 ptmr_init@Base 0.4.1 ptmr_print_all@Base 0.4.1 ptmr_reset@Base 0.4.1 ptmr_reset_all@Base 0.4.1 ptmr_start@Base 0.4.1 ptmr_stop@Base 0.4.1 read_classdef_file@Base 0.4.1 sb_strtod@Base 0.4.1 sbevent_free@Base 0.4.1 sbevent_init@Base 0.4.1 sbevent_signal@Base 0.4.1 sbevent_wait@Base 0.4.1 sbmsgq_free@Base 0.4.1 sbmsgq_init@Base 0.4.1 sbmsgq_send@Base 0.4.1 sbmsgq_wait@Base 0.4.1 sbmtx_free@Base 0.4.1 sbmtx_init@Base 0.4.1 sbmtx_lock@Base 0.4.1 sbmtx_trylock@Base 0.4.1 sbmtx_unlock@Base 0.4.1 sbthread_arg@Base 0.4.1 sbthread_config@Base 0.4.1 sbthread_free@Base 0.4.1 sbthread_msgq@Base 0.4.1 sbthread_send@Base 0.4.1 sbthread_start@Base 0.4.1 sbthread_wait@Base 0.4.1 scalarmultiply@Base 0.4.1 solve@Base 0.4.1 sorted_id@Base 0.8 stat_mtime@Base 0.4.1 stat_retry@Base 0.4.1 str2words@Base 0.4.1 strcmp_nocase@Base 0.4.1 string_join@Base 0.4.1 string_trim@Base 0.4.1 strip_fileext@Base 0.4.1 strncmp_nocase@Base 0.4.1 subvecs_free@Base 0.4.1 thresholded_search@Base 0.4.1 ucase@Base 0.4.1 unlimit@Base 0.4.1 utf8_decode@Base 0.8 vals_in_sorted_list@Base 0.8 yin_end@Base 0.4.1 yin_free@Base 0.4.1 yin_init@Base 0.4.1 yin_read@Base 0.4.1 yin_start@Base 0.4.1 yin_write@Base 0.4.1 yy_create_buffer@Base 0.4.1 yy_delete_buffer@Base 0.4.1 yy_flush_buffer@Base 0.4.1 yy_scan_buffer@Base 0.4.1 yy_scan_bytes@Base 0.4.1 yy_scan_string@Base 0.4.1 yy_switch_to_buffer@Base 0.4.1 yyalloc@Base 0.4.1 yyerror@Base 0.4.1 yyfree@Base 0.4.1 yyget_column@Base 0.4.1 yyget_debug@Base 0.4.1 yyget_extra@Base 0.4.1 yyget_in@Base 0.4.1 yyget_leng@Base 0.4.1 yyget_lineno@Base 0.4.1 yyget_lval@Base 0.4.1 yyget_out@Base 0.4.1 yyget_text@Base 0.4.1 yylex@Base 0.4.1 yylex_destroy@Base 0.4.1 yylex_init@Base 0.4.1 yylex_init_extra@Base 0.4.1 yyparse@Base 0.4.1 yypop_buffer_state@Base 0.4.1 yypush_buffer_state@Base 0.4.1 yyrealloc@Base 0.4.1 yyrestart@Base 0.4.1 yyset_column@Base 0.4.1 yyset_debug@Base 0.4.1 yyset_extra@Base 0.4.1 yyset_in@Base 0.4.1 yyset_lineno@Base 0.4.1 yyset_lval@Base 0.4.1 yyset_out@Base 0.4.1 debian/compat0000644000000000000000000000000212076003450010361 0ustar 5 debian/patches/0000755000000000000000000000000012255577646010640 5ustar debian/patches/approximate_tests0000644000000000000000000000605412165026305014320 0ustar diff --git a/test/unit/test_ngram/test_lm_mmap.c b/test/unit/test_ngram/test_lm_mmap.c index 968ad56..cbff5dd 100644 --- a/test/unit/test_ngram/test_lm_mmap.c +++ b/test/unit/test_ngram/test_lm_mmap.c @@ -16,6 +16,8 @@ static const arg_t defn[] = { { NULL, 0, NULL, NULL } }; +#define TEST_ALMOST_EQUAL(val1, val2) (abs((val1) - (val2)) <= 1) + int main(int argc, char *argv[]) { @@ -36,12 +38,12 @@ main(int argc, char *argv[]) TEST_EQUAL(ngram_wid(model, "absolute"), 13); TEST_EQUAL(strcmp(ngram_word(model, 13), "absolute"), 0); /* Test unigrams. */ - TEST_EQUAL(ngram_score(model, "", NULL), -75346); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), + TEST_ALMOST_EQUAL(ngram_score(model, "", NULL), -75346); + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), NGRAM_INVALID_WID, &n_used), -75346); TEST_EQUAL(n_used, 1); - TEST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), + TEST_ALMOST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208); + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), NGRAM_INVALID_WID, &n_used), -64208); TEST_EQUAL(n_used, 1); /* Test bigrams. */ @@ -59,12 +61,12 @@ main(int argc, char *argv[]) TEST_EQUAL(ngram_wid(model, "absolute"), 13); TEST_EQUAL(strcmp(ngram_word(model, 13), "absolute"), 0); /* Test unigrams. */ - TEST_EQUAL(ngram_score(model, "", NULL), -75346); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), + TEST_ALMOST_EQUAL(ngram_score(model, "", NULL), -75346); + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), NGRAM_INVALID_WID, &n_used), -75346); TEST_EQUAL(n_used, 1); - TEST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), + TEST_ALMOST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208); + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), NGRAM_INVALID_WID, &n_used), -64208); TEST_EQUAL(n_used, 1); /* Test bigrams. */ @@ -83,15 +85,15 @@ main(int argc, char *argv[]) TEST_EQUAL(ngram_wid(model, "absolute"), 13); TEST_EQUAL(strcmp(ngram_word(model, 13), "absolute"), 0); /* Test unigrams. */ - TEST_EQUAL(ngram_score(model, "", NULL), -75346 + TEST_ALMOST_EQUAL(ngram_score(model, "", NULL), -75346 * 2 + logmath_log(lmath, 0.5)); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, ""), NGRAM_INVALID_WID, &n_used), -75346 * 2 + logmath_log(lmath, 0.5)); TEST_EQUAL(n_used, 1); - TEST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208 + TEST_ALMOST_EQUAL(ngram_score(model, "sphinxtrain", NULL), -64208 * 2 + logmath_log(lmath, 0.5)); - TEST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), + TEST_ALMOST_EQUAL(ngram_bg_score(model, ngram_wid(model, "sphinxtrain"), NGRAM_INVALID_WID, &n_used), -64208 * 2 + logmath_log(lmath, 0.5)); TEST_EQUAL(n_used, 1); debian/patches/ppc64el.diff0000644000000000000000000000245212255577646012752 0ustar Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -9023,7 +9023,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -9042,7 +9045,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) Index: b/m4/libtool.m4 =================================================================== --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1281,7 +1281,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1300,7 +1303,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) debian/patches/000_svn_r11709_reduce_pulseaudio_latency0000644000000000000000000000072712113366175020163 0ustar Description: Reduce pulseaudio latency Author: Pete Woods Origin: other Applied-Upstream: r11709 Last-Update: 2013-02-25 --- a/src/libsphinxad/ad_pulse.c +++ b/src/libsphinxad/ad_pulse.c @@ -124,6 +124,10 @@ if (!r->recording) return AD_EOF; + if (max > 2048) { + max = 2048; + } + if (pa_simple_read(r->pa, (void*)buf, max * 2, &error) < 0) { fprintf(stderr, "Failed to read speech: %s\n", pa_strerror(error)); } debian/patches/series0000644000000000000000000000011012255577636012044 0ustar 000_svn_r11709_reduce_pulseaudio_latency approximate_tests ppc64el.diff debian/libsphinxbase-dev.install0000644000000000000000000000013112076003450014155 0ustar usr/include/sphinxbase/* usr/lib/lib*.a usr/lib/lib*.so usr/lib/pkgconfig/* usr/lib/*.la debian/control0000644000000000000000000000531612225552225010600 0ustar Source: sphinxbase Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: David Huggins-Daines Build-Depends: debhelper (>= 5), autotools-dev, libasound2-dev, gettext, python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), bison, libpulse-dev, autotools-dev Standards-Version: 3.9.4 X-Python-Version: >= 2.4 Section: libs Package: libsphinxbase-dev Section: libdevel Architecture: any Depends: libsphinxbase1 (= ${binary:Version}), libasound2-dev, libpulse-dev, ${misc:Depends} Description: Sphinx base libraries - development files This package contains development files (headers and static libraries) for the audio processing and utility libraries used by Sphinx speech recognition engines (PocketSphinx and Sphinx3). Package: libsphinxbase1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Sphinx base libraries This package contains the audio processing and utility libraries used by the Sphinx speech recognition engines (PocketSphinx and Sphinx3). The Sphinx Group at Carnegie Mellon University is committed to releasing the long-time, DARPA-funded Sphinx projects widely, in order to stimulate the creation of speech-using tools and applications, and to advance the state of the art both directly in speech recognition, as well as in related areas including dialog systems and speech synthesis. Package: sphinxbase-utils Section: sound Architecture: any Depends: ${shlibs:Depends}, perl, ${misc:Depends} Description: Sphinx base libraries - utilities This package contains a number of utilities, such as sphinx_pitch, sphinx_fe and sphinx_lm_sort, which are useful for all Sphinx speech recognition engines. Package: python-sphinxbase Section: python Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: Sphinx base libraries - Python module This package contains a Python module which provides access to the audio processing and utility libraries used by the Sphinx speech recognition engines (PocketSphinx and Sphinx3). The Python module is currently is limited to language models. Package: python-sphinxbase-dbg Section: debug Architecture: any Priority: extra Depends: ${python:Depends}, ${shlibs:Depends}, python-dbg, python-sphinxbase, ${misc:Depends} Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: Sphinx base libraries - Python module (debug version) This package contains a Python module which provides access to Sphinx base functionality, which currently is limited to language models. . This package contains the extension built for the Python debug interpreter. debian/rules0000755000000000000000000000542112225552212010246 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif PYVERS=$(shell pyversions -r) config.status: configure dh_testdir dh_autotools-dev_updateconfig ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --without-lapack $(BUILD_FIXED) CFLAGS="$(CFLAGS)" build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) ifneq ($(DEB_HOST_ARCH),powerpc) $(MAKE) check endif $(RM) -r python/build set -e; \ for PYTHON in $(PYVERS); do \ (cd python && $$PYTHON setup.py build); \ done set -e; \ for PYTHON in $(PYVERS); do \ (cd python && $$PYTHON-dbg setup.py build); \ done touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_autotools-dev_restoreconfig dh_clean $(RM) -r debian/python-sphinxbase debian/python-sphinxbase-dbg $(RM) -r python/build install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install set -e; \ for PYTHON in $(PYVERS); do \ (cd python && $$PYTHON setup.py install --root=$(CURDIR)/debian/python-sphinxbase --install-layout=deb) ; \ done set -e; \ for PYTHON in $(PYVERS); do \ (cd python && $$PYTHON-dbg setup.py install --root=$(CURDIR)/debian/python-sphinxbase-dbg --install-layout=deb) ; \ done find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/python-*-dbg -depth -empty -exec rmdir {} \; -find debian -name '*.py[co]' | xargs rm -f # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_install --sourcedir=debian/tmp -X.la dh_installman dh_link dh_strip --exclude=_d.so rm -rf debian/python-sphinxbase-dbg/usr/share/doc/python-sphinxbase-dbg ln -s python-sphinxbase debian/python-sphinxbase-dbg/usr/share/doc/python-sphinxbase-dbg dh_compress -X.py dh_fixperms dh_python2 dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000012076003501010460 5ustar debian/source/format0000644000000000000000000000001412076003450011671 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007412076003450010215 0ustar version=3 http://sf.net/cmusphinx/sphinxbase-(.+)\.tar\.gz debian/sphinx_pitch.10000644000000000000000000000361212076003450011747 0ustar .TH SPHINX_PITCH 1 "2007-05-12" .SH NAME sphinx_pitch \- Extract pitch from audio files .SH SYNOPSIS .B sphinx_pitch [\fI options \fR]... .SH DESCRIPTION .PP This program reads audio files and analyzes them for pitch and voicing. .TP .B \-c file for batch processing .TP .B \-di directory, input file names are relative to this, if defined .TP .B \-do directory, output files are relative to this .TP .B \-ei extension to be applied to all input files .TP .B \-eo extension to be applied to all output files .TP .B \-flen Number of seconds in each analysis frame (needs to be greater than twice the longest period you wish to detect - to detect down to 80Hz you need a frame length of 2.0/80 = 0.025). .TP .B \-fshift Frame shift: number of seconds between each analysis frame. .TP .B \-i audio input file .TP .B \-input_endian of audio data (will be determined automatically if not given) .TP .B \-mswav Defines input format as Microsoft Wav (RIFF) .TP .B \-nist Defines input format as NIST sphere .TP .B \-nskip If a control file was specified, the number of utterances to skip at the head of the file .TP .B \-o text output file (standard output will be used if not given) .TP .B \-raw Defines input format as raw binary data .TP .B \-runlen If a control file was specified, the number of utterances to process (see \fB\-nskip\fR too) .TP .B \-samprate Sampling rate of audio data (will be determined automatically if 0) .TP .B \-search_range Fraction of the best local estimate to use as a search range for smoothing. .TP .B \-smooth_window Number of frames on either side of the current frame to use for smoothing. .TP .B \-voice_thresh Threshold of normalized difference under which to search for the fundamental period. .SH AUTHOR David Huggins-Daines .SH COPYRIGHT Copyright \(co 2007-2008 Carnegie Mellon University. See the file \fICOPYING\fR included with this package for more information. .br