Skip to content

Latest commit

 

History

History

README.md

Examples

Self-contained examples demonstrating parakeet.cpp features. Each example is a standalone program that compiles against the parakeet library.

Building

All examples are built with the main project by default:

make build
# Binaries: ./build/examples/example-*

Disable with -DPARAKEET_BUILD_EXAMPLES=OFF.

Getting Started

Example Description
basic Simplest transcription — 20 lines of code
cli Full-featured CLI with all options

Feature-Specific

Example Description
timestamps Word-level and token-level timestamps with confidence
beam-search CTC and TDT beam search with optional ARPA LM
phrase-boost Context biasing for domain-specific vocabulary
batch Batch transcription of multiple files
vad Voice activity detection (standalone + ASR preprocessing)
gpu Metal GPU acceleration and FP16 with timing comparison

Streaming

Example Description
stream EOU streaming transcription with chunked audio
nemotron Nemotron streaming with configurable latency modes

Advanced

Example Description
diarize Sortformer speaker diarization
diarized-transcription ASR + diarization for speaker-attributed words

Language Bindings

Example Description
c-api Pure C99 usage via the FFI interface