Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cognitive Computing with IBM Watson

You're reading from   Cognitive Computing with IBM Watson Build smart applications using artificial intelligence as a service

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781788478298
Length 256 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Tanmay Bakshi Tanmay Bakshi
Author Profile Icon Tanmay Bakshi
Tanmay Bakshi
Robert High Robert High
Author Profile Icon Robert High
Robert High
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Background, Transition, and the Future of Computing FREE CHAPTER 2. Can Machines Converse Like Humans? 3. Computer Vision 4. This Is How Computers Speak 5. Expecting Empathy from Dumb Computers 6. Language - How Watson Deals with NL 7. Structuring Unstructured Content Through Watson 8. Putting It All Together with Watson 9. Future - Cognitive Computing and You 10. Another Book You May Enjoy

Introducing the NLU service


Let's begin with a basic look at the NLU service and interface.

Like other Watson services, you need to subscribe to the service. For development purposes, you can subscribe to the Lite plan for free. This comes with certain limitations, such as the amount of processing you can do in a given month, and you can only deploy a single custom model per Lite instance at a time (we'll cover customization later in the chapter), but that should be sufficient for most development purposes, and is certainly more than enough for what we cover in this chapter.

The NLU service uses the new IBM Identity and Access Manager approach to grant access to the service, so you should end up a with an apikey for your service credentials (rather than a username and password as you may have for other services).

You can begin with a simple program, such as this:

[Chp7-Program-1.py]

import json
from watson_developer_cloud import NaturalLanguageUnderstandingV1
from watson_developer_cloud.natural_language_understanding_v1...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image