{"id":10794,"date":"2020-07-01T00:25:27","date_gmt":"2020-07-01T00:25:27","guid":{"rendered":"https:\/\/holypython.com\/?p=10794"},"modified":"2021-03-28T01:10:06","modified_gmt":"2021-03-28T01:10:06","slug":"sentiment-analysis-in-python-w-textblob-nltk","status":"publish","type":"post","link":"https:\/\/holypython.com\/sentiment-analysis-in-python-w-textblob-nltk\/","title":{"rendered":"Sentiment Analysis in Python (w\/Textblob &#038; NLTK)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"10794\" class=\"elementor elementor-10794\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-494a5f78 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"494a5f78\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-268a62aa\" data-id=\"268a62aa\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7b4a8994 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7b4a8994\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-1b6d2e09\" data-id=\"1b6d2e09\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-00b62f1 elementor-widget elementor-widget-menu-anchor\" data-id=\"00b62f1\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"intro\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78633aa2 elementor-widget elementor-widget-image\" data-id=\"78633aa2\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"460\" height=\"690\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/e6c1cc350f10-Custom.jpg\" class=\"attachment-large size-large wp-image-10987\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/e6c1cc350f10-Custom.jpg 460w, https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/e6c1cc350f10-Custom-200x300.jpg 200w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-5a14331a\" data-id=\"5a14331a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6e06347c elementor-position-left elementor-view-default elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"6e06347c\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"far fa-clock\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tEstimated Time\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t10 mins\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-40a1ff4c elementor-widget elementor-widget-raven-divider\" data-id=\"40a1ff4c\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-77932d5e elementor-position-left elementor-view-default elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"77932d5e\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"far fa-thumbs-up\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tSkill Level\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\tIntermediate\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-18877162 elementor-widget elementor-widget-raven-divider\" data-id=\"18877162\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1c0485e4 elementor-position-left elementor-view-default elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"1c0485e4\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"far fa-bookmark\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tExercises\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\tna\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5552f07a elementor-widget elementor-widget-raven-divider\" data-id=\"5552f07a\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7ab1a24a elementor-position-left elementor-vertical-align-middle elementor-view-default elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"7ab1a24a\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-book\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tContent Sections\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1504b6e elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"1504b6e\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#pip\" >\n\t\t\t\t\t\t\tPip Installation\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6f55083 elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"6f55083\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#text\" >\n\t\t\t\t\t\t\tTextBlob Installation\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e537e9d elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"e537e9d\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#corp\" >\n\t\t\t\t\t\t\tCorpora Installation\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca11bf8 elementor-widget elementor-widget-raven-divider\" data-id=\"ca11bf8\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a49b0c0 elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"a49b0c0\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#intro\" >\n\t\t\t\t\t\t\tSentiment Analysis Intro\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0b5a752 elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"0b5a752\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#basics\" >\n\t\t\t\t\t\t\tTextBlob Basics\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c60b9a4 elementor-vertical-align-middle elementor-widget elementor-widget-icon-box\" data-id=\"c60b9a4\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#polar\" >\n\t\t\t\t\t\t\tPolarity & Subjectivity\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7726bbed elementor-widget elementor-widget-raven-divider\" data-id=\"7726bbed\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5a91e720 elementor-widget elementor-widget-heading\" data-id=\"5a91e720\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Course Provider<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b99dd66 elementor-widget elementor-widget-text-editor\" data-id=\"b99dd66\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Provided by HolyPython.com<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c697ce elementor-widget elementor-widget-image\" data-id=\"7c697ce\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"398\" height=\"344\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/10\/holypython_side_logo_img.jpg\" class=\"attachment-full size-full wp-image-15177\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/10\/holypython_side_logo_img.jpg 398w, https:\/\/holypython.com\/wp-content\/uploads\/2020\/10\/holypython_side_logo_img-300x259.jpg 300w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-1a0322e8 elementor-widget elementor-widget-heading\" data-id=\"1a0322e8\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Used Where?<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bddefca elementor-widget elementor-widget-text-editor\" data-id=\"bddefca\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Analysis of text, books, messages, posts, poems, media, news, social media&#8230;<\/li><li>Writing-support tools (auto-correction, auto-completion, spell check)<\/li><li>Sentiment analysis\u00a0<\/li><li>Financial investment decision making (through analysis of market sentiment)<\/li><li>Policy making (analysis of public reaction on specific matters)<\/li><li>Voice applications<\/li><li>Understanding of human emotions by computers<\/li><li>Search Engines<\/li><li>Business Development and Business Inteligence<\/li><li>Video Games and Virtual Reality<\/li><li>Increasingly useful and common Voice Assistants (Google Assistant, Cortana, Siri, Alexa, Athena, Mycroft, Aido, Cubic, Hound, Databot, AIVC, Butleroy, Robin, Lyra, Maluuba, Dragon, Lucida, Bixby, Vlingo, Silvia to name a few.)<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f2cd2a elementor-widget elementor-widget-menu-anchor\" data-id=\"2f2cd2a\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"pip\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-10a765f4 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"10a765f4\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-241e5313\" data-id=\"241e5313\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-320a681b elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"320a681b\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-101eb5c2\" data-id=\"101eb5c2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-56e26575 elementor-widget elementor-widget-heading\" data-id=\"56e26575\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to install pip from Anaconda<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-bd168ed elementor-widget elementor-widget-text-editor\" data-id=\"bd168ed\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>First it makes sense to have pip installed (if you don&#8217;t have it already) before proceeding to add textblob to your Python library.<\/p><p><code>conda install pip<\/code><\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8248d78 elementor-widget elementor-widget-image\" data-id=\"8248d78\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"600\" height=\"137\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/conda-install-pip.jpg\" class=\"attachment-large size-large wp-image-10777\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/conda-install-pip.jpg 600w, https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/conda-install-pip-300x69.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">conda install pip (already installed)<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56de8e3 elementor-widget elementor-widget-text-editor\" data-id=\"56de8e3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To check if you have any of the needed libraries installed (pip, nltk, textblob) you can also try executing this command in Python:<\/p><p><i>It will list all the Python modules installed then you can scroll and check if you have the ones you need.<\/i><\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f73c12 elementor-widget elementor-widget-html\" data-id=\"1f73c12\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>help(\"modules\")<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-684a48f elementor-widget elementor-widget-menu-anchor\" data-id=\"684a48f\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"text\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-18e7d04 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18e7d04\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-d353c1a\" data-id=\"d353c1a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c64e481 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"c64e481\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-8cd6fd3\" data-id=\"8cd6fd3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4acb9c0 elementor-widget elementor-widget-heading\" data-id=\"4acb9c0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to install textblob from Anaconda<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-729f4c4 elementor-widget elementor-widget-text-editor\" data-id=\"729f4c4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u00a0<\/p><p>You can install textblob from Anaconda Command Prompt. It&#8217;s simple as typing the command below:<\/p><p><code>pip install textblob<\/code><\/p><p>Once installed you can start importing textblob in Python using your favorite software such as Spyder, Jupyter Notebook, Pycharm, Vim, Atom, Sublime or Python in Command Prompt.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fbd756c elementor-widget elementor-widget-menu-anchor\" data-id=\"fbd756c\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"corp\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-9817558 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9817558\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-d5e2740\" data-id=\"d5e2740\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fa63036 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"fa63036\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-547b48f\" data-id=\"547b48f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d1e79a elementor-widget elementor-widget-heading\" data-id=\"7d1e79a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to install Corpora Data<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-50136d8 elementor-widget elementor-widget-text-editor\" data-id=\"50136d8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>After you install textblob, finally, you need to make sure you have corpora files for sentiment analysis.<\/p><p>This can be done in numerous ways, here is a convenient one:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bcd6450 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"bcd6450\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">GUI method (<i>NLTK Downloader<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d829cf0 elementor-widget elementor-widget-text-editor\" data-id=\"d829cf0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You can type the code below in Python and execute it:<\/p><p><em>You don&#8217;t have to install nltk separately because it comes with Anaconda3 installation.<\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9996ce7 elementor-widget elementor-widget-html\" data-id=\"9996ce7\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>import nltk\nnltk.download()<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4fa0be3 elementor-widget elementor-widget-text-editor\" data-id=\"4fa0be3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A download window will pop up.<\/p><p><a href=\"http:\/\/www.nltk.org\/nltk_data\/\">Here<\/a> you can see all the specialized corpora files that are available for installation.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d7b90ca elementor-widget elementor-widget-image\" data-id=\"d7b90ca\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"481\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/nltk-downloader-window.jpg\" class=\"attachment-large size-large wp-image-10989\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/nltk-downloader-window.jpg 573w, https:\/\/holypython.com\/wp-content\/uploads\/2020\/06\/nltk-downloader-window-300x252.jpg 300w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">NLTK Download Module for Corpora Data<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a4a8c70 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"a4a8c70\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Winerror 10061 (<i>Server denies connection<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3a326c7 elementor-widget elementor-widget-text-editor\" data-id=\"3a326c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Before getting too complicated on this issue with sockets and proxies. Let&#8217;s understand why it happens and the most likely underlying cause.<\/p><p>CHANGE THIS<br \/>That suggests the remote machine has received your connection request, and send back a refusal (a RST packet). I don&#8217;t think this is a case of the remote machine simply not having a process listening on that port (but i could be wrong!).<\/p><p>That sounds like a firewall problem. It could be a firewall on the remote machine, or a filter in the network in between, or, perhaps on your local machine &#8211; are you running any kind of security software locally?<\/p><p>So, are you using a firewall or a security software? Anything that might obstruct the connection more than usual? For instance if you&#8217;re using a VPN connection such as NordVPN or ExpressVPN their ad blocking security system can cause this error and even if you disconnect from the VPN while the app is still running in the background connection error will occur.<\/p><p>The Solution:<\/p><p>Simply troubleshoot any extra security layer you might have in use and temporarily try disabling or terminating it.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ddb19e2 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"ddb19e2\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Alternative Corpora Installation (<i>Command-line method<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c5e417 elementor-widget elementor-widget-text-editor\" data-id=\"5c5e417\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Alternatively you can install specific Corporas by executing either of the commands below:<\/p><p><i>This method will not solve Server rejection error since it&#8217;s a rather global problem regarding your computer environment. Also, NLTK Downloader really offers a nice visual experience. But just in case someone might prefer the command method here they are from the <\/i><a href=\"https:\/\/textblob.readthedocs.io\/en\/dev\/install.html\"><i>textblob official webpag<\/i>e<\/a>:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-016ce8d elementor-widget elementor-widget-html\" data-id=\"016ce8d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>$ python -m textblob.download_corpora<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-966ee01 elementor-widget elementor-widget-text-editor\" data-id=\"966ee01\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Lite corpora version: <i>(might not cover all the needed files)<\/i><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d81f4c4 elementor-widget elementor-widget-html\" data-id=\"d81f4c4\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>$ python -m textblob.download_corpora lite\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-346557f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"346557f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9d85ee4\" data-id=\"9d85ee4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-205e774 elementor-widget elementor-widget-menu-anchor\" data-id=\"205e774\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"intro\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7bdfe2a elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7bdfe2a\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-4a324aa\" data-id=\"4a324aa\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-839e5b6 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"839e5b6\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-17f095b\" data-id=\"17f095b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-625727e elementor-widget elementor-widget-heading\" data-id=\"625727e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Introduction to Sentiment Analysis and NLP<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-a7922d4 elementor-widget elementor-widget-text-editor\" data-id=\"a7922d4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Sentiment likely comes from French word sentir which means to feel. Sentiment can be many abstract things that relate to emotions, feelings, thoughts, opinions and senses.<\/p><p>In computer science, sentiment analysis lives in the sweet spot where natural language processing (NLP) is carried out as a means for machines to make sense of human languages which usually involves, partially or fully; emotions, feelings, bias, conclusions, objectivity and opinions.<\/p><p>There are many benefits of bridging communication between humans and computers but sentiment analysis can also shed light on human to human communications as it contributes to processing capability both in terms of power, technique and efficiency.<\/p><p>The field is relatively new and definitely has wind in its sails since the processing capabilities keep increasing and amazing NLP opportunities continue being discovered. One can say it&#8217;s only the beginning in sentiment analysis and natural language processing.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-47d979a elementor-widget elementor-widget-text-editor\" data-id=\"47d979a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>So, it&#8217;s safe to say as Machine Learning models get more training, data keeps accumulating and more sophisticated AI modeling techniques keep coming up, the difference between computer and human communication is also getting blurry. Benefits of this technology already became enormous and will only get bigger. Let&#8217;s hope there won&#8217;t be much malintent.<\/p><p>Let&#8217;s discover this fantastic technology in Python with a few code examples that can be useful:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6555a9e elementor-widget elementor-widget-menu-anchor\" data-id=\"6555a9e\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"basics\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a9307f6 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a9307f6\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-2a88778\" data-id=\"2a88778\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-209472c elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"209472c\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-c553512\" data-id=\"c553512\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bf9946b elementor-widget elementor-widget-heading\" data-id=\"bf9946b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">TextBlob Basics<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-f57d490 elementor-widget elementor-widget-text-editor\" data-id=\"f57d490\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Let&#8217;s explore some of the basic functions in textblob.<\/p><p>First we need to create a textblob object:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5accbf9 elementor-widget elementor-widget-html\" data-id=\"5accbf9\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>str = '''SHOULD WE COLONISE SPACE?\n\n        In conclusion, I return to Einstein. If we find a planet in the \n        Alpha Centauri system, its image, captured by a camera travelling \n        at a fifth of light speed, will be slightly distorted due to the \n        effects of special relativity. It would be the first time a \n        spacecraft has flown fast enough to see such effects. In fact, \n        Einstein\u2019s theory is central to the whole mission. Without it \n        we would have neither lasers nor the ability to perform the \n        calculations necessary for guidance, imaging and data transmission \n        over twenty-five trillion miles at a fifth of light speed. We can \n        see a pathway between that sixteen-year-old boy dreaming of riding \n        on a light beam and our own dream, which we are planning to turn \n        into a reality, of riding our own light beam to the stars. We are \n        standing at the threshold of a new era. Human colonisation on other \n        planets is no longer science fiction. It can be science fact. The \n        human race has existed as a separate species for about two million \n        years. Civilisation began about 10,000 years ago, and the rate of \n        development has been steadily increasing. If humanity is to continue \n        for another million years, our future lies in boldly going where no one \n        else has gone before. I hope for the best. I have to. We have no other \n        option. The era of civilian space travel is coming. What do you think \n        it means to us? I look forward to space travel. I would be one of the \n        first to buy a ticket. I expect that within the next hundred years we \n        will be able to travel anywhere in the solar system, except maybe the \n        outer planets. But travel to the stars will take a bit longer. I reckon \n        in 500 years, we will have visited some of the nearby stars. It won\u2019t be \n        like Star Trek . We won\u2019t be able to travel at warp speed. So a round trip \n        will take at least ten years and probably much longer.\n        \n        From the book: Brief Answers to the Big Questions \u2013 Stephen Hawking\n'''\n\n    \n    \nblob = textblob.TextBlob(str)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b271c6e elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"b271c6e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.words (<i>list of words<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-368e796 elementor-widget elementor-widget-text-editor\" data-id=\"368e796\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.words<\/b> property will return all the words from the text in a list.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e2cd861 elementor-widget elementor-widget-html\" data-id=\"e2cd861\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.words\nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e795706 elementor-widget elementor-widget-text-editor\" data-id=\"e795706\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>['SHOULD', 'WE', 'COLONISE', 'SPACE', 'In', 'conclusion', 'I', 'return', 'to', 'Einstein', 'If', 'we', 'find', 'a', 'planet', 'in', 'the', 'Alpha', 'Centauri', 'system', 'its', 'image', 'captured', 'by', 'a', 'camera', 'travelling', 'at', 'a', 'fifth', 'of', 'light', 'speed', 'will', 'be', 'slightly', 'distorted', 'due', 'to', 'the', 'effects', 'of', 'special', 'relativity', 'It', 'would', 'be', 'the', 'first', 'time', 'a', 'spacecraft', 'has', 'flown', 'fast', 'enough', 'to', 'see', 'such', 'effects', 'In', 'fact', 'Einstein', '\u2019', 's', 'theory', 'is', 'central', 'to', 'the', 'whole', 'mission', 'Without', 'it', 'we', 'would', 'have', 'neither', 'lasers', 'nor', 'the', 'ability', 'to', 'perform', 'the', 'calculations', 'necessary', 'for', 'guidance', 'imaging', 'and', 'data', 'transmission', 'over', 'twenty-five', 'trillion', 'miles', 'at', 'a', 'fifth', 'of', 'light', 'speed', 'We', 'can', 'see', 'a', 'pathway', 'between', 'that', 'sixteen-year-old', 'boy', 'dreaming', 'of', 'riding', 'on', 'a', 'light', 'beam', 'and', 'our', 'own', 'dream', 'which', 'we', 'are', 'planning', 'to', 'turn', 'into', 'a', 'reality', 'of', 'riding', 'our', 'own', 'light', 'beam', 'to', 'the', 'stars', 'We', 'are', 'standing', 'at', 'the', 'threshold', 'of', 'a', 'new', 'era', 'Human', 'colonisation', 'on', 'other', 'planets', 'is', 'no', 'longer', 'science', 'fiction', 'It', 'can', 'be', 'science', 'fact', 'The', 'human', 'race', 'has', 'existed', 'as', 'a', 'separate', 'species', 'for', 'about', 'two', 'million', 'years', 'Civilisation', 'began', 'about', '10,000', 'years', 'ago', 'and', 'the', 'rate', 'of', 'development', 'has', 'been', 'steadily', 'increasing', 'If', 'humanity', 'is', 'to', 'continue', 'for', 'another', 'million', 'years', 'our', 'future', 'lies', 'in', 'boldly', 'going', 'where', 'no', 'one', 'else', 'has', 'gone', 'before', 'I', 'hope', 'for', 'the', 'best', 'I', 'have', 'to', 'We', 'have', 'no', 'other', 'option', 'The', 'era', 'of', 'civilian', 'space', 'travel', 'is', 'coming', 'What', 'do', 'you', 'think', 'it', 'means', 'to', 'us', 'I', 'look', 'forward', 'to', 'space', 'travel', 'I', 'would', 'be', 'one', 'of', 'the', 'first', 'to', 'buy', 'a', 'ticket', 'I', 'expect', 'that', 'within', 'the', 'next', 'hundred', 'years', 'we', 'will', 'be', 'able', 'to', 'travel', 'anywhere', 'in', 'the', 'solar', 'system', 'except', 'maybe', 'the', 'outer', 'planets', 'But', 'travel', 'to', 'the', 'stars', 'will', 'take', 'a', 'bit', 'longer', 'I', 'reckon', 'in', '500', 'years', 'we', 'will', 'have', 'visited', 'some', 'of', 'the', 'nearby', 'stars', 'It', 'won', '\u2019', 't', 'be', 'like', 'Star', 'Trek', 'We', 'won', '\u2019', 't', 'be', 'able', 'to', 'travel', 'at', 'warp', 'speed', 'So', 'a', 'round', 'trip', 'will', 'take', 'at', 'least', 'ten', 'years', 'and', 'probably', 'much', 'longer', 'From', 'the', 'book', 'Brief', 'Answers', 'to', 'the', 'Big', 'Questions', '\u2013', 'Stephen', 'Hawking']<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ada512f elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"ada512f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.sentences (<i>list of sentences<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2b6c600 elementor-widget elementor-widget-text-editor\" data-id=\"2b6c600\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.sentences<\/b>\u00a0property will return all the sentences from the text in a list.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4232f94 elementor-widget elementor-widget-html\" data-id=\"4232f94\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.sentences\nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-207b209 elementor-widget elementor-widget-text-editor\" data-id=\"207b209\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>       [Sentence(\"SHOULD WE COLONISE SPACE?\"), <br \/>        Sentence(\"In conclusion, I return to Einstein.\"), Sentence(\"If we find a planet in the <br \/>        Alpha Centauri system, its image, captured by a camera travelling <br \/>        at a fifth of light speed, will be slightly distorted due to the <br \/>        effects of special relativity.\"), Sentence(\"It would be the first time a <br \/>        spacecraft has flown fast enough to see such effects.\"), Sentence(\"In fact, <br \/>        Einstein\u2019s theory is central to the whole mission.\"), Sentence(\"Without it <br \/>        we would have neither lasers nor the ability to perform the <br \/>        calculations necessary for guidance, imaging and data transmission <br \/>        over twenty-five trillion miles at a fifth of light speed.\"), Sentence(\"We can <br \/>        see a pathway between that sixteen-year-old boy dreaming of riding <br \/>        on a light beam and our own dream, which we are planning to turn <br \/>        into a reality, of riding our own light beam to the stars.\"), Sentence(\"We are <br \/>        standing at the threshold of a new era.\"), Sentence(\"Human colonisation on other <br \/>        planets is no longer science fiction.\"), Sentence(\"It can be science fact.\"), Sentence(\"The <br \/>        human race has existed as a separate species for about two million <br \/>        years.\"), Sentence(\"Civilisation began about 10,000 years ago, and the rate of <br \/>        development has been steadily increasing.\"), Sentence(\"If humanity is to continue <br \/>        for another million years, our future lies in boldly going where no one <br \/>        else has gone before.\"), Sentence(\"I hope for the best.\"), Sentence(\"I have to.\"), Sentence(\"We have no other <br \/>        option.\"), Sentence(\"The era of civilian space travel is coming.\"), Sentence(\"What do you think <br \/>        it means to us?\"), Sentence(\"I look forward to space travel.\"), Sentence(\"I would be one of the <br \/>        first to buy a ticket.\"), Sentence(\"I expect that within the next hundred years we <br \/>        will be able to travel anywhere in the solar system, except maybe the <br \/>        outer planets.\"), Sentence(\"But travel to the stars will take a bit longer.\"), Sentence(\"I reckon <br \/>        in 500 years, we will have visited some of the nearby stars.\"), Sentence(\"It won\u2019t be <br \/>        like Star Trek .\"), Sentence(\"We won\u2019t be able to travel at warp speed.\"), Sentence(\"So a round trip <br \/>        will take at least ten years and probably much longer.\"), <br \/>        Sentence(\"From the book: Brief Answers to the Big Questions \u2013 Stephen Hawking\")]<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1d771ae elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"1d771ae\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.noun_phrases (<i>list of phrases<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aaea983 elementor-widget elementor-widget-text-editor\" data-id=\"aaea983\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.noun_phrases <\/b>property will return all the noun phrases from the text in a list.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4d91fce elementor-widget elementor-widget-html\" data-id=\"4d91fce\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.noun_phrases\nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aa3eec9 elementor-widget elementor-widget-text-editor\" data-id=\"aa3eec9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>['should we colonise space', 'einstein', 'alpha centauri', 'light speed', 'special relativity', 'such effects', 'einstein', '\u2019 s theory', 'whole mission', 'data transmission', 'twenty-five trillion miles', 'light speed', 'sixteen-year-old boy', 'light beam', 'own dream', 'own light beam', 'new era', 'human colonisation', 'science fiction', 'science fact', 'human race', 'separate species', 'civilisation', 'civilian space travel', 'space travel', 'solar system', 'outer planets', 'nearby stars', '\u2019 t', 'trek', '\u2019 t', 'warp speed', 'round trip', 'brief answers', 'stephen hawking']<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-57ed189 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"57ed189\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.ngrams(n=4) (<i>n consecutive words<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-11bf8d7 elementor-widget elementor-widget-text-editor\" data-id=\"11bf8d7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.ngrams <\/b>property will return successive words in a tuple. You can adjust the succession amount by assigning a different value to n parameter.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dc2cef9 elementor-widget elementor-widget-html\" data-id=\"dc2cef9\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.ngrams(n=4)\nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0f26838 elementor-widget elementor-widget-text-editor\" data-id=\"0f26838\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>[WordList(['SHOULD', 'WE', 'COLONISE']), WordList(['WE', 'COLONISE', 'SPACE']), WordList(['COLONISE', 'SPACE', 'In']), WordList(['SPACE', 'In', 'conclusion']), WordList(['In', 'conclusion', 'I']), WordList(['conclusion', 'I', 'return']), WordList(['I', 'return', 'to']), WordList(['return', 'to', 'Einstein']), WordList(['to', 'Einstein', 'If']), WordList(['Einstein', 'If', 'we']), WordList(['If', 'we', 'find']), WordList(['we', 'find', 'a']), WordList(['find', 'a', 'planet']), WordList(['a', 'planet', 'in']), WordList(['planet', 'in', 'the']), WordList(['in', 'the', 'Alpha']), WordList(['the', 'Alpha', 'Centauri']), WordList(['Alpha', 'Centauri', 'system']), WordList(['Centauri', 'system', 'its']), WordList(['system', 'its', 'image']), WordList(['its', 'image', 'captured']), WordList(['image', 'captured', 'by']), WordList(['captured', 'by', 'a']), WordList(['by', 'a', 'camera']), WordList(['a', 'camera', 'travelling']), WordList(['camera', 'travelling', 'at']), WordList(['travelling', 'at', 'a']), WordList(['at', 'a', 'fifth']), WordList(['a', 'fifth', 'of']), WordList(['fifth', 'of', 'light']), WordList(['of', 'light', 'speed']), WordList(['light', 'speed', 'will']), WordList(['speed', 'will', 'be']), WordList(['will', 'be', 'slightly']), WordList(['be', 'slightly', 'distorted']), WordList(['slightly', 'distorted', 'due']), WordList(['distorted', 'due', 'to']), WordList(['due', 'to', 'the']), WordList(['to', 'the', 'effects']), WordList(['the', 'effects', 'of']), WordList(['effects', 'of', 'special']), WordList(['of', 'special', 'relativity']), WordList(['special', 'relativity', 'It']), WordList(['relativity', 'It', 'would']), WordList(['It', 'would', 'be']), WordList(['would', 'be', 'the']), WordList(['be', 'the', 'first']), WordList(['the', 'first', 'time']), WordList(['first', 'time', 'a']), WordList(['time', 'a', 'spacecraft']), WordList(['a', 'spacecraft', 'has']), WordList(['spacecraft', 'has', 'flown']), WordList(['has', 'flown', 'fast']), WordList(['flown', 'fast', 'enough']), WordList(['fast', 'enough', 'to']), WordList(['enough', 'to', 'see']), WordList(['to', 'see', 'such']), WordList(['see', 'such', 'effects']), WordList(['such', 'effects', 'In']), WordList(['effects', 'In', 'fact']), WordList(['In', 'fact', 'Einstein']), WordList(['fact', 'Einstein', '\u2019']), WordList(['Einstein', '\u2019', 's']), WordList(['\u2019', 's', 'theory']), WordList(['s', 'theory', 'is']), WordList(['theory', 'is', 'central']), WordList(['is', 'central', 'to']), WordList(['central', 'to', 'the']), WordList(['to', 'the', 'whole']), WordList(['the', 'whole', 'mission']), WordList(['whole', 'mission', 'Without']), WordList(['mission', 'Without', 'it']), WordList(['Without', 'it', 'we']), WordList(['it', 'we', 'would']), WordList(['we', 'would', 'have']), WordList(['would', 'have', 'neither']), WordList(['have', 'neither', 'lasers']), WordList(['neither', 'lasers', 'nor']), WordList(['lasers', 'nor', 'the']), WordList(['nor', 'the', 'ability']), WordList(['the', 'ability', 'to']), WordList(['ability', 'to', 'perform']), WordList(['to', 'perform', 'the']), WordList(['perform', 'the', 'calculations']), WordList(['the', 'calculations', 'necessary']), WordList(['calculations', 'necessary', 'for']), WordList(['necessary', 'for', 'guidance']), WordList(['for', 'guidance', 'imaging']), WordList(['guidance', 'imaging', 'and']), WordList(['imaging', 'and', 'data']), WordList(['and', 'data', 'transmission']), WordList(['data', 'transmission', 'over']), WordList(['transmission', 'over', 'twenty-five']), WordList(['over', 'twenty-five', 'trillion']), WordList(['twenty-five', 'trillion', 'miles']), WordList(['trillion', 'miles', 'at']), WordList(['miles', 'at', 'a']), WordList(['at', 'a', 'fifth']), WordList(['a', 'fifth', 'of']), WordList(['fifth', 'of', 'light']), WordList(['of', 'light', 'speed']), WordList(['light', 'speed', 'We']), WordList(['speed', 'We', 'can']), WordList(['We', 'can', 'see']), WordList(['can', 'see', 'a']), WordList(['see', 'a', 'pathway']), WordList(['a', 'pathway', 'between']), WordList(['pathway', 'between', 'that']), WordList(['between', 'that', 'sixteen-year-old']), WordList(['that', 'sixteen-year-old', 'boy']), WordList(['sixteen-year-old', 'boy', 'dreaming']), WordList(['boy', 'dreaming', 'of']), WordList(['dreaming', 'of', 'riding']), WordList(['of', 'riding', 'on']), WordList(['riding', 'on', 'a']), WordList(['on', 'a', 'light']), WordList(['a', 'light', 'beam']), WordList(['light', 'beam', 'and']), WordList(['beam', 'and', 'our']), WordList(['and', 'our', 'own']), WordList(['our', 'own', 'dream']), WordList(['own', 'dream', 'which']), WordList(['dream', 'which', 'we']), WordList(['which', 'we', 'are']), WordList(['we', 'are', 'planning']), WordList(['are', 'planning', 'to']), WordList(['planning', 'to', 'turn']), WordList(['to', 'turn', 'into']), WordList(['turn', 'into', 'a']), WordList(['into', 'a', 'reality']), WordList(['a', 'reality', 'of']), WordList(['reality', 'of', 'riding']), WordList(['of', 'riding', 'our']), WordList(['riding', 'our', 'own']), WordList(['our', 'own', 'light']), WordList(['own', 'light', 'beam']), WordList(['light', 'beam', 'to']), WordList(['beam', 'to', 'the']), WordList(['to', 'the', 'stars']), WordList(['the', 'stars', 'We']), WordList(['stars', 'We', 'are']), WordList(['We', 'are', 'standing']), WordList(['are', 'standing', 'at']), WordList(['standing', 'at', 'the']), WordList(['at', 'the', 'threshold']), WordList(['the', 'threshold', 'of']), WordList(['threshold', 'of', 'a']), WordList(['of', 'a', 'new']), WordList(['a', 'new', 'era']), WordList(['new', 'era', 'Human']), WordList(['era', 'Human', 'colonisation']), WordList(['Human', 'colonisation', 'on']), WordList(['colonisation', 'on', 'other']), WordList(['on', 'other', 'planets']), WordList(['other', 'planets', 'is']), WordList(['planets', 'is', 'no']), WordList(['is', 'no', 'longer']), WordList(['no', 'longer', 'science']), WordList(['longer', 'science', 'fiction']), WordList(['science', 'fiction', 'It']), WordList(['fiction', 'It', 'can']), WordList(['It', 'can', 'be']), WordList(['can', 'be', 'science']), WordList(['be', 'science', 'fact']), WordList(['science', 'fact', 'The']), WordList(['fact', 'The', 'human']), WordList(['The', 'human', 'race']), WordList(['human', 'race', 'has']), WordList(['race', 'has', 'existed']), WordList(['has', 'existed', 'as']), WordList(['existed', 'as', 'a']), WordList(['as', 'a', 'separate']), WordList(['a', 'separate', 'species']), WordList(['separate', 'species', 'for']), WordList(['species', 'for', 'about']), WordList(['for', 'about', 'two']), WordList(['about', 'two', 'million']), WordList(['two', 'million', 'years']), WordList(['million', 'years', 'Civilisation']), WordList(['years', 'Civilisation', 'began']), WordList(['Civilisation', 'began', 'about']), WordList(['began', 'about', '10,000']), WordList(['about', '10,000', 'years']), WordList(['10,000', 'years', 'ago']), WordList(['years', 'ago', 'and']), WordList(['ago', 'and', 'the']), WordList(['and', 'the', 'rate']), WordList(['the', 'rate', 'of']), WordList(['rate', 'of', 'development']), WordList(['of', 'development', 'has']), WordList(['development', 'has', 'been']), WordList(['has', 'been', 'steadily']), WordList(['been', 'steadily', 'increasing']), WordList(['steadily', 'increasing', 'If']), WordList(['increasing', 'If', 'humanity']), WordList(['If', 'humanity', 'is']), WordList(['humanity', 'is', 'to']), WordList(['is', 'to', 'continue']), WordList(['to', 'continue', 'for']), WordList(['continue', 'for', 'another']), WordList(['for', 'another', 'million']), WordList(['another', 'million', 'years']), WordList(['million', 'years', 'our']), WordList(['years', 'our', 'future']), WordList(['our', 'future', 'lies']), WordList(['future', 'lies', 'in']), WordList(['lies', 'in', 'boldly']), WordList(['in', 'boldly', 'going']), WordList(['boldly', 'going', 'where']), WordList(['going', 'where', 'no']), WordList(['where', 'no', 'one']), WordList(['no', 'one', 'else']), WordList(['one', 'else', 'has']), WordList(['else', 'has', 'gone']), WordList(['has', 'gone', 'before']), WordList(['gone', 'before', 'I']), WordList(['before', 'I', 'hope']), WordList(['I', 'hope', 'for']), WordList(['hope', 'for', 'the']), WordList(['for', 'the', 'best']), WordList(['the', 'best', 'I']), WordList(['best', 'I', 'have']), WordList(['I', 'have', 'to']), WordList(['have', 'to', 'We']), WordList(['to', 'We', 'have']), WordList(['We', 'have', 'no']), WordList(['have', 'no', 'other']), WordList(['no', 'other', 'option']), WordList(['other', 'option', 'The']), WordList(['option', 'The', 'era']), WordList(['The', 'era', 'of']), WordList(['era', 'of', 'civilian']), WordList(['of', 'civilian', 'space']), WordList(['civilian', 'space', 'travel']), WordList(['space', 'travel', 'is']), WordList(['travel', 'is', 'coming']), WordList(['is', 'coming', 'What']), WordList(['coming', 'What', 'do']), WordList(['What', 'do', 'you']), WordList(['do', 'you', 'think']), WordList(['you', 'think', 'it']), WordList(['think', 'it', 'means']), WordList(['it', 'means', 'to']), WordList(['means', 'to', 'us']), WordList(['to', 'us', 'I']), WordList(['us', 'I', 'look']), WordList(['I', 'look', 'forward']), WordList(['look', 'forward', 'to']), WordList(['forward', 'to', 'space']), WordList(['to', 'space', 'travel']), WordList(['space', 'travel', 'I']), WordList(['travel', 'I', 'would']), WordList(['I', 'would', 'be']), WordList(['would', 'be', 'one']), WordList(['be', 'one', 'of']), WordList(['one', 'of', 'the']), WordList(['of', 'the', 'first']), WordList(['the', 'first', 'to']), WordList(['first', 'to', 'buy']), WordList(['to', 'buy', 'a']), WordList(['buy', 'a', 'ticket']), WordList(['a', 'ticket', 'I']), WordList(['ticket', 'I', 'expect']), WordList(['I', 'expect', 'that']), WordList(['expect', 'that', 'within']), WordList(['that', 'within', 'the']), WordList(['within', 'the', 'next']), WordList(['the', 'next', 'hundred']), WordList(['next', 'hundred', 'years']), WordList(['hundred', 'years', 'we']), WordList(['years', 'we', 'will']), WordList(['we', 'will', 'be']), WordList(['will', 'be', 'able']), WordList(['be', 'able', 'to']), WordList(['able', 'to', 'travel']), WordList(['to', 'travel', 'anywhere']), WordList(['travel', 'anywhere', 'in']), WordList(['anywhere', 'in', 'the']), WordList(['in', 'the', 'solar']), WordList(['the', 'solar', 'system']), WordList(['solar', 'system', 'except']), WordList(['system', 'except', 'maybe']), WordList(['except', 'maybe', 'the']), WordList(['maybe', 'the', 'outer']), WordList(['the', 'outer', 'planets']), WordList(['outer', 'planets', 'But']), WordList(['planets', 'But', 'travel']), WordList(['But', 'travel', 'to']), WordList(['travel', 'to', 'the']), WordList(['to', 'the', 'stars']), WordList(['the', 'stars', 'will']), WordList(['stars', 'will', 'take']), WordList(['will', 'take', 'a']), WordList(['take', 'a', 'bit']), WordList(['a', 'bit', 'longer']), WordList(['bit', 'longer', 'I']), WordList(['longer', 'I', 'reckon']), WordList(['I', 'reckon', 'in']), WordList(['reckon', 'in', '500']), WordList(['in', '500', 'years']), WordList(['500', 'years', 'we']), WordList(['years', 'we', 'will']), WordList(['we', 'will', 'have']), WordList(['will', 'have', 'visited']), WordList(['have', 'visited', 'some']), WordList(['visited', 'some', 'of']), WordList(['some', 'of', 'the']), WordList(['of', 'the', 'nearby']), WordList(['the', 'nearby', 'stars']), WordList(['nearby', 'stars', 'It']), WordList(['stars', 'It', 'won']), WordList(['It', 'won', '\u2019']), WordList(['won', '\u2019', 't']), WordList(['\u2019', 't', 'be']), WordList(['t', 'be', 'like']), WordList(['be', 'like', 'Star']), WordList(['like', 'Star', 'Trek']), WordList(['Star', 'Trek', 'We']), WordList(['Trek', 'We', 'won']), WordList(['We', 'won', '\u2019']), WordList(['won', '\u2019', 't']), WordList(['\u2019', 't', 'be']), WordList(['t', 'be', 'able']), WordList(['be', 'able', 'to']), WordList(['able', 'to', 'travel']), WordList(['to', 'travel', 'at']), WordList(['travel', 'at', 'warp']), WordList(['at', 'warp', 'speed']), WordList(['warp', 'speed', 'So']), WordList(['speed', 'So', 'a']), WordList(['So', 'a', 'round']), WordList(['a', 'round', 'trip']), WordList(['round', 'trip', 'will']), WordList(['trip', 'will', 'take']), WordList(['will', 'take', 'at']), WordList(['take', 'at', 'least']), WordList(['at', 'least', 'ten']), WordList(['least', 'ten', 'years']), WordList(['ten', 'years', 'and']), WordList(['years', 'and', 'probably']), WordList(['and', 'probably', 'much']), WordList(['probably', 'much', 'longer']), WordList(['much', 'longer', 'From']), WordList(['longer', 'From', 'the']), WordList(['From', 'the', 'book']), WordList(['the', 'book', 'Brief']), WordList(['book', 'Brief', 'Answers']), WordList(['Brief', 'Answers', 'to']), WordList(['Answers', 'to', 'the']), WordList(['to', 'the', 'Big']), WordList(['the', 'Big', 'Questions']), WordList(['Big', 'Questions', '\u2013']), WordList(['Questions', '\u2013', 'Stephen']), WordList(['\u2013', 'Stephen', 'Hawking'])]<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0c3f9c0 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"0c3f9c0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.tags (<i>Part-of-speech tags<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2dc02d9 elementor-widget elementor-widget-text-editor\" data-id=\"2dc02d9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.tags <\/b>property is very useful and it will provide part-of-speech properties.<\/p><p>You can see a full list of part-of-speech tags at <a href=\"https:\/\/www.ling.upenn.edu\/courses\/Fall_2003\/ling001\/penn_treebank_pos.html\">this <\/a>page from University of Pennsylvania.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13c730e elementor-widget elementor-widget-html\" data-id=\"13c730e\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.tags\nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c50adff elementor-widget elementor-widget-text-editor\" data-id=\"c50adff\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>[('SHOULD', 'MD'), ('WE', 'NNP'), ('COLONISE', 'NNP'), ('SPACE', 'NNP'), ('In', 'IN'), ('conclusion', 'NN'), ('I', 'PRP'), ('return', 'VBP'), ('to', 'TO'), ('Einstein', 'NNP'), ('If', 'IN'), ('we', 'PRP'), ('find', 'VBP'), ('a', 'DT'), ('planet', 'NN'), ('in', 'IN'), ('the', 'DT'), ('Alpha', 'NNP'), ('Centauri', 'NNP'), ('system', 'NN'), ('its', 'PRP$'), ('image', 'NN'), ('captured', 'VBN'), ('by', 'IN'), ('a', 'DT'), ('camera', 'NN'), ('travelling', 'NN'), ('at', 'IN'), ('a', 'DT'), ('fifth', 'NN'), ('of', 'IN'), ('light', 'JJ'), ('speed', 'NN'), ('will', 'MD'), ('be', 'VB'), ('slightly', 'RB'), ('distorted', 'VBN'), ('due', 'JJ'), ('to', 'TO'), ('the', 'DT'), ('effects', 'NNS'), ('of', 'IN'), ('special', 'JJ'), ('relativity', 'NN'), ('It', 'PRP'), ('would', 'MD'), ('be', 'VB'), ('the', 'DT'), ('first', 'JJ'), ('time', 'NN'), ('a', 'DT'), ('spacecraft', 'NN'), ('has', 'VBZ'), ('flown', 'VBN'), ('fast', 'RB'), ('enough', 'JJ'), ('to', 'TO'), ('see', 'VB'), ('such', 'JJ'), ('effects', 'NNS'), ('In', 'IN'), ('fact', 'NN'), ('Einstein', 'NNP'), ('\u2019', 'NNP'), ('s', 'NN'), ('theory', 'NN'), ('is', 'VBZ'), ('central', 'JJ'), ('to', 'TO'), ('the', 'DT'), ('whole', 'JJ'), ('mission', 'NN'), ('Without', 'IN'), ('it', 'PRP'), ('we', 'PRP'), ('would', 'MD'), ('have', 'VB'), ('neither', 'CC'), ('lasers', 'NNS'), ('nor', 'CC'), ('the', 'DT'), ('ability', 'NN'), ('to', 'TO'), ('perform', 'VB'), ('the', 'DT'), ('calculations', 'NNS'), ('necessary', 'JJ'), ('for', 'IN'), ('guidance', 'NN'), ('imaging', 'VBG'), ('and', 'CC'), ('data', 'NNS'), ('transmission', 'NN'), ('over', 'IN'), ('twenty-five', 'JJ'), ('trillion', 'CD'), ('miles', 'NNS'), ('at', 'IN'), ('a', 'DT'), ('fifth', 'NN'), ('of', 'IN'), ('light', 'JJ'), ('speed', 'NN'), ('We', 'PRP'), ('can', 'MD'), ('see', 'VB'), ('a', 'DT'), ('pathway', 'NN'), ('between', 'IN'), ('that', 'DT'), ('sixteen-year-old', 'JJ'), ('boy', 'NN'), ('dreaming', 'NN'), ('of', 'IN'), ('riding', 'VBG'), ('on', 'IN'), ('a', 'DT'), ('light', 'JJ'), ('beam', 'NN'), ('and', 'CC'), ('our', 'PRP$'), ('own', 'JJ'), ('dream', 'NN'), ('which', 'WDT'), ('we', 'PRP'), ('are', 'VBP'), ('planning', 'VBG'), ('to', 'TO'), ('turn', 'VB'), ('into', 'IN'), ('a', 'DT'), ('reality', 'NN'), ('of', 'IN'), ('riding', 'VBG'), ('our', 'PRP$'), ('own', 'JJ'), ('light', 'NN'), ('beam', 'NN'), ('to', 'TO'), ('the', 'DT'), ('stars', 'NNS'), ('We', 'PRP'), ('are', 'VBP'), ('standing', 'VBG'), ('at', 'IN'), ('the', 'DT'), ('threshold', 'NN'), ('of', 'IN'), ('a', 'DT'), ('new', 'JJ'), ('era', 'NN'), ('Human', 'NNP'), ('colonisation', 'NN'), ('on', 'IN'), ('other', 'JJ'), ('planets', 'NNS'), ('is', 'VBZ'), ('no', 'DT'), ('longer', 'JJR'), ('science', 'NN'), ('fiction', 'NN'), ('It', 'PRP'), ('can', 'MD'), ('be', 'VB'), ('science', 'JJ'), ('fact', 'NN'), ('The', 'DT'), ('human', 'JJ'), ('race', 'NN'), ('has', 'VBZ'), ('existed', 'VBN'), ('as', 'IN'), ('a', 'DT'), ('separate', 'JJ'), ('species', 'NNS'), ('for', 'IN'), ('about', 'IN'), ('two', 'CD'), ('million', 'CD'), ('years', 'NNS'), ('Civilisation', 'NN'), ('began', 'VBD'), ('about', 'IN'), ('10,000', 'CD'), ('years', 'NNS'), ('ago', 'RB'), ('and', 'CC'), ('the', 'DT'), ('rate', 'NN'), ('of', 'IN'), ('development', 'NN'), ('has', 'VBZ'), ('been', 'VBN'), ('steadily', 'RB'), ('increasing', 'VBG'), ('If', 'IN'), ('humanity', 'NN'), ('is', 'VBZ'), ('to', 'TO'), ('continue', 'VB'), ('for', 'IN'), ('another', 'DT'), ('million', 'CD'), ('years', 'NNS'), ('our', 'PRP$'), ('future', 'NN'), ('lies', 'VBZ'), ('in', 'IN'), ('boldly', 'RB'), ('going', 'VBG'), ('where', 'WRB'), ('no', 'DT'), ('one', 'NN'), ('else', 'RB'), ('has', 'VBZ'), ('gone', 'VBN'), ('before', 'RB'), ('I', 'PRP'), ('hope', 'VBP'), ('for', 'IN'), ('the', 'DT'), ('best', 'JJS'), ('I', 'PRP'), ('have', 'VBP'), ('to', 'TO'), ('We', 'PRP'), ('have', 'VBP'), ('no', 'DT'), ('other', 'JJ'), ('option', 'NN'), ('The', 'DT'), ('era', 'NN'), ('of', 'IN'), ('civilian', 'JJ'), ('space', 'NN'), ('travel', 'NN'), ('is', 'VBZ'), ('coming', 'VBG'), ('What', 'WP'), ('do', 'VBP'), ('you', 'PRP'), ('think', 'VB'), ('it', 'PRP'), ('means', 'VBZ'), ('to', 'TO'), ('us', 'PRP'), ('I', 'PRP'), ('look', 'VBP'), ('forward', 'RB'), ('to', 'TO'), ('space', 'NN'), ('travel', 'NN'), ('I', 'PRP'), ('would', 'MD'), ('be', 'VB'), ('one', 'CD'), ('of', 'IN'), ('the', 'DT'), ('first', 'JJ'), ('to', 'TO'), ('buy', 'VB'), ('a', 'DT'), ('ticket', 'NN'), ('I', 'PRP'), ('expect', 'VBP'), ('that', 'IN'), ('within', 'IN'), ('the', 'DT'), ('next', 'JJ'), ('hundred', 'CD'), ('years', 'NNS'), ('we', 'PRP'), ('will', 'MD'), ('be', 'VB'), ('able', 'JJ'), ('to', 'TO'), ('travel', 'VB'), ('anywhere', 'RB'), ('in', 'IN'), ('the', 'DT'), ('solar', 'JJ'), ('system', 'NN'), ('except', 'IN'), ('maybe', 'RB'), ('the', 'DT'), ('outer', 'NN'), ('planets', 'NNS'), ('But', 'CC'), ('travel', 'NN'), ('to', 'TO'), ('the', 'DT'), ('stars', 'NNS'), ('will', 'MD'), ('take', 'VB'), ('a', 'DT'), ('bit', 'NN'), ('longer', 'RBR'), ('I', 'PRP'), ('reckon', 'VBP'), ('in', 'IN'), ('500', 'CD'), ('years', 'NNS'), ('we', 'PRP'), ('will', 'MD'), ('have', 'VB'), ('visited', 'VBN'), ('some', 'DT'), ('of', 'IN'), ('the', 'DT'), ('nearby', 'JJ'), ('stars', 'NNS'), ('It', 'PRP'), ('won', 'VBD'), ('\u2019', 'NNP'), ('t', 'RB'), ('be', 'VB'), ('like', 'IN'), ('Star', 'NNP'), ('Trek', 'NNP'), ('We', 'PRP'), ('won', 'VBD'), ('\u2019', 'NNP'), ('t', 'NN'), ('be', 'VB'), ('able', 'JJ'), ('to', 'TO'), ('travel', 'VB'), ('at', 'IN'), ('warp', 'JJ'), ('speed', 'NN'), ('So', 'RB'), ('a', 'DT'), ('round', 'NN'), ('trip', 'NN'), ('will', 'MD'), ('take', 'VB'), ('at', 'IN'), ('least', 'JJS'), ('ten', 'CD'), ('years', 'NNS'), ('and', 'CC'), ('probably', 'RB'), ('much', 'RB'), ('longer', 'RBR'), ('From', 'IN'), ('the', 'DT'), ('book', 'NN'), ('Brief', 'JJ'), ('Answers', 'NNS'), ('to', 'TO'), ('the', 'DT'), ('Big', 'NNP'), ('Questions', 'NNP'), ('\u2013', 'NNP'), ('Stephen', 'NNP'), ('Hawking', 'NNP')]<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-927bcd8 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"927bcd8\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.definitions (<i>list of definitions<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-20a2b1d elementor-widget elementor-widget-text-editor\" data-id=\"20a2b1d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.definitions <\/b>property can be applied to words and it will return the definition of the word. But, first you&#8217;ll need to import the <b>Word <\/b>module from <b>textblob.<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-82f7e75 elementor-widget elementor-widget-html\" data-id=\"82f7e75\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>from textblob import Word\na = Word(\"prolific\")\nprint(a.definitions)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9091506 elementor-widget elementor-widget-text-editor\" data-id=\"9091506\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>['intellectually productive', 'bearing in abundance especially offspring']<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d542e3 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"2d542e3\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.spellcheck (<i>Spell check with confidence level<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56225c9 elementor-widget elementor-widget-text-editor\" data-id=\"56225c9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.spellcheck <\/b>will return the correct spelling of a word with confidence value.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f50c365 elementor-widget elementor-widget-html\" data-id=\"f50c365\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>from textblob import Word\na = Word(\"profitible\")\nprint(a.spellcheck)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f50e20a elementor-widget elementor-widget-text-editor\" data-id=\"f50e20a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>[('profitable', 1.0)]<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-df49503 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"df49503\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.correct (<i>Autocorrection<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cfdeee0 elementor-widget elementor-widget-text-editor\" data-id=\"cfdeee0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.correct <\/b>will check a word and correct it if it&#8217;s written wrong with the highest confidence word option.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ef97823 elementor-widget elementor-widget-html\" data-id=\"ef97823\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>from textblob import Word\na = Word(\"profitible\")\nprint(a.correct)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bf94b93 elementor-widget elementor-widget-text-editor\" data-id=\"bf94b93\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>profitable<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-579a5b4 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"579a5b4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.word_count([\"word\"]) (<i>frequency of a word<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a4544e9 elementor-widget elementor-widget-text-editor\" data-id=\"a4544e9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.word_count() <\/b>will return the frequency of a word.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-98f9956 elementor-widget elementor-widget-html\" data-id=\"98f9956\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>print(blob.word_counts[\"space\"])<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9a85974 elementor-widget elementor-widget-text-editor\" data-id=\"9a85974\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>3<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14f3240 elementor-widget elementor-widget-menu-anchor\" data-id=\"14f3240\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"polar\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d41916b elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d41916b\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-8336666\" data-id=\"8336666\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-365aeac elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"365aeac\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-code\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-7270678\" data-id=\"7270678\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3813e27 elementor-widget elementor-widget-heading\" data-id=\"3813e27\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Polarity &amp; Subjectivity<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-3effeb7 elementor-widget elementor-widget-text-editor\" data-id=\"3effeb7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>Sentiment analysis can be carried out with these properties of textblob:<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9d93817 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"9d93817\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.sentiment (<i>sentiment analysis<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fe5dc62 elementor-widget elementor-widget-text-editor\" data-id=\"fe5dc62\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>.sentiment <\/b>will return 2 values in a tuple:<\/p><p>Polarity: Takes a value between -1 and +1. -1 suggests a very negative language and +1 suggests a very positive language. This part of the analysis is the heart of sentiment analysis and can be supported, advanced or elaborated further.<\/p><p>Subjectivity: Takes a value between 0 and +1. 0 suggests maximum objectivity possible and +1 suggests a very subjective text.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e2ada8 elementor-widget elementor-widget-html\" data-id=\"0e2ada8\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.sentiment\n    \nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78945fc elementor-widget elementor-widget-text-editor\" data-id=\"78945fc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>Sentiment(polarity=0.1725525664811379, subjectivity=0.44312306740878166)<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79195a0 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"79195a0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.sentiment.subjectivity (<i>only subjectivity<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1431b09 elementor-widget elementor-widget-html\" data-id=\"1431b09\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.sentiment.subjectivity\n    \nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-45dc62c elementor-widget elementor-widget-text-editor\" data-id=\"45dc62c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>0.44312306740878166<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-afcda97 elementor-widget__width-auto elementor-widget elementor-widget-heading\" data-id=\"afcda97\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">.sentiment.polarity (<i>only polarity<\/i>)<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fc6038b elementor-widget elementor-widget-html\" data-id=\"fc6038b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"Python\"><code>a = blob.sentiment.polarity\n    \nprint(a)<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e62cb73 elementor-widget elementor-widget-text-editor\" data-id=\"e62cb73\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>0.1725525664811379<\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Estimated Time 10 mins Skill Level Intermediate Exercises na Content Sections Pip Installation TextBlob Installation Corpora Installation Sentiment Analysis Intro TextBlob Basics Polarity &#038; Subjectivity Course Provider Provided by HolyPython.com Used Where? Analysis of text, books, messages, posts, poems, media, news, social media&#8230; Writing-support tools (auto-correction, auto-completion, spell check) Sentiment analysis\u00a0 Financial investment decision making [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34,52],"tags":[],"class_list":["post-10794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-intermediate","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts\/10794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/comments?post=10794"}],"version-history":[{"count":0,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts\/10794\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/media\/10985"}],"wp:attachment":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/media?parent=10794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/categories?post=10794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/tags?post=10794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}