whisper.cpp/examples
Cappuccino 080bbbe852
examples : Remove leading space from txt output (#3921)
* Fix #587: Remove leading space from txt output

The BPE tokenizer used by Whisper produces tokens with leading spaces,
causing each line in the txt output to start with an unwanted space.

This fix strips leading whitespace (spaces and tabs) from each segment
when writing to txt output files, improving the readability of the
transcription output.

Fixes: https://github.com/ggml-org/whisper.cpp/issues/587
2026-07-11 17:53:59 +02:00
..
addon.node ci, examples : add package-lock.json to examples addon node (#3919) 2026-07-01 09:04:21 +02:00
bench bench : sync submit-results URL to ggml-org (#3769) 2026-04-20 07:12:57 +02:00
bench.wasm bench : sync submit-results URL to ggml-org (#3769) 2026-04-20 07:12:57 +02:00
cli examples : Remove leading space from txt output (#3921) 2026-07-11 17:53:59 +02:00
command
command.wasm
deprecation-warning
lsp
parakeet-cli examples : update model names in parakeet-cli README.md [no ci] (#3906) 2026-06-23 09:12:31 +02:00
parakeet-quantize parakeet : add support for NVIDIA Parakeet (#3735) 2026-06-16 20:44:10 +02:00
python
quantize
server server : merge split utf-8 token text in verbose json (#3850) 2026-06-02 13:10:27 +02:00
stream
stream.wasm
sycl
talk-llama talk-llama : sync llama.cpp 2026-07-10 13:06:42 +03:00
vad-speech-segments examples : fix argument flag for min speech duration in VAD (#3907) 2026-06-26 08:09:03 +02:00
wchess
whisper.android examples : Improved inference performance of Android example project (#3913) 2026-06-30 12:12:04 +02:00
whisper.android.java examples : Improved inference performance of Android example project (#3913) 2026-06-30 12:12:04 +02:00
whisper.nvim
whisper.objc
whisper.swiftui
whisper.wasm
CMakeLists.txt parakeet : add support for NVIDIA Parakeet (#3735) 2026-06-16 20:44:10 +02:00
coi-serviceworker.js
common-ggml.cpp common : adapt to q2_0 (ggml/0) 2026-07-10 13:06:42 +03:00
common-ggml.h
common-sdl.cpp
common-sdl.h
common-whisper.cpp server : merge split utf-8 token text in verbose json (#3850) 2026-06-02 13:10:27 +02:00
common-whisper.h server : merge split utf-8 token text in verbose json (#3850) 2026-06-02 13:10:27 +02:00
common.cpp
common.h
ffmpeg-transcode.cpp common : pass sample rate to `ffmpeg_decode_audio()` 2026-05-31 15:49:13 +03:00
generate-karaoke.sh
grammar-parser.cpp
grammar-parser.h
helpers.js
json.hpp
livestream.sh
miniaudio.h
server.py
stb_vorbis.c
twitch.sh
yt-wsp.sh