% ============================================================
%  Nubi & Scots — WER across Models and Training Splits
%
%  Requires in preamble:
%    \usepackage{booktabs, adjustbox, array, makecell, fontawesome5}
%
%  Definitions below belong in the PREAMBLE.
% ============================================================

% ── Best-value highlight macro ───────────────────────────────
% \bst{} = bold+underline → best WER per language row
\newcommand{\bst}[1]{\underline{\textbf{#1}}}

% ── End of preamble definitions ──────────────────────────────


% ── Table body ───────────────────────────────────────────────

\begin{table}[ht]
\centering
\setlength{\tabcolsep}{8pt}
\renewcommand{\arraystretch}{1.25}

\adjustbox{max width=\columnwidth}{%
\begin{tabular}{
  l
  | >{\normalsize$}c<{$} >{\normalsize$}c<{$}   % Nubi
  | >{\normalsize$}c<{$} >{\normalsize$}c<{$}   % Scots
}
\toprule

% ── Row 1: Language super-headers ────────────────────────────
\multicolumn{1}{c|}{}  &
\multicolumn{2}{c|}{\normalsize \textbf{Nubi} \texttt{(kcn)}}  &
\multicolumn{2}{c} {\normalsize \textbf{Scots} \texttt{(sco)}} \\

% ── Row 2: Split sub-headers ─────────────────────────────────
\hline
\diagbox[width=9em, height=1.75\line]{\normalsize\textbf{Model}}{\normalsize\textbf{Split}} &
\normalsize\textbf{1 hr} & \normalsize\textbf{3 hr} &
\normalsize\textbf{1 hr} & \normalsize\textbf{5 hr} \\
\hline

% ── WER label row ────────────────────────────────────────────
% \multicolumn{1}{c|}{\normalsize\textbf{WER (\%)}} &
% \multicolumn{4}{c}{\small\textit{lower is better}} \\

\midrule

% ════════════════════════════════════════════════════════════
%  DATA ROWS
%  Column order per language: One | Mid
%  \bst{} marks the single best (lowest) WER for each language.
% ════════════════════════════════════════════════════════════

\footnotesize\faMicrophone\ \textbf{MMS-1B-all}    & 1.197 & 0.673 & 0.996 & \textbf{0.338} \\
\footnotesize\faWaveSquare\ \textbf{XLS-R-1b}       & 1.040 & 0.752 & 0.989 & 0.482 \\
\footnotesize\faLayerGroup\ \textbf{Whisper large-v3}   & \textbf{0.883} & \textbf{0.641} & \textbf{0.353} & 0.476 \\

\bottomrule
\end{tabular}
}% end adjustbox

\caption{%
  Word Error Rate (\%) of \textbf{MMS-1B-All}, \textbf{XLS-R-1B}, and
  \textbf{Whisper Large-v3} on \textbf{Nubi} (\texttt{kcn}) and
  \textbf{Scots} (\texttt{sco}) across two training splits:
  \textbf{One} (1\,hr) and \textbf{Mid} (50\%). 
  \underline{\textbf{Bold}} indicates the lowest \texttt{WER} per language.
}
\label{tab:nubi-scots-wer}
\end{table}