Text this: Entropy learning in neural network