From 70eae2e27b69b92587b0e6d545d61c0769aedce4 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 29 Sep 2026 12:40:06 +0200 Subject: Add LICENSE --- LICENSE | 20 ++++++++++++++++++++ README.md | 18 +++--------------- 2 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1028585 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +MIT License + +Copyright (c) 2026 The pyseg authors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index f16a9ff..8407db4 100644 --- a/README.md +++ b/README.md @@ -96,19 +96,6 @@ No allocation, syscall or lock happens inside `pyseg_process_*`. An engine is not thread-safe and is not meant to be: `pyseg_slide` gives each thread its own, and so should any other caller. -### What this does not do - -Speaker identities hold only inside a single ten-second window. Two -overlapping windows may number the same person differently, so joining windows -into whole-recording speakers needs a speaker embedding model and clustering, -which is a separate model and outside this library. Speech activity, -overlapped speech and the per-frame speaker count do carry across windows, and -those are what `pyseg_slide` aggregates. - -The model is 16 kHz mono only, and the window length is fixed at ten seconds -because the network was trained that way; per-channel statistics are computed -over the whole window, so it also cannot be run as a stream. - ## Layout | path | content | @@ -142,7 +129,8 @@ make verify # end to end against pyannote's own pipelines ## Licence -The code here is yours to license. The model weights are -`pyannote/segmentation-3.0`, MIT, by Alexis Plaquet and Hervé Bredin; see the +MIT license. + +The model weights are `pyannote/segmentation-3.0`, by Alexis Plaquet and Hervé Bredin; see the [model card](https://hf.co/pyannote/segmentation-3.0) and the [paper](https://www.isca-speech.org/archive/interspeech_2023/plaquet23_interspeech.html). -- cgit v1.3.1