Closed SiriYXR closed 3 years ago
You write this code in Data_nyt.py, but I can't find the file ner2id_.json.
Data_nyt.py
ner2id_.json
def create_ner_dict(self): file = "/home/mrt/data/arnor_nyt/1.0/ner2id_.json" with open(file, 'r') as f: self.ner2id = json.load(f)
I have updated the codes. Please try again.
Thank you very much!
You write this code in
Data_nyt.py
, but I can't find the filener2id_.json
.