Skip to content

Commit

Permalink
Update CountInterpolationStrategy.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
naiaden authored Feb 14, 2017
1 parent 1d510ce commit c165d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CountInterpolationStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ double CountInterpolationStrategy::get(const Pattern& context)
// if(i == weights.end())
// {
// weights[context] = mle;
return lm->getCount(contextFocus, contextContext);
return 1.0 + lm->getCount(contextFocus, contextContext);
// } else
// {
// return i->second;
Expand Down

0 comments on commit c165d8a

Please sign in to comment.