Skip to content

Latest commit

 

History

History

basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Basic Transcription

The simplest possible transcription with parakeet.cpp.

Build & Run

make build
./build/examples/example-basic model.safetensors vocab.txt audio.wav

Code

#include <parakeet/parakeet.hpp>
#include <iostream>

int main(int argc, char *argv[]) {
    parakeet::Transcriber t(argv[1], argv[2]);
    auto result = t.transcribe(argv[3]);
    std::cout << result.text << std::endl;
}

Expected Output

Well, I don't wish to see it anymore, observed Phoebe, turning away her eyes.
It is certainly very like the old portrait.