entity-recognition-datasets
entity-recognition-datasets copied to clipboard
print() is a function in Python 3
flake8 testing of https://github.com/juand-r/entity-recognition-datasets on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./data/NIST_IEER/CONLL-format/utils/quick_comma_fix.py:41:37: E999 SyntaxError: invalid syntax
print annotations
^
./data/NIST_IEER/CONLL-format/utils/makeconll.py:29:30: E999 SyntaxError: invalid syntax
print category
^
./data/GUM/CONLL-format/utils/webAnnotsv_to_conll.py:31:32: E999 SyntaxError: invalid syntax
print 'Made directory: ', newdir
^
./data/re3d/CONLL-format/utils/re3d_to_bratann.py:83:15: E999 SyntaxError: invalid syntax
print i, e['value']
^
./data/i2b2_2006/CONLL-format/utils/i2b2toconll.py:23:15: E999 SyntaxError: invalid syntax
print filename
^
./data/BBN/CONLL-format/utils/bbn2conll.py:35:18: E999 SyntaxError: invalid syntax
print filename
^
6 E999 SyntaxError: invalid syntax
6
These were written in Python 2. It will likely not work in Python 3 (even after fixing the print statements). I will make it compatible with Python 3 at some point.