I have a list f keywords i used TextRank algorithme, and i have list of all words tokinized ,i want to combine kaywords into a multi-word keyword depending on their position in the list of all words tokenized with java. For exemple :
Keywords :[ management ,activities ,such ,accounting ,risk ,project ,performance]
list of all words tokenized :
[ "A", "cloud", "service", "for", "managing", "business", "activities", "such", "accounting",",", "procurement", "project", "management",",","risk", "management"," performance","."]
Result of multi-Keywords :
[ "risk management" ,"activities such accounting","project","management performance"]
The results that you want ("multi-word keyword") are phrases. We have a Python implementation, for multiple textrank algorithms, which handles that by default – at https://github.com/DerwenAI/pytextrank/