whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

grammar with samples/jfk.wav not giving any results

Open philipag opened this issue 8 months ago • 0 comments
trafficstars

Using the sample audio

whisper-cli -f samples/jfk.wav --grammar grammar.txt --grammar-rule "root" --grammar-penalty 50

with the attached grammar file does not give any output. Am I doing something obviously wrong here?

grammar.txt

If I change the word to "ask" it returns only 1 occurrence instead of 2.

philipag avatar Feb 24 '25 14:02 philipag