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
path: root/misc
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-11-11 20:07:45 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-11 20:07:45 +0300
commitf247e26fed78347cfcaeb8f82b8db6b50feff3f8 (patch)
treece29bcefd75605890ffbc90f0a0ccd1e869bcc6d /misc
parentfbfe5890d13760a6610abaf2b1797dc1db5cc9f4 (diff)
More options refactoring (OOV Handling this time).
Diffstat (limited to 'misc')
-rw-r--r--misc/queryLexicalTable.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/queryLexicalTable.cpp b/misc/queryLexicalTable.cpp
index 388f87882..09c4e4b7d 100644
--- a/misc/queryLexicalTable.cpp
+++ b/misc/queryLexicalTable.cpp
@@ -111,11 +111,10 @@ int main(int argc, char** argv)
table->InitializeForInputPhrase(f);
}
- OOVHandlingOptions unk;
std::cerr << "Querying: "
- << "f='" << f.GetStringRep(f_mask, unk) <<"' "
- << "e='" << e.GetStringRep(e_mask, unk) << "' "
- << "c='" << c.GetStringRep(c_mask, unk) << "'\n";
+ << "f='" << f.GetStringRep(f_mask) <<"' "
+ << "e='" << e.GetStringRep(e_mask) << "' "
+ << "c='" << c.GetStringRep(c_mask) << "'\n";
std::cerr << table->GetScore(f,e,c) << "\n";
//table->DbgDump(&std::cerr);
delete table;