A neural approach to the automated selection of tools in turning