Skip to main content

cjm-capability-pysbd

pySBD-based sentence-segmentation tool capability for the cjm-substrate runtime — rule-based Golden-Rules sentence boundaries delivered as character spans over the ORIGINAL text, trimmed to non-whitespace extents. Implements the sentence_segmentation task (cjm-sentence-segmentation-adapter-interface): pure compute, pure-pip, no model download, CPU-cheap — the segmenter behind the transcript decomposition pipeline's sentence-split stage (--sentence-split), chosen (DEC cc904eee) for the abbreviation/initial/honorific class ('Mr. Gorbachev', '3 p.m.', 'U.S.') that end-of-token heuristics mis-split. Config is a single language knob (Golden-Rules set selection, reload-triggered); clean=False + char_span=True are contract invariants, not knobs — spans must index into exactly the string the caller passed. Its effective-config hash joins the decomp skeleton-identity composite, so spines cut by different segmenter configs can never share node ids.

Modules

  • cjm_capability_pysbd.__init__
  • cjm_capability_pysbd.capability — Pure-compute sentence-segmentation tool capability using pySBD (Option C; B.5 work item 81e43606).

API

cjm_capability_pysbd.capability

  • PySBDConfig class — Configuration for the pySBD segmenter.
  • PySBDSegmentationCapability class — Sentence-segmentation tool capability using pySBD (pure compute).

Dependencies

Depends on: cjm-capability-primitives, cjm-substrate, pysbd

Release files for cjm-capability-pysbd 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cjm-capability-pysbd 0.0.1
File Size Uploaded
cjm_capability_pysbd-0.0.1.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cjm-capability-pysbd 0.0.1
File Interpreter ABI Platform
cjm_capability_pysbd-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / cjm_capability_pysbd-0.0.1.tar.gz

Download URL cjm_capability_pysbd-0.0.1.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a2d0d7380425d5d8a8b873ad860786b954d60a4e01937bb1b295cb5f80739762
BLAKE2b-256 checksum
How to use checksums
733289f4533be29549dedaeb28333f298ef10ffe4f6ae740dc3d7562b3eacb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / cjm_capability_pysbd-0.0.1-py3-none-any.whl

Download URL cjm_capability_pysbd-0.0.1-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ecac07a5d857e271a10bb18194060483184a93a08494da586c13a5372abbe73
BLAKE2b-256 checksum
How to use checksums
a21eeecdb856ba3edb9d8e3ab7c29908227f70178e7415d3a7637136014138c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page