Added an example of a weighting scheme that requires statistics .

I added an example of a weighting scheme that requires some statistics to the how to manual.It is a very simple version of the td-idf scheme that requires wdf , wdf_max and term frequency .