diff options
Diffstat (limited to 'word-aligner/makefiles')
-rw-r--r-- | word-aligner/makefiles/makefile.grammars | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/word-aligner/makefiles/makefile.grammars b/word-aligner/makefiles/makefile.grammars index a6167010..b89937c1 100644 --- a/word-aligner/makefiles/makefile.grammars +++ b/word-aligner/makefiles/makefile.grammars @@ -3,18 +3,19 @@ all: corpus.f-e.lex-grammar.gz corpus.e-f.lex-grammar.gz corpus.class.e corpus.c clean: $(RM) orthonorm-dict.* voc2class* corpus.class.* corpus.e-f corpus.f-e weights* corpus.f-e.lex-grammar* *.model1 *voc corpus.e-f.lex-grammar* +SUPPORT_DIR = $(SCRIPT_DIR)/support GZIP = /usr/bin/gzip ZCAT = zcat -EXTRACT_WEIGHTS = $(SCRIPT_DIR)/extract_weights.pl -EXTRACT_GRAMMAR = $(SCRIPT_DIR)/extract_grammar.pl -SUPPLEMENT_WEIGHTS = $(SCRIPT_DIR)/supplement_weights_file.pl -EXTRACT_VOCAB = $(SCRIPT_DIR)/extract_vocab.pl +EXTRACT_WEIGHTS = $(SUPPORT_DIR)/extract_weights.pl +EXTRACT_GRAMMAR = $(SUPPORT_DIR)/extract_grammar.pl +SUPPLEMENT_WEIGHTS = $(SUPPORT_DIR)/supplement_weights_file.pl +EXTRACT_VOCAB = $(SUPPORT_DIR)/extract_vocab.pl ORTHONORM_E = $(SCRIPT_DIR)/ortho-norm/$(E_LANG).pl ORTHONORM_F = $(SCRIPT_DIR)/ortho-norm/$(F_LANG).pl -CLASSIFY = $(SCRIPT_DIR)/classify.pl -MAKE_LEX_GRAMMAR = $(SCRIPT_DIR)/make_lex_grammar.pl +CLASSIFY = $(SUPPORT_DIR)/classify.pl +MAKE_LEX_GRAMMAR = $(SUPPORT_DIR)/make_lex_grammar.pl MODEL1 = $(TRAINING_DIR)/model1 -MERGE_CORPUS = $(SCRIPT_DIR)/merge_corpus.pl +MERGE_CORPUS = $(SUPPORT_DIR)/merge_corpus.pl orthonorm-dict.e: corpus.e $(EXTRACT_VOCAB) corpus.e > e.voc |