<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Artiwise NLP - Medium]]></title>
        <description><![CDATA[Headlines from Artiwise - Medium]]></description>
        <link>https://medium.com/artiwise-nlp?source=rss----c7495b2141e8---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Artiwise NLP - Medium</title>
            <link>https://medium.com/artiwise-nlp?source=rss----c7495b2141e8---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:16:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/artiwise-nlp" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Text Segmentation and Its Applications to Aspect Based Sentiment Analysis]]></title>
            <link>https://medium.com/artiwise-nlp/text-segmentation-and-its-applications-to-aspect-based-sentiment-analysis-fb115f9ab4e9?source=rss----c7495b2141e8---4</link>
            <guid isPermaLink="false">https://medium.com/p/fb115f9ab4e9</guid>
            <category><![CDATA[absa]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[segmentation]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <dc:creator><![CDATA[Karahan Şahin]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 13:41:46 GMT</pubDate>
            <atom:updated>2021-08-19T14:41:24.094Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WYvEg-nY9HOoslxO3i5Bmw.png" /><figcaption>Discourse Segmentation Model on Sentiment Analysis from “Neural Text Segmentation and Its Application to Sentiment Analysis”</figcaption></figure><h3>Index</h3><ol><li>What is text segmentation?</li><li>Usage Areas</li><li>Algorithms</li><li>Applications to Aspect Based Sentiment Analysis</li><li>Related Datasets</li><li>Evaluation Metrics</li></ol><p>Language data is now everywhere on the Internet and it is not in an orderly manner. Think about the times when you are looking at tweets while you are scrolling through your feed or when you are looking at the reviews for the tech gear you want to buy for some time. They are usually full of punctuation errors. Even we humans sometimes have a hard time understanding where a sentence ends and another one begins while reading this type of content. Another example can be given from the “SEO-based” news articles, while the majority of the content is like “Find about that news more in …”, “This is talked about on the Internet a lot and ..”, what you want to find is only a sentence long. There is a solution for each of these problems. Text segmentation solves these problems by extracting an important subset of the content.</p><p><strong>Text segmentation</strong> is the task of extracting relevant sub-units like words, phrases, sentences, and paragraphs from texts which can be utilized for many tasks. These<strong> </strong>tasks include:</p><ul><li>Word Segmentation</li><li>Sentence Boundary Detection</li><li>Text Summarization</li><li>Sentiment Analysis</li></ul><p>An important point of <strong>view when looking at the text segmentation task is that it is a sequence labeling task</strong>. The reason for that is when you look at other sequence labeling models, you will see that the labeling is carried through selecting a set of words that gives semantic information such as the type of object which token refers to or what kind of a phrase it is. From that point of view, considering a text with misused punctuations, a semantically dense part of a paragraph, or a subsentence in which there is a sentiment assignment, it can be said that labeling a subsequence is the task of text segmentation. As we explained its applications in text analysis for obtaining fine-grained and semantically dense sub-units, we’ll be investigating this feature in detail to adapt an Aspect Based Sentiment Analysis.</p><h3>Background</h3><p>The research on text segmentation goes back to the ’90s. The literature on segmentation starts with rule-based models. The algorithms try to capture the segments via recurring patterns in texts. Then probabilistic models are used. These models usually rely on the concept of lexical cohesion. <strong>Lexical</strong> <strong>cohesion</strong> is the concept in which related words are often in a close window span. Since topic segmentation is relevant in these models we see Latent Dirichlet Allocation in these algorithms. These algorithms adopt this approach <strong>to extract</strong> the highest possible set of words.</p><p><strong>Popular Approaches in Early Work</strong>:</p><ol><li>TextTiling</li><li>C99</li><li>CVS</li><li>Bayesseg</li><li>PLDA</li><li>Bayesseg-MD</li><li>MultiSeg</li><li>BeamSeg</li></ol><p>These algorithms date back from 1997 until 2015. With the emerging use of neural networks, these algorithms have shifted towards neural models over time. With the idea of sequence labeling in mind, we see architectures such as CRF’s, RNN’s, Transformers, and even fine-tuned BERT models.</p><h3>How to Adapt Segmentation Algorithms On ABSA?</h3><p>Before we dive into different types of segmentation models, we need to talk about ABSA. There is scarce literature on the use of segmentation in ABSA literature. Therefore we need to adapt segmentation to this task as we discussed before. In Aspect Based Sentiment Analysis literature, there are 3 subtasks as</p><ol><li><strong>ATE (Aspect Term Extraction)</strong> is the task to identify the <strong>target term(s)</strong> which the sentiment expressed about</li><li><strong>ACE (Aspect Category Detection)</strong> is the task of identifying the <strong>target category/topic</strong> the sentiment expressed about. This is usually for <strong>commercial usage</strong>.</li><li><strong>APC(Aspect Polarity Classification)</strong> is the task <strong>to identify expressed sentiment (positive, negative, and neutral) about the target</strong> term or category</li></ol><p>The literature <strong>consists</strong> of two separate <strong>approaches</strong>, it either uses a joint model which carries ATE and APC at the same time <strong>or a linear combination of them (ATE then APC).</strong> In ATE and ACD, we utilize the knowledge of which topic the sentence is about. There we can use the topic segmentation literature for extracting the segments about the topic or we can use discourse segmentation to eliminate irrelevant sentences in data. <strong>These segmentation types will be explained later.</strong> In APC, however, we need sentiment-based segmentation.</p><h3>Sentence Boundary Detection</h3><p>These tasks are easy on the academic literature since the datasets are usually in an orderly manner, separated and labeled sentence by sentence. However real-life data is more complex than this. Since the human-generated data is full of mistakes it is a task itself to determine where a sentence ends and another one begins. Therefore we use Sentence Boundary Detection(SBD) in larger bodies of texts which contain multiple sentences. There are different types of SBD models for Chinese orthography or financial texts in literature but in real life, the majority of data is coming from social media.</p><p>Along with erroneous use of punctuations, we also see the use of punctuations such as “!!!” or “:)))” “ok…..” type of occurrences which cannot be dealt with regular expressions only. Although the majority of literature relies on rule-based algorithms as opposed to what we have discussed, some studies utilize architectures such as CRF, BiLSTM, BERT.</p><p>However, we cannot just rely on separating sentences for ABSA since there can be segments with no aspects or segments containing multiple aspects at once. Therefore we need segments that are filtered by relevancy or segments that are smaller than a sentence. This approach is referred to as Compositional Approach to Sentiment Analysis[2]. For example:</p><pre>I like the ambiance of this restaurant. However the food was not that good</pre><ul><li>In this example, we can see that two aspects are expressed as the ambiance and food quality. The spans where both aspect and sentiment are divided via sentence boundary.</li><li>There, we can say that the sentence boundary detection is helpful for aspect-based sentiment analysis and we will be separating it as below<strong>:</strong></li></ul><pre>&quot;I like the ambiance of this restaurant.&quot; <br>Aspect: ambiance<br>Polarity: positive<br>​<br>&quot;However the food was not that good&quot;<br>Aspect: food quality<br>Polarity: negative</pre><ul><li>However, if we encounter a sentence like:</li></ul><pre>I like the ambiance but the food was terrible.</pre><ul><li>There are two aspects expressed in one sentence. There is no sentence separator for them so how can we separate them?</li><li>There we must extract the sub-units that are smaller than sentences<strong>:</strong></li></ul><pre>&quot;I like the ambiance&quot; <br>Aspect: ambiance<br>Polarity: positive<br>​<br>&quot;but the food was terrible.&quot; <br>Aspect: food quality<br>Polarity: negative</pre><ul><li>This approach looks deeper and deeper into a body of text to find a unit that is composed of one aspect and one sentiment for the analysis. Mainly, a compositional approach to extract aspect-sentiment pairs.</li><li>To apply the compositional approach in ABSA, we need categorical information to process the texts. There we can use two main information sources of ABSA which are the aspect information and sentiment information. We will be investigating how extraction can be done regarding these two information sources.</li></ul><h3>Aspect Polarity Based Segmentation</h3><p>There are not many studies implementing this approach to ABSA. The focus of these studies is to extract the segment where the sentiment is assigned. These studies segment a body of text according to the polarity of sub-units. For example:</p><pre>[I don&#39;t know.] [I like the restaurant] [but not the food.]<br>    neutral             positive             negative</pre><p>These studies heavily rely on the <strong>syntactic structure of sentences</strong>. There are rule-based studies that use heuristic rules to extract sentiment information. Such as:</p><ol><li>If a “sentiment-denoting” adjective as good before a noun food, then the segment is good food or</li><li>If a “sentiment-denoting” verb as hate and objects as service and restaurant then the segment is I hate the service and restaurant</li></ol><p>Further deep learning studies use Recursive Neural Networks to extract this set of rules in an unsupervised manner. However, these studies do not give any promising results in the long term. Therefore we mainly rely on our third approach that extracts segments by the topics.</p><h3>Aspect Category Based Segmentation</h3><p>This is the most prominent literature for ABSA. As we discussed before, Aspect Category Detection is used to detect the category of the aspect(s) in which the sentiment is expressed. With this information, we want to extract segments that are coherent in terms of topic and discard the ones that are not. Two types of segmentation can be applied for this premise:</p><ol><li><strong>Topic Segmentation</strong> is the type of segmentation method to extract the topically coherent segments.</li><li><strong>Discourse Segmentation</strong> is the type of segmentation method to extract Elementary Discourse Units (EDU) and any other discourse units.</li></ol><p>Topic segmentation is traditionally used for the segmentation of a large body of text such as an article or a book chapter to extract the parts with distinguishable differences in a topic. These studies are in interaction with discourse segmentation units. This is because the discourse segmentation extracts “category-independent” segments with linguistic sub-units from texts. To further demonstrate this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*LJEwICsAjvhMVZjl9SPiPg.png" /><figcaption>SEGBOT Demo Output</figcaption></figure><ul><li>This is an output from the SEGBOT model which gives clause-like units that serve as building blocks for discourse parsing and topic segmentation.</li><li>There we have the elementary units to evaluate the aspect information and sentiment information.</li><li>You can further look at the demo from <a href="http://138.197.118.157:8000/segbot/">here</a>.</li></ul><p>The literature on this started with TextTilling (Hearst, 1997) and was followed by many probabilistic, heuristic, machine learning, and deep learning approaches. Following studies might pave your way for a better understanding of topic segmentation:</p><ol><li><strong>TextTiling</strong> is an unsupervised technique that makes use of patterns of lexical co-occurrence and distribution within texts.</li><li><strong>C99</strong> is a method for linear text segmentation, which replaces inter-sentence similarity by rank in a local context.</li><li><strong>TopSeg</strong> is based on probabilistic latent semantic analysis (PLSA) and exploits similarities in word meaning detected by PLSA.</li><li><strong>TopicTiling</strong> modifies TextTiling with topic IDs, obtained by an LDA model, instead of words.</li><li><strong>BiLSTM-CRF</strong> is a state-of-the-art neural architecture for sequence labeling. The sequence labeling approach to segmentation is implemented in this model.</li></ol><p>The later studies consist of deep learning approaches:</p><ol><li><strong>SEGBOT</strong> uses a bidirectional recurrent neural network to encode an input text sequence initially. Then uses another recurrent neural <strong>network</strong>, together with a pointer network, to select text boundaries in the input sequence.</li><li><strong>BiLSTM-CNN</strong> uses CNNs to learn sentence embeddings. Then the segments are predicted based on contextual information by the Attention-based BiLSTM model.</li></ol><p>There are several tools that we can utilize for our task, but how are we going to train our models<strong>?</strong> We provide the main datasets which are used in topic segmentation.</p><h3>Related Datasets</h3><p>These datasets are used for topic and discourse segmentation tasks. However, we imply that these datasets can be adapted to other segmentation tasks too. While the Choi dataset and Wiki-727K dataset are for topic segmentation, the RST-DT dataset is for discourse segmentation.</p><p><strong>Choi Dataset:</strong> The commonest dataset used in the training of a segmentation model. It consists of 700 documents, each being a concatenation of 10 segments. The corpus was generated by an automatic procedure. A segment of a document is the first n (s.t. 3 ≤ n ≤ 11, 4 subsets in total) sentences of a randomly selected document from the Brown corpus.</p><p><strong>The WIKI-727K Dataset</strong>: It is a collection of 727,746 English Wikipedia documents, and their hierarchical segmentation, as it appears in their table of contents.</p><p><strong>RST-DT Dataset</strong>: This dataset is used in discourse segmentation models. The Rhetorical Structure Theory Discourse Treebank (RST-DT) is a publicly available corpus, manually annotated with Elementary Discourse Unit (EDU) segmentation and discourse relations according to Rhetorical Structure Theory. The RST-DT corpus is partitioned into a training set of 347 articles (6,132 sentences) and a test set of 38 articles (991 sentences), both from the Wall Street Journal.</p><p>The links are <strong>here</strong>:</p><ul><li><a href="https://www.dropbox.com/sh/k3jh0fjbyr0gw0a/AADzAd9SDTrBnvs1qLCJY5cza?dl=0">Wiki-727K</a></li><li><a href="https://github.com/koomri/text-segmentation/tree/master/data/choi">Choi Dataset</a></li><li><a href="https://catalog.ldc.upenn.edu/LDC2002T07">RST-DT</a></li></ul><h3>Evaluation Metrics</h3><p>Standard evaluation metrics <strong>which we see in the machine learning literature a lot (Precision, Recall, and F-1 score) are not applicable in this task</strong>. Yet there is a body of literature in which we see these metrics in their evaluation sections.</p><p>Pk is the probability that when passing a sliding window of size k over sentences, the sentences at the boundaries of the window will be incorrectly classified as belonging to the same segment (or vice versa)<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ta4f8pI_2vARcpF5Cld0RA.png" /><figcaption>The Formula of the pk metric</figcaption></figure><p>Windowdiff moves a fixed-sized window across the text and penalizes the algorithm whenever the number of boundaries within the window does not match the true number of boundaries for that window of text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uACYDqV6VKhg2T1rKdeTQ.png" /><figcaption>The Formula of the windowdiff metric</figcaption></figure><p>The important knowledge for these <strong>formulas</strong> is that <strong>the accuracy is higher if pk and windowdiff scores are lower.</strong></p><h4>The glossary for the formulas:</h4><ul><li>Total span δ()</li><li>window size<em> k</em></li><li>total number of sentences <em>N</em></li><li>the number of reference boundaries in the window from <em>i</em> to<em> i+k</em>, and</li><li>the number of computed boundaries in the same window <em>C</em>.</li></ul><h3>Useful Links:</h3><ul><li><a href="https://github.com/koomri/text-segmentation">https://github.com/koomri/text-segmentation</a></li><li><a href="https://github.com/ldulcic/text-segmentation">https://github.com/ldulcic/text-segmentation</a></li><li><a href="https://github.com/pinkeshbadjatiya/neuralTextSegmentation">https://github.com/pinkeshbadjatiya/neuralTextSegmentation</a></li><li><a href="https://github.com/ReemHal/Semantic-Text-Segmentation-with-Embeddings">https://github.com/ReemHal/Semantic-Text-Segmentation-with-Embeddings</a></li></ul><h3>References</h3><ol><li>Pak, Irina, and Phoey Lee Teh. “Text segmentation techniques: a critical review.” Innovative Computing, Optimization and Its Applications (2018): 167–181.</li><li>Kaur, J., &amp; Singh, J. (2019). Deep Neural Network Based Sentence Boundary Detection and End Marker Suggestion for Social Media Text. 2019 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS).doi:10.1109/icccis48478.2019.8974495</li><li>Du, Jinhua, Yan Huang, and Karo Moilanen. “AIG Investments. AI at the FinSBD task: Sentence boundary detection through sequence labeling and BERT fine-tuning.” Proceedings of the First Workshop on Financial Technology and Natural Language Processing. 2019.</li><li>C. R. Aydin and T. Güngör, “Combination of Recursive and Recurrent Neural Networks for Aspect-Based Sentiment Analysis Using Inter-Aspect Relations,” in IEEE Access, vol. 8, pp. 77820–77832, 2020,</li><li>Kayaalp, Naime F., et al. “Extracting customer opinions associated with an aspect by using a heuristic-based sentence segmentation approach.” International Journal of Business Information Systems 26.2 (2017): 236–260.</li><li>J. Li, B. Chiu, S. Shang, and L. Shao, “Neural Text Segmentation and Its Application to Sentiment Analysis,” in IEEE Transactions on Knowledge and Data Engineering.</li><li>Badjatiya, Pinkesh, et al. “Attention-based neural text segmentation.” European Conference on Information Retrieval. Springer, Cham, 2018.</li><li>Pevzner, L., &amp; Hearst, M. A. (2002). A Critique and Improvement of an Evaluation Metric for Text Segmentation. Computational Linguistics, 28(1), 19–36.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb115f9ab4e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artiwise-nlp/text-segmentation-and-its-applications-to-aspect-based-sentiment-analysis-fb115f9ab4e9">Text Segmentation and Its Applications to Aspect Based Sentiment Analysis</a> was originally published in <a href="https://medium.com/artiwise-nlp">Artiwise NLP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Named Entity Recognition (NER)]]></title>
            <link>https://medium.com/artiwise-nlp/named-entity-recognition-ner-2c96e3e466d4?source=rss----c7495b2141e8---4</link>
            <guid isPermaLink="false">https://medium.com/p/2c96e3e466d4</guid>
            <category><![CDATA[named-entity-recognition]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sequence-tagging]]></category>
            <category><![CDATA[ner]]></category>
            <dc:creator><![CDATA[Sena Ravalı]]></dc:creator>
            <pubDate>Fri, 21 May 2021 06:54:08 GMT</pubDate>
            <atom:updated>2021-05-21T06:54:08.729Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial Intelligence is the technology that aims to make machines have intelligence like human beings. As an Artificial Intelligence task, Natural Language Processing (NLP) aims to process, understand, and analyze natural languages by machines. <a href="https://en.wikipedia.org/wiki/Natural_language"><strong>A natural language is any language that has evolved naturally in humans through use and repetition without conscious planning or premeditation</strong></a><strong>.</strong> Named Entity Recognition is a study of NLP, and we try to clarify it in this blog post. Hope you will like it!</p><p>Named Entity Recognition is the process of determining and categorizing entities in texts by machines. Entities fall into categories that are specially defined according to the task and maybe words or groups of words representing person, location, time, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*uFnD7479WFM_pFj5.png" /><figcaption>The NER model detects the entities in the text and classifies them into related categories.</figcaption></figure><p>As the NER model notices the entities, the system gets more information about the meaning of the text. Because being aware of what is talked about helps to understand the told. Systems have both intelligence and information. Therefore, they have the competence to give results.</p><p>A text-understanding system only can be in progress by Natural Language Processing. It is a system that learns the intelligence of understanding a natural language.</p><p>NER helps extract information in the texts as a study of NLP, and that study calls “Information Extraction”. Information Extraction aims to extract structured information from unstructured texts.</p><p><em>NER extracts information in two steps;</em></p><p><strong>1- Identifying the Entities</strong></p><p>Artificial Intelligence works by two important complementary: Programming and Training Data. NER models need to learn “which words are relevant and how to categorize them” by familiarizing many different texts to notice entities in any text. In this way, the NER model learns what the entities’ points are in texts.</p><p><strong>2- Categorizing the Entities</strong></p><p>To categorize the entities, we have to specify the categories first. Categories can be;</p><p><strong><em>Person: </em></strong>E.g., Mustafa Kemal Atatürk, Nikola Tesla</p><p><strong><em>Organization: </em></strong>E.g., Artiwise, Google</p><p><strong><em>Location: </em></strong>E.g., İstanbul, Times Square</p><p><strong><em>Time:</em> </strong>E.g., Spring, 02.00 p.m.</p><p><strong><em>Institution:</em> </strong>E.g., the Institute of Architects, University of Oxford</p><p>It is important to specify the categories in view of your data and the information you want to extract. Considering that a NER model that only knows banking sector entities probably can not be familiar with healthcare.</p><p>After specifying the categories, related data should be marked up, and an algorithm should be trained. In this way, the NER model will be able to give results in the field of your wants.</p><p><em>As taking outputs from the NER model, you can;</em></p><ul><li>Classify data without reading</li><li>See any entity told in data in the field of predefined categories</li><li>Find related data easily</li></ul><p><strong>Challenges of NER</strong></p><p>Natural languages evolve naturally and unconsciously. Therefore, there may be complexities in texts to detect entities.</p><ul><li>Detecting a certain entity in a text which may contain another entity</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*qG8PeF8WpjQEQfDj.png" /><figcaption>“Istanbul Technical University” specifies a single entity, disregarding that “Istanbul” is another entity. NER model can understand the discourses in texts thanks to NLP and can handle nested entities, as well.</figcaption></figure><ul><li>Detecting correct types of entities that have a common lexicon with multiple entity types</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*Tjxe7uvM7vBBBJ8u.png" /><figcaption>The word which is marked as Institution is the University of Kocaeli, not Kocaeli as a city. NER models can extract types of entities from sentence structure.</figcaption></figure><ul><li>Detecting correct types of entities which include homonym phrases</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*1DLM2V2HpC1h8kyB.png" /><figcaption>“The band” in these sentences is not from the same entity type. NER models use Relation Extraction to detect entities from the overall meaning of the text.</figcaption></figure><p><strong>Fields of Usage</strong></p><p><strong><em>Newspapers</em></strong></p><p>NER can detect organizations, famous people, individuals, currency, etc., in the news. Search engines may not be functional, so if you need to find an entity in the news, you probably have to read them first, in case of homonyms, etc. NER finds the entities according to related categories; this means you can easily reach and list related news.</p><p><strong><em>Chatbots</em></strong></p><p>Chatbots generally work with rules and cannot satisfy needs at a high level. Chatbots with NER can understand what users talk about and generate answers accordingly. As you see what users talk about, you can shape your priorities and manage your processes efficiently.</p><p>Chatbots are treasury for extracting information about users because all data from chatbots are directly from users themselves. The conversation contains golden information about them; for this reason, it is vital to see and sense the content correctly. NER helps to extract information from chatbots and is enable to give that result.</p><p><strong><em>Machine Translation</em></strong></p><p>Detecting entities helps translate correctly because knowing a word’s meaning in another language helps complete translation. NER is used for not only proper names or specific entities but also synonyms, etc. For example, when a NER model notices a proper name, it should detect it and not translate it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*2UlDR1-Jp-y5eveB.png" /><figcaption>The NER model perceived that “Mustafa Kemal Atatürk” is a proper name and did not translate it.</figcaption></figure><p>To detect entities correctly, a NER model should notice all the words of the entity. Therefore, it should specify the beginning and ending words, as well. In this example, the BILOU format is viewed, but there are different data labeling formats.</p><p>B — Indicates the first word of the entity.</p><p>I — Indicates that the name of the entity continues.</p><p>L — Indicates the last word of the entity.</p><p>O — Indicates asset words that don’t belong to any category.</p><p>U — Indicates one-word entity names.</p><p>Google Translate is a good example of machine translation; it can be used whenever wanted, and one can get instant results. Machine translation can also be seen on YouTube, like subtitles in different languages: At first, AI senses the spoken language and what is spoken and translates it to needed language.</p><p><strong><em>Health Care</em></strong></p><p>By using test results from the laboratory as train data, AI can make sense of the results. NER models are facilitators for speeding up the identification, analysis, and healing of health problems. We can say that NER usage for tagging entities and extracting relations is necessary for biomedical knowledge extraction.</p><p><strong><em>CRM &amp; ERM</em></strong></p><p>The ability to detect entities told in data to process texts in real-time helps speed up and shape processes efficiently. NER models can analyze customers’ or employees’ comments and give results according to data and defined entities. By this means, managers can take action faster according to the needs.</p><p>Chatbots with NER have an important ability to notice the entities in messages. In this way, they signalize what is told in messages, answer questions in accordance with the real questions and bring managers to a conclusion in the field of needs and wants.</p><p><strong><em>Academia / Literature</em></strong></p><p>There can be hundreds of papers on a single topic, and as a human being, it isn&#39;t easy to find certain information in that much data. NER is the best option to categorize and structure data because classifying papers according to included entities makes it easy to find certain information in the literature.</p><p><strong>NER with Artiwise</strong></p><p><strong><em>News</em></strong></p><p>Artiwise can detect entities in the news such as famous people, football teams, cities, etc. In this way, you can collate related news, which includes the entity you concern with, and list them easily.</p><p>Traditional search engines can not find a certain word as you need because a certain word may have different meanings, therefore, may refer to different entities. Artiwise helps you to reach the one you need by artificial intelligence.</p><p><strong><em>Chatbots</em></strong></p><p>Chatbots are digital assistants that communicate with real users in texts. Artiwise Analytics can instantly classify each comment from chatbot data and tag the related sentiment. As you can quickly identify the messages, you can shape your priorities without losing time.</p><p><em>Thanks to NER, it can be ensured that;</em></p><ul><li>Detecting the parameters that can be requested from the users</li><li>Asking questions if necessary</li><li>Extracting needed parameters from the natural language input entered by the users</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c96e3e466d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artiwise-nlp/named-entity-recognition-ner-2c96e3e466d4">Named Entity Recognition (NER)</a> was originally published in <a href="https://medium.com/artiwise-nlp">Artiwise NLP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sentiment Analysis, Use Cases and Challenges]]></title>
            <link>https://medium.com/artiwise-nlp/sentiment-analysis-use-cases-and-challenges-4ed99e26b98b?source=rss----c7495b2141e8---4</link>
            <guid isPermaLink="false">https://medium.com/p/4ed99e26b98b</guid>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[aspect-based]]></category>
            <category><![CDATA[text-sentiment-analysis]]></category>
            <category><![CDATA[emotion-analysis]]></category>
            <category><![CDATA[customer-sentiments]]></category>
            <dc:creator><![CDATA[Esraderici]]></dc:creator>
            <pubDate>Wed, 02 Sep 2020 12:09:26 GMT</pubDate>
            <atom:updated>2020-09-02T12:09:26.151Z</atom:updated>
            <content:encoded><![CDATA[<p>With the rapid growth of the web and social media, access to customer reviews is much faster and easier than ever. Customer-generated content such as product reviews, social media posts, forums, blog posts, surveys, or chatbot data is just like a gold mine to reach customer opinions on products and services.</p><p>Many companies seek for scalable and cost-effective solutions to collect the gold mine in one channel and to analyze it. Sentiment analysis helps companies to generate fast, conscious, and strategic more informed marketing and development decisions.</p><p><em>In this article, we will provide a general view on sentiment analysis methods, common uses, and difficulties encountered in this analysis.</em></p><p><strong>What is Sentiment Analysis, How Does It Work?</strong></p><p>Sentiment analysis is a text analysis operation that focuses on analyzing and processing emotions on a text to extract the sentiment class. Sentiment analysis helps companies to understand how their products or services observed from the view of customers. This is generally achieved through the analysis of written or verbal feedback. Sentiment analysis helps companies in processing online dialogs and feedbacks on products, brands, or services to follow the insights of customers. There are several approaches to determine the type of sentiment that feedback contains.</p><p><strong>Manual Operation</strong></p><p>Human review is important especially for cases like understanding context, resolving ambiguity, or understanding irony. The language contains the history of society and keeps developing itself with new events in that society. Therefore, interpreting the meaning of a text that can change concerning context can only be done by a conscious mind. This situation makes usage of human annotators necessary in cases where the computer algorithms are weak. However, as can be expected, it leads to costly and sometimes inconsistent solutions. On top of that considering the rapid growth on the amount of textual data makes manual evaluation of data impossible.</p><p><strong>Keyword Processing</strong></p><p>Keyword processing can be considered as a sentiment analysis part of rule-based algorithms on NLP. Specific keywords are tagged with sentiment scores and those scores are considered to evaluate overall scores of longer texts. The overall sentiment score of a text is obtained by the weighted sum of sentiment scores of its keywords. This score leads to a sentiment class for the text. There are different approaches to deciding sentiment scores. For example, assigning human specialists to assign points is one of those approaches, however, this approach might lead to subjective judgments. Another approach is to keep counts or probabilities of keywords in texts. This approach will reveal more consistent results. There can be many other approaches for this task, in any of these approaches considering the context of keywords is the key. Otherwise, there will be certain mistakes in classification. For example, interpreting the term “high” without context may lead to inaccurate evaluations:</p><ul><li>My energy is so high that no one can upset my mood!</li><li>The dollar rate closed this year too high, causing a decline on the day of purchase!</li></ul><p><strong>Natural Language Processing: (NLP)</strong></p><p>NLP uses context, relations, and patterns to analyze text and extract sentiment values. NLP makes use of machine learning algorithms which include morpho-syntactic and semantic processing steps. These algorithms use given datasets and train a classifier model. The aim is to build a probabilistic model that will make use of features of the language, capture the context of the text, and interpret those to generalize its predictions. This pipeline will automatize the learning of language and task-dependent properties.</p><p><a href="https://www.artiwise.com/artiwise-analytics/">Artiwise Analytics</a> uses machine learning and deep learning algorithms to process textual data and extract aspect-based sentiment classes instantly.</p><p><strong>Types of Sentiment Analysis</strong></p><p>Sentiment analysis can be initially defined as classifying a text as positive, negative, or neutral. However, in detail, it has different branches for different use cases. For example, while simply classifying a text into one of the 3 sentiment classes is enough for some cases, in some others it will be necessary to assign different sentiments into different parts of the same text. Considering different use cases of sentiment analysis, the most popular approaches in this field can be listed as follows:</p><p><strong>Objectivity/Subjectivity Analysis:</strong></p><p>Whether the text includes a subjective judgment or not is the first question to ask on a sentiment analysis task. The text might be objective, in which case there is no sentiment to evaluate. Objectivity/subjectivity analysis determines if there are subjective judgments in the text or not. It does not focus on the type of sentiment, but it focuses on the existence of subjective expression.</p><p><strong>General Sentiment Analysis</strong></p><p>General Sentiment analysis allows a single sentiment assignment to a given text. This approach used to be very popular, yet it lost reputation after observation of inaccurate/insufficient results on analyses done using this approach. This approach overlooks the fact that documents may contain more than one sentiment scores inside.</p><p><strong>Aspect-Based Sentiment Analysis</strong></p><p>Aspect-based sentiment analysis assigns sentiment values to features or subjects in a text. It extracts different topics covered in a text and assigns sentiment values to each of these topics.</p><p>Aspect based sentiment analysis is the best approach for customer experience-oriented projects. It gives detailed information on which parts of your product do the customers use and on which parts they have satisfaction/dissatisfaction.</p><p>For example, I am pleased that the car has been delivered fast, but it would be great if you had not forgotten the brake disks.</p><p>This sentence includes multiple topics and multiple sentiment values. Therefore, if we only assign a sentiment score to the whole text, we will definitely loose information. Aspect-based sentiment analysis overcomes this problem and assigns following sentiment values to parts of this text:</p><blockquote><strong><em>1. Text:</em></strong><em> I am pleased that the car has been delivered fast Subject: Delivery </em><strong><em>Sentiment</em></strong><em>: Positive</em></blockquote><blockquote><strong><em>2. Text: </em></strong><em>but it would be great if you had not forgotten the brake disks.</em></blockquote><blockquote><em>Subject: Spare Parts </em><strong><em>Sentiment</em></strong><em>: Negative</em></blockquote><p><strong>Fine-grained Sentiment Analysis:</strong></p><p>Defines positive, neutral, or negative poles of documents including surveys and social media comments. It can give results both on the document base or aspect base. It defines local polarities and compares those internally to generate a global polarity score for each part. This enables classifying a positive comment as positive while classifying another positive comment as “very positive”. This kind of classification helps to detect edge cases.</p><p><strong>Emotion Detection</strong></p><p>This type of sentiment analysis covers more detailed sentiment types. It does not use standard types as positive, neutral, or negative; It uses classes like happiness, sadness, anger, disappointment, etc. Systems with emotion detection algorithms do not only analyze customer opinions as positive or negative, in addition to that, but they also analyze the mood of the customer and take actions considering the customers’ psychological state.</p><p><strong>Use Cases and the Importance of Sentiment Analysis</strong></p><p>By using the possibility to detect the polarity of user-defined assets and concepts, sentiment analysis provides a flexible tool for every scenario for consumers. It tracks whether the processed text is subjective or objective; also it looks for if the text has contained traces of irony on a global level. By doing that the sentiment analysis gives the user additional information about the reliability of the polarity obtained from emotion analysis. It can be implied easily customer voice, social media, chatbot, and survey data, which are the main source of real feelings and opinions because of their direct and spontaneous specialties. Scientific researchers, political parties, election periods to PR celebrities who want to follow public perception are the most current examples of using areas. Sentiment analysis gets much more powerful when used for the voice of the customer and voice of the employee. Business analysts, product managers, customer support teams, human resources, and workforce analysts and other stakeholders use emotion analysis to understand how customers and employees feel and why they feel about certain issues.</p><p><strong>Social Media Monitoring</strong></p><p>In the age of social media, a single viral review can burn the entire brand. With Artiwise Analytics, you can automatically analyze customer feedback from survey responses to social media conversations, get tips on what matters most from the perspective of users, empathize with your users and adapt your products or services to meet their needs.</p><p><strong>Customer Voice</strong></p><p>The emotional analysis helps workforce analysts and Human Resources (HR) managers listen to employee confusion at its source, understanding what employees are discussing and how they feel. HR teams use emotion analysis to proactively address painful points and increase morale through rich analysis of employee surveys, team messages, emails, and other communications.</p><p><strong>Customer Feedback — NPS (Net Promoter Score)</strong></p><p>NPS surveys are the most commonly used methods for getting an answer, feedback for basics questions like “Would you recommend this company, product, and/or service to a friend or competitors?” These kinds of surveys mostly use point scoring systems. With those points, companies classify customers in their part; promoter, natural, and detractor. These definition references are intended to identify the overall customer experience and find ways to theoretically upgrade to the full supporter that means a level where they will buy more, stay longer, or steer other customers. Quantitative survey data is easily collected and evaluated, but the next question in NPS surveys ask the reason for the score they gave customers. This triggers a series of open-ended responses that are much more difficult to analyze. However, sensitivity analysis allows these texts to be classified as positive and negative, giving more information about why customers give these scores.</p><p>Real-time sentiment analysis tools are driving forces on improving customer satisfaction. Analysts extract useful information by inspecting social media comments or news data on different scales. Customer support directors and social media leaders cover questionable cases before they go viral and lead these cases to product managers.</p><p><strong>Difficulties in Sentiment Analysis</strong></p><p>Machine learning/deep learning-based sentiment analysis approaches depend on the usage of big data. Therefore, a sufficient amount of data needed to build such a sentiment analysis system It is inevitable for the model to make an erroneous evaluation when there is not enough data to keep the system alive or when the system is not kept up to date. The sentiment value of a text can be influenced by features of the text.</p><p>In the piece of text, emotion analysis is influenced by the object, attribute, visionary, orientation and vision power elements.</p><blockquote><em>For example; Telephone, Computer</em></blockquote><blockquote><em>Attribute: specific components and features of the object</em></blockquote><blockquote><em>Component example; touch screen</em></blockquote><blockquote><em>Feature example; size, processor speed</em></blockquote><blockquote><em>Person Opinion: Person/organization expressing emotion</em></blockquote><p>To get complete, accurate and actionable output from a text, it is important to understand each of these five elements separately, but also how they work together to provide full context and feel.</p><p>Keyword processing usually depends on the sentiment of a single word; therefore, it fails to capture features of a text which affect the sentiment type.</p><p>NLP uses data analysis, machine learning, and deep learning technologies to overcome difficulties like language conveys. Grammatical nuances, misspellings, uncertainty, and regional differences can be listed as examples of these difficulties. Sometimes words can be used in ironic statements and the sentence means just the opposite of what you read. And in most cases, it is impossible to extract the true meaning without context knowledge. Dealing with this kind of sarcastic statement is one of the hardest problems in analyzing sentiment of a text along with cases like followings: Usage of contradicting words in a sentence, difficulty of extraction entities, referential ambiguities, etc…</p><p><strong>How Does Artiwise Analytics Process Sentiment?</strong></p><p><a href="https://www.artiwise.com/artiwise-analytics/">Artiwise Analytics</a> real-time categorizes user-centered data using powerful machine learning/ deep learning algorithms and emotion detection using three sentiment classes. Data classified as positive, neutral, and negative sentiment scores makes it easy to create and interpret deep insight into customer opinions with various data charts on the report screens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yoMjGOxPqyrENj7I.png" /></figure><p><a href="https://www.artiwise.com/artiwise-analytics/">Artiwise Analytics</a> helps to process big data with minimum latency, minimum cost, maximum accuracy, and maximum consistency. Instantly categorized data can be very useful to detect which topics need attention or improvement:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RH8bPr_r5ARMZHV4.png" /></figure><p><strong>Decide</strong></p><p>Different sentiment scores can help you determine ways to re-organize teams or to create original strategies.</p><p><strong>Be One Step Ahead on Competition</strong></p><p>There are strategic advantages to know how customers feel about rival companies. Sentiment analysis helps to foresee customer tendencies. And this will provide you a control data for comparing your company with others.</p><p><strong>Manage Product Lifecycle</strong></p><p>Sentiment analysis gives insight into how successful your product on the market, which parts of it should be improved, and which features worth investment.</p><p><strong>Expand Customer Experience</strong></p><p>Sentiment analysis provides a certain opportunity to understand customer focus, to fix issues customers detected, and to put more resources behind strong aspects of your product.</p><p><strong>Get Personalized Notifications</strong></p><p>Be notified about negative comments on your product before it turns into a crisis. Customers give feedback mostly on social media, get detailed information.</p><p><strong>Empathize with Your Customer</strong></p><p>Learn how your customers feel about your product or service. Take the customer experience to the top!</p><p>Artiwise Analytics is created with modern machine learning algorithms. It uses aspect-based sentiment analysis and extracts sentiment values for each topic in a text. It supports sentiment analysis in <strong>6 different languages</strong>: Turkish, English, Arabic, German, French, and Spanish.</p><p><em>Apply </em><a href="https://www.artiwise.com/artiwise-analytics-talep-formu/"><em>here</em></a><em> for a demo session on Artiwise Analytics.</em></p><p><em>Originally published at </em><a href="https://www.artiwise.com/en/2020/08/14/sentiment-analysis-use-cases-and-challenges/"><em>https://www.artiwise.com</em></a><em> on Aug 14, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ed99e26b98b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artiwise-nlp/sentiment-analysis-use-cases-and-challenges-4ed99e26b98b">Sentiment Analysis, Use Cases and Challenges</a> was originally published in <a href="https://medium.com/artiwise-nlp">Artiwise NLP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>