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:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fuzzy-match/create_xml.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/fuzzy-match/create_xml.cpp b/scripts/fuzzy-match/create_xml.cpp
index e1f542ace..cb56bc372 100644
--- a/scripts/fuzzy-match/create_xml.cpp
+++ b/scripts/fuzzy-match/create_xml.cpp
@@ -78,7 +78,15 @@ int main(int argc, char **argv)
break;
case 7:
count = Scan<int>(inLine);
- createXML(source, *input, target, align, path);
+ CreateXMLRetValues ret = createXML(source, *input, target, align, path);
+
+ //print STDOUT $frame."\n";
+ rule << ret.ruleS << " [X] ||| " << ret.ruleT << " [X] ||| " << ret.ruleAlignment
+ << " ||| " << count << endl;
+ ruleInv << ret.ruleT << " [X] ||| " << ret.ruleS << " [X] ||| " << ret.ruleAlignmentInv
+ << " ||| " << count << endl;
+
+ //print STDOUT "$sentenceInd ||| $score ||| $count\n";
step = 0;
break;