Fix ngrams with prefix match_weights.
Fix ngrams with prefix match_weights.

Cleanup unused code.

PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge,PhilHarnish/forge