I have inserted a table in my article but the font is too small. How can I increase it without affecting the scale of the table? I tried different ways but the table is out the page.
My table looks like the below picture:
'''
\begin{table}[h]
\centering
\caption{Comparative Study in The Related Work of Sentiment Analysis}
\normalsize
\resizebox{\textwidth}{!}{
\begin{tabular}{lllllll}
\hline
\multirow{2}{}{\textbf{Ref.}} & \multirow{2}{}{\textbf{Language}} & \multicolumn{2}{c}{\textbf{Dataset}} & \multirow{2}{}{\textbf{algorithm}} & \multirow{2}{}{\textbf{Polarity}} & \multirow{2}{}{\begin{tabular}[c]{@{}l@{}}\textbf{Performance}\\textbf{( Acc.)}\end{tabular}} \\cline{3-4}
& & \textbf{Name/Types} & \textbf{Size} & & & \
\hline
\multirow{2}{}{\cite{AlSalman2020}} & \multirow{2}{}{Arabic} & \multirow{2}{}{Tweets} & \multirow{2}{}{2000} & \multirow{2}{}{Discriminative multinomial NB} & Positive & \multirow{2}{}{87.50%} \
& & & & & Negative & \
\addlinespace
\multirow{3}{}{\cite{IKAUNIECE2018}} & \multirow{3}{}{Spanish and Catalan} & \multirow{3}{}{Student feedback} & \multirow{3}{}{2925} & \multirow{2}{}{SVM} & Positive
& \multirow{2}{}{71%} \
& & & & & Negative & \
& & & & Logistic regression & neutral & 72% \
\addlinespace
\multirow{3}{}{\cite{Sengkey2019}} & \multirow{3}{}{Indonesian and English} & \multirow{3}{}{Student feedback documents} & \multirow{3}{}{636} & \multirow{3}{}{SVM} & Positive & \multirow{3}{}{74%} \
& & & & & Negative & \
& & & & & neutral & \
\addlinespace
\multirow{3}{}{(\cite{Kamiş}} & \multirow{3}{}{English} & \multirow{3}{}{SemEval} & \multirow{3}{}{32000} & CNN & Positive & \multirow{3}{}{59% on CNN +LSTM} \
& & & & LSTM & Negative & \
& & & & CNN + LSTM & neutral & \
\addlinespace
\multirow{2}{}{\cite{Munna2020}} & \multirow{2}{}{Bangla} & \multirow{2}{}{Online shops reviews} & \multirow{2}{}{5109} & \multirow{2}{}{DNN} & Good, Bad & 84% \
& & & & & \begin{tabular}[c]{@{}l@{}}Complain\Recommended\Wrong delivery Appreciation\end{tabular} & 69% \
\addlinespace
\multirow{2}{}{\cite{Al-Bayati}} & \multirow{2}{}{Arabic} & \multirow{2}{}{LABR} & \multirow{2}{}{14448} & \multirow{2}{}{LSTM} & 0 & \multirow{2}{}{82%} \
& & & & & 1 & \
\addlinespace
\multirow{4}{}{\cite{Al-Hassan}} & \multirow{4}{}{Arabic} & \multirow{4}{}{Tweets} & \multirow{4}{}{11000} & LSTM & \multirow{4}{}{\begin{tabular}[c]{@{}l@{}}none, religious\racial, sexism\general hate\end{tabular}} & \multirow{4}{}{72% on LSTM + CNN} \
& & & & LSTM+CNN & & \
& & & & GRU & & \
& & & & GRU+CNN & & \
\addlinespace
\multirow{10}{}{\cite{Onan2020}} & \multirow{10}{}{English} & \multirow{10}{}{Student feedback} & \multirow{10}{}{154000} & NB & \multirow{10}{}{\begin{tabular}[c]{@{}l@{}}Positive\~Negative\end{tabular}} & \multirow{10}{}{98.29% on RNN} \
& & & & SVM & & \
& & & & LR & & \
& & & & KNN & & \
& & & & FR & & \
& & & & CNN & & \
& & & & RNN & & \
& & & & RNN-AM & & \
& & & & GRU & & \
& & & & LSTM & & \
\addlinespace
\multirow{4}{}{\cite{Alshutayri}} & \multirow{4}{}{Arabic} & \multirow{4}{}{Tweets} & \multirow{4}{}{32186} & NB & \multirow{4}{}{\begin{tabular}[c]{@{}l@{}}Positive\~Negative\~Neutral\end{tabular}} & \multirow{4}{}{70% on LSTM} \
& & & & Logistic regression & & \
& & & & SVM & & \
& & & & LSTM & & \
\addlinespace
\multirow{5}{}{\cite{Chouikhi2021}} & \multirow{5}{}{Arabic} & ASTD & 10K & \multirow{5}{}{Arabic BERT} & \begin{tabular}[c]{@{}l@{}}Pos,Neg\Neu,Mix\end{tabular} & 91% \
& & HARD & 93.7k & & Pos,Neg,Neu & 95% \
& & LABR & 63k & & 0,1 & 87% \
& & AJGT & 1800 & & Pos, neg & 96.60% \
& & ArSenTD-Lev & 4000 & & Used 3 classes of 5 & 75% \
\addlinespace
\multirow{5}{}{\cite{Alsuhemi2022}} & \multirow{5}{}{Arabic} & \multirow{5}{}{restaurant, movies, products reviews} & \multirow{5}{}{7686} & LR & \multirow{5}{*}{\begin{tabular}[c]{@{}l@{}}Positive\Negative\end{tabular}} & 83% \
& & & & RF & & 82% \
& & & & NB & & 84% \
& & & & SVM & & 83% \
& & & & araBERT & & 82% \
\addlinespace
\cite{ElMoubtahij} & Arabic & ARev & 40K & araBERT & \begin{tabular}[c]{@{}l@{}}Positive\Negative\end{tabular} & 92.50% \
\hline
\end{tabular}}
\end{table}
'''
Eidet
I when I edit my table I faced this issue the content of cell does not fit the cell like:

