Text this: Neural network-based codebook search for image compression