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

How to write the function classify() in extraction/type_classifier.py? #50

Open snowcement opened 5 years ago

snowcement commented 5 years ago

My question is how to select 100 types from all types? Is it all manual built? Does this approach support the use of other knowledge base building? Thanks a lot!!!

muscleSunFlower commented 5 years ago

I want to ask, if I use Chinese language, Do I use write the file "type_classifier.py" in Chinese language again? In don't know how to set the type in Chinese!! I need help!! Thanks a lot!!!

JonathanRaiman commented 5 years ago

@muscleSunFlower do you mean, what are the types named in Chinese, or how to write them in Chinese? For cases where you don't know the natural language name you can feel free to use the Q-ids given by https://www.wikidata.org/wiki/Wikidata:Main_Page (and switch the language of Wikidata to the one of your choice to do searches and the rest)