Text this: Automatic Segment Compensation Alignment Control Algorithm Based on Rail Head Wear