Trying to extend the Dependency parser's SBD detection with a custom component. #13581
Unanswered
MoetasimR
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using Spacy's "en_core_web_sm" model to split large text strings into sentences and I am using the model's default language processing pipeline. However, I want to implement a custom component that disables the parser's SBD within a certain substring in a large text string.
This is my code for implementing the custom component:
The problem arises when I try to include more than just a single "<" or ">" in my start_string, end_strings variable.
Exhibit A:
Apparently, the component's rules are now ignored, why is this happening?
Beta Was this translation helpful? Give feedback.
All reactions