Writer adaptation for offline text recognition: An exploration of neural network-based methods