SpaCy not recognizing NORP (nationality)
nlp= spacy.load(en_core_web_lg-3.7.1) name = ‘Las Palmas Mexican Restaurant & Bar’ doc = nlp(name) for token in doc: print(f”{token.text} t{token.ent_type_} t{token.ent_iob_}”) print(‘—————–‘) Las ORG B Palmas ORG I Mexican ORG I Restaurant ORG I & ORG I Bar ORG I —————– So, SpaCy is considering the whole thing as ORGanization. How can I make it understand […]
Enforce labels in dependency parsing
I’m training a dependency parser in spaCy with a small amount of data and it would help if I could force the parser to