mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
daily automatic beautifier
This commit is contained in:
parent
ca038c5e4c
commit
57a291421a
@ -157,8 +157,7 @@ template <class Model> LanguageModelKen<Model>::LanguageModelKen(const std::stri
|
|||||||
lm::ngram::Config config;
|
lm::ngram::Config config;
|
||||||
if(this->m_verbosity >= 1) {
|
if(this->m_verbosity >= 1) {
|
||||||
config.messages = &std::cerr;
|
config.messages = &std::cerr;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
config.messages = NULL;
|
config.messages = NULL;
|
||||||
}
|
}
|
||||||
FactorCollection &collection = FactorCollection::Instance();
|
FactorCollection &collection = FactorCollection::Instance();
|
||||||
|
@ -89,8 +89,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
struct MockProducers {
|
struct MockProducers {
|
||||||
MockProducers()
|
MockProducers() {
|
||||||
{
|
|
||||||
FeatureFunction::Register(&single);
|
FeatureFunction::Register(&single);
|
||||||
FeatureFunction::Register(&multi);
|
FeatureFunction::Register(&multi);
|
||||||
FeatureFunction::Register(&sparse);
|
FeatureFunction::Register(&sparse);
|
||||||
|
Loading…
Reference in New Issue
Block a user