Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Integration test on synthetic 4-cluster data (no model required) — runs in
every PR's normal `cargo test` (not `--ignored`).

### Added (M4 — Overlap resegmenter)
- `polyvoice::resegmentation` module: `Resegmenter` trait, `ResegmentError`,
`OverlapResegmenter` (pure-Rust post-clustering pass that attaches a second
speaker to overlap regions via nearest-cosine cluster), `ResegmentInputs`,
`OverlapRegionInput`, `SpeakerCentroid`, helpers `compute_centroids` and
`extract_overlap_time_ranges` (gated `segmentation`).
- New Cargo feature `resegmentation` (in default features). Pure-Rust core,
wasm32-clean, no `onnx` requirement.
- Integration test on synthetic two-speaker / three-speaker data + RTTM
round-trip — runs in every PR's normal `cargo test`.
- Miri-friendly test target `tests/miri_resegmentation.rs` covering
no-overlap, single-overlap, and centroid math paths.

## [0.5.2] - 2025-05-05

### Added
Expand Down
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["multimedia::audio", "science"]
crate-type = ["cdylib", "rlib"]

[features]
default = ["spectral", "segmentation", "embedder", "clusterer"]
default = ["spectral", "segmentation", "embedder", "clusterer", "resegmentation"]
# ONNX-based embedding extractors (pulls ort).
onnx = ["dep:ort"]
# C FFI bindings.
Expand Down Expand Up @@ -46,6 +46,12 @@ embedder = []
# pulls `faer`).
clusterer = []

# v1.0 Overlap-aware post-clustering resegmentation pass.
# Pure-Rust, wasm32-clean — does not require `onnx`. Operates on already-
# computed speaker centroids and overlap-region embeddings supplied by the
# caller (M6 Pipeline wires the embedder pool into this).
resegmentation = []

# Model profile bundles. M0 only emits metadata; CLI uses these to pick which
# manifest entries to ensure(). M5 will introduce INT8 model variants.
profile-mobile = []
Expand Down
Loading
Loading