diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-08-13 18:17:40 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2010-08-13 18:17:40 +0400 |
commit | a333502abd7d866dc00b977919f9a56bad7aa30a (patch) | |
tree | 3cf30ff94adb8a6e82f251d0bd38ef72d2634ab7 | |
parent | fd59da716b760a04ceddb30ebc12e1234ce7f997 (diff) |
replace Ø by 0LAST-SINGLE-MODEL-ONLY-2010-08-09
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.cpp | 6 |
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 { |