Text this: Autonomous and dynamic precursor selection for solid-state materials synthesis