Text this: Strategies for training optical neural networks