Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8109863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:33:17+00:00 2026-06-06T01:33:17+00:00

I know this might sound easy. I thought about using the first dot(.) which

  • 0

I know this might sound easy. I thought about using the first dot(.) which comes as the benchmark, but when abbreviations and short forms come, I am rendered helpless.

e.g. –

Sir Winston Leonard Spencer-Churchill, KG, OM, CH, TD, PC, DL, FRS,
Hon. RA (30 November 1874 – 24 January 1965) was a British politician
and statesman known for his leadership of the United Kingdom during
the Second World War. He is widely regarded as one of the great
wartime leaders and served as Prime Minister twice. A noted statesman
and orator, Churchill was also an officer in the British Army, a
historian, a writer, and an artist.

Here, the 1st dot is Hon., but I want the complete first line ending at Second World War .

Is it possible people ???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T01:33:19+00:00Added an answer on June 6, 2026 at 1:33 am

    If you use nltk you can add abbreviations, like this:

    >>> import nltk
    >>> sent_detector = nltk.data.load('tokenizers/punkt/english.pickle')
    >>> sent_detector._params.abbrev_types.add('hon')
    >>> sent_detector.tokenize(your_text)
    ['Sir Winston Leonard Spencer-Churchill, KG, OM, CH, TD, PC, DL, FRS, Hon. RA 
    (30 November 1874 \xe2\x80\x93 24 January 1965) was a British politician and 
    statesman known for his leadership of the United Kingdom during the Second 
    World War.', 
    'He is widely regarded as one of the great wartime leaders and served as Prime 
    Minister twice.', 
    'A noted statesman and orator, Churchill was also an officer in the British Army,
    a historian, a writer, and an artist.']
    

    This approach is based on Kiss & Strunk 2006, which reports that the F-score (harmonic mean of precision and recall) is between 91% and 99% for Punkt, depending on the test corpus.

    Kiss, Tibor, and Jan Strunk. 2006. “Unsupervised Multilingual Sentence
    Boundary Detection”. Computational Linguistics, (32) 485-525.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this might sound like something which is explained everywhere.. but I've been
I know this question might sound a little cheesy but this is the first
I know this might sound really ridiculas but all of a sudden when I
This might sound a bit of an odd question but I know what I
I know this might sound a silly question, but I did not find in
I know this might sound silly but I have no idea how to do
I know this question might sound quite stupid, but I've tried my best and
This might sound a bit dumb but am confused. I know the strlen() would
This might sound stupid but I am still not clear about the Java Stack
I know this question might sound a little bit crazy, but I tough that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.