diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-15 18:06:25 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-15 18:06:25 +0400 |
commit | fea7bf9d1af349a7485cca4194cfe71e694a809b (patch) | |
tree | b6fe7fffb398741f961a10c4066eb6e31da7b579 /OnDiskPt | |
parent | b9e203f267e8e7831b04b355dbef3104f790f6d2 (diff) |
Add util for querying on-disk pt
Diffstat (limited to 'OnDiskPt')
-rw-r--r-- | OnDiskPt/Main.cpp | 12 |
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); |