How to prepare Custom Sentence Segmentation fuction? #10289
Unanswered
karndeepsingh
asked this question in
Help: Coding & Implementations
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to split the paragraphs into sentence and I am using default "sentencizer" in my pipeline and it splits into sentence whereever it finds full stop. But in my text full stop is present inside the word and it splits from there as well. For example:
I have this sentence:
After applying default sentence splitter pipeline, it splits as mentioned below:
If you notice, line " (D) "Trustee" is David E.Fenne, Esq.," got split into Trustee" is David E. as one sentence and Fenne, Esq., as another and likewise others.
I want it to split the sentence where it finds "( ) " for example wherever it finds "(A)" or "(B)" or "(C)" it should split the sentence from there not by using full stop. Because "full stop" is also present in the name of the person and it splitting from there.
Please, help me how I can build a custom sentence splitter function to get the desired output.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions