Added a tesseract training script.