diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-05 18:53:00 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-05 18:53:00 +0000 |
commit | 4955a3d76a535fad2a3f9e504f2eeeefc0a266fd (patch) | |
tree | 66fa07cf018d36e0a8745568488a4025c8961684 /decoder/bottom_up_parser.cc | |
parent | 36778292e0e98d9b5307a38104f1e99aad7c3aa4 (diff) |
comment unused var names, todo
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@133 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/bottom_up_parser.cc')
-rw-r--r-- | decoder/bottom_up_parser.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/decoder/bottom_up_parser.cc b/decoder/bottom_up_parser.cc index dd54a606..94f209b5 100644 --- a/decoder/bottom_up_parser.cc +++ b/decoder/bottom_up_parser.cc @@ -1,3 +1,5 @@ +//TODO: when using many nonterminals, group passive edges for a span (treat all as a single X for the active items). + #include "bottom_up_parser.h" #include <iostream> @@ -17,8 +19,8 @@ struct ParserStats { } int active_items; int passive_items; - void NotifyActive(int i, int j) { ++active_items; } - void NotifyPassive(int i, int j) { ++passive_items; } + void NotifyActive(int , int ) { ++active_items; } + void NotifyPassive(int , int ) { ++passive_items; } }; ParserStats stats; @@ -148,7 +150,7 @@ class ActiveChart { private: const Hypergraph* hg_; Array2D<vector<ActiveItem> > act_chart_; - const PassiveChart& psv_chart_; + const PassiveChart& psv_chart_; }; PassiveChart::PassiveChart(const string& goal, |