Enrich documents with social fees. The code is adapted from Xu Chen's code.