Text this: Nearest neighbor search algorithm for high dimensional data based on weighted self-taught hashing