diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:49:18 -0600 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:49:18 -0600 |
commit | 86805dcb8aaaa716fdc73725ad41e411be53f6a6 (patch) | |
tree | 4d3cf9d479388d65447c0bd25b012fc9f247e360 /decoder/tagger.cc | |
parent | 491848839c0340f6c629ebae7ed6b6dc1a3842ad (diff) |
clean up names of feature functions, fix tagger, fix tests
Diffstat (limited to 'decoder/tagger.cc')
-rw-r--r-- | decoder/tagger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/tagger.cc b/decoder/tagger.cc index 4dded35f..54890e85 100644 --- a/decoder/tagger.cc +++ b/decoder/tagger.cc @@ -96,7 +96,7 @@ bool Tagger::TranslateImpl(const string& input, SentenceMetadata* smeta, const vector<double>& weights, Hypergraph* forest) { - Lattice lattice; + Lattice& lattice = smeta->src_lattice_; LatticeTools::ConvertTextToLattice(input, &lattice); smeta->SetSourceLength(lattice.size()); vector<WordID> sequence(lattice.size()); |