boudinfl / pke

Python Keyphrase Extraction module
GNU General Public License v3.0
1.57k stars 291 forks source link

Remove keyword argument `G` from `nx.pagerank()` in PositionRank for networkx>3.0 #222

Closed tagucci closed 1 year ago

tagucci commented 1 year ago

Following https://github.com/networkx/networkx/issues/6458, I remove keyword argument G from nx.pagerank() in PositionRank. fixes issue #221

ygorg commented 1 year ago

Thanks for your PR ! Indeed, the G keyword does not appear in every other method so it is safe to remove.