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 | 3770446a1c19777cccada525ee371b1dadc8819f (patch) | |
tree | 2b54e21324ea77228365bddf0540141638a0c305 /decoder/grammar.h | |
parent | 92a115b036c4fa18af14ec0cf297f1dd8f563331 (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); |