transcribe-cpp-sys 0.3.0

Native FFI bindings for transcribe.cpp, a C/C++ speech-to-text library built on ggml
Documentation
// arch/moss/capabilities.cpp - family invariants.

#include "moss.h"

namespace transcribe::moss {

void apply_family_invariants(transcribe_model & model) {
    transcribe_capabilities & caps = model.caps;

    caps.native_sample_rate = 16000;

    // Segment timestamps and speaker tags are emergent plain text inside the
    // transcript ([start][Sxx]text[end]). The runtime always parses them for
    // clean text; timestamps and speaker attribution are exposed only when
    // their independent run-param axes request them.
    caps.max_timestamp_kind = TRANSCRIBE_TIMESTAMPS_SEGMENT;

    // Transcription only; language is steered by the fixed prompt (no token).
    caps.supports_translate = false;

    transcribe::set_feature(&model, TRANSCRIBE_FEATURE_CANCELLATION, true);
    transcribe::set_feature(&model, TRANSCRIBE_FEATURE_DIARIZATION, true);
}

}  // namespace transcribe::moss