From cc2fb8549e9729ecf2d61dc771a7c348feb106f6 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 13 Nov 2011 16:17:02 +0100 Subject: removed hgsampler, more stats, unit_weight_vector arg --- dtrain/kbestget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dtrain/kbestget.h') 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* GetSamples() { return &s_; } void - KBest(const Hypergraph& forest) + KBestScored(const Hypergraph& forest) { if (filter_type_ == "unique") { KBestUnique(forest); -- cgit v1.2.3