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 whisper : enable flash attention by default (#3441) 2025-09-30 15:47:20 +03:00
command.wasm examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
deprecation-warning
lsp examples : fix executable example targets (#3600) 2026-01-13 08:08:18 +01:00
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 examples : fix executable example targets (#3600) 2026-01-13 08:08:18 +01:00
server server : merge split utf-8 token text in verbose json (#3850) 2026-06-02 13:10:27 +02:00
stream whisper : enable flash attention by default (#3441) 2025-09-30 15:47:20 +03:00
stream.wasm examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
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 wchess : fix link [no ci] 2025-09-30 21:28:03 +03:00
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 rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
whisper.objc docs : update README.md for whisper.objc app (#2569) 2025-05-13 06:03:50 +02:00
whisper.swiftui examples : clarify Core ML encoder model usage [no ci] (#2987) 2025-04-02 08:32:14 +02:00
whisper.wasm wasm : fix Hebrew ID (#3487) 2025-10-27 08:49:32 +02:00
CMakeLists.txt parakeet : add support for NVIDIA Parakeet (#3735) 2026-06-16 20:44:10 +02:00
coi-serviceworker.js ci : add github pages workflow for wasm examples (#2969) 2025-03-31 11:34:40 +02:00
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 whisper: remove MSVC warnings pragmas (#3090) 2025-05-05 13:09:35 +02:00
common.h examples : add --print-confidence option to cli (#3150) 2025-05-14 19:21:48 +02:00
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 rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
miniaudio.h examples : update miniaudio library to 0.11.24 (#3672) 2026-02-27 11:15:15 +01:00
server.py examples : add wchess.wasm to wasm examples build (#3443) 2025-09-30 16:23:01 +02:00
stb_vorbis.c
twitch.sh rename : ggerganov -> ggml-org (#3005) 2025-04-04 16:11:52 +03:00
yt-wsp.sh examples : update usage/help in yt-wsp.sh (#3251) 2025-06-16 12:21:16 +02:00