Text this: Data-Driven and Machine-Learning-Based Real-Time Viscosity Measurement Using a Compliant Mechanism