Attributing documents to authors