{"id":44718,"library":"detectormorse","title":"DetectorMorse","description":"DetectorMorse is a sentence splitter for Portuguese and other languages, version 0.4.1. It detects sentence boundaries in text using a rule-based approach. Release cadence is low; no recent updates.","status":"active","version":"0.4.1","language":"python","source_language":"en","source_url":"https://github.com/niderhoff/detector-morse","tags":["sentence-splitting","nlp","portuguese"],"install":[{"cmd":"pip install detectormorse","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from detectormorse import SentenceSplitter","symbol":"SentenceSplitter","correct":"from detectormorse import SentenceSplitter"}],"quickstart":{"code":"from detectormorse import SentenceSplitter\n\nsplitter = SentenceSplitter()\ntext = \"Olá! Como vai? Tudo bem.\"\nsentences = splitter.split(text)\nprint(sentences)","lang":"python","description":"Basic usage: create a SentenceSplitter instance and call split on a string."},"warnings":[{"fix":"Consider using the fork from Unstructured-IO for bug fixes and continued support.","message":"The original repository (https://github.com/niderhoff/detector-morse) appears unmaintained since 2020. There is a maintained fork at https://github.com/Unstructured-IO/detector-morse.","severity":"deprecated","affected_versions":"<=0.4.1"},{"fix":"Strip results with [s.strip() for s in splitter.split(text) if s.strip()]","message":"SentenceSplitter.split() returns a list of sentences but may include trailing whitespace or empty strings.","severity":"gotcha","affected_versions":"all"},{"fix":"Validate output manually or preprocess text to normalize punctuation.","message":"The library's language detection is simplistic; it may mis-split sentences in languages with non-standard punctuation.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.4.1':13 'approach':25 'base':24 'boundari':17 'cadenc':27 'detect':15 'detectormors':1,2 'languag':11 'low':29 'nlp':36 'portugues':8,37 'recent':31 'releas':26 'rule':23 'rule-bas':22 'sentenc':5,16,34 'sentence-split':33 'split':35 'splitter':6 'text':19 'updat':32 'use':20 'version':12","created_at":"2026-06-07T12:51:29.666157+00:00","updated_at":"2026-06-07T12:51:29.666157+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmph7cyyj_j/venv/lib/python3.12/site-packages/detectormorse/__init__.py\", line 23, in <module>\n    from .detector import Detector, slurp\n  File \"/tmp/tmph7cyyj_j/venv/lib/python3.12/site-packages/detectormorse/det"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}