>>> from techminer2.co_occurrence_network import clusters_to_terms_mapping
>>> mapping = clusters_to_terms_mapping(
... #
... # PARAMS:
... field='author_keywords',
... retain_counters=True,
... #
... # COLUMN PARAMS:
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_terms=None,
... #
... # NETWORK PARAMS:
... algorithm_or_dict="louvain",
... association_index="association",
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> from pprint import pprint
>>> pprint(mapping)
{0: ['FINTECH 31:5168',
'FINANCIAL_INCLUSION 03:0590',
'CROWDFUNDING 03:0335',
'BUSINESS_MODELS 02:0759',
'CYBER_SECURITY 02:0342',
'CASE_STUDY 02:0340',
'BLOCKCHAIN 02:0305',
'REGTECH 02:0266'],
1: ['INNOVATION 07:0911',
'FINANCIAL_SERVICES 04:0667',
'FINANCIAL_TECHNOLOGY 03:0461',
'TECHNOLOGY 02:0310',
'BANKING 02:0291'],
2: ['MARKETPLACE_LENDING 03:0317',
'LENDINGCLUB 02:0253',
'PEER_TO_PEER_LENDING 02:0253',
'SHADOW_BANKING 02:0253'],
3: ['ARTIFICIAL_INTELLIGENCE 02:0327', 'FINANCE 02:0309', 'ROBOTS 02:0289']}