+\begin{figure}[h]\r
+ \centering\r
+ \includegraphics[width=0.8\linewidth]{img/queryprocess.pdf}\r
+ \caption{Stepwise queries execution process.}\r
+\end{figure}\r
+\r
+\section{Selecting}\r
+Document snippets were used for deciding whether to download the document for the text alignment.\r
+We used 2-tuples measurement, which indicates how many neighbouring word pairs coexist in the snippet and in the suspicious document.\r
+Performance of this measure is depicted at Figure~\ref{fig:snippet_graph}.\r
+Having this measure, a threshold for download decision needs to be set in order to maximize all discovered similarities\r
+and minimize total downloads.\r
+A profitable threshold is such that matches with the largest distance between those two curves.\r
+\begin{figure}\r
+ \centering\r
+ \includegraphics[width=0.8\textwidth]{img/snippets_graph.pdf}\r
+ \caption{Downloads and similarities performance.}\r
+ \label{fig:snippet_graph}\r
+\end{figure}\r
+%\r
+% Yenyova cast\r
+%\r
+\section{Text Alignment}\r
+\r
+The system uses the same basic principles as in \cite{suchomel_kas_12}:\r
+\r
+\begin{ytemize}\r
+\item{\cemph{common features} between source and suspicious documents}\r
+\begin{ytemize}\r
+\item{word 5-grams}\r
+\item{stop-word 8-grams \cite{stamatatos2011plagiarism}}\r
+\end{ytemize}\r
+\item{\cemph{valid intervals} of characters covered by common features\r
+ ``densely enough''}\r
+\item{\cemph{postprocessing}---remove overlapping detections,\r
+ join neighbouring detections}\r
+\end{ytemize}\r
+\r
+\subsection{Alternative Features}\r
+\r
+\begin{ytemize}\r
+\item{\cemph{contextual n-grams} \cite{torrejondetailed}}\r
+\begin{ytemize}\r
+\item{\cemph{The quick} brown \cemph{fox jumped} over the lazy dogs.}\r
+\item{The \cemph{quick brown} fox \cemph{jumped over} the lazy dogs.}\r
+\end{ytemize}\r
+\item{plain word 4-grams}\r
+\begin{ytemize}\r
+\item{\cemph{The quick brown fox} jumped over the lazy dogs.}\r
+\item{The \cemph{quick brown fox jumped} over the lazy dogs.}\r
+\end{ytemize}\r
+\end{ytemize}\r
+\r
+\begin{table}\r