summaryrefslogtreecommitdiff
path: root/decoder/ff.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 11:59:21 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-16 11:59:21 -0400
commit21825a09d97c2e0afd20512f306fb25fed55e529 (patch)
tree5e52623eab43373a64da7204a3f5ad5072a28d57 /decoder/ff.h
parentdaaa8aaed96f23d74d86b77e436883cd7c451717 (diff)
remove confusing function
Diffstat (limited to 'decoder/ff.h')
-rw-r--r--decoder/ff.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/decoder/ff.h b/decoder/ff.h
index 4acbb7e3..3280592e 100644
--- a/decoder/ff.h
+++ b/decoder/ff.h
@@ -51,18 +51,10 @@ class FeatureFunction {
}
// if there's some state left when you transition to the goal state, score
- // it here. For example, the language model computes the cost of adding
+ // it here. For example, a language model might the cost of adding
// <s> and </s>.
-
-protected:
virtual void FinalTraversalFeatures(const void* residual_state,
SparseVector<double>* final_features) const;
-public:
- //override either this or one of above.
- virtual void FinalTraversalFeatures(const SentenceMetadata& /* smeta */,
- const HG::Edge& /* edge */,
- const void* residual_state,
- SparseVector<double>* final_features) const;
protected:
// context is a pointer to a buffer of size NumBytesContext() that the