Modified weight.cc for better parsing of BM25 params.
Removed trailing whitespaces from weight.cc.