A defence department linguist is accused of sharing data with an individual linked to Hezbollah.