-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
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
Python 3 #11
Comments
Sorry for submitting the same issue twice - there is some problem with github UI. |
michael-erasmus
added a commit
to michael-erasmus/vaderSentiment
that referenced
this issue
Nov 12, 2016
From this issue: cjhutto#11
ronjohn4
added a commit
to ronjohn4/vaderSentiment
that referenced
this issue
Dec 2, 2016
In Python 3.5 cjhutto#18 Python 3 cjhutto#11 Python 3 cjhutto#10 Print statement format not supported in Python 3.x cjhutto#19
Thanks! The new update (with new pip install) has better compatibility support for Python 3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following change in lambda syntax in vaderSentiment.py was required to run the tool with Python 3.5:
def make_lex_dict(f): return dict(map(lambda wm: (wm[0], float(wm[1])), [wmsr.strip().split('\t')[0:2] for wmsr in open(f) ]))
The text was updated successfully, but these errors were encountered: