\newcommand{\partialbar}[2]{%
    \begin{tikzpicture}
        \draw[fill=black] (0,0) rectangle (#1,0.3);
        \draw[fill=white] (#1,0) rectangle (#2,0.3);
    \end{tikzpicture}%
}

%\begin{tabular}{|c| m{35pt} m{35pt} m{45pt} m{50pt} m{40pt} m{50pt} m{40pt}|}
% \begin{tabular}{l m{35pt} m{35pt} m{45pt} m{50pt} m{40pt} m{50pt} m{40pt}}
% \toprule
% System %& Head Errors TODO - head errors je potřeba dopočítat
% & Span Errors & Extra Entity Errors & Extra Mention Errors & Conflated Entities Errors & Missing Entity Errors & Missing Mention Errors & Divided Entity Errors \\ \midrule
% BASELINE & \partialbar{0.05}{1} & \partialbar{0.48}{1} & \partialbar{0.31}{1} & \partialbar{0.59}{1} & \partialbar{0.96}{1} & \partialbar{0.75}{1} & \partialbar{0.65}{1}\\
% CorPipe & \partialbar{0.09}{1} & \partialbar{0.62}{1} & \partialbar{0.33}{1} & \partialbar{0.41}{1} & \partialbar{0.44}{1} & \partialbar{0.3}{1} & \partialbar{0.54}{1}\\
% CorPipe-2stage & \partialbar{0.09}{1} & \partialbar{0.61}{1} & \partialbar{0.31}{1} & \partialbar{0.4}{1} & \partialbar{0.44}{1} & \partialbar{0.31}{1} & \partialbar{0.51}{1}\\
% CorPipe-single & \partialbar{0.11}{1} & \partialbar{0.72}{1} & \partialbar{0.38}{1} & \partialbar{0.44}{1} & \partialbar{0.43}{1} & \partialbar{0.3}{1} & \partialbar{0.54}{1}\\
% DFKI-CorefGen & \partialbar{0.13}{1} & \partialbar{1.0}{1} & \partialbar{1.0}{1} & \partialbar{1.0}{1} & \partialbar{0.87}{1} & \partialbar{1.0}{1} & \partialbar{1.0}{1}\\
% Ondfa & \partialbar{1.0}{1} & \partialbar{0.56}{1} & \partialbar{0.34}{1} & \partialbar{0.48}{1} & \partialbar{0.6}{1} & \partialbar{0.37}{1} & \partialbar{0.52}{1}\\
% Ritwikmishra & \partialbar{0.06}{1} & \partialbar{0.33}{1} & \partialbar{0.2}{1} & \partialbar{0.14}{1} & \partialbar{1.0}{1} & \partialbar{0.35}{1} & \partialbar{0.14}{1}\\
% \midrule
% \textit{Most Errors} & 3004 & 759 & 2256 & 707 & 969 & 2998 & 663 \\
% \bottomrule
% \end{tabular}

%\begin{table}[H]
%\resizebox{\textwidth}{!}{%
%\begin{tabular}{|c|m{35pt} m{35pt} m{35pt} m{45pt} m{50pt} m{40pt} m{50pt} m{40pt}|}
\begin{tabular}{l m{35pt} m{35pt} m{45pt} m{50pt} m{40pt} m{50pt} m{40pt}}
\toprule
System & Span Errors & Extra Entity Errors & Extra Mention Errors & Conflated Entities Errors & Missing Entity Errors & Missing Mention Errors & Divided Entity Errors \\ \midrule
\baseline  & \partialbar{0.07}{1} & \partialbar{0.65}{1} & \partialbar{0.41}{1} & \partialbar{0.7}{1} & \partialbar{0.36}{1} & \partialbar{0.52}{1} & \partialbar{0.91}{1}\\
\baselinegz  & \partialbar{0.06}{1} & \partialbar{0.72}{1} & \partialbar{0.33}{1} & \partialbar{0.75}{1} & \partialbar{0.36}{1} & \partialbar{0.43}{1} & \partialbar{0.99}{1}\\
CorPipe  & \partialbar{0.13}{1} & \partialbar{0.95}{1} & \partialbar{0.92}{1} & \partialbar{0.52}{1} & \partialbar{0.17}{1} & \partialbar{0.51}{1} & \partialbar{0.69}{1}\\
CorPipe-2stage  & \partialbar{0.1}{1} & \partialbar{0.83}{1} & \partialbar{0.43}{1} & \partialbar{0.48}{1} & \partialbar{0.16}{1} & \partialbar{0.27}{1} & \partialbar{0.67}{1}\\
CorPipe-single  & \partialbar{0.14}{1} & \partialbar{1.0}{1} & \partialbar{1.0}{1} & \partialbar{0.55}{1} & \partialbar{0.17}{1} & \partialbar{0.51}{1} & \partialbar{0.72}{1}\\
DFKI-CorefGen  & \partialbar{0.11}{1} & \partialbar{0.62}{1} & \partialbar{0.62}{1} & \partialbar{1.0}{1} & \partialbar{0.55}{1} & \partialbar{1.0}{1} & \partialbar{1.0}{1}\\
Ondfa  & \partialbar{1.0}{1} & \partialbar{0.85}{1} & \partialbar{0.43}{1} & \partialbar{0.52}{1} & \partialbar{0.2}{1} & \partialbar{0.3}{1} & \partialbar{0.64}{1}\\
%Ritwikmishra  & \partialbar{0.02}{1} & \partialbar{0.14}{1} & \partialbar{0.06}{1} & \partialbar{0.04}{1} & \partialbar{0.76}{1} & \partialbar{0.11}{1} & \partialbar{0.05}{1}\\
RitwikmishraFix  & \partialbar{0.07}{1} & \partialbar{0.48}{1} & \partialbar{0.26}{1} & \partialbar{0.18}{1} & \partialbar{1.0}{1} & \partialbar{0.39}{1} & \partialbar{0.21}{1}\\
\midrule
\textit{Most Errors} & 22120 & 2711 & 10709 & 3570 & 15095 & 20088 & 2493 \\ \bottomrule
\end{tabular}
%}
%\end{table}