Welcome!

Apache Authors: Carmen Gonzalez, Liz McMillan, Elizabeth White, Pat Romanski, Christopher Harrold

Related Topics: @DXWorldExpo, Microsoft Cloud, Cognitive Computing , @CloudExpo, Apache, SDN Journal

@DXWorldExpo: Article

Sentiment Analytics in SQL Server

Semantic search builds upon the existing full-text search feature in SQL Server,

Sentiment analytics is an emerging technology enabler for enterprises to extract the sentiments, opinions and emotions from their Big Data sources, so that enterprises can predict the potential acceptance of their products and offerings. This goes a long way in defining the success of the enterprise. As mentioned in my earlier posts it's always better to explore the extensions from the existing investments so that the enterprises get the best out of their existing investments. In this context the following notes throw some light on how sentiment analytics can be performed with SQL Server databases.

Semantic Search in SQL Server
Semantic search builds upon the existing full-text search feature in SQL Server, but enables new scenarios that extend beyond keyword searches. While full-text search lets you query the words in a document, semantic search lets you query the meaning of the document. Solutions that are now possible include automatic tag extraction, related content discovery, and hierarchical navigation across similar content.

There are two major functionalities that are part of Semantic Search Features, which can help when doing Sentiment Analytics.

  • Finding the key phrases in a document, ‘semantickeyphrasetable' TSQL procedure works on a table that consists of Text columns analyses them and returns the key phrases found in the specific text column. This function also returns a score, which specifics the statistical significance of the key phrase within the document.
  • Finding the key phrases that makes two documents similar or related to one another, ‘semanticsimilaritydetailstable' TSQL procedure works on a source text column and a matched text column on a table and returns all the key phrases that are common between the two documents mentioned.

With the above functions we can extract the key phrases within the documents as well as find the matching documents for a document of interest.

Mapping Semantic Search with Sentiment Analytics
The following table explains the typical attributes of sentiment analytics tool and how SQL Server with Semantic Search feature can be fit to that purpose.

Sentiment Analytics Requirement

SQL Server Feature Mapping

Natural Language Processing

The full text indexing options that enables semantic search accepts the language as a parameter. As per the documentation most of the languages like German, English, French, Italian, and Russian  are supported.

Text Analytics

The above mentioned options like the extraction of key phrases together with the Full Text Search features provides a solid building block for Text Analytics.

Storage & Indexing

Both the Full Text and Semantic Search indexes are supported with the storage optimization and flexibilities provided by SQL Server in the form of file group and data file placement.

Transformation

The sentiment analytics is not a one-stop process. With the building blocks provided by Semantic Search, multiple iterations of the key phrases and their relevance ranking needs to be transformed to get the results. SQL server options like SSIS and / or TSQL transformation procedures can play a vital role here.

Analytical Models

The process of classifying sentiments require complex algorithms like ‘Naïve Bayes' which have been already supported by SSAS (SQL Server Analysis Services). With the tight integration between SSAS and SQL Server utilizing these pre built algorithms in to sentiment analytics is quite possible.

Performance / Scalability / Big Data

While Sentiment Analytics can be done without Big Data, generally social media, click stream feeds and other unstructured data been the source for sentiment analytics. Technologies like Polybase which provides seamless integration between Hadoop HDFS stored data with SQL server tables will be an easier choice for sentiment analytics.

Also time consuming process like text extraction, indexing have been optimized using scale up capabilities of SQL Server core engine.

Summary
Utilizing sentiment analytics to promote their marketing campaigns and to improve the product offering will be a key project in most of organizations. With the growth of unconventional data sources the integration of text analytics is also an important aspect. While there are other choices, SQL Server with the integration of other supporting products mentioned above can be an effective choice for performing sentiment analytics.

More Stories By Srinivasan Sundara Rajan

Highly passionate about utilizing Digital Technologies to enable next generation enterprise. Believes in enterprise transformation through the Natives (Cloud Native & Mobile Native).

IoT & Smart Cities Stories
Moroccanoil®, the global leader in oil-infused beauty, is thrilled to announce the NEW Moroccanoil Color Depositing Masks, a collection of dual-benefit hair masks that deposit pure pigments while providing the treatment benefits of a deep conditioning mask. The collection consists of seven curated shades for commitment-free, beautifully-colored hair that looks and feels healthy.
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
We all love the many benefits of natural plant oils, used as a deap treatment before shampooing, at home or at the beach, but is there an all-in-one solution for everyday intensive nutrition and modern styling?I am passionate about the benefits of natural extracts with tried-and-tested results, which I have used to develop my own brand (lemon for its acid ph, wheat germ for its fortifying action…). I wanted a product which combined caring and styling effects, and which could be used after shampo...
The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.