diff options
Diffstat (limited to 'development/julius')
-rw-r--r-- | development/julius/README | 25 | ||||
-rw-r--r-- | development/julius/julius.SlackBuild | 22 |
2 files changed, 29 insertions, 18 deletions
diff --git a/development/julius/README b/development/julius/README index f7868b4a3f..a45341c751 100644 --- a/development/julius/README +++ b/development/julius/README @@ -1,12 +1,13 @@ -"Julius" is a high-performance, two-pass large vocabulary continuous speech -recognition (LVCSR) decoder software for speech-related researchers and -developers. Based on word N-gram and context-dependent HMM, it can perform -almost real-time decoding on most current PCs in 60k word dictation task. -Major search techniques are fully incorporated such as tree lexicon, N-gram -factoring, cross-word context dependency handling, enveloped beam search, -Gaussian pruning, Gaussian selection, etc. Besides search efficiency, it -is also modularized carefully to be independent from model structures, and -various HMM types are supported such as shared-state triphones and -tied-mixture models, with any number of mixtures, states, or phones. -Standard formats are adopted to cope with other free modeling toolkit such -as HTK, CMU-Cam SLM toolkit, etc. +"Julius" is a high-performance, two-pass large vocabulary continuous +speech recognition (LVCSR) decoder software for speech-related +researchers and developers. Based on word N-gram and context-dependent +HMM, it can perform almost real-time decoding on most current +PCs in 60k word dictation task. Major search techniques are fully +incorporated such as tree lexicon, N-gram factoring, cross-word context +dependency handling, enveloped beam search, Gaussian pruning, Gaussian +selection, etc. Besides search efficiency, it is also modularized +carefully to be independent from model structures, and various HMM +types are supported such as shared-state triphones and tied-mixture +models, with any number of mixtures, states, or phones. Standard +formats are adopted to cope with other free modeling toolkit such as +HTK, CMU-Cam SLM toolkit, etc. diff --git a/development/julius/julius.SlackBuild b/development/julius/julius.SlackBuild index 72982edabb..078b06c946 100644 --- a/development/julius/julius.SlackBuild +++ b/development/julius/julius.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for julius @@ -25,26 +25,36 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by SlackBuilds.org +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=julius VERSION=${VERSION:-4.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$( pwd ) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -95,4 +105,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |