diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2012-05-24 19:47:40 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2012-05-24 19:47:40 +0400 |
commit | 2b8eeac75ee86cdd2f9259b73cf1f3aa43b3fdc9 (patch) | |
tree | 5281757a353b7f01f00d6264fb23d965d6de70b0 /scripts/training | |
parent | e42f8d36aecdd484dfd5b6ff9393235af9036c38 (diff) |
Minor error
Diffstat (limited to 'scripts/training')
-rw-r--r-- | scripts/training/phrase-extract/score.cpp | 2 | ||||
-rwxr-xr-x | scripts/training/train-model.perl.missing_bin_dir | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/training/phrase-extract/score.cpp b/scripts/training/phrase-extract/score.cpp index 1d081a054..8bcc9be3b 100644 --- a/scripts/training/phrase-extract/score.cpp +++ b/scripts/training/phrase-extract/score.cpp @@ -265,7 +265,7 @@ void writeCountOfCounts( const string &fileNameCountOfCounts ) for(int i=1; i<=COC_MAX; i++) { countOfCountsFile << countOfCounts[ i ] << endl; } - countOfCountsFile.close(); + countOfCountsFile.Close(); } void processPhrasePairs( vector< PhraseAlignment > &phrasePair, ostream &phraseTableFile ) diff --git a/scripts/training/train-model.perl.missing_bin_dir b/scripts/training/train-model.perl.missing_bin_dir index f168f38cb..b50b5f633 100755 --- a/scripts/training/train-model.perl.missing_bin_dir +++ b/scripts/training/train-model.perl.missing_bin_dir @@ -41,7 +41,7 @@ my $_CORES = 1; my $debug = 0; # debug this script, do not delete any files in debug mode # the following line is set installation time by 'make release'. BEWARE! -my $BINDIR="/Users/hieuhoang/workspace/bin/training-tools"; +my $BINDIR="/home/hieu/workspace/bin/training-tools/"; $_HELP = 1 unless &GetOptions('root-dir=s' => \$_ROOT_DIR, |