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

fix_destination is an undefined name in evaluate_type_system.py #2

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

__fix_destination is an undefined name in [this context__](https://github.com/openai/deeptype/blob/master/extraction/evaluate_type_system.py#L378).

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

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


./extraction/evaluate_type_system.py:378:29: F821 undefined name 'fix_destination'
            fix_destination=fix_destination,
                            ^
``
JonathanRaiman commented 6 years ago

Typo, thanks for pointing this out :) should now be fixed!