Skip to content

Commit

Permalink
give absolute path for glue-grammar instead of ./model
Browse files Browse the repository at this point in the history
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3793 1f5c12ca-751b-0410-a591-d2e778427230
  • Loading branch information
rafpayen committed Jan 7, 2011
1 parent fa88560 commit 18c1e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/training/train-model.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,7 @@ sub create_ini {
print INI "$phrase_table_impl $ff 5 $file\n";
}
if ($_GLUE_GRAMMAR) {
&full_path(\$___GLUE_GRAMMAR_FILE);
print INI "6 0 0 1 $___GLUE_GRAMMAR_FILE\n";
}
if ($num_of_ttables != $stepsused{"T"}) {
Expand Down

0 comments on commit 18c1e08

Please sign in to comment.