A collection of code for Dimensionality Reduction for Documents with Nearest Neighbor Queries