diff options
author | chris dyer <redpony@umd.edu> | 2010-12-28 20:56:42 -0500 |
---|---|---|
committer | chris dyer <redpony@umd.edu> | 2010-12-28 20:56:42 -0500 |
commit | b85986c762bc8a2a74bfe0e2eb1d88fba991d554 (patch) | |
tree | aae7a3b2127a14b67afda54184d261b56a670ec4 /decoder/grammar.cc | |
parent | 6b4b4f19f44e051e5f62bcb1243c3d199d537cc6 (diff) |
incorporate dwarf features
Diffstat (limited to 'decoder/grammar.cc')
-rw-r--r-- | decoder/grammar.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/grammar.cc b/decoder/grammar.cc index 7e6bbc66..9e4065a6 100644 --- a/decoder/grammar.cc +++ b/decoder/grammar.cc @@ -157,6 +157,7 @@ PassThroughGrammar::PassThroughGrammar(const Lattice& input, const string& cat, has_rule_[i].insert(j); const string& src = TD::Convert(alts[k].label); TRulePtr pt(new TRule("[" + cat + "] ||| " + src + " ||| " + src + " ||| PassThrough=1")); + pt->a_.push_back(AlignmentPoint(0,0)); AddRule(pt); RefineRule(pt, ctf_level); } |