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 | bf767bf309459e7ea8801d823d4833ae480b2038 (patch) | |
tree | e1f13503a33754b3db0db01e5d46e007a4d3f5c4 /decoder/ff_csplit.cc | |
parent | f2814314a1245fa0da3cba248cbe59b7f7cd87a8 (diff) |
clean up names of feature functions, fix tagger, fix tests
Diffstat (limited to 'decoder/ff_csplit.cc')
-rw-r--r-- | decoder/ff_csplit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_csplit.cc b/decoder/ff_csplit.cc index f267f8e8..1485009b 100644 --- a/decoder/ff_csplit.cc +++ b/decoder/ff_csplit.cc @@ -208,9 +208,9 @@ void ReverseCharLMCSplitFeature::TraversalFeaturesImpl( if (edge.rule_->EWords() != 1) return; const double lpp = pimpl_->LeftPhonotacticProb(smeta.GetSourceLattice(), edge.i_); features->set_value(fid_, lpp); -#if 0 WordID neighbor_word = 0; const WordID word = edge.rule_->e_[1]; +#if 0 if (chars > 4 && (sword[0] == 's' || sword[0] == 'n')) { neighbor_word = TD::Convert(string(&sword[1])); } |