mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-10-23 03:07:13 +00:00
bindings: cueseg, so a transcript can be chaptered in process
This commit is contained in:
@@ -20,6 +20,7 @@ from ._catena import (
|
||||
parse_identifier,
|
||||
parse_subtitles,
|
||||
scrub,
|
||||
segment_cues,
|
||||
series_of,
|
||||
split_collection,
|
||||
)
|
||||
@@ -34,6 +35,7 @@ __all__ = [
|
||||
"parse_identifier",
|
||||
"parse_subtitles",
|
||||
"scrub",
|
||||
"segment_cues",
|
||||
"series_of",
|
||||
"split_collection",
|
||||
]
|
||||
|
||||
@@ -21,6 +21,9 @@ def pack_cues(
|
||||
seconds: float | None = ...,
|
||||
max_tokens: int | None = ...,
|
||||
) -> list[dict[str, Any]]: ...
|
||||
def segment_cues(
|
||||
cues: Iterable[Mapping[str, Any]], *, duration: float | None = ...
|
||||
) -> list[dict[str, Any]]: ...
|
||||
def split_collection(markdown: str) -> list[dict[str, Any]]: ...
|
||||
def fuse_hits(
|
||||
hits: Iterable[Mapping[str, Any]],
|
||||
|
||||
Reference in New Issue
Block a user