Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2012-05-15 18:06:25 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-05-15 18:06:25 +0400
commitfea7bf9d1af349a7485cca4194cfe71e694a809b (patch)
treeb6fe7fffb398741f961a10c4066eb6e31da7b579 /OnDiskPt
parentb9e203f267e8e7831b04b355dbef3104f790f6d2 (diff)
Add util for querying on-disk pt
Diffstat (limited to 'OnDiskPt')
-rw-r--r--OnDiskPt/Main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/OnDiskPt/Main.cpp b/OnDiskPt/Main.cpp
index ca536b0ce..e9e51c58d 100644
--- a/OnDiskPt/Main.cpp
+++ b/OnDiskPt/Main.cpp
@@ -46,15 +46,15 @@ int main (int argc, char * const argv[])
assert(argc == 8);
- int numSourceFactors = Moses::Scan<int>(argv[1])
- , numTargetFactors = Moses::Scan<int>(argv[2])
- , numScores = Moses::Scan<int>(argv[3])
- , tableLimit = Moses::Scan<int>(argv[4]);
+ int numSourceFactors = Moses::Scan<int>(argv[1])
+ , numTargetFactors = Moses::Scan<int>(argv[2])
+ , numScores = Moses::Scan<int>(argv[3])
+ , tableLimit = Moses::Scan<int>(argv[4]);
TargetPhraseCollection::s_sortScoreInd = Moses::Scan<int>(argv[5]);
assert(TargetPhraseCollection::s_sortScoreInd < numScores);
- const string filePath = argv[6]
- ,destPath = argv[7];
+ const string filePath = argv[6]
+ ,destPath = argv[7];
Moses::InputFileStream inStream(filePath);