summaryrefslogtreecommitdiff
path: root/decoder/grammar.cc
diff options
context:
space:
mode:
authorchris dyer <redpony@umd.edu>2010-12-28 20:56:42 -0500
committerchris dyer <redpony@umd.edu>2010-12-28 20:56:42 -0500
commit907fd790fe644836477443981d4d92a23385bdda (patch)
tree16cd6a075ce6d638a47c51507f06b07713aee456 /decoder/grammar.cc
parent0f32c8d6fd42a0fff61a438dff41ddbb4a195b7e (diff)
incorporate dwarf features
Diffstat (limited to 'decoder/grammar.cc')
-rw-r--r--decoder/grammar.cc1
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);
}