aboutsummaryrefslogtreecommitdiffstats
path: root/audio/julius
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-06-02 07:32:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-06-02 07:32:04 +0800
commite13791e271b33fd8ce20d2fa0248635d13175ce6 (patch)
tree1889893996de9ee0f3294f95c1eb1bfb74a49cc3 /audio/julius
parent6a984637cdde5dcb1bb9019f4a38aba1bfb8d7ed (diff)
downloadfreebsd-ports-gnome-e13791e271b33fd8ce20d2fa0248635d13175ce6.tar.gz
freebsd-ports-gnome-e13791e271b33fd8ce20d2fa0248635d13175ce6.tar.zst
freebsd-ports-gnome-e13791e271b33fd8ce20d2fa0248635d13175ce6.zip
"Julius" is an open-source high-performance large vocabulary
continuous speech recognition (LVCSR) decoder software for speech-related researchers and developers. Based on word N-gram and triphone context-dependent HMM, it can perform almost real-time decoding on most current PCs with small amount of memory. WWW: http://julius.sourceforge.jp/en_index.php PR: 135153 Submitted by: Simun Mikecin <numisemis@yahoo.com>
Diffstat (limited to 'audio/julius')
-rw-r--r--audio/julius/Makefile68
-rw-r--r--audio/julius/distinfo3
-rw-r--r--audio/julius/pkg-descr7
-rw-r--r--audio/julius/pkg-plist63
4 files changed, 141 insertions, 0 deletions
diff --git a/audio/julius/Makefile b/audio/julius/Makefile
new file mode 100644
index 000000000000..ddc7e4749005
--- /dev/null
+++ b/audio/julius/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: julius
+# Date created: 28 May 2009
+# Whom: numisemis at yahoo dot com
+#
+# $FreeBSD$
+#
+
+PORTNAME= julius
+PORTVERSION= 4.1.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= julius/37582
+
+MAINTAINER= numisemis@yahoo.com
+COMMENT= Large Vocabulary Continuous Speech Recognition Engine
+
+BUILD_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+RUN_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+
+MANCOMPRESSED= no
+GNU_CONFIGURE= yes
+USE_ICONV= yes
+
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
+MANLANG= "" ja
+MAN1= accept_check.1 \
+ adinrec.1 \
+ adintool.1 \
+ dfa_determinize.1 \
+ dfa_minimize.1 \
+ generate-ngram.1 \
+ generate.1 \
+ gram2sapixml.pl.1 \
+ jclient.pl.1 \
+ jcontrol.1 \
+ julius.1 \
+ mkbingram.1 \
+ mkbinhmm.1 \
+ mkbinhmmlist.1 \
+ mkdfa.pl.1 \
+ mkgshmm.1 \
+ mkss.1 \
+ nextword.1
+
+post-configure:
+ @${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E -e "s|INSTALL=(\.\./)+|INSTALL=install -o root -g wheel|"
+ @${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -E -e "s|install -s|install|"
+ @${REINPLACE_CMD} -E -e "s|man1/ja|ja/man1|" ${WRKSRC}/man/Makefile
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/accept_check
+ @${STRIP_CMD} ${PREFIX}/bin/adinrec
+ @${STRIP_CMD} ${PREFIX}/bin/adintool
+ @${STRIP_CMD} ${PREFIX}/bin/dfa_determinize
+ @${STRIP_CMD} ${PREFIX}/bin/dfa_minimize
+ @${STRIP_CMD} ${PREFIX}/bin/generate-ngram
+ @${STRIP_CMD} ${PREFIX}/bin/generate
+ @${STRIP_CMD} ${PREFIX}/bin/jcontrol
+ @${STRIP_CMD} ${PREFIX}/bin/julius
+ @${STRIP_CMD} ${PREFIX}/bin/mkbingram
+ @${STRIP_CMD} ${PREFIX}/bin/mkbinhmm
+ @${STRIP_CMD} ${PREFIX}/bin/mkbinhmmlist
+ @${STRIP_CMD} ${PREFIX}/bin/mkfa
+ @${STRIP_CMD} ${PREFIX}/bin/mkss
+ @${STRIP_CMD} ${PREFIX}/bin/nextword
+
+.include <bsd.port.mk>
diff --git a/audio/julius/distinfo b/audio/julius/distinfo
new file mode 100644
index 000000000000..10751becf850
--- /dev/null
+++ b/audio/julius/distinfo
@@ -0,0 +1,3 @@
+MD5 (julius-4.1.2.tar.gz) = 886a114b391aa1992567019213efc63e
+SHA256 (julius-4.1.2.tar.gz) = 542c7f1042679c8484dc2f5f5536ed0c79fa79b2b9dd6cf6881278a6fdb37a84
+SIZE (julius-4.1.2.tar.gz) = 1142403
diff --git a/audio/julius/pkg-descr b/audio/julius/pkg-descr
new file mode 100644
index 000000000000..92df4f501a48
--- /dev/null
+++ b/audio/julius/pkg-descr
@@ -0,0 +1,7 @@
+"Julius" is an open-source high-performance large vocabulary
+continuous speech recognition (LVCSR) decoder software for
+speech-related researchers and developers. Based on word N-gram and
+triphone context-dependent HMM, it can perform almost real-time
+decoding on most current PCs with small amount of memory.
+
+WWW: http://julius.sourceforge.jp/en_index.php
diff --git a/audio/julius/pkg-plist b/audio/julius/pkg-plist
new file mode 100644
index 000000000000..672fe8d6f3a9
--- /dev/null
+++ b/audio/julius/pkg-plist
@@ -0,0 +1,63 @@
+bin/accept_check
+bin/adinrec
+bin/adintool
+bin/dfa_determinize
+bin/dfa_minimize
+bin/generate-ngram
+bin/generate
+bin/gram2sapixml.pl
+bin/jclient.pl
+bin/jcontrol
+bin/julius
+bin/libjulius-config
+bin/libsent-config
+bin/mkbingram
+bin/mkbinhmm
+bin/mkbinhmmlist
+bin/mkdfa.pl
+bin/mkfa
+bin/mkgshmm
+bin/mkss
+bin/nextword
+bin/yomi2voca.pl
+include/julius/acconfig.h
+include/julius/beam.h
+include/julius/callback.h
+include/julius/config.h
+include/julius/define.h
+include/julius/extern.h
+include/julius/global.h
+include/julius/graph.h
+include/julius/jconf.h
+include/julius/jfunc.h
+include/julius/julius.h
+include/julius/juliuslib.h
+include/julius/misc.h
+include/julius/multi-gram.h
+include/julius/plugin.h
+include/julius/recog.h
+include/julius/search.h
+include/julius/trellis.h
+include/julius/useropt.h
+include/julius/wchmm.h
+include/sent/adin.h
+include/sent/config.h
+include/sent/dfa.h
+include/sent/hmm.h
+include/sent/hmm_calc.h
+include/sent/htk_defs.h
+include/sent/htk_hmm.h
+include/sent/htk_param.h
+include/sent/machines.h
+include/sent/mfcc.h
+include/sent/ngram2.h
+include/sent/ptree.h
+include/sent/speech.h
+include/sent/stddefs.h
+include/sent/tcpip.h
+include/sent/util.h
+include/sent/vocabulary.h
+lib/libjulius.a
+lib/libsent.a
+@dirrm include/julius
+@dirrm include/sent