openai / deeptype

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

FileNotFoundError: [Errno 2] No such file or directory: 'data/wikidata/wikidata_wikititle2wikidata.tsv' #58

Open parisak916 opened 4 years ago

parisak916 commented 4 years ago

Hi,

I get this issue when running: python3 extraction/project_graph.py ${DATA_DIR}wikidata/ extraction/classifiers/type_classifier.py

Full error: Traceback (most recent call last): File "extraction/project_graph.py", line 183, in main() File "extraction/project_graph.py", line 93, in main cache=args.use_cache File "/Users/parisakhan/.pyenv/versions/3.6.0/lib/python3.6/site-packages/wikidata_linker_utils/type_collection.py", line 53, in init prefix=prefix File "/Users/parisakhan/.pyenv/versions/3.6.0/lib/python3.6/site-packages/wikidata_linker_utils/wikidata_ids.py", line 54, in load_names with open(path, "rt", encoding="UTF-8") as fin: FileNotFoundError: [Errno 2] No such file or directory: 'data/wikidata/wikidata_wikititle2wikidata.tsv'

Thanks

tbarnier commented 4 years ago

You have to go through the pre-processing phase to generate these files (and around 1TB disk space)