mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-17 14:17:13 +03:00
Move from scripts to contrib
This commit is contained in:
parent
0b57ba12f5
commit
ea49a01a80
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user