{"id":270516,"date":"2015-12-17T02:53:02","date_gmt":"2015-12-16T23:53:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=270516"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=270516","title":{"rendered":"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0417\u0432\u0451\u0437\u0434\u043d\u044b\u0445 \u0432\u043e\u0439\u043d"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/496\/3e6\/710\/4963e671083f06363a57f5005cfe17cc.png\" alt=\"image\"\/><\/p>\n<p>  \u041a\u0442\u043e-\u0442\u043e \u0436\u0434\u0451\u0442 \u0440\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430, \u043a\u0442\u043e-\u0442\u043e \u2013 \u043d\u043e\u0432\u043e\u0439 \u0441\u0435\u0440\u0438\u0438 \u0417\u0432\u0451\u0437\u0434\u043d\u044b\u0445 \u0432\u043e\u0439\u043d, \u00ab\u041f\u0440\u043e\u0431\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0438\u043b\u044b\u00bb. \u0410 \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u044f \u0440\u0435\u0448\u0438\u043b\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0448\u0435\u0441\u0442\u0438\u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0447\u043b\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u0441\u044f \u0432 \u043d\u0451\u043c \u2013 \u043a\u0430\u043a \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u043c\u0430 \u043f\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u0438 \u0438\u0437 \u0432\u0441\u0435\u0439 \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0417\u0412 \u0432\u043c\u0435\u0441\u0442\u0435. \u041f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0437\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439 \u0432\u044b\u044f\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0447\u0430\u0441\u0442\u044f\u043c\u0438 \u0438 \u0438\u0445 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u0430\u043c\u0438.<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u2013 \u0441\u043e\u0446\u0441\u0435\u0442\u044c, \u0434\u043e\u0431\u044b\u0442\u0430\u044f \u0438\u0437 \u0432\u0441\u0435\u0445 6 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432 \u0441\u0443\u043c\u043c\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4fb\/c4c\/e2b\/4fbc4ce2b0d4ec915d94e8788f7e4794.png\" alt=\"image\"\/><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/interactions.html\"><b>\u043e\u0442\u043a\u0440\u044b\u0442\u044c<\/b><\/a><br \/>  <a name=\"habracut\"><\/a><br \/>  \u041c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0442\u0430\u0441\u043a\u0430\u043d\u0438\u044f \u043c\u044b\u0448\u043a\u043e\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432. \u041f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043d\u0430 \u0443\u0437\u0435\u043b \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0438\u043c\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430.<\/p>\n<p>  \u0423\u0437\u043b\u044b \u2013 \u044d\u0442\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438. \u0418\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043b\u0438\u043d\u0438\u0435\u0439 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u043d\u0438 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0438 \u0442\u043e\u0439 \u0436\u0435 \u0441\u0446\u0435\u043d\u0435. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u043d\u0438 \u0433\u043e\u0432\u043e\u0440\u044f\u0442, \u0442\u0435\u043c \u0442\u043e\u043b\u0449\u0435 \u043b\u0438\u043d\u0438\u044f. \u0420\u0430\u0437\u043c\u0435\u0440 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u0435\u043d \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0441\u0446\u0435\u043d, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0442\u0440\u0443\u0434\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u042d\u043d\u0430\u043a\u0438\u043d \u0438 \u0414\u0430\u0440\u0442 \u0412\u0435\u0439\u0434\u0435\u0440, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436, \u043d\u043e \u043e\u043d\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0443\u0437\u043b\u0430\u043c\u0438 \u043d\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e\u043c \u0438\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u0430\u0436\u043d\u043e \u0434\u043b\u044f \u0441\u044e\u0436\u0435\u0442\u0430. \u0418 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b\u0430 \u041f\u0430\u043b\u043f\u0430\u0442\u0438\u043d\u0430 \u0441 \u0414\u0430\u0440\u0442\u043e\u043c \u0421\u0438\u0434\u0438\u0443\u0441\u043e\u043c, \u0430 \u0410\u043c\u0438\u0434\u0430\u043b\u0443 \u2013 \u0441 \u041f\u0430\u0434\u043c\u0435.<\/p>\n<p>  \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u0430 \u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u044b \u043e\u0442 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u043e\u0432, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0439. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0443\u0437\u043b\u044b, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0435 \u043e\u0431\u0435 \u0441\u0435\u0442\u0438 \u2013 \u044d\u0442\u043e \u041e\u0431\u0438-\u0432\u0430\u043d \u041a\u0435\u043d\u043e\u0431\u0438, R2-D2 \u0438 C-3PO. \u0420\u043e\u0431\u043e\u0442\u044b, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043e\u0441\u043e\u0431\u0443\u044e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0441\u044e\u0436\u0435\u0442\u0430, \u0438\u0431\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432 \u0444\u0438\u043b\u044c\u043c\u0430\u0445. \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0443 \u043e\u0431\u0435\u0438\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439 \u0440\u0430\u0437\u043d\u0430\u044f. \u0412 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0430\u0436\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 (\u041b\u044e\u043a, \u0425\u0430\u043d, \u041b\u0435\u044f, \u0427\u0443\u0431\u0430\u043a\u043a\u0430 \u0438 \u0414\u0430\u0440\u0442 \u0412\u0435\u0439\u0434\u0435\u0440), \u0438 \u043e\u043d\u0438 \u043f\u043b\u043e\u0442\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439. \u0423 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u043e\u0432 \u0432\u0438\u0434\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0443\u0437\u043b\u043e\u0432 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0445 \u043b\u0438\u043d\u0438\u0439. <\/p>\n<h4>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0448\u043a\u0430\u043b\u044b \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439<\/h4>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u0430\u0445, \u044f \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0448\u043a\u0430\u043b\u0443, \u0440\u0430\u0437\u0431\u0438\u0442\u0443\u044e \u043f\u043e \u044d\u043f\u0438\u0437\u043e\u0434\u0430\u043c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fcb\/5e7\/635\/fcb5e763502d90cb61a0b373bfb6aa22.png\" alt=\"image\"\/><\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435 \u0438\u0445 \u0438\u043c\u0451\u043d \u0432 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430\u0445 \u0434\u0440\u0443\u0433\u0438\u0445. \u042d\u043d\u0430\u043a\u0438\u043d \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0414\u0430\u0440\u0442\u043e\u043c \u0412\u0435\u0439\u0434\u0435\u0440\u043e\u043c \u0432 3-\u043c \u044d\u043f\u0438\u0437\u043e\u0434\u0435, \u0430 \u0437\u0430\u0442\u0435\u043c \u0414\u0430\u0440\u0442 \u0412\u0435\u0439\u0434\u0435\u0440 \u0431\u0435\u0440\u0451\u0442 \u0432\u0432\u0435\u0440\u0445. \u042d\u043d\u0430\u043a\u0438\u043d \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a \u043a\u043e\u043d\u0446\u0443 6-\u0433\u043e \u044d\u043f\u0438\u0437\u043e\u0434\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0414\u0430\u0440\u0442 \u0412\u0435\u0439\u0434\u0435\u0440 \u043e\u0442\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0422\u0451\u043c\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b.<\/p>\n<p>  \u0422\u0435 \u0436\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u0447\u0442\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u044b \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0438\u043b\u044c\u043c\u0430\u0445, \u0441\u0442\u043e\u044f\u0442 \u0438 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u0441\u043e\u0446\u0441\u0435\u0442\u0438. \u042d\u0442\u043e \u041e\u0431\u0438-\u0412\u0430\u043d, C-3PO \u0438 R2-D2. \u0419\u043e\u0434\u0430 \u0438 \u0418\u043c\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0438\u043b\u044c\u043c\u0430\u0445, \u043d\u043e \u043e\u043d\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u044e\u0442 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043b\u044e\u0434\u0435\u0439.<\/p>\n<p>  \u0421\u0435\u0442\u0438 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043f\u0438\u0437\u043e\u0434\u043e\u0432<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u043f\u0438\u0437\u043e\u0434\u044b \u043f\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043a\u0430\u043a \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0437\u043b\u043e\u0432 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0435\u0439 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u043e\u0432 \u043a \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u044d\u043f\u0438\u0437\u043e\u0434\u0430\u043c. (\u043a\u043b\u0438\u043a\u0430\u0431\u0435\u043b\u044c\u043d\u043e).<\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode1-interactions.html\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/005\/7ea\/eb8\/0057eaeb8bdb4a6fe02f57df0fc64813.png\" alt=\"image\"\/><\/a><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode2-interactions.html\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/838\/d4d\/64e\/838d4d64ea726abc87f48a75e4a90a39.png\" alt=\"image\"\/><\/a><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode3-interactions.html\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e3b\/3fc\/881\/e3b3fc8814a7591ea2efe9aa6bc2befe.png\" alt=\"image\"\/><\/a><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode4-interactions.html\"><img decoding=\"async\" src=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode4.png\" alt=\"image\"\/><\/a><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode5-interactions.html\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/294\/b10\/2ee\/294b102ee63a206d56939e84a510bc70.png\" alt=\"image\"\/><\/a><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/episode6-interactions.html\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/055\/ffa\/709\/055ffa70982ff3213d1ac184b2c7d647.png\" alt=\"image\"\/><\/a><\/p>\n<p>  \u0421\u043d\u043e\u0432\u0430 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0432 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u0430\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c. \u0412 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u0430\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u043c\u0435\u043d\u044c\u0448\u0435, \u043d\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u043e\u043d\u0438 \u0447\u0430\u0449\u0435.<\/p>\n<p>  \u0414\u0436\u043e\u0440\u0434\u0436 \u041b\u0443\u043a\u0430\u0441 \u043a\u0430\u043a-\u0442\u043e <a href=\"http:\/\/www.theguardian.com\/commentisfree\/2015\/dec\/14\/myth-star-wars-force-awakens-heroic-legends\">\u0441\u043a\u0430\u0437\u0430\u043b<\/a>:  <\/p>\n<blockquote><p>\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u044d\u0442\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0442\u0440\u0430\u0433\u0435\u0434\u0438\u0438 \u0414\u0430\u0440\u0442\u0430 \u0412\u0435\u0439\u0434\u0435\u0440\u0430, \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043e\u043d\u0430, \u043a\u043e\u0433\u0434\u0430 \u0435\u043c\u0443 \u0434\u0435\u0432\u044f\u0442\u044c \u043b\u0435\u0442, \u0430 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0435\u0433\u043e \u0433\u0438\u0431\u0435\u043b\u044c\u044e.<\/p><\/blockquote>\n<p>  \u041d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043b\u0438 \u0414\u0430\u0440\u0442 \u0412\u0435\u0439\u0434\u0435\u0440\/\u042d\u043d\u0430\u043a\u0438\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c? \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0438 \u0438\u0445 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443. \u042f \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u0430\u043b\u0430 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0432 \u0441\u0435\u0442\u0438.<\/p>\n<ul>\n<li>\u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438: \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0439 \u0443 \u0443\u0437\u043b\u0430 \u0432 \u0441\u0435\u0442\u0438. \u0422\u043e \u0435\u0441\u0442\u044c, \u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0446\u0435\u043d, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d \u0440\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u0435\u0442.<\/li>\n<li>\u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c: \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u0445 \u043f\u0443\u0442\u0435\u0439, \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u0443\u0437\u0435\u043b. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0435\u0441\u043b\u0438 \u0432\u044b \u2013 \u041b\u0435\u044f, \u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0413\u0440\u0438\u0434\u043e, \u0442\u043e \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u043c \u043f\u0443\u0442\u0451\u043c \u043a \u043d\u0435\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0425\u0430\u043d\u0430 \u0421\u043e\u043b\u043e. \u0410 \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u041b\u044e\u043a\u0443, \u0438\u0434\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u0425\u0430\u043d\u0430 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u041b\u0435\u044f \u0437\u043d\u0430\u0435\u0442 \u0435\u0433\u043e \u043b\u0438\u0447\u043d\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0438 \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0425\u0430\u043d\u0430 \u2013 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u0445 \u043f\u0443\u0442\u0435\u0439 \u043c\u0435\u0436\u0434\u0443 \u0432\u0441\u0435\u043c\u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c\u0438, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e.<\/li>\n<\/ul>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0441\u043e \u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u2013 \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043d \u0432 \u0446\u0435\u043b\u043e\u043c \u0432\u0430\u0436\u0435\u043d \u0434\u043b\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u0438. \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439. <\/p>\n<p>  \u0427\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0431\u043e\u043b\u044c\u0448\u0435, \u0442\u0435\u043c \u043e\u043d \u0432\u0430\u0436\u043d\u0435\u0435. \u041d\u0438\u0436\u0435 \u2013 Top-5 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439, \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u043c\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/bdd\/ba8\/095\/bddba8095219443804ec8a95421f50fa.png\" alt=\"image\"\/><\/p>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u044b\u0445 \u0442\u0440\u0451\u0445 \u044d\u043f\u0438\u0437\u043e\u0434\u0430\u0445 \u0441\u0430\u043c\u044b\u043c \u0441\u0432\u044f\u0437\u043d\u044b\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u042d\u043d\u0430\u043a\u0438\u043d. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u043e\u043d \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u2013 \u0435\u0433\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u043b\u0430, \u0447\u0442\u043e \u043e\u043d \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u043f\u0430\u043b \u0432 Top-5. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u043b\u0438\u0447\u043d\u043e, \u0430 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e. \u0410 \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0434\u043b\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0438?<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/1c7\/393\/12a\/1c739312af1e2a5064968f9399284456.png\" alt=\"image\"\/><\/p>\n<p>  \u0410\u043d\u0430\u043b\u0438\u0437 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442 \u043d\u0430\u0448\u0435 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439. \u0412 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u0430\u0445 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439. \u0418 \u042d\u043d\u0430\u043a\u0438\u043d \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0444\u0438\u0433\u0443\u0440\u043e\u0439 \u2013 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u044e\u0436\u0435\u0442\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e, \u0438\u043b\u0438 \u043a\u0430\u0441\u0430\u044e\u0442\u0441\u044f \u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043e\u043f\u043e\u0441\u0440\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u043e. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u044f\u0437\u043d\u043e\u0439. \u0422\u0430\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439, \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u044e.<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430. \u0421\u044e\u0436\u0435\u0442\u044b \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b, \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c. \u0423 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u043e\u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043c\u0435\u043d\u0435\u0435 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f, \u043d\u0435\u0442 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430. <\/p>\n<p>  \u0410 \u043a\u0430\u043a \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u044d\u0442\u0438 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a\u043e \u0432\u0441\u0435\u043c \u0444\u0438\u043b\u044c\u043c\u0430\u043c \u0441\u0440\u0430\u0437\u0443? \u042f \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u043e\u0432 \u2013 \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u042d\u043d\u0430\u043a\u0438\u043d\u0430 \u0438 \u0414\u0430\u0440\u0442\u0430 \u0412\u0435\u0439\u0434\u0435\u0440\u0430, \u0438 \u0441 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\u043c.<\/p>\n<p>  \u0421\u043b\u0435\u0432\u0430 \u2013 \u0434\u0432\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430, \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u044b:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/7b8\/c0a\/826\/7b8c0a826596b4bb214188d023246ff8.png\" alt=\"image\"\/><\/p>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u042d\u043d\u0430\u043a\u0438\u043d \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c, \u043d\u043e \u043d\u0435 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c. \u041f\u0440\u0438 \u0438\u0445 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u043e\u043d \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043f\u043e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u0432 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438. \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0444\u0438\u043b\u044c\u043c\u044b \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u043c \u041e\u0431\u0438-\u0412\u0430\u043d\u0430 \u041a\u0435\u043d\u043e\u0431\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ee2\/0bc\/575\/ee20bc5758797c7c74c7b4b76239c289.jpg\" alt=\"image\"\/><\/p>\n<h4>\u041a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e<\/h4>\n<p>  \u041f\u043e \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 <a href=\"http:\/\/fsharp.org\/\">F#<\/a>, \u0441\u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0432 \u0435\u0433\u043e \u0441 <a href=\"http:\/\/d3js.org\/\">D3.js<\/a> \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0441\u043e\u0446\u0441\u0435\u0442\u0438, \u0438 \u0441 <a href=\"https:\/\/www.r-project.org\/\">R<\/a> \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u0435\u0442\u0435\u0439. \u0412\u0441\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0430 <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\">\u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a>. \u0417\u0434\u0435\u0441\u044c \u044f \u0440\u0430\u0437\u0431\u0435\u0440\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435, \u0441\u0430\u043c\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u0433\u043e\u0434\u0430.<\/p>\n<h5>\u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432<\/h5>\n<p>  \u0412\u0441\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u044f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u043b\u0430 \u0441 <a href=\"http:\/\/www.imsdb.com\/\">The Internet Movie Script Database <\/a>(IMSDb) (\u043f\u0440\u0438\u043c\u0435\u0440: <a href=\"http:\/\/www.imsdb.com\/scripts\/Star-Wars-A-New-Hope.html\">\u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043a Episode IV: The New Hope<\/a>). \u041f\u0440\u0430\u0432\u0434\u0430, \u0442\u0430\u043c \u043b\u0435\u0436\u0430\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0448\u0430\u0433 \u2013 \u0440\u0430\u0437\u0431\u043e\u0440 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0443 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442. \u041e\u043d\u0438 \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432 HTML, \u043b\u0438\u0431\u043e \u043c\u0435\u0436\u0434\u0443 \u0442\u0435\u0433\u0430\u043c\u0438 <code>&lt;td class=&quot;srctext&quot;&gt;&lt;\/td&gt;<\/code>, \u0438\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 <code>&lt;pre&gt;&lt;\/pre&gt;<\/code>. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 <a href=\"http:\/\/fsharp.github.io\/FSharp.Data\/library\/HtmlParser.html\">Html Parser <\/a>\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 F# Data, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0442\u0435\u0433\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0442\u0438\u043f\u0430:<\/p>\n<pre><code class=\"java\">open FSharp.Data let url = &quot;http:\/\/www.imsdb.com\/scripts\/Star-Wars-A-New-Hope.html&quot; HtmlDocument.Load(url).Descendants(&quot;pre&quot;) <\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0444\u0430\u0439\u043b\u0435 <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/blob\/master\/parseScripts.fs\">parseScripts.fs <\/a><\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u2013 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432. \u041e\u0431\u044b\u0447\u043d\u043e \u043e\u043d\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <code> INT. GANTRY - OUTSIDE CONTROL ROOM - REACTOR SHAFT  Luke moves along the railing and up to the control room.  [...]                 LUKE         He told me enough!  It was you          who killed him.                  VADER         No.  I am your father.      Shocked, Luke looks at Vader in utter disbelief.                  LUKE         No.  No.  That's not true!           That's impossible! <\/code><\/p>\n<p>  \u041a\u0430\u0436\u0434\u0430\u044f \u0441\u0446\u0435\u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f INT. (\u0432\u043d\u0443\u0442\u0440\u0438) or EXT. (\u0441\u043d\u0430\u0440\u0443\u0436\u0438). \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u044f\u0441\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442. \u0412 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u0445 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438 \u0438 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c. <\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f\u043c\u0438 \u0441\u0446\u0435\u043d \u043c\u043e\u0433\u0443\u0442 \u0441\u043b\u0443\u0436\u0438\u0442 \u043f\u0440\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f INT. \u0438 EXT., \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0431\u043e\u043b\u0434\u043e\u043c.<\/p>\n<pre><code class=\"java\">\/\/ split the script by scene \/\/ each scene starts with either INT. or EXT.  let rec splitByScene (script : string[]) scenes =     let scenePattern = &quot;&lt;b&gt;[ 0-9]*(INT.|EXT.)&quot;     let idx =          script          |&gt; Seq.tryFindIndex (fun line -&gt; Regex.Match(line, scenePattern).Success)     match idx with     | Some i -&gt;         let remainingScenes = script.[i+1 ..]         let currentScene = script.[0..i-1]         splitByScene remainingScenes (currentScene :: scenes)     | None -&gt; script :: scenes  <\/code><\/pre>\n<p>  \u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0430\u044f \u0432\u0435\u0441\u044c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439, \u0438 \u0438\u0449\u0443\u0449\u0430\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u2014 EXT. \u0438\u043b\u0438 INT. \u0431\u043e\u043b\u0434\u043e\u043c, \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043e\u0436\u0435\u0442 \u0438\u0434\u0442\u0438 \u043d\u043e\u043c\u0435\u0440 \u0441\u0446\u0435\u043d\u044b. \u041e\u043d\u0430 \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0446\u0435\u043d\u0443 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442, \u0438 \u0437\u0430\u0442\u0435\u043c \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443.<\/p>\n<h5>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439<\/h5>\n<p>  \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0445 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432 \u0442\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043e\u043f\u0438\u0441\u0430\u043b\u0430 \u0440\u0430\u043d\u0435\u0435. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u0435\u043d\u0430 \u0441 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u0435\u043c. \u0418 \u0432\u0441\u0451 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0449\u0438\u043c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u043c \u0431\u044b\u043b\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0438\u043c\u0451\u043d, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438.<\/p>\n<p>  \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438.<\/p>\n<pre><code class=\"java\">\/\/ Extract names of characters that speak in scenes.  \/\/ A) Extract names of characters in the format &quot;[name]:&quot; let getFormat1Names text =     let matches = Regex.Matches(text, &quot;[\/A-Z0-9 -]+ *:&quot;)     let names =          seq { for m in matches -&gt; m.Value }         |&gt; Seq.map (fun name -&gt; name.Trim([|' '; ':'|]))         |&gt; Array.ofSeq     names  \/\/ B) Extract names of characters in the format &quot;&lt;b&gt; [name] &lt;\/b&gt;&quot; let getFormat2Names text =     let m = Regex.Match(text, &quot;&lt;b&gt;[ ]*[\/A-Z0-9 -]+[ ]*&lt;\/b&gt;&quot;)     if m.Success then         let name = m.Value.Replace(&quot;&lt;b&gt;&quot;,&quot;&quot;).Replace(&quot;&lt;\/b&gt;&quot;,&quot;&quot;).Trim()         [| name |]     else [||] <\/code><\/pre>\n<p>  \u041a\u0430\u0436\u0434\u0430\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0430 \u0438\u0449\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u0435, \u043d\u043e \u0438 \u0447\u0438\u0441\u043b\u0430, \u0442\u0438\u0440\u0435, \u043f\u0440\u043e\u0431\u0435\u043b\u044b \u0438 \u0441\u043b\u0435\u0448\u0438. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0431\u044b\u0432\u0430\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435: \u00abR2-D2\u00bb \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u00abFODE\/BEED\u00bb.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u043c\u0451\u043d. \u041f\u0430\u043b\u043f\u0430\u0442\u0438\u043d \u2013 \u0414\u0430\u0440\u0442 \u0421\u0438\u0434\u0438\u0443\u0441 \u2013 \u0418\u043c\u043f\u0435\u0440\u0430\u0442\u043e\u0440, \u0410\u043c\u0438\u0434\u0430\u043b\u0430 \u2013 \u041f\u0430\u0434\u043c\u0435. \u042f \u0441\u0434\u0435\u043b\u0430\u043b\u0430 \u0444\u0430\u0439\u043b \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u0432 <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/blob\/master\/data\/aliases.csv\">aliases.csv<\/a>, \u0433\u0434\u0435 \u0437\u0430\u0434\u0430\u043b \u0438\u043c\u0435\u043d\u0430, \u043f\u043e\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044e.<\/p>\n<pre><code class=\"java\">let aliasFile = __SOURCE_DIRECTORY__ + &quot;\/data\/aliases.csv&quot; \/\/ Use csv type provider to access the csv file with aliases type Aliases = CsvProvider&lt;aliasFile&gt;  \/\/\/ Dictionary for translating character names between aliases let aliasDict =      Aliases.Load(aliasFile).Rows      |&gt; Seq.map (fun row -&gt; row.Alias, row.Name)     |&gt; dict  \/\/\/ Map character names onto unique set of names let mapName name = if aliasDict.ContainsKey(name) then aliasDict.[name] else name  \/\/\/ Extract character names from the given scene let getCharacterNames (scene: string []) =     let names1 = scene |&gt; Seq.collect getFormat1Names      let names2 = scene |&gt; Seq.collect getFormat2Names      Seq.append names1 names2     |&gt; Seq.map mapName     |&gt; Seq.distinct <\/code><\/pre>\n<p>  \u0418 \u0442\u0435\u043f\u0435\u0440\u044c, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0438\u0437 \u0441\u0446\u0435\u043d. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0432\u0441\u0435 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0438\u0437 \u0432\u0441\u0435\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u0434\u0430\u043d\u044b URL.<\/p>\n<pre><code class=\"java\">let allNames =   scriptUrls   |&gt; List.map (fun (episode, url) -&gt;     let script = getScript url     let scriptParts = script.Elements()      let mainScript =          scriptParts         |&gt; Seq.map (fun element -&gt; element.ToString())         |&gt; Seq.toArray      \/\/ Now every element of the list is a single scene     let scenes = splitByScene mainScript []       \/\/ Extract names appearing in each scene     scenes |&gt; List.map getCharacterNames |&gt; Array.concat )   |&gt; Array.concat   |&gt; Seq.countBy id   |&gt; Seq.filter (snd &gt;&gt; (&lt;) 1)  \/\/ filter out characters that speak in only one scene <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2013 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438. \u042d\u0442\u043e \u0431\u044b\u043b\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0432\u0440\u043e\u0434\u0435 \u00ab\u041f\u0438\u043b\u043e\u0442\u00bb, \u00ab\u041e\u0444\u0438\u0446\u0435\u0440\u00bb \u0438\u043b\u0438 \u00ab\u041a\u0430\u043f\u0438\u0442\u0430\u043d\u00bb. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435 \u0438\u043c\u0435\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438. \u0422\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a characters.csv <\/p>\n<h5>\u0412\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439<\/h5>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0439 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043b\u0443\u0447\u0430\u0438, \u043a\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c. \u0420\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u044e\u0442 \u043e\u043d\u0438 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0446\u0435\u043d\u0435 (\u0441\u043b\u0443\u0447\u0430\u0438, \u043a\u043e\u0433\u0434\u0430 \u043b\u044e\u0434\u0438 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u043a\u043e\u043c\u0443 \u0438\u043b\u0438 \u0440\u0430\u0446\u0438\u0438, \u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0445, \u044f \u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0430).<\/p>\n<pre><code class=\"java\">let characters =      File.ReadAllLines(__SOURCE_DIRECTORY__ + &quot;\/data\/characters.csv&quot;)      |&gt; Array.append (Seq.append aliasDict.Keys aliasDict.Values |&gt; Array.ofSeq)     |&gt; set <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u044f \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u043d\u0430\u0431\u043e\u0440 \u0432\u0441\u0435\u0445 \u0438\u043c\u0451\u043d \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0438 \u0438\u0445 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438. \u0417\u0430\u0442\u0435\u043c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u0435\u0433\u043e \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0441\u0446\u0435\u043d.<\/p>\n<pre><code class=\"java\">let scenes = splitByScene mainScript [] |&gt; List.rev  let namesInScenes =      scenes      |&gt; List.map getCharacterNames     |&gt; List.map (fun names -&gt; names |&gt; Array.filter (fun n -&gt; characters.Contains n))  <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0446\u0441\u0435\u0442\u0438.<\/p>\n<pre><code class=\"java\">\/\/ Create weighted network let nodes =      namesInScenes      |&gt; Seq.collect id     |&gt; Seq.countBy id             \/\/ optional threshold on minimum number of mentions     |&gt; Seq.filter (fun (name, count) -&gt; count &gt;= countThreshold)  let nodeLookup = nodes |&gt; Seq.map fst |&gt; set  let links =      namesInScenes      |&gt; List.collect (fun names -&gt;          [ for i in 0..names.Length - 1 do              for j in i+1..names.Length - 1 do                 let n1 = names.[i]                 let n2 = names.[j]                 if nodeLookup.Contains(n1) && nodeLookup.Contains(n2) then                     \/\/ order nodes alphabetically                     yield min n1 n2, max n1 n2 ])     |&gt; Seq.countBy id <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0437\u043b\u043e\u0432, \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u0445 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u043d\u0430 \u0432\u0441\u0451\u043c \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u2014 \u044d\u0442\u043e\u0442 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0443\u0437\u043b\u0430. \u0417\u0430\u0442\u0435\u043c \u044f \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u043b\u0438\u043d\u0438\u044e \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0446\u0435\u043d\u0435, \u0438 \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u0430\u043b\u0430 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e. \u0412\u043c\u0435\u0441\u0442\u0435 \u0443\u0437\u043b\u044b \u0438 \u043b\u0438\u043d\u0438\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u0432\u0441\u044e \u0441\u043e\u0446\u0441\u0435\u0442\u044c.<\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u044f \u0432\u044b\u0432\u0435\u043b\u0430 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON. \u0412\u0441\u0435 \u0441\u043e\u0446\u0441\u0435\u0442\u0438, \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e \u044d\u043f\u0438\u0437\u043e\u0434\u0430\u043c, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 \u043c\u043e\u0451\u043c \u0433\u0438\u0442\u0445\u0430\u0431\u0435. \u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u044d\u0442\u043e\u0433\u043e \u0448\u0430\u0433\u0430 \u043b\u0435\u0436\u0438\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435 getInteractions.fsx <\/p>\n<h5>\u0423\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439<\/h5>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u044f \u0440\u0435\u0448\u0438\u043b\u0430 \u043d\u0430\u0439\u0442\u0438 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0448\u043a\u0430\u043b\u044b. \u041a\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0441\u0445\u043e\u0436\u0438\u043c \u0441 \u0442\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0434\u0438\u0430\u043b\u043e\u0433\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439, \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0434\u0435\u0441\u044c \u044f \u0438\u0441\u043a\u0430\u043b\u0430 \u0432\u0441\u0435 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u0445. \u0422\u0430\u043a\u0436\u0435 \u044f \u0432\u0451\u043b \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0446\u0435\u043d. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0446\u0435\u043d \u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439, \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c\u044b\u0445 \u0432 \u043d\u0438\u0445.<\/p>\n<pre><code class=\"java\">let scenes =      splitByScene mainScript [] |&gt; List.rev let totalScenes = scenes.Length  scenes |&gt; List.mapi (fun sceneIdx scene -&gt;      \/\/ some names contain typos with lower-case characters     let lscene = scene |&gt; Array.map (fun s -&gt; s.ToLower())       characters     |&gt; Array.map (fun name -&gt;          lscene          |&gt; Array.map (fun contents -&gt; if containsName contents name then Some name else None )         |&gt; Array.choose id)     |&gt; Array.concat     |&gt; Array.map (fun name -&gt; mapName (name.ToUpper()))     |&gt; Seq.distinct      |&gt; Seq.map (fun name -&gt; sceneIdx, name)     |&gt; List.ofSeq) |&gt; List.collect id, totalScenes <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0448\u043a\u0430\u043b \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u043d\u0443\u043c\u0435\u0440\u043e\u0432\u043a\u0443 \u0441\u0446\u0435\u043d, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u044d\u043f\u0438\u0437\u043e\u0434\u0443 \u0432 \u0432\u0438\u0434\u0435 [episode index\u22121,episode index]. \u042d\u0442\u043e \u0434\u0430\u043b\u043e \u043c\u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0448\u043a\u0430\u043b\u0443 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0432 \u044d\u043f\u0438\u0437\u043e\u0434\u0430\u0445. \u0412\u0440\u0435\u043c\u0435\u043d\u0430 \u0432 \u044f\u0447\u0435\u0439\u043a\u0430\u0445 intervals [0,1] \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u042d\u043f\u0438\u0437\u043e\u0434\u0443 I, \u0432 \u044f\u0447\u0435\u0439\u043a\u0430\u0445 [1,2] \u2014 \u043a \u044d\u043f\u0438\u0437\u043e\u0434\u0443 II, \u0438 \u0442.\u0434.<\/p>\n<pre><code class=\"java\">\/\/ extract timelines [0 .. 5] |&gt; List.map (fun episodeIdx -&gt; getSceneAppearances episodeIdx) |&gt; List.mapi (fun episodeIdx (sceneAppearances, total) -&gt;     sceneAppearances      |&gt; List.map (fun (scene, name) -&gt;          float episodeIdx + float scene \/ float total, name))       <\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/blob\/master\/data\/charactersPerScene.csv\">\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0430 \u044d\u0442\u043e \u044f \u0432 csv<\/a>, \u0433\u0434\u0435 \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u044f \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430 \u0438 \u0442\u043e\u0447\u043d\u044b\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f \u0432 \u0444\u0438\u043b\u044c\u043c\u0430\u0445, \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438. \u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0444\u0430\u0439\u043b\u0435 getMentions.fsx.<\/p>\n<h5>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439 \u0431\u0435\u0437 \u0441\u043b\u043e\u0432<\/h5>\n<p>  \u041f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u043f\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c, \u044f \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 R2-D2 \u0438 \u0427\u0443\u0431\u0430\u043a\u043a\u0430. \u0412\u0443\u043a\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043c\u0435\u0434\u0430\u043b\u044c\u043a\u0443, \u043d\u043e \u0438 \u043f\u0440\u043e\u043f\u0430\u043b \u0438\u0437 \u0432\u0441\u0435\u0445 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u043d\u0438 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043a \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438 \u0431\u0435\u0437 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432.<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0431\u044b\u043b\u043e \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0445 \u0432 \u0441\u043e\u0446\u0441\u0435\u0442\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432.<\/p>\n<p>  \u042f \u0438\u0437\u0432\u043b\u0451\u043a \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0443\u0437\u043b\u043e\u0432 \u0438 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c\u0438 \u0438\u0437 \u0441\u0435\u0442\u0438, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0435 \u043f\u043e \u0438\u0445 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f\u043c. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u044d\u0442\u043e \u0432 \u0441\u0432\u044f\u0437\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043e\u0446\u0441\u0435\u0442\u0438, \u044f \u0440\u0435\u0448\u0438\u043b\u0430 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438. \u042f \u0432\u044b\u0431\u0440\u0430\u043b C-3PO, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u043e\u043c R2-D2, \u0438 \u0425\u0430\u043d\u0430 \u2013 \u043a\u0430\u043a \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a\u0430 \u0427\u044e\u0438, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0432, \u0447\u0442\u043e \u0438\u0445 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0441\u0445\u043e\u0436\u0438\u043c\u0438. \u042f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u0438\u043b\u044b \u0441\u0432\u044f\u0437\u0435\u0439 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0439 \u0441\u043e\u0446\u0441\u0435\u0442\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/i.imgur.com\/YL6VxSv.jpg?1\" alt=\"image\"\/><\/p>\n<h4>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0427\u0443\u0431\u0430\u043a\u043a\u0438 \u0438 R2-D2 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439 \u043a\u0430\u043a \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u0444\u0440\u0430\u043d\u0448\u0438\u0437\u044b. \u0414\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u0421\u0438\u043b\u0443\u2026 \u041d\u0443, \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0441\u0438\u043b\u043e-\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0441\u0435\u0442\u0435\u0432\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443 (<a href=\"http:\/\/bl.ocks.org\/mbostock\/4062045\">force-directed network layout<\/a>) \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 D3.js. \u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044e \u0437\u0430\u0440\u044f\u0436\u0435\u043d\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u0438\u0446. \u0421\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u0432 \u043a\u043e\u0434\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"javascript\">d3.json(&quot;starwars-episode-1-interactions-allCharacters.json&quot;, function(error, graph) {   \/* More code here *\/   var link = svg.selectAll(&quot;.link&quot;)       .data(graph.links)     .enter().append(&quot;line&quot;)       .attr(&quot;class&quot;, &quot;link&quot;)       .style(&quot;stroke-width&quot;, function(d) { return Math.sqrt(d.value); });    var node = svg.selectAll(&quot;.node&quot;)       .data(graph.nodes)     .enter().append(&quot;circle&quot;)       .attr(&quot;class&quot;, &quot;node&quot;)       .attr(&quot;r&quot;, 5)       .style(&quot;fill&quot;, function (d) { return d.colour; })       .attr(&quot;r&quot;, function (d) { return 2*Math.sqrt(d.value) + 2; })       .call(force.drag);   \/* More code here *\/ }); <\/code><\/pre>\n<p>  \u041d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0448\u0430\u0433\u0430\u0445 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0430 \u0432\u0441\u0435 \u0441\u0435\u0442\u0438 \u0432 JSON. \u0422\u0443\u0442 \u044f \u0438\u0445 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e \u0443\u0437\u043b\u044b \u0438 \u0441\u0432\u044f\u0437\u0438. \u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0439 \u0446\u0432\u0435\u0442, \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0435\u0435 \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c (\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0440\u0430\u0437 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430). \u042d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u0430\u0434\u0438\u0443\u0441 r, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438. \u0422\u0430\u043a \u0436\u0435 \u0438 \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0435\u0439 \u2013 \u0432 JSON \u0445\u0440\u0430\u043d\u0438\u043b\u0430\u0441\u044c \u0442\u043e\u043b\u0449\u0438\u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0432\u044f\u0437\u0438, \u0438 \u0437\u0434\u0435\u0441\u044c \u043e\u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0448\u0438\u0440\u0438\u043d\u0443 \u043b\u0438\u043d\u0438\u0438.<\/p>\n<h4>\u0410\u043d\u0430\u043b\u0438\u0437 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/h4>\n<p>  \u0418 \u0432 \u043a\u043e\u043d\u0446\u0435 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u0430\u043d\u0430\u043b\u0438\u0437 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 <a href=\"http:\/\/bluemountaincapital.github.io\/FSharpRProvider\/\">RProvider <\/a> \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 <a href=\"http:\/\/igraph.org\/r\/\">\u043f\u0430\u043a\u0435\u0442\u043e\u043c R igraph <\/a>, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441\u0435\u0442\u0435\u0439 \u0432 F#. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0441\u0435\u0442\u044c \u0438\u0437 JSON \u0447\u0435\u0440\u0435\u0437 FSharp.Data:<\/p>\n<pre><code class=\"java\">open RProvider.igraph  let [&lt;Literal&gt;] linkFile = __SOURCE_DIRECTORY__ + &quot;\/networks\/starwars-episode-1-interactions.json&quot; type Network = JsonProvider&lt;linkFile&gt;  let file = __SOURCE_DIRECTORY__ + &quot;\/networks\/starwars-full-interactions-allCharacters.json&quot; let nodes = Network.Load(file).Nodes |&gt; Seq.map (fun node -&gt; node.Name)  let links = Network.Load(file).Links <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f links \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435 \u0441\u0432\u044f\u0437\u0438 \u0432 \u0441\u0435\u0442\u0438, \u0430 \u0443\u0437\u043b\u044b \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u0438\u0445 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438. \u0414\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c \u0438\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0435\u0439:<\/p>\n<pre><code class=\"java\">let nodeLookup = nodes |&gt; Seq.mapi (fun i name -&gt; i, name) |&gt; dict let edges =      links     |&gt; Array.collect (fun link -&gt;         let n1 = nodeLookup.[link.Source]         let n2 = nodeLookup.[link.Target]         [| n1 ; n2 |] ) <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u044f \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u043e\u0431\u044a\u0435\u043a\u0442 graph \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 igraph:<\/p>\n<pre><code class=\"java\">let graph =     namedParams[&quot;edges&quot;, box edges; &quot;dir&quot;, box &quot;undirected&quot;]     |&gt; R.graph <\/code><\/pre>\n<p>  \u041f\u043e\u0434\u0441\u0447\u0451\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"java\">let centrality = R.betweenness(graph) let degreeCentrality = R.degree(graph) <\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u0446\u0435\u043b\u0438\u043a\u043e\u043c <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/blob\/master\/centrality.fsx\">\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0442\u0443\u0442<\/a>.<\/p>\n<h4>\u0418\u0442\u043e\u0433\u0438<\/h4>\n<p>  \u041a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u044d\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0441 \u043d\u0430\u0443\u0447\u043d\u044b\u043c\u0438 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f\u043c\u0438, \u0441\u0430\u043c\u043e\u0435 \u0442\u0440\u0443\u0434\u043d\u043e\u0435 \u2013 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0432\u0438\u0434. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 SW \u0431\u044b\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442, \u044f \u043f\u0440\u043e\u0432\u0435\u043b\u0430 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044f \u043e\u0431\u0449\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u0438\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0432\u043e\u0437\u0438\u0442\u044c\u0441\u044f \u043b\u0438\u0448\u044c \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438 \u0432\u0443\u043a\u0438 \u0438 \u0434\u0440\u043e\u0438\u0434\u0430, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0435\u043f\u043b\u0438\u043a. <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/tree\/master\/networks\">\u0421\u0435\u0442\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a>.<\/p>\n<h4>\u0421\u0441\u044b\u043b\u043a\u0438<\/h4>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\">github.com\/evelinag\/StarWars-social-network<\/a><br \/>  \u0421\u043e\u0446\u0441\u0435\u0442\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON: <a href=\"https:\/\/github.com\/evelinag\/StarWars-social-network\/tree\/master\/networks\">github.com\/evelinag\/StarWars-social-network\/tree\/master\/networks<\/a><br \/>  \u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0438: <a href=\"http:\/\/www.imsdb.com\/\">www.imsdb.com<\/a>       <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/273319\/\"> http:\/\/habrahabr.ru\/post\/273319\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/496\/3e6\/710\/4963e671083f06363a57f5005cfe17cc.png\" alt=\"image\"\/><\/p>\n<p>  \u041a\u0442\u043e-\u0442\u043e \u0436\u0434\u0451\u0442 \u0440\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430, \u043a\u0442\u043e-\u0442\u043e \u2013 \u043d\u043e\u0432\u043e\u0439 \u0441\u0435\u0440\u0438\u0438 \u0417\u0432\u0451\u0437\u0434\u043d\u044b\u0445 \u0432\u043e\u0439\u043d, \u00ab\u041f\u0440\u043e\u0431\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0438\u043b\u044b\u00bb. \u0410 \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u044f \u0440\u0435\u0448\u0438\u043b\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0448\u0435\u0441\u0442\u0438\u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0447\u043b\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u0441\u044f \u0432 \u043d\u0451\u043c \u2013 \u043a\u0430\u043a \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0438\u043b\u044c\u043c\u0430 \u043f\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u0438 \u0438\u0437 \u0432\u0441\u0435\u0439 \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0417\u0412 \u0432\u043c\u0435\u0441\u0442\u0435. \u041f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0437\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0446\u0441\u0435\u0442\u0435\u0439 \u0432\u044b\u044f\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0447\u0430\u0441\u0442\u044f\u043c\u0438 \u0438 \u0438\u0445 \u043f\u0440\u0438\u043a\u0432\u0435\u043b\u0430\u043c\u0438.<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u2013 \u0441\u043e\u0446\u0441\u0435\u0442\u044c, \u0434\u043e\u0431\u044b\u0442\u0430\u044f \u0438\u0437 \u0432\u0441\u0435\u0445 6 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0432 \u0441\u0443\u043c\u043c\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4fb\/c4c\/e2b\/4fbc4ce2b0d4ec915d94e8788f7e4794.png\" alt=\"image\"\/><\/p>\n<p>  <a href=\"http:\/\/evelinag.com\/blog\/2015\/12-15-star-wars-social-network\/interactions.html\"><b>\u043e\u0442\u043a\u0440\u044b\u0442\u044c<\/b><\/a>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-270516","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/270516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270516"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/270516\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}