summaryrefslogtreecommitdiff
path: root/decoder/grammar.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-04-02 23:48:19 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-04-02 23:48:19 -0400
commitbf4a7606151301dba49265e91c289f2caab2b7ec (patch)
treeab98435d1e42efe71659e75773850301ba01aa98 /decoder/grammar.h
parentb6eede632af4fa58a6f5325ee0d059c02a898b9f (diff)
fix bug in lattices with OOVs
Diffstat (limited to 'decoder/grammar.h')
-rw-r--r--decoder/grammar.h2
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);