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:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2010-08-13 18:17:40 +0400
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2010-08-13 18:17:40 +0400
commita333502abd7d866dc00b977919f9a56bad7aa30a (patch)
tree3cf30ff94adb8a6e82f251d0bd38ef72d2634ab7
parentfd59da716b760a04ceddb30ebc12e1234ce7f997 (diff)
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/tags/LAST-SINGLE-MODEL-ONLY-2010-08-09@3406 1f5c12ca-751b-0410-a591-d2e778427230
-rw-r--r--scripts/training/phrase-extract/extract-rules.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/training/phrase-extract/extract-rules.cpp b/scripts/training/phrase-extract/extract-rules.cpp
index 69b9b5f62..6dfda20a8 100644
--- a/scripts/training/phrase-extract/extract-rules.cpp
+++ b/scripts/training/phrase-extract/extract-rules.cpp
@@ -928,9 +928,9 @@ void writeGlueGrammar( const string & fileName )
grammarFile.open(fileName.c_str());
if (!options.targetSyntax)
{
- grammarFile << "<s> [X] ||| <s> [S] ||| 1 ||| Ø-Ø ||| Ø" << endl
- << "[X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| Ø" << endl
- << "[X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 2.718 ||| 0-0 1-1 ||| Ø" << endl;
+ grammarFile << "<s> [X] ||| <s> [S] ||| 1 ||| ||| 0" << endl
+ << "[X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| 0" << endl
+ << "[X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 2.718 ||| 0-0 1-1 ||| 0" << endl;
}
else
{