mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
create-ini.cpp
This commit is contained in:
parent
1a1f0f33f4
commit
b2f37dbb6f
@ -24,6 +24,14 @@ class FF
|
||||
friend std::ostream& operator<<(std::ostream &out, const FF&);
|
||||
|
||||
virtual void Output(std::ostream &out) const = 0;
|
||||
virtual void OutputWeights(std::ostream &out) const
|
||||
{
|
||||
out << name << index << "= ";
|
||||
for (size_t i = 0; i < numFeatures; ++i) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public:
|
||||
vector<string> toks;
|
||||
string name;
|
||||
@ -56,6 +64,7 @@ class LM : public FF
|
||||
<< " path=" << path
|
||||
<< " " << otherArgs;
|
||||
}
|
||||
|
||||
public:
|
||||
string otherArgs;
|
||||
int order, factor;
|
||||
|
Loading…
Reference in New Issue
Block a user