Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
74 lines (38 loc) · 4.33 KB

File metadata and controls

74 lines (38 loc) · 4.33 KB

Short Title

Use advanced NLP and tone analysis to extract meaningful insights.

Long Title

Extract meaningful insights such as Categories, Concepts, Emotions, Entities, Keywords, Sentiments, Top Positive Sentences and Word Clouds from Natural Language text.

Author

URLs

Github repo

Video Link

Summary

In this code pattern, we learn how to extract insights from Natural Language text, such as Category, Concepts, Emotion, Entities, Keywords, Sentiment, Top Positive Sentences and Word Clouds using Watson Natural Language Understanding and Tone Analyzer.

Technologies

  • Python: An open-source interpreted high-level programming language for general-purpose programming.

  • Object Storage: Store large amounts of data in a highly scalable manner.

Description

Natural Language Understanding includes a set of text analytics features that can be used to extract meanings from unstructured data such as a text file. Tone Analyzer on the other hand understand emotions and communication styles in a text. We combine the capabilities of both the services to extract meaningful insights in the form of NLU Analysis Report from a natural language transcript generated by transcribing IBM earnings call Q1 2019 meeting video recording. The report will consists of sentiment analysis of the meeting, top positive sentences spoken in the meeting and word clouds based on keywords, using Python Flask runtime.

Refer this link for complete details of the series: https://developer.ibm.com/articles/text-mining-and-analysis-from-webex-recordings

Flow

architecture

  1. The transcribed text from the previous code pattern of the series is retrived from Cloud Object Storage.

  2. Watson Natural Language Understanding and Watson Tone Analyzer is used to extract insights from the text.

  3. The response from Natural Language Understanding and Watson Tone Analyzer is analyzed by the application and a Report is generated.

  4. User can download the Report which consists of the textual insights.

Instructions

Find the detailed steps in the README file.

  1. Clone the repo

  2. Create Watson Services

  3. Add the Credentials to the Application

  4. Deploy the Application

  5. Run the Application

Components and services

  • Natural Language Understanding: Use advanced NLP to analyze text and extract meta-data from content such as concepts, entities, keywords, categories, sentiment, emotion, relations, and semantic roles. Apply custom annotation models developed using Watson Knowledge Studio to identify industry/domain specific entities and relations in unstructured text with Watson NLU.

  • Tone Analyzer: People show various tones, such as joy, sadness, anger, and agreeableness, in daily communications. Such tones can impact the effectiveness of communication in different contexts. Tone Analyzer leverages cognitive linguistic analysis to identify a variety of tones at both the sentence and document level. This insight can then used to refine and improve communications. It detects three types of tones, including emotion (anger, disgust, fear, joy and sadness), social propensities (openness, conscientiousness, extroversion, agreeableness, and emotional range), and language styles (analytical, confident and tentative) from text.

  • Object Storage: IBM Cloud Object Storage is a highly scalable cloud storage service, designed for high durability, resiliency and security. Store, manage and access your data via our self-service portal and RESTful APIs. Connect applications directly to Cloud Object Storage use other IBM Cloud Services with your data.