From ead8845217c5e6e48f3680ead6f859ec8e110eb2 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 13 Aug 2010 08:20:47 +0000 Subject: (NEEDS TESTING) cfg index rules->nts, sort by prob, remove duplicates keeping highest prob, topo sort (and after binarize topo sort). beginning to apply_fsa_models (PrefixTrieNode) git-svn-id: https://ws10smt.googlecode.com/svn/trunk@539 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/hg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/hg.h') diff --git a/decoder/hg.h b/decoder/hg.h index e9510997..03221c74 100644 --- a/decoder/hg.h +++ b/decoder/hg.h @@ -392,7 +392,7 @@ public: // multiple the weights vector by the edge feature vector // (inner product) to set the edge probabilities - template + template void Reweight(const V& weights) { for (int i = 0; i < edges_.size(); ++i) { Edge& e = edges_[i]; -- cgit v1.2.3