8000 Python 3 incompatible · Issue #9 · aneesha/RAKE · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Python 3 incompatible #9
Open
Open
@louwersj

Description

@louwersj

It looks like some parts of the code are not able to work with the latest releases of Python.

below code is used in rake.py
sorted_keywords = sorted(keyword_candidates.iteritems(), key=operator.itemgetter(1), reverse=True)

However, iteritems() is no longer supported in python 3, this makes that the code cannot be used in the latest releases of Python.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0