diff options
| author | Chris Dyer <redpony@gmail.com> | 2014-10-09 00:43:57 -0400 | 
|---|---|---|
| committer | Chris Dyer <redpony@gmail.com> | 2014-10-09 00:43:57 -0400 | 
| commit | 4ebd159797a5db525fce7433e03858f8de96dce6 (patch) | |
| tree | 2b56949600aa4c83f1490cd51b1e7e6517b3cb44 /decoder/rescore_translator.cc | |
| parent | 53ab488ed99daecd726dfb2abce4cc278f09706f (diff) | |
make tree terminals available to feature functions
Diffstat (limited to 'decoder/rescore_translator.cc')
| -rw-r--r-- | decoder/rescore_translator.cc | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/rescore_translator.cc b/decoder/rescore_translator.cc index 10192f7a..18c83c56 100644 --- a/decoder/rescore_translator.cc +++ b/decoder/rescore_translator.cc @@ -53,6 +53,7 @@ bool RescoreTranslator::TranslateImpl(const string& input,                                const vector<double>& weights,                                Hypergraph* minus_lm_forest) {    smeta->SetSourceLength(0);  // don't know how to compute this +  smeta->input_type_ = cdec::kFOREST;    return pimpl_->Translate(input, weights, minus_lm_forest);  }  | 
