Text this: Neural network decoder for near-term surface-code experiments