Cannot extract entity sentences #8928
-
text=""" @ ! 01/02/21 10:13:46 10:21:02 Give me this output I have trained my custom NER model for this for this domain specific problem |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What version of spacy are you using ( The most recent versions of spacy v2 and all versions of spacy v3 should raise an error instead of returning It's possible the rule-based |
Beta Was this translation helpful? Give feedback.
What version of spacy are you using (
spacy info
)? What components are in your pipeline (nlp.pipe_names
)? Is there a component that sets sentence boundaries (sentencizer
,senter
,parser
, custom)?The most recent versions of spacy v2 and all versions of spacy v3 should raise an error instead of returning
None
, but I think that releases that are over a year old would returnNone
if the doc doesn't have any sentence boundaries.It's possible the rule-based
sentencizer
would work well enough for this example text because there are periods at the ends of the lines, but you may need a custom component for this kind of text, which doesn't contain the kinds of full (newspaper-ish) sentences that the