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.
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.
28 Sep 2018
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.
14 Sep 2018
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.
07 Sep 2018
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.
31 Aug 2018
Ulster University Professor Michael McTear breaks down the intelligent agent field in terms of type, technology, and functionality in this clip from SpeechTEK 2018.
24 Aug 2018
Despite in-depth online intelligence, many companies are still struggling to engage with customers. Can call analytics help?
11 Jul 2018
Amazon Connect General Manager Pasquale DeMaio demos Amazon Connect AI-driven Lex chatbot in this clip from his keynote at SpeechTEK 2018.
06 Jul 2018
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.
29 Jun 2018
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.
22 Jun 2018
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.
15 Jun 2018
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.
08 Jun 2018
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.
18 May 2018