Text this: A novel framework for characterizing spacetime microstructure with scaling