Text this: Hidden Hypergraphs, Error-Correcting Codes, and Critical Learning in Hopfield Networks