Text this: Characterization of optical materials