Text this: Maximum likelihood estimation with dynamic measurement errors and application to interest rate modeling