-->

Video: Rules-Based Chatbot Design, Part 1: Syntactical and Semantical Analysis

Learn more about chatbot design at the next SpeechTEK conference.

Read the complete transcript of this clip:

Andreas Volmer: What is the basis for this chatbot? One basis we already mentioned is the ontology: a robust language model with synonyms for every single word. If you train the system for one word, it automatically will pick up all the known synonyms for this word in this particular language. And you can train the system with a certain food item by saying, “I don't just want this food item, but these rules are matched with other generalizations of this.” If I work with a simple phrase that says "turkey,” but is really supposed to apply to all poultry, then this is very easy to do. It drastically reduces the number of training phrases or phrases to consider because of the inherent language understanding the system already comes equipped with.

Another really important element is syntactical analysis and semantical analysis. This example, "I want to cash my check," is obviously different intent from "I want to check my cash.” If you just had a pure keyword-spawning approach, it would be really hard to distinguish these, so what you really need to see are not only the recognition of these words, but also an understanding of what function they have in the sentence and what we call the governance relationship between them is. In the first place, "cash" is a verb and it governs the noun "check" and in the second phrase, "check" is a verb and governs the noun "cash.”

So you need to be able to distinguish those. Other examples: "Where can I check in online?" Another one: "I want a large pizza and medium Coke." Again, you need to have the governance relationships "large" is governed by "pizza," "medium" is governed by "Coke.” So these are just concepts that need to be available when creating these rules, these semantic and syntactical rules to extract information and also to identify intents.

Another thing that's almost a no-brainer these days so you need to have abilities to recognize typical data types. The ,ost difficult one, typically, is dates and times. "Let's meet tomorrow at 2:00 PM.” “Do we have an open slot on 3/7 at noon?” “I'll be available two hours from now." All of this needs to be easily picked up, identified as a date or time, and matched to some form of representation that the application then can work with.

SpeechTek Covers
Free
for qualified subscribers
Subscribe Now Current Issue Past Issues
Related Articles

Best Practices for Active Listening in ASR (Video)

SpeakEasy AI CEO Frank Schneider offers essential tips on using AI and active listening to enhance automatic speech recognition in this clip from SpeechTEK 2018.

How Intelligent Agents Leverage NLU, Intents, and Entities (Video)

Ulster University Professor Michael McTear discusses how contemporary natural language-based intelligent agents use intents and entities rather than traditional parse trees in this clip from SpeechTEK 2018.

Guidelines for Designing Chatbots (Video)

Ulster University Professor Michael McTear identifies key resources for chatbot design best practices as well as tools and frameworks for building voice-user interfaces in this clip from SpeechTEK 2018.

How Users Interact with Different Types of Intelligent Agents (Video)

Ulster University Professor Michael McTear discusses how interactions differ with different intelligent agents, from one-shot dialogue to system-directed dialogue and mixed-initiative in this clip from his presentation at SpeechTech 2018.

The Three Types of Intelligent Agents (Video)

Ulster University Professor Michael McTear breaks down the intelligent agent field in terms of type, technology, and functionality in this clip from SpeechTEK 2018.

Speech Analytics Will Cure Your Call DNA

Despite in-depth online intelligence, many companies are still struggling to engage with customers. Can call analytics help?

Video: How Amazon Connect Leverages AI in the Contact Center

Amazon Connect General Manager Pasquale DeMaio demos Amazon Connect AI-driven Lex chatbot in this clip from his keynote at SpeechTEK 2018.

Video: How Do You Build Engaging Contact Center Experiences?

AWS Head of Product, Language Tech Vikram Anzabhagan outlines 4 essential strategies for leveraging technology to make contact center interactions more personal, conversational, agile, and engaging in this clip from his SpeechTEK 2018 keynote.

Video: How Hardware Advances Have Transformed NLP

O'Reilly Media's Paco Nathan discusses the explosive growth in CPUs and GPUs that have opened new vistas for natural-language processing applications and rendered old approaches obsolete in this clip from his SpeechTEK 2018 keynote.

Video: What Can NLP Do for Your Converted Text?

Paco Nathan of O'Reilly Media's R & D Group discusses the benefits of natural-language processing (NLP) when working with text converted from video in this clip from his SpeechTEK 2018 keynote.

Video: How to Improve UX and User Rating for Your Alexa Skill

Witlingo Product Manager Navya Nayaki Yelloji discusses the successful product development and QA strategy Witlingo created for its Motley Fool Alexa Skill in this presentation from SpeechTEK 2018.

Video: Are Chatbots Here to Stay?

You can hardly visit a company website without a chatbot popping up to offer you help these days. But these days, chatbots are helping with everything from mental health to identifying possible online predators. Is this trend here to stay? We asked Michael McTear, Allyson Boudousquie, Debra Cancro, and Crispin Reedy at SpeechTEK 2018.