You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running 1.split_sentences_trf.py, the code is loading a spacy "en_core_web_trf" model and there is a parameter in your code (line 25 in CANarEx/narratives/sentence_generator.py) that disables NER in this model. However, when using this loaded model, the code is reaching to the 'ents' attribute which is (from my understanding) created by the NER part of the model. If disabling it, there are no entities created.
For sanity check I re-ran the code without disabling the NER parameter and entities were created.
If so, why do we need to disable'ner'in spacy model?
Thanks
The text was updated successfully, but these errors were encountered:
Hi
When running
1.split_sentences_trf.py
, the code is loading a spacy"en_core_web_trf"
model and there is a parameter in your code (line 25 inCANarEx/narratives/sentence_generator.py
) that disables NER in this model. However, when using this loaded model, the code is reaching to the'ents'
attribute which is (from my understanding) created by the NER part of the model. If disabling it, there are no entities created.For sanity check I re-ran the code without disabling the NER parameter and entities were created.
If so, why do we need to disable
'ner'
in spacy model?Thanks
The text was updated successfully, but these errors were encountered: