'change the structure of the result of gensim keyword function

I want to use from gensim keyword function library for extracting keyword from my own text. in the resault of this function the delimeter of keyword is \n between each keyword,and now I want to change it to space, i mean space between each resulted keyword. how can I edit this gensim keyword library for my own aim? thank you so much for helping me



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source