Text this: Design of intelligent human-machine collaborative robot-assisted craniotomy system