map_citations_to_segments function

Map citations to document segments or sections