[Tex/LaTex] problem with Multirow

multirowtables

I am trying to do a table in latex.
My problem is I cannot to a multirow for "Apprentissage" cell between the 3 cell : "phrase", "mot" and "vocabulaire"

\begin{figure}
\centering
\begin{tabular}{|c|c|c|c|c|}
 \hline
 \multicolumn{2}{|c|}{Corpus} & Français & Anglais & Allemand   \\ \hline
\multirow{3}{*}{Apprentissage} & phrases & \multicolumn{3}{c|}{600.000} \\ \hline
&   Mot & ? & ? & ? \\ \hline
& Vocabulaire & ? & ? & ? \\
\hline
\end{tabular}
\caption{Caractéristique du corpus \textsc{Europarl}}
\label{fig:typeDistribution}
\end{figure}

Any idea please?

Best Answer

Use \cline{n-m} instead of \hline.

 \begin{figure}
 \centering
 \begin{tabular}{|c|c|c|c|c|}
  \hline
  \multicolumn{2}{|c|}{Corpus} & Français & Anglais & Allemand   \\ \hline
 \multirow{3}{*}{Apprentissage} & phrases & \multicolumn{3}{c|}{600.000} \\ \cline{2-5}
 &   Mot & ? & ? & ? \\ \cline{2-5}
 & Vocabulaire & ? & ? & ? \\
 \hline
 \end{tabular}
 \caption{Caractéristique du corpus \textsc{Europarl}}
 \label{fig:typeDistribution}
 \end{figure}
Related Question