ass_stats
Computes subtitle document statistics, returning dialogue, character, and word counts plus CPS reading-speed metrics, style and actor histograms, and timing data for QC checks.
Instructions
Statistics for a document.
Returns {"doc_id", "path", "lines", "dialogue", "comments", "characters", "words", "total_duration_ms", "average_cps", "mean_line_cps", "min_line_cps", "max_line_cps", "slowest": {"index", "cps"} | None, "style_histogram", "style_names", "actor_histogram", "actors", "over_cps_25", "lines_over_25", "empty_lines", "drawing_lines", "karaoke_lines", "duration_ms", "span_ms"}. average_cps is total characters over total dialogue
duration; the per-line figures only consider lines with a positive duration.
Indices are 0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||