summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/srilm/Makefile93
-rw-r--r--textproc/srilm/distinfo2
-rw-r--r--textproc/srilm/files/patch-Makefile.common.variables11
-rw-r--r--textproc/srilm/files/patch-Makefile.machine.freebsd36
-rw-r--r--textproc/srilm/files/patch-compare-outputs8
-rw-r--r--textproc/srilm/files/patch-dstruct-src-Array.h11
-rw-r--r--textproc/srilm/files/patch-go.run-test21
-rw-r--r--textproc/srilm/files/patch-lm-src-matherr.c16
-rw-r--r--textproc/srilm/pkg-descr17
-rw-r--r--textproc/srilm/pkg-message8
-rw-r--r--textproc/srilm/pkg-plist113
12 files changed, 0 insertions, 337 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 5cab440fd736..bce80d63cde1 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1672,7 +1672,6 @@
SUBDIR += sq-hunspell
SUBDIR += sr-aspell
SUBDIR += sr-hunspell
- SUBDIR += srilm
SUBDIR += ss-hunspell
SUBDIR += ssddiff
SUBDIR += stardict-dict-fa_IR
diff --git a/textproc/srilm/Makefile b/textproc/srilm/Makefile
deleted file mode 100644
index f1a5b391312a..000000000000
--- a/textproc/srilm/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-# Created by: Cheng-Lung Sung <clsung@dragon2.net>
-# $FreeBSD$
-
-PORTNAME= srilm
-PORTVERSION= 1.5.12
-PORTREVISION= 2
-CATEGORIES= textproc
-DISTNAME= srilm
-EXTRACT_SUFX?= .tgz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Toolkit for building and applying statistical language models
-
-DEPRECATED= Tcl/Tk 8.4 is no longer maintained, please use 8.5+
-EXPIRATION_DATE= 2017-11-20
-
-LIB_DEPENDS= libtcl84.so:lang/tcl84
-
-DOWNLOAD_URL?= http://www.speech.sri.com/projects/srilm/download.html
-
-USES= gmake
-MAKE_ENV+= SRILM=${WRKSRC}
-ALL_TARGET= World
-ONLY_FOR_ARCHS= i386 amd64
-
-PROGRAMS= ngram ngram-count ngram-merge ngram-class disambig anti-ngram \
- nbest-lattice nbest-mix nbest-optimize nbest-pron-score \
- segment segment-nbest hidden-ngram multi-ngram \
- lattice-tool
-SCRIPTS= change-lm-vocab rescore-decipher rescore-acoustic \
- rescore-reweight rescore-minimize-wer make-batch-counts \
- merge-batch-counts make-big-lm make-multiword-pfsg \
- pfsg-from-ngram nbest-error nbest-rover align-with-tags \
- compute-sclite compare-sclite
-GAWK_SCRIPTS= add-classes-to-pfsg add-dummy-bows add-pauses-to-pfsg \
- add-ppls bytelog-to-log10 classes-to-fsm \
- combine-acoustic-scores compare-ppls compute-best-mix \
- compute-best-rover-mix compute-best-sentence-mix \
- compute-oov-rate continuous-ngram-count \
- extract-skip-probs find-reference-posteriors \
- fsm-to-pfsg get-gt-counts hits-from-log \
- log10-to-bytelog make-abs-discount make-diacritic-map \
- make-gt-discounts make-kn-discounts make-kn-counts \
- make-hiddens-lm make-lm-subset make-nbest-pfsg \
- make-ngram-pfsg make-sub-lm sort-lm \
- reverse-lm merge-nbest nbest-posteriors \
- nbest2-to-nbest1 nbest-vocab pfsg-to-dot pfsg-to-fsm \
- pfsg-vocab ppl-from-log remove-lowprob-ngrams \
- replace-words-with-classes reverse-text \
- reverse-ngram-counts sentid-to-sclite sentid-to-ctm \
- subtract-ppls uniform-classes vp2text wlat-to-dot \
- wlat-to-pfsg wlat-stats wordlat-to-lisp prettify
-
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= because of license document, we suggest you fetch the source \
-distribution\n\
-manually. Please access ${DOWNLOAD_URL}\n\
-, follow the download instructions, download the source\n\
-into ${DISTDIR}/, and then run make again.\n
-.endif
-
-do-extract:
- @${RM} -r ${WRKDIR}
- @${MKDIR} ${WRKSRC}
- @if ! (cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} );\
- then \
- exit 1; \
- fi
-
-post-patch:
- @cd ${WRKSRC} && \
- ${REINPLACE_CMD} -e 's,$$WRKSRC,${WRKSRC},g' \
- sbin/go.run-test
- ${REINPLACE_CMD} -e 's,gcc,${CC},' -e 's,g++,${CXX},' \
- ${WRKSRC}/common/Makefile.machine.freebsd
-
-do-install:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/bin/freebsd && \
- ${INSTALL_PROGRAM} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin && \
- ${INSTALL_SCRIPT} ${GAWK_SCRIPTS} ${STAGEDIR}${EXAMPLESDIR} && \
- cd ${WRKSRC}/man/man1 && \
- ${INSTALL_MAN} *.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 && \
- cd ${WRKSRC}/man/man3 && \
- ${INSTALL_MAN} *.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 && \
- cd ${WRKSRC}/man/man5 && \
- ${INSTALL_MAN} *.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 && \
- cd ${WRKSRC}/bin && \
- ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.post.mk>
diff --git a/textproc/srilm/distinfo b/textproc/srilm/distinfo
deleted file mode 100644
index 779ee6a82b0c..000000000000
--- a/textproc/srilm/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (srilm.tgz) = e7b8bb1a077f4f6fdd8ea8e2e69b87f1870f5995570293b2e84da373ed3ad914
-SIZE (srilm.tgz) = 48291926
diff --git a/textproc/srilm/files/patch-Makefile.common.variables b/textproc/srilm/files/patch-Makefile.common.variables
deleted file mode 100644
index 4c90146bc4a5..000000000000
--- a/textproc/srilm/files/patch-Makefile.common.variables
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/Makefile.common.variables.orig Sat Feb 22 06:43:31 2003
-+++ common/Makefile.common.variables Thu Jan 1 02:57:25 2004
-@@ -52,7 +52,7 @@
- DEMANGLE_FILTER = 2>&1 | c++filt
-
- # Path to GNU awk; used in editing scripts
--GAWK = /usr/local/bin/gawk
-+GAWK = /usr/bin/awk
-
- # Include machine-type dependent variables
- include $(SRILM)/common/Makefile.machine.$(MACHINE_TYPE)
diff --git a/textproc/srilm/files/patch-Makefile.machine.freebsd b/textproc/srilm/files/patch-Makefile.machine.freebsd
deleted file mode 100644
index 8000f1df35b0..000000000000
--- a/textproc/srilm/files/patch-Makefile.machine.freebsd
+++ /dev/null
@@ -1,36 +0,0 @@
---- common/Makefile.machine.freebsd.orig 2006-01-05 23:25:59.000000000 +0300
-+++ common/Makefile.machine.freebsd 2014-07-24 15:58:41.000000000 +0400
-@@ -26,11 +26,11 @@
- EXPORT_LDFLAGS = -s
-
- # Shared compilation flags.
-- CFLAGS = $(ADDITIONAL_CFLAGS) $(INCLUDES)
-- CXXFLAGS = $(ADDITIONAL_CXXFLAGS) $(INCLUDES)
-+ CFLAGS += $(ADDITIONAL_CFLAGS) $(INCLUDES)
-+ CXXFLAGS += $(ADDITIONAL_CXXFLAGS) $(INCLUDES)
-
- # Shared linking flags.
-- LDFLAGS = $(ADDITIONAL_LDFLAGS) -L$(SRILM_LIBDIR)
-+ LDFLAGS += $(ADDITIONAL_LDFLAGS) -L$(SRILM_LIBDIR)
-
- # Other useful compilation flags.
- ADDITIONAL_CFLAGS =
-@@ -49,8 +49,8 @@
- RLD_FLAG = -R
-
- # Tcl support (part of cygwin)
-- TCL_INCLUDE = -I/usr/local/include/tcl8.3
-- TCL_LIBRARY = -L/usr/local/lib -ltcl83
-+ TCL_INCLUDE = -I/usr/local/include/tcl8.4
-+ TCL_LIBRARY = -L/usr/local/lib -ltcl84
-
- # No ranlib
- RANLIB = :
-@@ -65,6 +65,6 @@
- LINT_FLAGS = -DDEBUG $(CFLAGS)
-
- # Location of gawk binary
-- GAWK = /usr/bin/gawk
-+ GAWK = /usr/bin/awk
-
-
diff --git a/textproc/srilm/files/patch-compare-outputs b/textproc/srilm/files/patch-compare-outputs
deleted file mode 100644
index 0c2e2f774e92..000000000000
--- a/textproc/srilm/files/patch-compare-outputs
+++ /dev/null
@@ -1,8 +0,0 @@
---- sbin/compare-outputs.orig Fri Feb 28 10:04:35 2003
-+++ sbin/compare-outputs Sat Apr 3 16:45:20 2004
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/gawk -f
-+#!/usr/bin/awk -f
- #
- # compare test outputs allowing for small numerical differences
- #
diff --git a/textproc/srilm/files/patch-dstruct-src-Array.h b/textproc/srilm/files/patch-dstruct-src-Array.h
deleted file mode 100644
index 08d10253f443..000000000000
--- a/textproc/srilm/files/patch-dstruct-src-Array.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- dstruct/src/Array.h.orig 2014-09-02 15:48:38.000000000 +0400
-+++ dstruct/src/Array.h 2014-09-02 15:48:57.000000000 +0400
-@@ -89,7 +89,7 @@ public:
- * gcc and icc allow this as part of the language, but many other C++ compilers
- * don't (Sun Studio, MS Visual C).
- */
--#if !defined(DEBUG) && defined(__GNUC__) && (!defined(__INTEL_COMPILER) || __INTEL_COMPILER >=900)
-+#if !defined(DEBUG) && !defined(__clang__) && defined(__GNUC__) && (!defined(__INTEL_COMPILER) || __INTEL_COMPILER >=900)
- # define makeArray(T, A, n) T A[n]
- #else
- # define makeArray(T, A, n) StaticArray<T> A(n)
diff --git a/textproc/srilm/files/patch-go.run-test b/textproc/srilm/files/patch-go.run-test
deleted file mode 100644
index accd14867823..000000000000
--- a/textproc/srilm/files/patch-go.run-test
+++ /dev/null
@@ -1,21 +0,0 @@
---- sbin/go.run-test.orig 2009-12-02 23:15:49.000000000 +0300
-+++ sbin/go.run-test 2014-03-28 11:45:04.000000000 +0400
-@@ -6,6 +6,9 @@
- # $Header: /home/srilm/devel/lattice/test/../../sbin/RCS/go.run-test,v 1.13 2009/12/02 20:15:39 stolcke Exp $
- #
-
-+PATH=$PATH:$WRKSRC/bin:$WRKSRC/bin/freebsd
-+export PATH
-+
- dir=$1
-
- if [ -z "$MACHINE_TYPE" ]; then
-@@ -16,7 +19,7 @@
-
- #diff=cmp
- # ignore different whitespace and EOL conventions
--diff="gawk -f $SRILM/sbin/compare-outputs 2>/dev/null"
-+diff="awk -f $SRILM/sbin/compare-outputs 2>/dev/null"
-
- test -d output || mkdir output
-
diff --git a/textproc/srilm/files/patch-lm-src-matherr.c b/textproc/srilm/files/patch-lm-src-matherr.c
deleted file mode 100644
index d4174d7c68b2..000000000000
--- a/textproc/srilm/files/patch-lm-src-matherr.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- lm/src/matherr.c.orig Fri Jul 29 11:29:51 2005
-+++ lm/src/matherr.c Mon Jul 3 15:16:58 2006
-@@ -18,13 +18,6 @@
- matherr(struct exception *x)
- #endif
- {
-- if (x->type == SING && strcmp(x->name, "log10") == 0) {
-- /*
-- * suppress warnings about log10(0.0)
-- */
-- return 1;
-- } else {
- return 0;
-- }
- }
-
diff --git a/textproc/srilm/pkg-descr b/textproc/srilm/pkg-descr
deleted file mode 100644
index 65c437cd935d..000000000000
--- a/textproc/srilm/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-SRILM is a toolkit for building and applying statistical language models (LMs),
-primarily for use in speech recognition, statistical tagging and segmentation.
-It has been under development in the SRI Speech Technology and
-Research Laboratory since 1995. The toolkit has also greatly benefitted from
-its use and enhancements during the Johns Hopkins University/CLSP summer
-workshops in 1995, 1996, and 1997
-
-SRILM consists of the following components:
-
- * A set of C++ class libraries implementing language models,
- supporting data stuctures and miscellaneous utility functions.
- * A set of executable programs built on top of these libraries to
- perform standard tasks such as training LMs and testing them on
- data, tagging or segmenting text, etc.
- * A collection of miscellaneous scripts facilitating minor related tasks.
-
-WWW: http://www.speech.sri.com/projects/srilm/
diff --git a/textproc/srilm/pkg-message b/textproc/srilm/pkg-message
deleted file mode 100644
index bb224821d79f..000000000000
--- a/textproc/srilm/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-*******************************Reference*****************************
-
-Published research using SRILM may cite the following paper:
-
-PostScript: http://www.speech.sri.com/papers/icslp2002-srilm.ps.gz
-PDF: http://www.speech.sri.com/cgi-bin/run-distill?papers/icslp2002-srilm.ps.gz
-
-*********************************************************************
diff --git a/textproc/srilm/pkg-plist b/textproc/srilm/pkg-plist
deleted file mode 100644
index d3e0693902fe..000000000000
--- a/textproc/srilm/pkg-plist
+++ /dev/null
@@ -1,113 +0,0 @@
-bin/anti-ngram
-bin/disambig
-bin/hidden-ngram
-bin/lattice-tool
-bin/multi-ngram
-bin/nbest-lattice
-bin/nbest-mix
-bin/nbest-optimize
-bin/nbest-pron-score
-bin/ngram
-bin/ngram-class
-bin/ngram-count
-bin/ngram-merge
-bin/segment
-bin/segment-nbest
-%%EXAMPLESDIR%%/add-classes-to-pfsg
-%%EXAMPLESDIR%%/add-dummy-bows
-%%EXAMPLESDIR%%/add-pauses-to-pfsg
-%%EXAMPLESDIR%%/add-ppls
-%%EXAMPLESDIR%%/align-with-tags
-%%EXAMPLESDIR%%/bytelog-to-log10
-%%EXAMPLESDIR%%/change-lm-vocab
-%%EXAMPLESDIR%%/classes-to-fsm
-%%EXAMPLESDIR%%/combine-acoustic-scores
-%%EXAMPLESDIR%%/compare-ppls
-%%EXAMPLESDIR%%/compare-sclite
-%%EXAMPLESDIR%%/compute-best-mix
-%%EXAMPLESDIR%%/compute-best-rover-mix
-%%EXAMPLESDIR%%/compute-best-sentence-mix
-%%EXAMPLESDIR%%/compute-oov-rate
-%%EXAMPLESDIR%%/compute-sclite
-%%EXAMPLESDIR%%/continuous-ngram-count
-%%EXAMPLESDIR%%/extract-skip-probs
-%%EXAMPLESDIR%%/find-reference-posteriors
-%%EXAMPLESDIR%%/fsm-to-pfsg
-%%EXAMPLESDIR%%/get-gt-counts
-%%EXAMPLESDIR%%/hits-from-log
-%%EXAMPLESDIR%%/log10-to-bytelog
-%%EXAMPLESDIR%%/make-abs-discount
-%%EXAMPLESDIR%%/make-batch-counts
-%%EXAMPLESDIR%%/make-big-lm
-%%EXAMPLESDIR%%/make-diacritic-map
-%%EXAMPLESDIR%%/make-gt-discounts
-%%EXAMPLESDIR%%/make-hiddens-lm
-%%EXAMPLESDIR%%/make-kn-counts
-%%EXAMPLESDIR%%/make-kn-discounts
-%%EXAMPLESDIR%%/make-lm-subset
-%%EXAMPLESDIR%%/make-multiword-pfsg
-%%EXAMPLESDIR%%/make-nbest-pfsg
-%%EXAMPLESDIR%%/make-ngram-pfsg
-%%EXAMPLESDIR%%/make-sub-lm
-%%EXAMPLESDIR%%/merge-batch-counts
-%%EXAMPLESDIR%%/merge-nbest
-%%EXAMPLESDIR%%/nbest-error
-%%EXAMPLESDIR%%/nbest-posteriors
-%%EXAMPLESDIR%%/nbest-rover
-%%EXAMPLESDIR%%/nbest-vocab
-%%EXAMPLESDIR%%/nbest2-to-nbest1
-%%EXAMPLESDIR%%/pfsg-from-ngram
-%%EXAMPLESDIR%%/pfsg-to-dot
-%%EXAMPLESDIR%%/pfsg-to-fsm
-%%EXAMPLESDIR%%/pfsg-vocab
-%%EXAMPLESDIR%%/ppl-from-log
-%%EXAMPLESDIR%%/prettify
-%%EXAMPLESDIR%%/remove-lowprob-ngrams
-%%EXAMPLESDIR%%/replace-words-with-classes
-%%EXAMPLESDIR%%/rescore-acoustic
-%%EXAMPLESDIR%%/rescore-decipher
-%%EXAMPLESDIR%%/rescore-minimize-wer
-%%EXAMPLESDIR%%/rescore-reweight
-%%EXAMPLESDIR%%/reverse-lm
-%%EXAMPLESDIR%%/reverse-ngram-counts
-%%EXAMPLESDIR%%/reverse-text
-%%EXAMPLESDIR%%/sentid-to-ctm
-%%EXAMPLESDIR%%/sentid-to-sclite
-%%EXAMPLESDIR%%/sort-lm
-%%EXAMPLESDIR%%/subtract-ppls
-%%EXAMPLESDIR%%/uniform-classes
-%%EXAMPLESDIR%%/vp2text
-%%EXAMPLESDIR%%/wlat-stats
-%%EXAMPLESDIR%%/wlat-to-dot
-%%EXAMPLESDIR%%/wlat-to-pfsg
-%%EXAMPLESDIR%%/wordlat-to-lisp
-man/man1/anti-ngram.1.gz
-man/man1/disambig.1.gz
-man/man1/hidden-ngram.1.gz
-man/man1/lattice-tool.1.gz
-man/man1/lm-scripts.1.gz
-man/man1/multi-ngram.1.gz
-man/man1/nbest-lattice.1.gz
-man/man1/nbest-mix.1.gz
-man/man1/nbest-optimize.1.gz
-man/man1/nbest-pron-score.1.gz
-man/man1/nbest-scripts.1.gz
-man/man1/ngram-class.1.gz
-man/man1/ngram-count.1.gz
-man/man1/ngram-merge.1.gz
-man/man1/ngram.1.gz
-man/man1/pfsg-scripts.1.gz
-man/man1/ppl-scripts.1.gz
-man/man1/segment-nbest.1.gz
-man/man1/segment.1.gz
-man/man1/select-vocab.1.gz
-man/man1/training-scripts.1.gz
-man/man3/File.3.gz
-man/man3/LM.3.gz
-man/man3/Prob.3.gz
-man/man3/Vocab.3.gz
-man/man5/classes-format.5.gz
-man/man5/nbest-format.5.gz
-man/man5/ngram-format.5.gz
-man/man5/pfsg-format.5.gz
-man/man5/wlat-format.5.gz