Rule reminder
NE can replace: (1) partitive di + noun (some of), (2) di + topic with speaking/knowing verbs, (3) di + noun with expressions like avere bisogno di. Context tells you which meaning it has.
'Ne ho parlato con il direttore.' In context, 'ne' replaces: