**Extracting Factual Information about the Pandemic from Open Internet Sources**
**Akulinina E.Yu.**^{1}, Karmanov A.L.^{1}, Teplykh N.A.^{1},Vlasov V.V.^{1}, Baluta V.I.^{2}, Varykhanov S.S.^{2}, Karandeev A.A.^{2}, Osipov V.P.^{2}, Rykov Yu.G.^{2}, Chetverushkin B.N.^{2}
^{1}*FSUE «RFNC – VNIITF named after Academ. E.I. Zababakhin», Snezhinsk, Russia*

^{2}*Keldysh Institute of Applied Mathematics RAS, Moscow, Russia*

**Abstract**. A large number of different source data is needed for multi-agent models of the spread of infectious diseases. Most of them are not directly accessible. Therefore, one of the key problems to design such models is the development of tools for obtaining data from various sources. This article presents approaches that allow to extract the values of the parameters of the functioning of the simulated society and statistical data on the development of the pandemic from text messages published in the Internet. The proposed method and software implementation provide intelligent search of open source information in the Internet and process of unstructured data. The data collected this way used to set up parameters of mathematical model, which provides ability to study various scenarios and predict progress of the epidemic in concrete regions. The emphasis of the proposed approach is placed on two main technologies. The first is the use of regular expressions. The second is analysis using machine learning methods. The use of the regular expression method allows for high-speed text processing, but its applicability is limited by a strong dependence on the context. Machine learning allows to adapt the information context of the message, but at the same time there is a relatively large amount of time spent on analysis. To improve the accuracy of the analysis and to level the shortcomings of each of these approaches, ways of combining these technologies are proposed. The article presents the obtained results of optimization of algorithms for obtaining the necessary data.

**Key words**:* text data analysis, regular expressions, syntax trees, data collection platform*.