mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-19 07:07:24 +03:00
create-ini.cpp
This commit is contained in:
parent
6663732c38
commit
e4876599d2
@ -15,7 +15,7 @@ class LM : public FF
|
||||
|
||||
void Output(std::ostream &out) const
|
||||
{
|
||||
out << name << index << " "
|
||||
out << name << index
|
||||
<< " order=" << order
|
||||
<< " factor=" << factor
|
||||
<< " path=" << path
|
||||
|
@ -4,19 +4,17 @@ int PT::s_index = 0;
|
||||
|
||||
void PT::Output(std::ostream &out) const
|
||||
{
|
||||
out << name << index << " "
|
||||
<< "implementation=" << 0 << " "
|
||||
<< "num-features=" << numFeatures << " "
|
||||
<< "path=" << path << " ";
|
||||
out << name << index
|
||||
<< " implementation=" << 0
|
||||
<< " num-features=" << numFeatures
|
||||
<< " path=" << path << " ";
|
||||
|
||||
|
||||
out << "input-factor=";
|
||||
out << " input-factor=";
|
||||
Output(out, inFactor);
|
||||
out << " ";
|
||||
|
||||
out << "output-factor=";
|
||||
out << " output-factor=";
|
||||
Output(out, outFactor);
|
||||
out << " ";
|
||||
|
||||
out << std::endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user