openai / deeptype

Code for the paper "DeepType: Multilingual Entity Linking by Neural Type System Evolution"
https://arxiv.org/abs/1802.01021
Other
648 stars 145 forks source link

tags is an undefined name in train_type.py #4

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

tags is an undefined name in this context.

flake8 testing of https://github.com/openai/deeptype on Python 3.6.4

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./learning/train_type.py:2442:67: F821 undefined name 'tags'
                        for tokens, tags, score in zip(sentences, tags, scores)
                                                                  ^
JonathanRaiman commented 6 years ago

Typo, thanks for finding this!