\begingroup
\small\linespread{0.9}\selectfont
\sisetup{group-minimum-digits=4}
\begin{longtblr}[
caption = {Comparative Study in The Related Work of Sentiment Analysis},
label = {RW},
]{colsep = 4pt,
colspec = {@{} l X[0.8, l] X[1.2, l] Q[c, si={table-format=6.0}]
X[1.2, l] X[l] X[0.8, l] @{}},
row{1,2}= {guard, font=\footnotesize\bfseries},
rowsep = 4pt,
rowhead = 2
}
\toprule
\SetCell[r=2]{l} Ref.
& \SetCell[r=2]{l} Language
& \SetCell[c=2]{c} Dataset
& & \SetCell[r=2]{l}Algorithm
& \SetCell[r=2]{l} Polarity
& \SetCell[r=2]{l} Performance (Acc.)
\\
\cmidrule[lr]{3-4}
& & Name/Types
& Size
& & & \\
\midrule
\cite{AlSalman2020}
& Arabic
& Tweets
& 2000
& Discriminative multinomial NB
& {Positive\\ Negative}
& \qty{87.5}{\percent} \\
\cite{IKAUNIECE2018}
& Spanish and Catalan
& Student feedback
& 2925
& {SVM\\ Logistic regression}
& {Positive\\ Negative\\ neutral}
& {\qty{71}{\percent}\\
\qty{72}{\percent}} \\
\cite{Sengkey2019}
& Indonesian and English
& Student feedback documents
& 636
& SVM
& {Positive\\ Negative\\ neutral}
& \qty{74}{\percent} \\
\cite{Kamiş}
& English
& SemEval
& 32000
& {CNN\\ LSTM\\ CNN + LSTM}
& {Positive\\ Negative\\ neutral}
& \qty{59}{\percent} on CNN + LSTM
\\
\cite{Munna2020}
& Bangla
& Online shops reviews
& 5109
& DNN
& {Good,\\ Bad}
& \qty{84}{\percent} \\
& & & & & Complain, Recommended Wrong delivery, Appreciation
& \qty{69}{\percent} \\
\cite{Al-Bayati}
& Arabic
& LABR
& 14448
& LSTM
& {0\ 1}
& \qty{82}{\percent} \
\cite{Al-Hassan}
& Arabic
& Tweets
& 11000
& LSTM, LSTM+CNN, GRU, GRU+CNN
& {none, religious,\ racial, sexism,\ general hate}
& \qty{72}{\percent} on LSTM + CNN
\
\cite{Onan2020}
& English
& Student feedback
& 154000
& NB, SVM, LR, KNN, FR, CNN, RNN, RNN-AM, GRU, LSTM
& {Positive,\ Negative}
& \qty{98.29}{\percent} on RNN
\
\cite{Alshutayri}
& Arabic
& Tweets
& 32186
& NB, Logistic regression, SVM, LSTM
& {Positive,\ Negative,\ Neutral}
& \qty{70}{\percent} on LSTM
\
\cite{Chouikhi2021}
& Arabic
& {ASTD\ HARD\ LABR\ AJGT\ ArSenTD\ Lev}
& {10K\ 93.7K\ 63K\ 1800\\ 4000}
& Arabic BERT
& {Pos, Neg, Neu, Mix\ pos, neg, neu\0, 1\ pos, neg \ used 3 classes from 5 }
& { \qty{91}{\percent}\ 95%\ 87%\96.6%\ 75% }
\
\cite{Alsuhemi2022}
& Arabic
& restaurant, movies, products reviews
& 7686
& {LR\ RF\ NB\ SVM\ araBERT}
& positive, negative
& {83% \ 82% \ 84% \ 83% \ 82%}
\
\cite{ElMoubtahij}
& Arabic
& ARev
& 40000
& araBERT
& poditive, negative
& 92.5% \
\bottomrule
\end{longtblr}
\endgroup




