debian/0000755000000000000000000000000012135545270007172 5ustar debian/watch0000644000000000000000000000007412103520646010217 0ustar version=3 http://sf.net/cmusphinx/sphinxtrain-(.+)\.tar\.gz debian/sphinxtrain-dev.install0000644000000000000000000000001412103462671013676 0ustar usr/include debian/rules0000755000000000000000000000141712124026315010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ --with autotools-dev override_dh_fixperms: dh_fixperms cat debian/executable-not-elf-or-script.files | xargs chmod 644 debian/sphinxtrain.install0000644000000000000000000000012412103527732013124 0ustar usr/bin usr/lib README /usr/share/sphinxtrain/doc/ NEWS /usr/share/sphinxtrain/doc/ debian/executable-not-elf-or-script.files0000644000000000000000000000710512115134361015615 0ustar debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/arpalm.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/corpus.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/divergence.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/evaluation.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/feat/_1s_c_d_dd.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/feat/__init__.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/feat/s2_4x.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/gmm.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/hmm.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/htkmfc.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/hypseg.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/__init__.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/mfcc.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/qmwx.pyx debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s2mfc.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3dict.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3file.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3gaucnt.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3gau.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3lda.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3mdef.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3mixw.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3model.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/s3tmat.py debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/100.arpa.gz debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/bar.dict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/filler.dict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/foo.dict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.ctl debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.dict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.logspec debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.lsn debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.mfc debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/sa1.wav debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/test.ctl debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/dictionary debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/fillerdict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/man.ah.111a.mfc debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/mdef debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/means debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/mixture_weights debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/noisedict debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/transition_matrices debian/sphinxtrain/usr/lib/sphinxtrain/python/cmusphinx/test/tidigits/variances debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/Queue/Job.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/Queue/PBS.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/Queue.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/Queue/POSIX.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/SimpleConfig.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/SphinxTrain/Config.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/SphinxTrain/Util.pm debian/sphinxtrain/usr/lib/sphinxtrain/scripts/lib/test_SimpleConfig.txt debian/copyright0000644000000000000000000001336112115141117011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sphinxtrain Source: http://downloads.sourceforge.net/cmusphinx/ Upstream-Contact: David Huggins-Daines Files: * Copyright: Copyright (c) 1999-2001 Carnegie Mellon University. All rights * reserved. License: other 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. Files: src/programs/g2p_eval/Phonetisaurus.hpp src/programs/g2p_eval/util.hpp src/programs/g2p_eval/Phonetisaurus.cpp src/programs/g2p_eval/phonetisaurus-g2p.cpp src/programs/g2p_train/M2MFstAligner.cpp src/programs/g2p_train/M2MFstAligner.hpp src/programs/g2p_train/FstPathFinder.cpp src/programs/g2p_train/FstPathFinder.hpp scripts/0000.g2p_train/calculateER.py scripts/0000.g2p_train/evaluate.py Copyright: (c) [2012-], Josef Robert Novak License: other All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted #provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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 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 HOLDER 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. Files: src/programs/g2p_eval/utf8.h src/programs/g2p_eval/utf8/core.h src/programs/g2p_eval/utf8/unchecked.h src/programs/g2p_eval/utf8/checked.h Copyright: 2006 Nemanja Trifunovic License: other Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: . The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2013 Canonical, Ltd. License: GPL-3 License: GPL-3 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3' debian/source/0000755000000000000000000000000012103453311010457 5ustar debian/source/format0000644000000000000000000000001412103453311011665 0ustar 3.0 (quilt) debian/sphinxtrain.links0000644000000000000000000000010412111171072012563 0ustar usr/bin/sphinx3_align usr/lib/sphinxtrain/sphinxtrain/sphinx3_align debian/patches/0000755000000000000000000000000012135544547010627 5ustar debian/patches/001_spelling_mistakes.patch0000644000000000000000000000335012115110211015715 0ustar Description: Fix spelling mistakes Author: Pete Woods Origin: other Forwarded: no Last-Update: 2013-03-04 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/programs/init_mixw/main.c +++ b/src/programs/init_mixw/main.c @@ -270,13 +270,13 @@ ts2cbfn = cmd_ln_str("-src_ts2cbfn"); if (strcmp(SEMI_LABEL, ts2cbfn) == 0) { - E_INFO("Generating semi-continous ts2cb mapping\n"); + E_INFO("Generating semi-continuous ts2cb mapping\n"); src_mdef->cb = semi_ts2cb(src_mdef->n_tied_state); n_ts = src_mdef->n_tied_state; n_cb = 1; } else if (strcmp(CONT_LABEL, ts2cbfn) == 0) { - E_INFO("Generating continous ts2cb mapping\n"); + E_INFO("Generating continuous ts2cb mapping\n"); src_mdef->cb = cont_ts2cb(src_mdef->n_tied_state); n_ts = src_mdef->n_tied_state; n_cb = src_mdef->n_tied_state; @@ -399,13 +399,13 @@ ts2cbfn = cmd_ln_str("-dest_ts2cbfn"); if (strcmp(SEMI_LABEL, ts2cbfn) == 0) { - E_INFO("Generating semi-continous ts2cb mapping\n"); + E_INFO("Generating semi-continuous ts2cb mapping\n"); dest_mdef->cb = semi_ts2cb(dest_mdef->n_tied_state); n_ts = dest_mdef->n_tied_state; n_cb = 1; } else if (strcmp(CONT_LABEL, ts2cbfn) == 0) { - E_INFO("Generating continous ts2cb mapping\n"); + E_INFO("Generating continuous ts2cb mapping\n"); dest_mdef->cb = cont_ts2cb(dest_mdef->n_tied_state); n_ts = dest_mdef->n_tied_state; n_cb = dest_mdef->n_tied_state; --- a/src/programs/kmeans_init/parse_cmd_ln.c +++ b/src/programs/kmeans_init/parse_cmd_ln.c @@ -92,7 +92,7 @@ { "-segext", ARG_STRING, "v8_seg", - "Extention of state segmentation files" }, + "Extension of state segmentation files" }, { "-omoddeffn", ARG_STRING, debian/patches/series0000644000000000000000000000011012135544500012021 0ustar 000_libexec_path.patch 001_spelling_mistakes.patch 002_big_endian.patch debian/patches/002_big_endian.patch0000644000000000000000000000077212135544547014316 0ustar Description: Fix build on big-endian architectures Author: Colin Watson Forwarded: no Last-Update: 2013-04-23 Index: b/src/programs/mk_s2sendump/mk_s2sendump.c =================================================================== --- a/src/programs/mk_s2sendump/mk_s2sendump.c +++ b/src/programs/mk_s2sendump/mk_s2sendump.c @@ -82,7 +82,7 @@ static void fwrite_int32 (FILE *fp, int32 val) { - SWAP_LE_32(val); + SWAP_LE_32(&val); fwrite (&val, sizeof(int), 1, fp); } debian/patches/000_libexec_path.patch0000644000000000000000000000234612103540311014637 0ustar Description: Fix the libexec path Fix the libexec path to point at the standard Debian location. . sphinxtrain (1.0.8-1) raring; urgency=low . * Initial release. Author: Pete Woods --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- sphinxtrain-1.0.8.orig/scripts/sphinxtrain +++ sphinxtrain-1.0.8/scripts/sphinxtrain @@ -6,7 +6,7 @@ import getopt, sys, os # Find the location of the files currentpath = os.path.dirname(os.path.abspath(__file__)) -sphinxbinpath = os.path.abspath(currentpath + "/../libexec/sphinxtrain") +sphinxbinpath = "/usr/lib/sphinxtrain/sphinxtrain" if os.path.exists(currentpath + "/../bin/Release"): sphinxbinpath = os.path.abspath(currentpath + "/../bin/Release") debian/compat0000644000000000000000000000000212103453311010355 0ustar 8 debian/control0000644000000000000000000000202012135521623010563 0ustar Source: sphinxtrain Section: sound Priority: extra Maintainer: Ubuntu MOTU Developers Build-Depends: debhelper (>= 8.0.0), autotools-dev, python-all-dev, python-all-dbg, libsphinxbase-dev Standards-Version: 3.9.4 Package: sphinxtrain Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.7), python-sphinxbase, python-scipy, sphinx3, pocketsphinx-utils XB-Python-Version: ${python:Versions} Description: Carnegie Mellon University's open source acoustic model trainer This is SphinxTrain, Carnegie Mellon University's open source acoustic model trainer. This package contains the scripts and instructions necessary for building models for the CMU Sphinx Recognizer. Package: sphinxtrain-dev Section: libdevel Architecture: all Depends: sphinxtrain, ${misc:Depends} Description: CM University's acoustic model trainer - development files This package contains development files (headers and static libraries) for the audio processing and utility libraries used by sphinxtrain. debian/changelog0000644000000000000000000000100012135545266011040 0ustar sphinxtrain (1.0.8-0ubuntu3) raring; urgency=low * Fix build on big-endian architectures. -- Colin Watson Tue, 23 Apr 2013 18:53:57 +0100 sphinxtrain (1.0.8-0ubuntu2) raring; urgency=low * Depend on pocketsphinx-utils rather than pocketsphinx. -- Colin Watson Tue, 23 Apr 2013 16:07:21 +0100 sphinxtrain (1.0.8-0ubuntu1) raring; urgency=low * Initial release (LP: #1144015). -- Pete Woods Sun, 03 Feb 2013 12:23:34 +0000