diff options
author | Patrick Simianer <p@simianer.de> | 2011-11-13 16:17:02 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-11-13 16:17:02 +0100 |
commit | cc2fb8549e9729ecf2d61dc771a7c348feb106f6 (patch) | |
tree | f1182b36bbc3f642aed01f9a70f45fa57709a55e /dtrain/kbestget.h | |
parent | bf5dd9905851113f5ebb38f207b6218c37a4f113 (diff) |
removed hgsampler, more stats, unit_weight_vector arg
Diffstat (limited to 'dtrain/kbestget.h')
-rw-r--r-- | dtrain/kbestget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrain/kbestget.h b/dtrain/kbestget.h index abe657d0..88f8bc17 100644 --- a/dtrain/kbestget.h +++ b/dtrain/kbestget.h @@ -78,13 +78,13 @@ struct KBestGetter : public HypSampler virtual void NotifyTranslationForest(const SentenceMetadata& smeta, Hypergraph* hg) { - KBest(*hg); + KBestScored(*hg); } vector<ScoredHyp>* GetSamples() { return &s_; } void - KBest(const Hypergraph& forest) + KBestScored(const Hypergraph& forest) { if (filter_type_ == "unique") { KBestUnique(forest); |