Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
AI Blueprints

You're reading from   AI Blueprints How to build and deploy AI business projects

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781788992879
Length 250 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Dr. Joshua Eckroth Dr. Joshua Eckroth
Author Profile Icon Dr. Joshua Eckroth
Dr. Joshua Eckroth
 Schoen Schoen
Author Profile Icon Schoen
Schoen
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. The AI Workflow 2. A Blueprint for Planning Cloud Infrastructure FREE CHAPTER 3. A Blueprint for Making Sense of Feedback 4. A Blueprint for Recommending Products and Services 5. A Blueprint for Detecting Your Logo in Social Media 6. A Blueprint for Discovering Trends and Recognizing Anomalies 7. A Blueprint for Understanding Queries and Generating Responses 8. Preparing for Your Future and Surviving the Hype Cycle Other Books You May Enjoy Index

Method – NLP + logic programming + NLG

Our method for building a natural language question-answering service is straightforward. Three primary components are involved, as shown in Figure 4. Our method will be as follows:

  • The user first provides the query in text or voice. If voice is used, we can make a request to the Google Cloud Speech-to-Text API (https://cloud.google.com/speech-to-text/) to get the text version of the speech.
  • Next, we need to figure out what the user is asking about. There are lots of ways to ask the same question, and we wish to support several different kinds of questions in both example domains. Also, a question may contain internal phrases, or entities, such as the name of a particular Pokémon, or the name of a college course. We will need to extract these entities while also figuring out what kind of question is being asked.
  • Once we have the question and entities, we then compose a new kind of query. Since we are using Prolog...
lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
AI Blueprints
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 €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon