DocBin Attributes #12668
-
I'm trying to load 700k documents into a docbin to save to disk and load back at a later stage. After I load back the document, I need to extract all useful entities to add them to a knowledge graph. I've pasted my code below, I can't seem to be able to extract anything using the loadedDocBin.getattribute or doc.ents. Can someone explain to me what I'm doing wrong? I think I'm missing a fundamental point here, just can't figure out what...
Let me know if anything doesn't make sense or if I can provide anything else :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're using |
Beta Was this translation helpful? Give feedback.
If you're using
fr_dep_news_trf
asfrNLP
in the first step, then there are no entities annotated in your documents because this pipeline doesn't include NER?