speech-catalog

command
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command speech-catalog turns the output of speech.cpp's `speech models --json` into the model manifest that pkg/download/catalog embeds. It never runs the speech binary: give it the JSON as a file or on standard input.

Regenerate the manifest for a new speech.cpp release, from the module root:

speech models --json > models.json   # the speech binary of that release
go run ./cmd/speech-catalog -in models.json \
	-stripped pkg/download/catalog/testdata/speech-models.json \
	-out pkg/download/catalog/manifest.json

-stripped writes the input without its machine-local state; the catalog's tests regenerate the manifest from that copy and require the same bytes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL