# Dosya Yolları ve Başlıklar CSV_FILE = "results.csv" BANNER_IMAGE = "logo.png" TITLE = "Turkish ASR Leaderboard" # Tablo Başlıkları (Yeni Sütunlarla) # CSV'deki sütun adları ile buradaki sıra eşleşmeli TABLE_HEADERS = [ "Rank", "Model", "CV17 (WER)", "CV17 (CER)", "FLEURS (WER)", "FLEURS (CER)", "Average WER ⬇️", "Params", "Speed (RTF) ⬇️", "Type", "License" ] # HTML Hakkında Bölümü ABOUT_INTRO_HTML = """

🇹🇷 Turkish ASR Leaderboard

This platform is designed for the **fair, transparent, and reproducible** comparison of Turkish Automatic Speech Recognition (ASR) models. It aims to provide the community with a reliable benchmark to track progress in Turkish speech technologies.

""" ABOUT_METHODOLOGY_HTML = """

⚙️ Methodology

Models are ranked by **Average WER** across datasets. We also measure **RTF (Real-Time Factor)** for speed (lower is faster). All evaluations use standardized normalization.

""" # Metrik Kartları (İngilizce) WER_HTML = """

WER — Word Error Rate

Measures the percentage of incorrect words.

WER = ( S + D + I ) / N
SSubstitutions
DDeletions
IInsertions
NTotal Words
""" CER_HTML = """

CER — Character Error Rate

Measures the percentage of incorrect characters.

CER = ( S + D + I ) / N_char

More precise for agglutinative languages like Turkish.

""" NORM_HTML = """

🧹 Normalization

""" COMPARE_HTML = """

⚖️ Ranking & Speed

""" # Veri Setleri DATASET_CV_HTML = """

🗣️ Common Voice 17

Crowdsourced, diverse accents and conditions.

""" DATASET_FLEURS_HTML = """

🌍 FLEURS

Professional narrators, cleaner read speech.

""" # Gönderme ve Sesli Sandbox Açıklamaları SUBMIT_DESC = """ ### 📝 Submit Your Model Have you trained a Turkish ASR model? Submit it here to be evaluated and added to the leaderboard! Please provide the Hugging Face model ID and any relevant details. """ AUDIO_SANDBOX_DESC = """ ### 🎤 Live Audio Testing Record your voice or upload an audio file to test a model in real-time! **Note:** This uses a lightweight model (`openai/whisper-tiny`) for demonstration purposes. """