Sparse Boltzmann Machines with Structure Learning as Applied to Text Analysis