Context is key

Context is key

Problem being addressed

With the sheer amount of reviews and other opinions over the Internet​,​ there is a need for automating the process of extracting relevant information. For machines​,​ however​,​ measuring sentiment is not an easy task​,​ because natural language is highly ambiguous at all levels​,​ and thus difficult to process.

Solution

A simple yet effective method for sentiment analysis using contextual embeddings and a self-attention mechanism. Leveraging contextual embeddings enables to convey a word meaning depending on the context it occurs in. The approach shows that attention-based models are suitable for other NLP tasks, such as learning distributed representations and sentiment analysis, and thus are able to improve the overall accuracy.

Advantages of this solution

The proposed sentiment classification model is language independent, which is especially useful for low-resource languages (e.g. Polish). The approach is comparable to the best performing sentiment classification models; and, importantly, in two cases yields significant improvements over the state of the art.

Solution originally applied in these industries

marketing

Marketing

Possible New Application of the Work

/static/media/finance.6c751434.png

Financial Sector

With an explosion of digital information, social media interactions, and news highlights, it becomes cumbersome for banks to make informed decisions. NLP techniques overcome this limitation by classifying relevant news, articles, and comments to provide a real-time sentiment score. It enables banks to formulate well-informed investment strategies by extracting the risk signals out of market interactions.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAQAAABecRxxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfjChwKNDcCe+AkAAAcJElEQVR42u3daYAU1bnG8Wd6EER2FFHZJCDjhgtGAXFjIoqJRkWvGhPB3eQmEWPiFhMlN8E1MSHGeI1i3BMjJmrcUFFUVPCqiUB0QAUFUUCRfRGY6fthYBgYej+n3q46/19/YGuq3rf61DPV3VWnJAAAAAAAAAAAkEwV1gXESk/tqZ1UKWmxZmma1loXBElSC/VVL3VWS32hT/QffWhdEJKlQtUaqwVKb/ZYo2f0XbW1Li5o7fR9Pacvt3hl5usOHWFdGpLim5q2xQBr/Fiu0WpvXWKQOuo6rcjyykzVcdYlIu520RNZhtjGxyc6wbrQ4AzT/Dxem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bfzZfwfVaEfr2gB4tUC7a8nGPzSeFXixLlDaujoAHqV1/qbdX1u8669RBw2wrhCANzfp5sZ/3PL0n+aapAOtawTgxRQdqnWN/6Lp+X876xX1tK4TgHOzNGjLOUCb3hnoUw3RAutKATj2ub7edArgrd0a7AMdq8XW1QJw6AsN3dr8n1u/N+AbOkRzrSsG4MinGqw3t/YPma8B7KGntbt13QBK9o6GZvqBnvnuwB+pvx60rhxAif6hQZmP57PdHnyZTtMIrbauH0CRvtRFGtb4xJ8t5br85209qr7qYd0HgIK9qOP1z+xPSeVcyHQdrjO10LoXAAVYoOEarP/kelq+E4G10rm6VLtYdwUgp4W6VTdpWT5PLWQmwJY6W+dpX+vuAGT0L92hO7Um36cXPhVoXw3XMH3Fuk8Am/lAD+teTS/sPxU7F/CuqtZg7a0qtbTuGwjYKs3UdD2v5/VRMf+91MnAK9RdPdVerdVa7ay3BRCIJVqhFVqq2ZrDHB4AAAAAAAAAAGBr/h+Ea3UokWQcCwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMC0yOFQxMDo1Mjo1NSswMDowMOQvlQsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTAtMjhUMTA6NTI6NTUrMDA6MDCVci23AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==

Media

Social sentiment analysis is the use of natural language processing to analyze social conversations online and determine deeper context as they apply to a topic, brand or theme. The net sentiment score and brand passion index show how users feel about a certain brand and how it compares across competitors, and using the context in this analysis will significantly improve its accuracy.

Author of original research described in this blitzcard:

question-mark-icon

Name of the author who conducted the original research that this blitzcard is based on.

Source URL: #############check-icon


search-iconBrowse all blitzcards