Text this: Accelerating Constrained Sampling: A Large Deviations Approach