{"id":3070,"date":"2019-12-27T16:16:03","date_gmt":"2019-12-27T16:16:03","guid":{"rendered":"http:\/\/34.74.67.11\/?page_id=3070"},"modified":"2021-05-17T07:18:47","modified_gmt":"2021-05-17T07:18:47","slug":"named-entity-recognition-sentiment-analysis","status":"publish","type":"page","link":"https:\/\/www.iventura.ai\/index.php\/named-entity-recognition-sentiment-analysis\/","title":{"rendered":"Named Entity Recognition"},"content":{"rendered":"<section class=\"kc-elm kc-css-518791 kc_row\"><div class=\"kc-row-container  kc-container\"><div class=\"kc-wrap-columns\"><div class=\"kc-elm kc-css-351164 kc_col-sm-12 kc_column kc_col-sm-12\"><div class=\"kc-col-container\"><div class=\"kc-elm kc-css-591410 kc_shortcode kc_single_image\">\n\n        <img decoding=\"async\" src=\"https:\/\/www.iventura.ai\/wp-content\/uploads\/2020\/01\/img2.png\" class=\"\" alt=\"\" \/>    <\/div>\n<div class=\"kc-elm kc-css-222166 kc_row kc_row_inner\"><div class=\"kc-elm kc-css-401387 kc_col-sm-12 kc_column_inner kc_col-sm-12\"><div class=\"kc_wrapper kc-col-inner-container\"><div class=\"kc-elm kc-css-610976 kc_text_block\"><\/p>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Problem Statement:<\/strong><\/h4>\n<ol>\n<li>When signing up with Insurance provider company for an insurance policy, customers have the option to check a box for special counsel instruction (Meaning Insurance provider company would not select standard external counsel for them). When they underwrite policies for the clients, if special counsel is requested, there is a text field where they can specify the instructions. Attached spreadsheet is the sample data for things that currently go into this field.<\/li>\n<li>Insurance provider would like a text analysis\/NLP tool that would take this text data and convert it into structured data and put it into a field in a DB. Looking at the data, it looks like most fields have the name of an external counsel followed by a positive or negative sentiment so it shouldn\u2019t be that difficult.<\/li>\n<\/ol>\n<p><strong>Purpose of sentiment analysis And NER for Insurance provider:<\/strong><\/p>\n<ol>\n<li>1) Sentiment analysis can be used to improve customer insurance service, promote client engagement, and other specific purposes.<\/li>\n<li>2) sentiments also have the power to impact insurance customer.<\/li>\n<li>3) Two approach to solve Sentiment analysis in machine learning: unsupervised or supervised learning.<\/li>\n<li>4) Given dataset falls into unsupervised learning.<\/li>\n<li>5) NER(name entity recognition) extracts meaningful information from Datasets .This extracted information helps Insurance provider in many meaningful ways e.g only read mobile number,location,person,organisation info.<\/li>\n<\/ol>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Challenge:<\/strong><\/h4>\n<ul>\n<li>The special counsel instruction is captured in a natural language (English, in this case). However, this human language is astoundingly complex and diverse. Thoughts and information is expressed in infinite ways, both verbally and in writing. Also, within the language is a unique set of grammar and syntax rules, terms and slang. Moreover, there can also be misspellings or abbreviations, punctuation mistakes etc.<\/li>\n<li>This information however is a veritable goldmine.<\/li>\n<li>The challenge is to resolve ambiguity in language and add useful numeric structure to the data so that it can used for decision making<\/li>\n<\/ul>\n<p>\n<\/div><\/div><\/div><\/div><div class=\"kc-elm kc-css-434777 kc_row kc_row_inner\"><div class=\"kc-elm kc-css-936810 kc_col-sm-12 kc_column_inner kc_col-sm-12\"><div class=\"kc_wrapper kc-col-inner-container\"><div class=\"kc-elm kc-css-39200 kc_shortcode kc_single_image\">\n\n        <img decoding=\"async\" src=\"https:\/\/www.iventura.ai\/wp-content\/uploads\/2019\/12\/NERgif.gif\" class=\"\" alt=\"\" \/>    <\/div>\n<div class=\"kc-elm kc-css-957603 kc_text_block\"><\/p>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Solution:<\/strong><\/h4>\n<ol>\n<li>iVentura Machine Learning Platform was used for building the solution. iVentura provides the complete ecosystem for data scientists to build models without worrying about the underlying Infra &amp; Security. Either for a team or an individual data scientist, iVentura is ideally suited as a platform of choice because it comes equipped with:iVentura ingests the sample data, converts it into structured data and captures it into a data store. The following is the high level approach adopted for the Solution.<\/li>\n<li>1) Analyze the given data<\/li>\n<li>2) Perform Data Pre-processing: Clean the data of unwanted records, if any Check the data for its consistency Remove duplicate records<\/li>\n<li>3) Feature Extractions using TFIDF on Text<\/li>\n<li>4) Perform k-Means Clustering to identify patterns of data<\/li>\n<li>5) Perform the Sentiment Analysis using TextBlob &amp; NLTK \u2013 Vader<\/li>\n<li>6) Perform the Name Entity Recognition using Spacy and pyap+re expression<\/li>\n<li>7) Build the Word Cloud<\/li>\n<li>8) Save the data into Excel\/DB<\/li>\n<li>9) Deployment &amp; Visualization<\/li>\n<\/ol>\n<p>\n<\/div><\/div><\/div><\/div><div class=\"kc-elm kc-css-533035 kc_row kc_row_inner\"><div class=\"kc-elm kc-css-143890 kc_col-sm-12 kc_column_inner kc_col-sm-12\"><div class=\"kc_wrapper kc-col-inner-container\">\n<div class=\"kc-elm kc-css-674516 kc-title-wrap \">\n\n\t<h3 class=\"kc_title\">SOLUTION WORKFLOW<\/h3>\n<\/div>\n<div class=\"kc-elm kc-css-978297 kc_shortcode kc_single_image\">\n\n        <img decoding=\"async\" src=\"https:\/\/www.iventura.ai\/wp-content\/uploads\/2020\/01\/WF5.png\" class=\"\" alt=\"\" \/>    <\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl-king-composer.php","meta":{"footnotes":""},"yst_prominent_words":[226,201,228,194,223,200,220,199,87,221,227,229,224,225,118,119,222,198,120,121],"class_list":["post-3070","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/comments?post=3070"}],"version-history":[{"count":25,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3070\/revisions"}],"predecessor-version":[{"id":3592,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3070\/revisions\/3592"}],"wp:attachment":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/media?parent=3070"}],"wp:term":[{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/yst_prominent_words?post=3070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}