From 3f01c8ed777aec011181dc515d9d28aa81e8530b Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sat, 26 Dec 2009 12:49:06 -0600 Subject: increase intersection speed by a couple orders of magnitude for linear chain graphs --- decoder/apply_models.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'decoder/apply_models.cc') diff --git a/decoder/apply_models.cc b/decoder/apply_models.cc index a340aa1a..2d8a60d5 100644 --- a/decoder/apply_models.cc +++ b/decoder/apply_models.cc @@ -407,5 +407,7 @@ void ApplyModelSet(const Hypergraph& in, cerr << "Don't understand intersection algorithm " << config.algorithm << endl; exit(1); } + out->is_linear_chain_ = in.is_linear_chain_; // TODO remove when this is computed + // automatically } -- cgit v1.2.3