diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-04-02 23:48:19 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-04-02 23:48:19 -0400 |
commit | bf4a7606151301dba49265e91c289f2caab2b7ec (patch) | |
tree | ab98435d1e42efe71659e75773850301ba01aa98 /decoder/grammar.h | |
parent | b6eede632af4fa58a6f5325ee0d059c02a898b9f (diff) |
fix bug in lattices with OOVs
Diffstat (limited to 'decoder/grammar.h')
-rw-r--r-- | decoder/grammar.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/decoder/grammar.h b/decoder/grammar.h index f5d00817..e6a15a69 100644 --- a/decoder/grammar.h +++ b/decoder/grammar.h @@ -91,8 +91,6 @@ struct GlueGrammar : public TextGrammar { struct PassThroughGrammar : public TextGrammar { PassThroughGrammar(const Lattice& input, const std::string& cat, const unsigned int ctf_level=0); virtual bool HasRuleForSpan(int i, int j, int distance) const; - private: - std::vector<std::set<int> > has_rule_; // index by [i][j] }; void RefineRule(TRulePtr pt, const unsigned int ctf_level); |