{"library":"minisbd","title":"MiniSBD: Fast Sentence Boundary Detection","description":"MiniSBD is a free and open-source Python library designed for fast and efficient sentence boundary detection (SBD). It provides a lightweight solution for splitting text into sentences, supporting various punctuation and language patterns. The current version is 0.9.5, with releases occurring periodically, often driven by improvements in tokenization or punctuation handling.","language":"python","status":"active","last_verified":"Fri Apr 17","install":{"commands":["pip install minisbd"],"cli":null},"imports":["from minisbd import SBD"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from minisbd import SBD\n\nsbd = SBD() # Initialize the SBD object once\n\ntext1 = \"Hello world. This is a test. Is it working?\"\nsentences1 = sbd.segment(text1)\nprint(f\"Text 1: {sentences1}\")\n\ntext2 = \"Hello world! This is another test. Is it working now?\"\nsentences2 = sbd.segment(text2)\nprint(f\"Text 2: {sentences2}\")","lang":"python","description":"Initialize the SBD class once, then use its `segment` method to split a string into a list of sentences.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}