We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
To ensure it will work with python 3 you will need to write the line as shown in the example below:
sorted_keywords = sorted(iter(keyword_candidates.items()), key=operator.itemgetter(1), reverse=True)
Sorry, something went wrong.
#11 should fix this.
Merge pull request aneesha#9 from drkatnz/master
14e153a
Added setup.py to make module easily installable
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: