diff options
author | Chris Dyer <redpony@gmail.com> | 2013-11-13 18:08:03 -0800 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2013-11-13 18:08:03 -0800 |
commit | f2fb69b10a897e8beb4e6e6d6cbb4327096235ef (patch) | |
tree | bb14849f101a9e96939ec73c8d82ef40c128a435 /word-aligner/aligner.pl | |
parent | 9972fc6db6bd816f464dff90741c36f6be137f96 (diff) | |
parent | 8bdea2036a924302a569722359106a2d8a51fb17 (diff) |
Merge pull request #29 from wammar/wordpairfeatures2
1) fix the call to ibm model 1 aligner, 2) create a makefile target for ...
Diffstat (limited to 'word-aligner/aligner.pl')
-rwxr-xr-x | word-aligner/aligner.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/word-aligner/aligner.pl b/word-aligner/aligner.pl index cbccb94a..08d95162 100755 --- a/word-aligner/aligner.pl +++ b/word-aligner/aligner.pl @@ -86,10 +86,17 @@ PTRAIN_PARAMS = --gaussian_prior --sigma_squared 1.0 --max_iteration 15 #MPIRUN = mpirun -np $(MPIJOBS) MPIRUN= +USE_AFFIXES = 0 + WALLTIME=90 export +generate-wordpair-features: + \@failcom='exit 1'; \\ + (cd grammars && make USE_AFFIXES=\$(USE_AFFIXES) ) || eval \$\$failcom; + cd .. + all: \@failcom='exit 1'; \\ list='\$(TARGETS)'; for subdir in \$\$list; do \\ |