Zerone Tech Team

Understanding how Natural Language Processing is done with IBM Watson and Stanford NLP

Blog Post created by Zerone Tech Team on Feb 15, 2018

Originally Published at:  Natural Language Processing with IBM Watson and Stanford NLP – For latest updates and trends subscribe Zerone Consulting… 

 

Understanding Natural Language with IBM Watson

IBM Watson is one of the most prominent Natural Language Processing tools that supports information retrieval via question answering. Watson is guiding us with decision-making in literally any domain, such as weather, healthcare, insurance, banking, media and more. Let us see how IBM Watson works through an example.

We will analyze how Watson NLP works using the demo available on the IBM website.

  • Open the following URL in a browser

https://natural-language-understanding-demo.mybluemix.net/

  • Enter a sample text as shown in the following screenshot:

IBM Watson NLP Analysing Interface

  • Once you enter the text in the text box, click Analyze.
  • Click on the required parameter to get the corresponding results.

Currently, Watson provides text analysis against seven parameters as shown above – Sentiment, Emotion, Keywords, Entities, Categories, Concept, and Sematic roles. We are sharing two of the results for your reference:

Watson NLP Interface parameters

Watson NLP interface parameters detail

Natural Language Processing with Stanford NLP

Stanford NLP provides human language technology tools that can provide the base forms of words and their parts of speech. It can identify whether the words are names of companies or people. Stanford NLP is an integrated NLP toolkit with a wide range of grammatical analysis tools. It supports a number of human languages and supports high quality text analytics. Stanford can be run as a simple web service and APIs are available for most of the latest programming languages.

We will analyze how Stanford NLP works using the demo available on their website.

  • Open the following URL in a browser

http://corenlp.run/

  • Enter a sample text as shown in the following screenshot:

Stanford CoreNLP Interface

  • Once you select the required Annotations as well as the Language, and click Submit, Stanford NLP displays the corresponding results.

We are sharing two of the results for your reference.

Stanford NLP Parameters

Stanford CoreNLP Interface2

A Quick Comparison of IBM Watson and Stanford NLP

table

Note: Stanford’s Part-of-speech (POS) tagger and Co-reference resolution system are not available in IBM Watson.

Outcomes