suggest: use configuration.weight in learning

Before this change, score of a learned item is always increment 1.
After this change, incremented value can be customized by
configuration.weight value. If configuration.weight is zero, the
learning is ignored. If configuration.weight is 2 or more, the
learning is more important learning.