Text this: Automatic control companents for mining