Effective Training of a Neural Network Character Classifier for Word Recognition