Move from scripts to contrib

This commit is contained in:
Barry Haddow 2011-11-23 15:31:16 +00:00
parent 0b57ba12f5
commit ea49a01a80
86 changed files with 2 additions and 22 deletions

View File

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 203 KiB

View File

@ -25,9 +25,9 @@ RELEASEDIR=$(TARGETDIR)/scripts-$(TS)
all: compile
SUBDIRS=training/phrase-extract training/symal training/lexical-reordering ems/biconcor
SUBDIRS_CLEAN=$(SUBDIRS) training/memscore training/eppex training/compact-rule-table
SUBDIRS_CLEAN=$(SUBDIRS) training/compact-rule-table
compile: compile-memscore compile-eppex compile-compact-rule-table compile-extract-ghkm
compile: compile-compact-rule-table compile-extract-ghkm
touch release-exclude # No files excluded by default
pwd=`pwd`; \
for subdir in $(SUBDIRS); do \
@ -37,23 +37,6 @@ compile: compile-memscore compile-eppex compile-compact-rule-table compile-extra
done
## All files that need compilation were compiled
compile-memscore:
# Building memscore may fail e.g. if boost is not available.
# We ignore this because traditional scoring will still work and memscore isn't used by default.
cd training/memscore ; \
./configure && $(MAKE) \
|| ( echo "WARNING: Building memscore failed."; \
echo 'training/memscore/memscore' >> ../../release-exclude )
compile-eppex:
# Building eppex may fail e.g. if boost is not available.
# We ignore this because traditional extraction will still work and eppex isn't used by default.
cd training/eppex ; \
./configure && $(MAKE) \
|| ( echo "WARNING: Building eppex failed."; \
echo 'training/eppex/counter' >> ../../release-exclude; \
echo 'training/eppex/eppex' >> ../../release-exclude )
compile-compact-rule-table:
# Building the compact rule table tools may fail e.g. if boost is not available.
# We ignore this because the tools aren't used by default.

View File

@ -77,12 +77,9 @@ training/build-generation-table.perl
training/clean-corpus-n.perl
training/clone_moses_model.pl
training/compact-rule-table/tools/compactify
training/eppex/counter
training/eppex/eppex
training/filter-model-given-input.pl
training/filter-rule-table.py
training/lexical-reordering/score
training/memscore/memscore
training/zmert-moses.pl
training/mert-moses.pl
training/mert-moses-multi.pl