Text this: Recovery of DESI BGS redshift measurements using machine learning