Set the sword to 'passable' and do a trace every frame (while you swing it) from the bottom of the blade to the tip of it.
Set the trace_mode 'activate_shoot' to have an indicator for the other entity if it was hit by a sword trace or just another trace