Text this: Machine learning–based characterization of shale formations using core analysis data