create-ini.cpp

This commit is contained in:
Hieu Hoang 2013-02-08 11:59:19 +00:00
parent 1a1f0f33f4
commit b2f37dbb6f

View File

@ -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;