\section{Software architecture}
-\begin{figure}
+The program can be divided into three components: input, data processing and
+the crawler. The applications have separate tasks within the workflow, the
+input application defines together with the NIP the patterns for the source,
+the data processing application processes the patterns it is given by the input
+application and compiles them into computer interpretable patterns and the
+crawler interprets the patterns and visits the sources from time to time to
+extract the information.
+\begin{figure}[H]
\centering
-
+ \caption{Workflow of the application}
\begin{sequencediagram}
\newthread{u}{:User}
\newinst{i}{:Input}
{c}{processed data}{d}
\end{messcall}
\end{sdblock}
-
\end{sequencediagram}
-
- \caption{Workflow of the application}
\end{figure}
-
-The program can be divided into three components: input, data processing and
-the crawler. The applications have separate tasks within the workflow, the
-input application defines together with the NIP the patterns for the source,
-the data processing application processes the patterns it is given by the input
-application and compiles them into computer interpretable patterns and the
-crawler interprets the patterns and visits the sources from time to time to
-extract the information.
-
\input{methods_input.tex}
\input{methods_data.tex}