Open gloriagennaro opened 6 years ago
What is the version of your python?
You need to use the Python version 2.7 for this particular script.
You could use the pre-installed python2 to python3 converter within python3.
yes you can use <2to3 data.py>
Trying to run the code in data.py from my OS terminal I get this error message:
File "data.py", line 80 print "Vocabulary size: %d" % len(vocabulary) ^ SyntaxError: invalid syntax
Can you explain to me how to overcome this?