This (like everything) has been covered before. Someone said that they'd done it by wedging the hub in a bench vise with some wood and torquing the cog off with a chainwhip. Someone else mentioned lacing the NDS up and seeing if that gave the wheel enough strength to pull the cog off.
Good luck.