Text this: Drilling dynamics measurement of drilling motors and its application in recognition of motor operation states through machine learning