NER-RNN
NER-RNN copied to clipboard
TypeError: unorderable types: int() >= str()
PRE_EMB size 22518
max sentence size is : 30
Traceback (most recent call last):
File "NerMulti.py", line 213, in
I am newbie to python. How to resolve this error???
change this code : if ord(word[0]) >= 'A' and ord(word[0]) <= 'Z': to this : if ord(word[0]) >= '65' and ord(word[0]) <= '90':