Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/toolkit/components/ml/vendor/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 325 kB image not shown  

Quelle  voice-text.ts   Sprache: unbekannt

 
/**
 * Voice transcript formatting utility.
 *
 * Zero external dependencies — pure string formatting.
 */


/** Format voice transcripts into user-visible text. */
export function formatVoiceText(transcripts: string[]): string {
  if (transcripts.length === 0) {
    return "";
  }
  return transcripts.length === 1
    ? `[Voice message] ${transcripts[0]}`
    : transcripts.map((t, i) => `[Voice ${i + 1}] ${t}`).join("\n");
}

Messung V0.5 in Prozent
C=96 H=96 G=95

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-06-05]