Text this: Acquisition of context-based word recognition by reinforcement learning using a recurrent neural network