From 7419bf36a750ed894d095da71fdc93814a8dbac5 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 23 Jul 2010 21:02:44 +0000 Subject: implicit first param to ffs: "debug". fsa final traversal set feature=0 first. set FF_FSA_DEBUG (also FSA_DEBUG). git-svn-id: https://ws10smt.googlecode.com/svn/trunk@387 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/ff.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'decoder/ff.cc') diff --git a/decoder/ff.cc b/decoder/ff.cc index b6a541e3..28d6f732 100644 --- a/decoder/ff.cc +++ b/decoder/ff.cc @@ -1,3 +1,5 @@ +//TODO: actually score rule_feature()==true features once only, hash keyed on rule or modify TRule directly? need to keep clear in forest which features come from models vs. rules; then rescoring could drop all the old models features at once + //TODO: 0 size state != rule-local feature, i.e. still may depend on source span loc/context. identify truly rule-local features so if we want they can be added to grammar rules (minor speedup) #include -- cgit v1.2.3