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

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralvations <alvations@gmail.com>2016-11-22 10:45:31 +0300
committerGitHub <noreply@github.com>2016-11-22 10:45:31 +0300
commit04690ef18f1016ae5d4aeff952e445263f6f00ea (patch)
treef14b04d64e90de235bbdbee8853c1f38f200afcd
parentcebc0decb176ebf39280b352c49dc759fce95142 (diff)
Typo in warning
-rw-r--r--experimental/alignment-enabled/MGIZA/src/getSentence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/alignment-enabled/MGIZA/src/getSentence.cpp b/experimental/alignment-enabled/MGIZA/src/getSentence.cpp
index d2b7268..615a0b4 100644
--- a/experimental/alignment-enabled/MGIZA/src/getSentence.cpp
+++ b/experimental/alignment-enabled/MGIZA/src/getSentence.cpp
@@ -209,7 +209,7 @@ int sentenceHandler::getNextSentence(sentPair& sent, vcbList* elist, vcbList* fl
cout << "Reading more sentence pairs into memory ... \n";
while((noSentInBuffer < TRAIN_BUFFER_SIZE) && readNextSentence(s)){
if ((s.fSent.size()-1) > (MAX_FERTILITY-1) * (s.eSent.size()-1)){
- cerr << "WARNING: The following sentence pair has source/target sentence length ration more than\n"<<
+ cerr << "WARNING: The following sentence pair has source/target sentence length ratio more than\n"<<
"the maximum allowed limit for a source word fertility\n"<<
" source length = " << s.eSent.size()-1 << " target length = " << s.fSent.size()-1 <<
" ratio " << double(s.fSent.size()-1)/ (s.eSent.size()-1) << " ferility limit : " <<