summaryrefslogtreecommitdiff
path: root/dtrain/kbestget.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-11-13 16:17:02 +0100
committerPatrick Simianer <p@simianer.de>2011-11-13 16:17:02 +0100
commit853e07938ea3eaf0654911539bd5169a1b660220 (patch)
treeb8ed5de27564eb86862702ad65aac071d4cd3f5d /dtrain/kbestget.h
parenteffc9bfc40a0559ce36a155daa15e0dc53e93b75 (diff)
removed hgsampler, more stats, unit_weight_vector arg
Diffstat (limited to 'dtrain/kbestget.h')
-rw-r--r--dtrain/kbestget.h4
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);