TMG: A MATLAB Toolbox for Generating Term-Document Matrices from Text Collections
Pivoted document length normalization