From b2f37dbb6f7bc5812e36e8c11faa12ad5e932668 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Fri, 8 Feb 2013 11:59:19 +0000 Subject: [PATCH] create-ini.cpp --- misc/create-ini.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/misc/create-ini.cpp b/misc/create-ini.cpp index b53b15464..7b8786d76 100644 --- a/misc/create-ini.cpp +++ b/misc/create-ini.cpp @@ -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 toks; string name; @@ -56,6 +64,7 @@ class LM : public FF << " path=" << path << " " << otherArgs; } + public: string otherArgs; int order, factor;