Closed Aminolroaya closed 3 years ago
Hi,
With negspacy 1.0.0 and spacy 3.0.1, I get the error for using termsets:
'negex -> neg_tersmset extra fields not permitted'
nlp = spacy.load("en_core_web_sm") ts = termset("en") nlp.add_pipe( "negex", config={ "neg_tersmset": ts.get_patterns() } )
Can you help?
Looks like a typo in "neg_termset". Give that a shot!
Thanks :D
Hi,
With negspacy 1.0.0 and spacy 3.0.1, I get the error for using termsets:
'negex -> neg_tersmset extra fields not permitted'
Can you help?