WO2000055761A9 - Methods for creating and editing topics for virtual robots conversing in natural language - Google Patents
Methods for creating and editing topics for virtual robots conversing in natural languageInfo
- Publication number
- WO2000055761A9 WO2000055761A9 PCT/US2000/007083 US0007083W WO0055761A9 WO 2000055761 A9 WO2000055761 A9 WO 2000055761A9 US 0007083 W US0007083 W US 0007083W WO 0055761 A9 WO0055761 A9 WO 0055761A9
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- topic
- category
- word
- list
- user
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/232—Orthographic correction, e.g. spell checking or vowelisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
- G06F40/211—Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
- G06F40/35—Discourse or dialogue representation
Definitions
- Patent and Trademark Office is a microfiche appendix comprising source code of a present embodiment of the present invention. There are 13 frames contained in 1 page of microfiche.
- the present invention relates to automatic methods for creating and editing topics for virtual robots conversing with users in natural language.
- Virtual robots are generally software programs that interact and/or communicate with users (human, machine or otherwise) that take actions or make responses according to input from these users.
- a common use of such a BOT is as an interface to a web site wherein the administrator of that site has programmed the BOT to answer simple inquiries that are typically asked by visitors to the site.
- scripts i.e. programs that are written in a very high level language that closely resembles a human natural language. These scripts embody a certain amount of information concerning the site that the administrator desires the BOT to communicate to a user during a connection session. If a BOT is to be deployed in a publicly accessible way such as a web page or chat site, there is a need to test the BOT as thoroughly as possible to ensure that, as often as possible, it will produce an appropriate response to the inputs that it is likely to receive and the situations that it is likely to encounter.
- topic scripts comprise example statements that typify the topic in question and patterns that are matched against user input to determine if the topic is activated by the user input.
- the steps of one embodiment of the present invention comprise: for an example statement associated with said topic script; testing said example statement against patterns in the topic script to determine if said example statement activates said topic; for a word in an example statement not activating said topic: identifying zero or more pattern lists matching said word; choosing one action from among a group of actions comprising: keeping said word; and replacing said word with a pattern list; adding zero or more revised patterns to said topic script.
- the script author may create an entirely new topic script from scratch using the automated methods of the present invention.
- the author would create new example statements initially that embody the topic that the author seeks to address. These new example statements would then be applied to the automated methods of the present invention in order to create patterns in order to "cover" the example statements - i.e. insure that the topic being created would be activated upon the input of the example statement in question.
- the associated example statements may be run through existing priority topics to produce patterns that are more specific to the topic at hand.
- One advantage of the present invention is accuracy.
- the methods of the present invention help to debug topic scripts to ensure that the topics in question are in fact activated by the example statements associated with the topic.
- Another advantage of the present invention is speed.
- the methods of the present invention are automated and implemented in simple dialog boxes to aid the script author in editing existing topic scripts or create entirely new scripts.
- Yet another advantage is generality.
- the methods of the present invention help to produce topic scripts that answer questions broader than and/or synonymous to the literal example statements.
- Figure 1 depicts a suitable operating environment for the purposes of the present invention.
- Figure 2 depicts different operating environments for the purposes of the present invention wherein the connection a user is via an intranet or internet connection.
- FIG. 3 depicts yet another operating environment wherein the BOT processor is merely a client of another server, such as a chat room or virtual world server.
- Figure 4 expands the view of one embodiment of the runtime executive.
- Figure 5 expands the view of an embodiment of a robot object.
- Figure 6 describes the content of a category as embodied in a robot object.
- Figure 7 depicts one embodiment of an automated method for authoring topic scripts for virtual robots in accordance with the principles of the present invention.
- Figure 8 depicts an embodiment of an automated method for creating or editing patterns for topic scripts.
- Figure 9 depicts an embodiment of an automated method for selecting pattern lists for use in patterns for topic scripts.
- Figures 10 - 14 show screen shots of dialog boxes that are used to automate the authoring of topic scripts in accordance with the principles of the present invention.
- Figure 15 shows a script file containing a topic that was created using the present invention.
- FIG. 1 the operating environment of the present invention is depicted.
- the environment can be characterized generally into three partitions: front end 102; BOT processor 100; and back end 104.
- Front end 102 is generally the environment in which a human user 116 consults a virtual B OT interface 114 via a computer 112 that may be connected to the BOT processor via a communications link, such as through a server connected to the Internet or alternatively directly connected to BOT processor 100.
- a communications link such as through a server connected to the Internet or alternatively directly connected to BOT processor 100.
- human user 116 connects to a site whose interface of first impression is a virtual BOT interface 114.
- the advantage for the site developer is that human user 116 may have a help or information request that is easily handled via BOT interface 114.
- FAQs frequently Asked Questions
- virtual BOTs will become increasing popular.
- BOT interface 114 is an instantiation of a process that is spawned by BOT processor 100 via connection 110.
- BOT processor 100 itself may comprise connection 1-10; runtime executive process 106, compiler 107, and a set of BOT programs 108.
- runtime executive 106 executes an interaction routine that guides the discussion that occurs between user 116 and BOT processor 100.
- a two way communications dialogue occurs between user 116 and BOT processor 100 wherein user 116 may ask questions, make declarative statements and other normal communications patterns that humans typify.
- "communications" is to be very broadly interpreted.
- suitable communications could be in the form of written or spoken language, graphics, URL's or the like that may be passed to and from a user to an automatic interface program, such as the present invention.
- runtime executive 106 parses the statements and questions generated by the user and responds according to a set of BOT programs 108.
- BOT programs 108 are typically created at the back end 104 as a set of "scripts" that the BOT processor will tend to engage in with user 116.
- the site using BOT processor 100 is a site for a reseller of personal computers, then BOT processor 100 should be designed to handle questions and discussions concerning personal computers and their peripherals in general.
- the back end 104 will generate scripts that will guide the discussion concerning many computer-related topics.
- These script programs 108 are then compiled by compiler 107 and the compiled code is incorporated into runtime executive 106.
- This quality control is provided at back end 104 via feedback loop comprising a transcript of dialogues
- transcripts develop over the course of interacting with a user, the text of these transcripts are stored, together with the state of the runtime executive and backtrace of execution through the runtime executive code. This information forms the basis for accurately diagnosing the runtime executive and for debugging its performance. Such information may be stored electronically in a storage media or could be printed out in human readable form.
- Supervisor 122 analyzes the information at 118 and 120 with an eye towards optimizing the performance of the runtime executive.
- supervisor 122 could be another human, deciding if the semantics captured by the system needs to be upgraded in response to a dialog transcript that has occurred. If so, supervisor 122 could optionally invoke an editor 124 to edit the Gerbil programs that represent the semantic framework of the runtime executive. These programs would then be re-complied and incorporated into the runtime executive.
- Supervisor 122 could be a software program (as opposed to another human) that would automatically seek to analyze the performance of the runtime executive and make corrections to the runtime executive through the editing process.
- Figures 2 and 3 depict slightly different operating environments for the purposes of the present invention.
- Figure 2 depicts a situation wherein the BOT processor 200 connects to user 116 via an intranet or internet connection e.g. web connector 210.
- web connector 210 may thus spawn a Java applet 216 inside of an HTML page 214 to provide the two-way communications as discussed above.
- Java applets embedded in HTML pages is well known to those skilled in the art.
- HTML page 214 might communicate directly with web connector 210 via a CGI connection or some other well-known connection protocol.
- the BOT server can accept HTML requests directly. In such cases, persistent state information can be tracked by a "cookie" set in the web browser or similar means.
- FIG. 3 depicts a situation wherein the BOT processor 300 is merely a client of another server, such as a chat room or virtual world server, as depicted by server 320.
- BOT processor 300 is connected to server 320 via a chat/virtual world connector 310 in much the same fashion as any client would connect to a server site.
- runtime executive 106 embodies the necessary information to maintain a reasonable conversation with human users to answer their inquiries and to carry on a general discourse with them on a set of topics. These topics are created by the back end in the form of script programs 108 that are compiled (or interpreted) and incorporated into runtime executive 106.
- script programs may be written by human designers having little or no formal programming experience. It will be appreciated that script programs can also be written by automated learning programs or through partially automated script creation tools, and that the present invention should not be limited to human-written script programs.
- ⁇ Definition> ⁇ PatternDef>
- CategoryList; ⁇ AttributeDef > Attribute ⁇ memref>;
- Patterns are used to assign a name to a fixed string. The name can then be used in place of the string throughout the program, for readability and ease of modification. Similarly, a PatternList is used to assign a name to a list of strings, and a TopicList,
- ScenarioList or CategoryList is used to assign a name to a list of category names (see below.) Attribute declarations are used to declare attributes so that information about them can be displayed through various debugging functions. Declaration of attributes is optional; attributes can be used without being declared. An attribute declaration can also assign a "specificity" value that is used when the attribute is tested using IfRecall or any matching condition. OtherExamples declarations define additional arguments for a particular example statement. These additional arguments are tested whenever the original example is tested using the automatic verification mechanism. An OtherExample declaration can also include the keyword WhenFocused to indicate that the arguments are context-sensitive examples, or other When conditions indicating that certain memory attributes should be set to certain values when testing is being done.
- a category is either a topic or a scenario.
- a topic is used to process user statements, while a scenario is used to process user actions.
- the term "category” is used to generically refer to a topic or scenario. Categories are divided into four types, priority, standard, default, and sequence, according to the label preceding the word "topic" or "scenario".
- a category that is not labeled is a Standard type. When the user makes a statement or takes an action, the categories in the program are executed, until a Done is reached (see below.) All priority categories are executed first, in the order in which they appear in the program. Next, all standard categories are executed. The order in which standard categories are executed changes dynamically depending on the execution of the program, and is described in the next paragraph.
- Sequence categories are executed only when explicitly accessed in a SwitchTo statement.
- Standard categories are executed according to a "best-fit" matching mechanism, in which ties are broken according to an ordered list that initially corresponds to the order in which they appear in the program.
- a standard category is executed, it, and other categories that share at least one Subject, is moved to the front of the standard category list (and so will be executed first on the next input.)
- the order of the standard category list can also be changed by commands within the program, as described below.
- Categories can also be temporarily suppressed, in which case they are not executed at all. If the keyword Suppressed appears in front of the category definition, it is initially suppressed. Category suppression is discussed further below.
- each category is a list of conditional blocks. These conditional blocks are executed in the order found in the category. If the condition of a conditional block is false, execution goes on to the next conditional block in the category, or to the next category if there are no further conditional blocks. If the condition is true, the commands and conditional blocks inside the block are executed, and further behavior of the program is dependent on the keyword which ends the conditional black.- If it ends with Done, execution ceases until the next input occurs (unless an InterruptSequence has been executed; see below.) If it ends with Continue, execution continues with the next conditional block in the category, or the next category if there are no further conditional blocks.
- nextScenario If it ends with NextTopic/NextScenario, the rest of the current category is skipped and execution continues with the next category. If it ends with TryAgain, the most recent WaitForResponse within the block is executed (it is an error to end a block with TryAgain if it does not contain a WaitForResponse.) If it ends with SwitchBack, execution resumes immediately following whichever SwitchTo statement switched to the current block. It is an error to end a block with SwitchBack if the block is not inside a Sequence topic.
- Conditional blocks can be combined using the Otherwise keyword; if the first condition is true then the condition block(s) that follow the Otherwise keyword are not executed. This behavior is similar to the behavior of an "else" command in C and similar programming languages.
- ⁇ MemoryLock> MemoryLock ⁇ memref> [, ⁇ memref>]*;
- the top level of a category may contain one or more MemoryLock statements. Each MemoryLock statement asserts that the value of one or more associative memory elements should only be changed within that category. If an associative memory key ?x is MemoryLocked in a category C, it is an error for a program to assign a value to ?x using Remember or Forget anywhere outside the category C, or to MemoryLock ?x in some other category.
- ⁇ SubjectList> Subjects ⁇ string> [, ⁇ string>]*;
- the top level of a category may contain one or more Subjects statements. Each asserts that the given subjects are subjects of the topic. If a non-IF command within the body of the topic is executed, all topics which share at least one Subject with the topic are brought to the front of the focus of attention. ⁇ Condition> ⁇ SingIeCondition> Then
- a condition can either be a basic condition (described below) or a Boolean combination of basic conditions.
- a Boolean combination of basic conditions that includes both and and or keywords must use parentheses to prevent possible ambiguity; there is no built-in operator precedence between and and or in GeRBiL.
- the Boolean not operator is implemented within the basic conditions; there is no explicit not keyword that applies to conditions.
- the IfChance condition with no numeric argument is a probabilistic condition that has the same likelihood of being true as all the other argument-less IfChance statements immediately before or after it.
- the Always condition is simply always true.
- condition clause There are four basic types of condition clause.
- Negated matching keywords such as DoesNotContain, are given their own special category, in order to prevent "double negative” conditions.
- the Heard and NotHeard keywords are shortcuts equivalent to the commonly used condition "?WhatUserMeant Contains”.
- Second, Recall and DontRecall are used to test whether elements of the user memory have been set or not, and are most commonly used in practice for testing flags that are set by libraries, for instance to indicate the type of question or statement that is being processed.
- the single condition objects are equivalent in meaning to the analogous condition objects, except that the If keyword is combined with the condition keyword. In the present implementation, there are also certain cases where single condition objects can be substituted for condition clause objects.
- ⁇ MatchingList> ⁇ MatchingListArg> [[and
- ⁇ MatchingListArg> ⁇ patlistobj>
- ⁇ PosMatchingList> ⁇ PosMatchingListArg> [[and
- a matching list is a list of pattern list objects (single expressions evaluating to lists of strings; see below) separated by and, and not, or or. (The keyword and and the ampersand character (&) are interchangeable, as are the keyword or and the comma.)
- a matching list serves as the right-hand-side of a matching expression. Parentheses must be used to prevent ambiguity any time a memory reference list contains both and and or.
- ⁇ MemList> ⁇ MemListArg> [[and
- ⁇ PosMemList> ⁇ PosMemListArg> [[and
- a memory reference list is a list of one or more memory references separated by and, and not, or or. (The keyword and and the ampersand character (&) are interchangeable, as are the keyword or and the comma.) Parentheses must be used to prevent ambiguity any time a memory reference list contains both and and or. Finally, a positive-only memory reference list does not allow the use of and not, in order to prevent double negatives such as "DoesNotContain ?X and not ?Y"
- ⁇ Command> Say ⁇ patlist>;
- Focus ⁇ catlist> Focus Subjects ⁇ string> [, ⁇ string>]*;
- Say or Do that argument Show, ShowTemplate, and ShowLocalFile show content in an HTML display frame.
- SayToConsole is a Say statement whose output is directed to the console window and log file.
- SayToFile is a Say statement whose output is directed to a text file.
- Trace is a Say statement whose output is directed to the console window and log file, arid only appears when the script is being run in various debugging modes.
- Expires is a non-executable statement that produces a warning when compiled after a certain date.
- ForgetOneOf, RememberOneOf, and Remember..IsOneOf are the nondeterministic equivalents of Forget, Remember, and Remember.. Is, respectively.
- Suppress takes a list of categories as arguments and suppresses each of its argument categories so that they are no longer executed on any input.
- Recover takes a list of categories as arguments and reverses the effect of a Suppress command.
- Focus takes a list of categories as arguments and places them at the front of the ordered category list.
- Focus Subjects takes a list of subjects as arguments and places all categories which cover at least one of those subjects (as defined with a Subjects command in the top level of the category) at the front of the ordered category list.
- WaitForResponse halts execution in the same way as a Done statement but resumes at the same point on the next input.
- InterruptSequence can only be used within a Sequence topic, and temporarily halts execution of the current topic while all of the standard and default topics are executed. When a Done is reached, or when all of the standard and default topics are completed, execution resumes, .without waiting for further input, within the Sequence topic.
- a SwitchTo command immediately transfers control of execution to the named category.
- a SwitchToOneOf command chooses one of its arguments at random and executes a SwitchTo on it.
- the various Example statements do not have any immediate effect, but are used in automatic verification. LoginAs,
- DisconnectThisUser is a command used to terminate an interaction with a user and clear the user record from the BOT's memory.
- ⁇ pat> ⁇ string>
- a pattern is anything that evaluates to a string. It can be an explicit string (indicated with quotes), the name of a Pattern object, an associative memory reference, a reference to a "star buffer element" (set according to wildcard characters appearing in template patterns within pattern matching conditional statements), or a concatenation of any of the above.
- ⁇ patlistobj> ⁇ pat>
- a patternlist object is any single expression that evaluates to a list of zero or more strings. It can be a single pattern, the name of a PatternList object, a PatternList enclosed in parentheses (also known as an "implicitly defined PatternList" since it is never explicitly
- a PatternList enclosed in curly brackets indicating that the element or elements included within the brackets are "optional"
- a concatenation of any of the above is a list consisting of the concatenation of each element in the first list with each element of the second list. If one of the lists is empty (i.e. contains no strings), the concatenation is the value of the other list.
- a symbol is a string of alphanumeric or underscore characters, beginning with a letter. Symbols are not case sensitive.
- a pattern list is anything that evaluates to a list of strings. It consists of one or more PatternList objects, separated by strings. Since each PatternList object may have a value that is a list of strings, the value of the PatternList is the value of all the elements appended together.
- a category reference is either an explicit string containing the name of a category, the keyword This (referring to the category in which it appears) or the name of a CategoryList (or TopicList or ScenarioList) object.
- a category list is simply a list of categories or CategoryList objects separated by commas.
- a reference to the associative memory is normally indicated by a ? followed by the name of the key. Such references are normally particular to the user whose input is being processed.
- a reference to the associative memory for another user can be made by putting a pattern referring to the other user between the ? and the key. The reference to the other user is separated from the key by a colon.
- a memory reference list is simply a list of memory references separated by commas.
- starbufref> # ⁇ integer>
- *match The "star buffer” contains the substring of an input string which matched each *, #, % or ⁇ wildcard character in the template pattern in the most recent successful match. References to this star buffer consist of a symbol (*, #, ⁇ , or %) followed by a number. *n refers to the substring which matched the Nth * wildcard character found in the template, and so on. *match refers to the substring of the input string that matched the entire template pattern.
- ⁇ chance> ⁇ realnumber>
- the argument of a Chance statement is either a real number between 0 and 1 , interpreted as a probability, or a real number between 0 and 100 followed by a % sign, interpreted as a probability multiplied by 100.
- the index for a SequenceExample statement is an integer followed by zero or more strings of alphanumeric characters, separated by periods.
- the second aspect of the example script programs is that-the scripts themselves embody a particular universe of discourse reflective of the subject matter concerning the site itself—e.g. a BOT for a site of a reseller of personal computer should "know” something about computers and their peripherals.
- These script programs are written in an action-response type style wherein the actual language supplied by the user embodies an "action” to which the "response” is written into the script program itself
- Scripts in the present embodiment are written generally by site administrators (human or otherwise) by defining a list of "categories” in which the site will be well conversant. Categories may comprise "topics” that are recognizable by the runtime executive. Topics, in turn, may comprise patterns or words that are matched against the stream of input communication (in either spoken or written" or any” other suitable form of communication) from the user.
- Figure 4 expands the view of runtime executive 106 of Figure 1.
- Runtime executive 106 comprises local variables 402, robot object 404, and a list of user records 406.
- Robot object 404 is that part of runtime executive 106 that is inco ⁇ orated by the compilation process described above. Although robot object 404 may be changed via the re-edit and re-compilation process as mentioned, during runtime, robot object 404 typically does not change whilst in conversation with user 116.
- the list of user records 406 is provided because the BOT processor could be in conversation with multiple users simultaneously and therefore needs to maintain the state of each on-going conversation. The state for each such conversation is maintained in a user record 406.
- runtime executive 106 maintains local variables 402 that are used during the processing of a single user input.
- TABLE 3 is a listing of the C++ header file that embodies runtime executive 106.
- void ActivateTrace() // equivalent to a null trace message void ActivateExampleTrace(); // version for Examples mode, void Replay Trace(BOOL FullTrace); // Authoring functions not used at run-time, and involving the test user
- Robot object 404 corresponds to ProgramExecutable, which is of type CExeStruct.
- Figure 5 expands the view of robot object 404 as shown in Figure 4.
- Robot object 404 comprises several types of categories. These categories inherently maintain a priority by which runtime executive 106 processes inputs. For example, in Figure 5, four types of categories are depicted: priority categories 510, standard categories 520, default categories 530, and sequence categories 540.
- priority categories 510 When an input comes into the BOT processor, the input is processed through a series of categories. First, the priority categories are processed to determine whether there is a response that will be generated by the current input.
- These priority categories are processed, in the present embodiment, in the order in which they appear in the runtime executive.
- Standard categories are executed according to a best-fit matching mechanism that selects the category that best matches the input from among those categories, if any, that match the input.
- Default categories are executed in the actual order in which DEFAULT TOPICS are found in the script program.
- Sequence categories 540 are also included in the robot object
- sequence categories are typically employed to perform a number of pre-defined sequential communications with a user to effect a desired result. For example, having the BOT take an order for tickets to an event, how many such tickets, credit card information to purchase such tickets, etc. is readily implemented as a sequence category. Such a sequence category would be SWITCHed-TO if prompted by a user inquiry to buy tickets. It will be appreciated that other hierarchies of categories may be defined and order of execution selected.
- Figure 5 also contains subject-name to category map 550, which describes the categories associated with each subject found in a SUBJECTS command in one or more categories. This map helps to implement the Focus Subjects command and automatic focus mechanisms, as described below.
- Figure 6 describes the content of a category 502.
- Category 502 comprises body 610 and subject names 630.
- Body 610 is a list of pointers to condition-action blocks.
- Such a condition-action block is a representation of an IF-THEN block found in a script program.
- Subject names 630 are a representation of a listing of SUBJECTS that may optionally be found in a script program.
- the session document contains all information about a BOT as it is being executed, including two member variables particularly relevant to the current disclosure: CUserRecordSet* m_pursUsers;
- the m_pursUsers structure contains information about each user that is presently conversing with the BOT (stored as a map from UserlDs to CUserRec structures), such as any facts remembered about that user and the focus of attention for that conversation.
- the m_ppProgram structure contains all the information about the BOT script itself, including the robot object created by the compilation process described above and various run-time variables needed during script execution.
- the session document also includes a number of other members such as pointers to various display windows and dialogs used during execution, lists of file names used in the BOT script, and so on.
- the ExeProg contains an executable version of the Gerbil script.
- the RunTime structure contains variables that are used when executing the Gerbil script.
- the CExeStruct contains the following relevant member variables:
- CCategoryList PriorityCategories CCategoryList DefaultCategories
- Each CCategoryList contains a list of CCategory objects.
- Each CCategory contains a set of CConditionActionBlock objects, each with a condition and a list of C Action objects.
- a CConditionActionBlock is a type of CAction, so CConditionActionBlock objects can recursively contain other CConditionActionBlock objects.
- a CCategory also contains a list of all the subjects discussed by the category.
- PriorityCategories DefaultCategories
- SequenceCategories are fixed in ordering and are shared among all users. Each user record contains a copy of the list
- StandardCategories (see below) in which the ordering of categories can dynamically change (according to the focus mechanism).
- the copy of StandardCategories in the CExeStruct is fixed in order and is used to create the initial copy of StandardCategories for each new user.
- the CExeStruct contains a map mjpmspSubjectMap from each subject name to the list of categories that discuss that subject.
- the CRunStruct contains three relevant member variables:
- FocusList is used to store the list of categories that have been activated by the focus of attention mechanism during the current execution of the Gerbil script. It will be used! at the end of the run to modify the focus of attention for the current user, as described below, m- saActiveSubjects is used to store the list of subjects that have been activated by the focus of attention mechanism during the current execution of the Gerbil script. It will be used at the end of the run to modify the active subjects map for the current user, as described below.
- the CUserRec contains information about the current user and the robot's conversation with the user.
- it contains a CMapStringToPtr containing the contents of the memory for the user, in which each attribute name is mapped to a list of strings representing the value of that attribute, and six member variables relevant to the present mechanisms:
- CMapStringToPtr m_msp ActiveSubj ects AttentionFocus is a copy of the StandardCategories list from the program executable that describes the attention focus for the BOT's conversation with the current user. The order of the categories in this list may be different than the order in StandardCategories, due to the functioning of the focus mechanism.
- SuppressList is a list of pointers to the categories that are suppressed in the robot's conversation with the current user. SuppressList may include categories from the PriorityCategories, DefaultCategories, and StandardCategories list.
- m_mspActiveSubjects is a mapping from subject names to null pointers, indicating the set of active subjects associated with the current conversation. This mapping is used in implementing the Focused command disclosed below. Next, Continuation is NULL unless there is a WaitForResponse command that is currently active.
- Continuation points to a CContinuation structure that describes where in the script the WaitForResponse is located and how to resume execution from that point.
- the user record contains stacks of continuations that handle interruptions of a Sequence category and switches back from Sequence categories.
- SwitchContinuations contains a CContinuation for each SwitchTo statement for which a SwitchBack is still possible (much like the call stack in other programming languages), while SequenceContinuations contains a CContinuation for each sequence that has been interrupted by an InterruptSequence command and not yet returned. The functioning of these CContinuation stacks is described further below.
- Gerbil program One main feature of a Gerbil program is its ability to "focus" categories for the express purpose of being more responsive to user communication.
- the "focusing” of categories for the purposes of the present invention, is implemented by a combination of explicit and automatic methods. Explicit focusing can be accomplished in one of two ways in the current embodiment.
- the first focus mechanism, the "Focus" command is added to the script program to explicitly focus a particular category when the command is executed.
- “focusing” in the current embodiment moves the focused category to the front of the attention focus list.
- the runtime executive will generally check the newly focused category earlier than it would have had the category not been focused.
- a sample Focus command might look like — Focus "dogs", “cats”; ⁇ this command would move the category “dogs” to the front of the attention focus list and the category "cats” immediately following it.
- the Focus command is useful to make certain categories more immediate in the course of conversation and, in particular as to the above example, if the user had recently spoken of "pets”.
- the second explicit focus mechanism, the "Focus Subjects” command is similar to the "Focus" command but differs in that it will move a set of unspecified categories, each said category sharing a Subject whereby the Subject is explicitly listed within a "Subjects" command within the category.
- the command Focus Subjects "dogs" could be placed in any category and if said command is executed, then all categories explicitly listing "dogs" as a SUBJECT will be placed to the front of the attention focus list. This command is useful to focus related categories without having to explicitly list them all.
- the focusing of categories is also used to determine a set of "active subjects" associated with the current state of the conversation. Any time an input is processed that leads to one or more categories being "focused", either through explicit or automatic focus methods, and at least one of these categories is associated with one or more subjects, the set of active subjects is cleared and replaced with the set of all subjects associated with any of the categories that were activated (including any subjects explicitly mentioned in a "focus subjects” command.)
- the set of active subjects is also used in implementation of the Focused condition described in the BNF above. The Focused condition is true if the topic containing it has at least one associated subject that is also in the set of active subjects. Another, somewhat related mechanism, "Suppress", is implemented in the current embodiment.
- “Suppress” is an explicit command that disables the activation of the categories named in the command for the remainder of the course of conversation with that user. Such categories can be placed back into consideration with the use of the "Recover” command. For example, the command - Suppress “dogs”; — will suppress the category “dogs” from further discussion, even if an explicit Focus command would purport to move it to the front of the attention focus list.
- each Gerbil command in the present embodiment actually returns a
- CABlockEnd value that describes what the program should do following the command. This value is normally Continue, indicating that the program should continue by executing the next Gerbil command. It can also be one of the values Waiting, Done, NextCategory, Switch, SwitchBack, NotActivated, or RunTimeError. (The Done, Continue, and NextTopic "terminators" that appear at the end of a condition block in a Gerbil code are actually implemented as commands that do nothing other than return the appropriate CABlockEnd value.) In this context, the following is a discussion concerning six Gerbil commands that are relevant to the focus of attention mechanism: Focus, Focus Subjects, WaitForResponse, TryAgain, InterruptSequence, and SwitchTo.
- Each Focus command in a Gerbil script has as arguments a list of categories. This list is converted by the compiler into a list of pointers to the actual categories. When the Focus command is executed, these pointers are copied to the end of the RunTime- >FocusList structure (to later be brought to the front of the attention focus list.) In addition, all subjects associated with each category are added to the list of active subjects.
- the C++ code for CFocus::Execute is straightforward and is shown below.
- the WaitForResponse command causes execution on the current input to stop, but before that, sets up a CContinuation telling the Gerbil program where to restart when the next input is processed.
- This CContinuation is created by the compiler and stored in the CWai ForResponse statement.
- the code for C WaitForResponse: :Execute is trivial; it simply copies the CContinuation pointer into RunTime->User->Continuation and returns Waiting.
- a TryAgain command is simply a special case of WaitForResponse in which the CContinuation starts from the previous WaitForResponse rather than the TryAgain command.
- a TryAgain command is converted into an appropriate CWaifForResponse by the compiler.
- An InterruptSequence command can only be used within a Sequence category, and causes the execution of the category to be suspended while all of the standard and default categories are executed. (InterruptSequence can only be used after a WaitForResponse, to prevent possible conflicts in which a category might be executed twice.) It is implemented by adding a CContinuation to the top of the SequenceContinuations stack (allowing nested interruptions within interruptions) and returning the value NextCategory.
- Each SwitchTo command in a Gerbil script has the name of a single category as an argument. Again, this category name is converted into a pointer by the compiler. When the SwitchTo command is executed at run-time, this pointer is copied into a member variable RunTime->SwitchToCategory and the value Switch is returned. Furthermore, a CContinuation representing the SwitchTo is copied into User->SwitchContinuations so that the category can be resumed if the target category ends with a SwitchBack.
- the fact that User->SwitchContinuations is a stack allows arbitrarily deep series of SwitchTo and SwitchBack calls.
- the present embodiment of the program checks to make sure that the category has not already been executed before returning any value. If it has already been executed, the value
- the compiler will check all sequence categories and guarantee that cycles among them will not occur. This is done by viewing each category as a node in a graph and each SwitchTo as an arc, and doing depth-first search to detect cycles in the graph. A WaitForResponse before the SwitchTo eliminates the arc caused by that SwitchTo, as it will prevent cycles from occurring while processing a single input.
- the C++ code for CSwitchTo::Execute is shown below.
- the SwitchToOneOf command is a straightforward extension of SwitchTo.
- a CConditionActionBlock consists of a condition and a body consisting of a list of commands.
- the condition is first evaluated. If it is false, the block returns NotActivated immediately. Otherwise, the body statements are executed in order (normally starting with the first statement, but starting with a later statement if the block is part of an active Continuation) until one returns a CABlockEnd value other than Continue. When some other CABlockEnd value is returned, it is passed on as the return value of the CConditionActionBlock.
- a CCategory contains an ordered list of CConditionActionBlock objects, and is executed by executing the blocks in succession (normally starting with the first block, but starting with a later block if the CCategory is part of an active Continuation.) If a block returns the value NextCategory, Switch, SwitchBack, Waiting, Done, or RunTimeError, execution of the CCategory stops and the return value is passed on. If a block returns NotActivated, the next block is executed. If a block returns Continue, the next block is activated unless it is an Otherwise block or unless both the current and next blocks are IfChance blocks, in which case it and all other IfChance blocks immediately following it are skipped.
- any output command (currently all variants of "Say” or "Do") will cause a flag to be set in the category. If this flag is set at the end of the execution of the category, the category is appended to the end of RunTime->FocusList so that it will be automatically moved to the front of the focus of attention list. Furthermore, the subjects associated with the category are appended to the list RunTime- >m_saActivatedSubjects. This automatic focus allows the attention focus mechanism to function even without the use of Focus statements. It will be appreciated that other implementations might decide whether a topic should be automatically focused in a different way, for example by automatically focusing on any topic in which the condition in at least one CConditionActionBlock has value true, or any topic in which any action is executed.
- This behavior can be overridden by including the command DontFocus in any of the blocks that should not trigger the automatic focus mechanism. Furthermore, if the category is given a list of SUBJECTS in the Gerbil script, when the category is focused using automatic focus, all other categories that share at least one SUBJECT with said category are also appended to the end of RunTime->FocusList and will be automatically moved to the front of the focus of attention list.
- Gerbil program First, it clears FocusList and m_slActivatedSubjects so that it can keep track of categories that are focused on during the execution. To prevent possible ambiguities in the ordering of category executions, Focusing actions do not have any effect until the script is finished executing on the current input. It will be appreciated that other implementations of an attention focus mechanism might dynamically reorder the attention focus list during the processing of an input.
- the CProgram is executed by repeatedly selecting and executing categories, as shown in the code fragment below from CProgram: :Run. RunTime->ActivePriority and ⁇ RunTime->ActiveCatPos are used to keep track of what category is currently being executed. Once execution is complete, RunTime->FocusList is used to move those categories that were activated or focused on during execution to the front of the Focus of Attention, focusing the robot's attention on these categories.
- the function CProgram: -.Refocus itself is straightforward, simply going through RunTime->FocusList, and for each element, removing it from its previous position in the attention focus list and placing it at the front of the list.
- CCategory* ActiveCategory GetNextCategory(ThisDoc,ThisUser,
- ActiveCategory->Run(ThisDoc); ActiveCategory GetNextCategory(ThisDoc, ThisUser, Execution Type,
- GetNextCategory uses RunTime->ActivePriority, RunTime- >ActiveCatPos, and the ReturnVal from the previous category, and selects the next category to execute. If ReturnVal is NextCategory, the program will simply select the next category from the CategoryList for the current ActivePriority (Priority, Standard, or Default), according to the selection mechanism operative for that category and switching to the next priority level if necessary. (Recall that the Priority and Default categories are found in the CExeStruct, while the standard categories are found in "RunTime->User- >AttentionFocus.
- Sequence categories are never executed unless activated with a SwitchTo command, so the list ExeProg->SequenceCategories is never executed directly.) If there is an active CContinuation remaining from a previous execution (due to a WaitForResponse), it is activated immediately after the Priority categories. CContinuations are activated by returning the appropriate category and setting RunTime->Continuation, which will cause execution of the category to begin at the appropriate place within the category rather than the beginning.
- Sequence category there is guaranteed to be at least one continuation in SwitchContinuations.
- the process is equivalent to the method of returning from a subroutine in other programming languages.
- ReturnVal is Waiting
- execution ceases since a WaitForResponse has been executed.
- ReturnVal is RunTimeError
- execution ceases and the stack of SwitchContinuations and SequenceContinuations is cleared. (RunTimeError is presently returned only in the event of a SwitchTo cycle violation.)
- ReturnVal is Done (recall that a category cannot return value NotActivated or Continue), execution stops unless there was an InterruptSequence that has not yet been resumed.
- Figure 7 depicts one embodiment of the presently claimed methods of automatic script authoring. The description of this method will be made in connection with two example uses of the method. It will be appreciated, however, that these two examples are provided merely for illustration of the present invention and that the scope of the present invention should in no way be limited to the present disclosure of these examples.
- Example 1 Editing an existing topic To illustrate the operation of the present invention, we will demonstrate the execution of the present invention on the topic shown below:
- Topic " Neuromedia's markets” is Subjects " Neuromedial” , “ market” ;
- the software begins executing as shown in Figure 7 at 700.
- the method iterates through the example statements found in the topic "Neuromedia's markets", shown above.
- the first example, "What are Neuromedia's markets?" is tested at 704 and found to be covered by the existing patterns, so execution returns to 702.
- One manner of testing that occurs at step 704 comprises running the Example statement in the BOT and determining whether the category is activated by the BOT. In this fashion, the existing patterns » Neuromedia#*market" cover - by way of matching the pattern ⁇ this particular example statement. It will be appreciated that this testing can be done either within the context of a separate standalone Gerbil parser or within the context of the full Gerbil compiler. It will further be appreciated that for example statements that are to be tested with a WhenFocused condition or other restrictions, appropriate flags may need to be set within the testing environment before the example statement is tested.
- the Pattern Wizard may employ a memory attribute to test and an initial value for the attribute.
- the initial value should be generated from the example.
- the Pattern Wizard might use the attribute ?WhatUserSaid and set its initial value lo the entire text of the example being processed.
- the example might be run through a set of "filter topics”.
- a "filter topic” may be a Priority Topic in a Gerbil script or any other topic that may be executed prior to the execution of the topic being edited or created.
- One function of a filter topic is to filter an input to test whether it fits certain criteria, rather than to respond to particular user inputs.
- a set of filter topics is a set of "Standard Question” scripts in Gerbil that examine a user input and determine whether it is one of a variety of question types, such as DescriptionQuestion, LocationQuestion, TimeQuestion, etc.
- the "Standard Question” scripts also attempt to determine a more particular subject for each question by stripping off phrases such as "tell me about” and "what is”. For instance, the example "What are the markets for Neuromedia products?" is classified as a DescriptionQuestion, and the attribute DescriptionQuestion is set to the value "the markets for Neuromedia products".
- the example is run through the entire set of Priority Topics in the script.
- attributes may be "registered" in the script and assigned "specificity" values that impose an ordering on the specificity of attributes.
- the system examines each registered attribute to determine which attributes have been set by the Priority Topics. If one or more have been set, the most specific one may be chosen as the attribute to be used by the Pattern Wizard, and its value used as the initial value for the pattern. If no attributes have been set, the attribute ?WhatUserMeant (i.e. the user's input statement with spell-checking applied) is used and its value is taken as the initial value for the pattern. It will be appreciated that other methods of selecting an attribute and initial value, such as asking the user to select from among the attributes set in the priority topics, are also possible and that the present invention should not be limited to any particular method of selecting a starting attribute and value.
- the example statement is run at step 802 through the filter topics in the existing script, and a number of attributes are set to particular values.
- the attribute ?DescriptionQuestion is chosen as the most specific of these attributes, and its initial value is "the markets for Neuromedia products". Other, more general, classifications of the example, e.g. as an ?AnyQuestion input, are ignored. If filter topics are not used for processing, then steps 802 and 804 may be optionally skipped, and the pattern wizard may alternatively start processing at step 806.
- Figures 10, 11, 12, 13, and 14 depict embodiments of screen shots of dialog boxes that the Pattern Wizard calls forth to process the example statement. It will be appreciated that wizard technology and the dialog boxes that implement them are well known to those skilled in the art.
- the system begins with the first word in the attribute value, in this case the word "the", and presents the dialog box shown in Figure 10.
- the system identifies at step 808 a set of zero or more pattern lists that match the present word.
- phrases consisting of two or more words beginning with the current word may also be considered.
- the system would identify pattern lists matching the word "the”, pattern lists matching the phrase "the markets”, pattern lists matching the phrase "the markets for”, and so on.
- PatternList ARTICLES is the first one found, and the elements of this PatternList are displayed in the "Contents" box on the right in Figure 10.
- the system now continues with the next word, "markets", as illustrated in Figure 11.
- the system identifies at step 808 the set of PatternLists (SALESWORD, SELL) matching the word “markets” and displays them.
- the system may also look for pattern lists matching the phrase "markets for”, “markets for Neuromedia”, and so on.
- the user would look at the list of words in PatternLists SALES WORDS and SELL and decide whether the particular words found in one of these PatternLists would be appropriate substitution for the word "markets" in the topic being built. In this case, a typical user might decide that neither PatternList is an appropriate substitution for
- step 810 chooses at step 810 to keep the word “markets” in the pattern, with execution returning to step 806. It will be noted that the user might instead have chosen to select one of these PatternLists or to create a suitable new PatternList, as will be illustrated below.
- the system continues with the word "for”, as illustrated in Figure 12. Again, the system identifies at step 808 a set of PatternLists and displays them. In this case, a typical user may decide that the word "for” is not essential to the topic being built, and choose at step 810 to replace 812 the word with a * wildcard, resulting in the pattern "*markets*Neuromedia products", and execution returns to step 806.
- the system continues with the word "Neuromedia”, as illustrated in Figure 13.
- the system identifies at step 808 a set of PatternLists and displays them in the dialog.
- the user might decide that the PatternList NEUROMEDI AS YNONYM includes an appropriate set of synonyms for the name Neuromedia (such as "your company") and so choose at step 810 to replace the word with the PatternList at step 816.
- the new pattern is now "*markets*" + NEUROMEDIASYNONYM + "products”, and execution returns to step 806.
- the system continues with the word "products", as illustrated in Figure 14.
- the system identifies at step 808 a set of PatternLists and displays them in the dialog.
- the user might at this point select the PatternList PRODUCTS at step 810 to replace the word at step 816, and execution returns to step 806. All words in the input have now been processed, so execution proceeds to 818 and returns to the caller.
- the new pattern "markets*" + NEUROMEDIASYNONYM + PRODUCTS is added to the list of matching patterns being tested for the attribute MescriptionQuestion.
- the system recompiles the set of patterns for the topic so that further examples can be tested against the newly created patterns.
- the new pattern is written into the script for the topic at step 710, and execution terminates at step 712.
- the routine that called the Pattern Wizard converts the template that has been constructed for the topic into a script using techniques well-known to one skilled in the art of automatic code generation, as for example in Microsoft's Visual Studio Wizards.
- the system may then display the final version of the script file containing the topic for the user's inspection.
- the final version of the topic as it appears in the script after execution is shown in Figure 15.
- FIG. 9 An alternative embodiment of selecting a set of pattern lists to match a particular word or words within an example statement is depicted in Figure 9.
- Processing starts at step 900, which might be invoked by the pattern wizard at step 808 in Figure 8.
- the system iterates through a set of pattern lists found in the BOT script. For each such pattern list, the system at step 904 tests whether the pattern list contains the word or words being matched. If not, execution returns to 902 and another pattern list is selected. If there is a match, the pattern list is added at step 906 to the list of pattern lists being accumulated.
- the system calls at step 910 a thesaurus database 908 or other such database containing synonyms.
- the word in question is passed as a parameter to the thesaurus database 908.
- the database returns from the call with a list 912 of zero or more lists of synonyms, each such list representing a particular and possibly distinct sense or meaning of the word passed to the database.
- each list of synonyms may be treated as if it were a pattern list found in the BOT script and added to the list of pattern lists being accumulated.
- the entire list of pattern lists may be displayed to the user at step 916. This list can be displayed in various ways, for instance as a single list or as separate lists for pattern lists found in the BOT script and pattern lists found in the thesaurus database. After the list of pattern lists is displayed, execution returns to the caller at step 918.
- Example 2 The creation of a new topic
- the second example depicts the use of methods of the present invention to create new topic scripts, not merely edit existing scripts.
- the BOT author begins by entering one or more questions that typify a given topic of conversation. In our example, for the Topic "Walter”, the user might input "Who is Walter?" and “Tell me who this Dr. Tackett is.”
- the script authoring then proceeds as in the embodiment of the present invention, as illustrated in Figure 7.
- the first Example statement entered by the script developer is "Who is Walter?".
- the newly created topic does not yet have any patterns so the existing patterns (tested at 704) do not cover the example.
- the software now runs the Pattern Wizard at 800 and brings up a dialog box similar to the ones shown in Figures 10-14.
- the example is run through the existing filter topics in the script at step 802.
- the software identifies that the most specific attribute for the example is ?WhoQuestion with value "Walter". This input has only one word,
- the Pattern Wizard searches at 808 for PatternLists containing "Walter” and does not find any.
- the user is presented with a choice of options.
- the user opts 814 to create a new PatternList entitled WALTER.
- the user adds the words "Walter”, “Walt”, and "Dr. Tackett” to the new PatternList, which is incorporated into the script file.
- the word "Walter” is replaced 816 in the pattern with the
- PatternList WALTER leaving the pattern ?WhoQuestion Contains WALTER. At this point, all the words in the input have been covered, so the Pattern Wizard exits at 818.
- the new pattern is appended at 706 to the existing patterns for the topic. There are no existing patterns so the pattern simply becomes the new pattern ?WhoQuestion Contains WALTER.
- the pattern is compiled at 708 and execution returns to the loop at 702.
- the next Example statement entered by the script developer is "Tell me who this Dr. Tackett is”.
- the Example is tested to see whether it is covered by the existing patterns. This example is classified as a ?WhoQuestion with the subject "this Dr. Tackett”.
- the PatternList WALTER contains the phrase "Dr. Tackett”, so the existing pattern covers this example and execution returns to the loop at 702.
- execution proceeds to use the new pattern at 710 in the newly created topic and execution terminates at 712.
- the newly created script is shown below:
- PatternList WALTER is " Walter” , “ Walt” , “ Dr. Tackett” ;
- BOOL bCancelled FALSE
- An automated method for editing existing topics scripts for virtual robots said topics scripts comprising example statements that typify the topic and a pattern that is matched against user input to determine if said topic is activated by the user input; the method comprising: for an example statement associated with said topic script; testing said example statement against patterns in the topic script to determine if said example statement activates said topic; for a word in an example statement not activating said topic: identifying zero or more pattern lists matching said word; choosing one action from among a group of actions comprising: keeping said word; and replacing said word with a pattern list; adding zero or more revised patterns to said topic script.
- a virtual robot processes natural language input from a user to effect certain actions according to user input.
- BOTs are constructed using topic scripts.
- Topic scripts may comprise example statements that typify the topic in question and patterns that are matched against user input to determine if the topic is activated by the user input.
- the steps of one embodiment of the present invention comprise: for an example statement associated with a topic script; testing said example statement against patterns in the topic script to determine if said example statement activates said topic; then for a word in an example statement not activating said topic: identifying zero or more pattern lists matching said word; then choosing one action from among a group of actions comprising: keeping said word; and replacing said word with a pattern list; then adding zero or more revised patterns to said topic script.
- AddMatchToCondition (pThisBlock- >Condition, strAttribute, strPattern, TRUE, pTestCategory); if (! m bNewPList) ⁇ // don't update if there are unknown patterns // Update the condition VERIFY(LinkPatternReferences(pProgram)); ⁇ ⁇ ⁇ if (bCancelled) ⁇ break;
- BOOL CSmartEditor :RunPattemWizardDialog(CString& strAttribute,
- IDD IDD PATTERNSELDLG ⁇ ; CListBox m ctrlPatternListThesBox; CButton m ctrlReplaceButton; CListBox m ctrlContentsListBox; CListBox m ctrlPatternListListBox; CRichEditCtrl m ctrlPatternRichEdit; CString m strAttribute; // ⁇ AFX_DATA
- CDialog :DoDataExdhange(pDX);
- CPatListDef* pPatList (CPatListDef *) (m-ctrlPattemListListBox.GetItemDataPtr(nSelection) m ctrlContentsListBox.ResetConsent();
- OnButtonReplaceO
- strLeft.MakeReverse() strLeft.Mid(strLeft.SpanIncluding (" *").GetLength()); strLeft.MakeReverse();
- nWordStart strLeft. GetLength() + strPatternListName.GetLength(); // trim leading spaces off the right substring strRight.TrimLeft();
- NewPList new CPatternListTemplate; NewPList->m saElements.Add(m saWords.ElementAt(m-nCurrentWord)); // give it an initial element
- ThesRetum ThesDB GetFirstSynonym (m pgtdSessionDoc->m nThesaurusSessionID, catBuffer, synBuffer,
- ThesRetum ThesDB GetNextSynonym (m pgtdSessionDoc->m nThesaumsSessionlD, synBuffer, THESDB_MAX_WORD_SZ); ⁇ // end while "SYNONYM LOOKUP" // Add this pattemlist. m plPattemsThesDB .
- CGRBLSourceEditor* FileEditor GetMainView()->BringUpSelection(GetMainDoc()- >m_strPatternDefaultFile, -1);
- ErrorMsg Format("Intemal error: the file %s could not be opened", GetMainDoc()>m_strPatternDefaultFile); AfxMessageBox(ErrorMsg);
- BOOL OldSpellCheckMode OwnerSession->m_bSpellCheckingOn
- ExecutionMode OldExecutionMode
- AfxMessageBox (“WARNING: While generating patterns for the example, the priority topics were not completed. You probably need to include one or more InitialExample statements");
Abstract
Description
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU38934/00A AU3893400A (en) | 1999-03-18 | 2000-03-17 | Methods for creating and editing topics for virtual robots conversing in naturallanguage |
EP00918060A EP1190345A2 (en) | 1999-03-18 | 2000-03-17 | Methods for creating and editing topics for virtual robots conversing in natural language |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US09/271,665 | 1999-03-18 | ||
US09/271,665 US6629087B1 (en) | 1999-03-18 | 1999-03-18 | Methods for creating and editing topics for virtual robots conversing in natural language |
Publications (3)
Publication Number | Publication Date |
---|---|
WO2000055761A2 WO2000055761A2 (en) | 2000-09-21 |
WO2000055761A3 WO2000055761A3 (en) | 2002-01-10 |
WO2000055761A9 true WO2000055761A9 (en) | 2002-01-31 |
Family
ID=23036544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2000/007083 WO2000055761A2 (en) | 1999-03-18 | 2000-03-17 | Methods for creating and editing topics for virtual robots conversing in natural language |
Country Status (4)
Country | Link |
---|---|
US (1) | US6629087B1 (en) |
EP (1) | EP1190345A2 (en) |
AU (1) | AU3893400A (en) |
WO (1) | WO2000055761A2 (en) |
Families Citing this family (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6259969B1 (en) * | 1997-06-04 | 2001-07-10 | Nativeminds, Inc. | System and method for automatically verifying the performance of a virtual robot |
US7200804B1 (en) * | 1998-12-08 | 2007-04-03 | Yodlee.Com, Inc. | Method and apparatus for providing automation to an internet navigation application |
US7392185B2 (en) * | 1999-11-12 | 2008-06-24 | Phoenix Solutions, Inc. | Speech based learning/training system using semantic decoding |
US7146404B2 (en) * | 2000-08-22 | 2006-12-05 | Colloquis, Inc. | Method for performing authenticated access to a service on behalf of a user |
US6430602B1 (en) | 2000-08-22 | 2002-08-06 | Active Buddy, Inc. | Method and system for interactively responding to instant messaging requests |
US7200635B2 (en) * | 2002-01-09 | 2007-04-03 | International Business Machines Corporation | Smart messenger |
US7238079B2 (en) * | 2003-01-14 | 2007-07-03 | Disney Enterprise, Inc. | Animatronic supported walking system |
US7707135B2 (en) * | 2003-03-04 | 2010-04-27 | Kurzweil Technologies, Inc. | Enhanced artificial intelligence language |
US7577568B2 (en) * | 2003-06-10 | 2009-08-18 | At&T Intellctual Property Ii, L.P. | Methods and system for creating voice files using a VoiceXML application |
GB0315193D0 (en) * | 2003-06-28 | 2003-08-06 | Ibm | System and method for user interface automation |
US7774292B2 (en) * | 2003-11-10 | 2010-08-10 | Conversive, Inc. | System for conditional answering of requests |
JP2005321730A (en) * | 2004-05-11 | 2005-11-17 | Fujitsu Ltd | Dialog system, dialog system implementation method, and computer program |
US7769705B1 (en) | 2004-05-21 | 2010-08-03 | Ray Anthony Luechtefeld | Method, artificially intelligent system and networked complex for facilitating group interactions |
US8069131B1 (en) | 2004-05-21 | 2011-11-29 | Ray Anthony Luechtefeld | Method, artificially intelligent system and networked complex for facilitating group interactions |
US8898098B1 (en) | 2004-05-21 | 2014-11-25 | Ray Anthony Luechtefeld | Method, artificially intelligent system and networked complex for facilitating group interactions |
US8180759B2 (en) * | 2004-11-22 | 2012-05-15 | International Business Machines Corporation | Spell checking URLs in a resource |
JP4629560B2 (en) * | 2004-12-01 | 2011-02-09 | 本田技研工業株式会社 | Interactive information system |
US20070168480A1 (en) * | 2006-01-13 | 2007-07-19 | Microsoft Corporation | Interactive Robot Creation |
US7924986B2 (en) * | 2006-01-27 | 2011-04-12 | Accenture Global Services Limited | IVR system manager |
JP5025353B2 (en) * | 2007-07-03 | 2012-09-12 | ニュアンス コミュニケーションズ,インコーポレイテッド | Dialog processing apparatus, dialog processing method, and computer program |
US8285652B2 (en) * | 2008-05-08 | 2012-10-09 | Microsoft Corporation | Virtual robot integration with search |
FR2947923B1 (en) * | 2009-07-10 | 2016-02-05 | Aldebaran Robotics | SYSTEM AND METHOD FOR GENERATING CONTEXTUAL BEHAVIOR OF A MOBILE ROBOT |
US8655644B2 (en) | 2009-09-30 | 2014-02-18 | International Business Machines Corporation | Language translation in an environment associated with a virtual application |
US8510328B1 (en) * | 2011-08-13 | 2013-08-13 | Charles Malcolm Hatton | Implementing symbolic word and synonym English language sentence processing on computers to improve user automation |
US9152948B2 (en) * | 2012-02-20 | 2015-10-06 | Yahoo! Inc. | Method and system for providing a structured topic drift for a displayed set of user comments on an article |
US10740712B2 (en) * | 2012-11-21 | 2020-08-11 | Verint Americas Inc. | Use of analytics methods for personalized guidance |
US10255271B2 (en) * | 2017-02-06 | 2019-04-09 | International Business Machines Corporation | Disambiguation of the meaning of terms based on context pattern detection |
EP3616087A4 (en) * | 2017-04-27 | 2020-12-16 | Microsoft Technology Licensing, LLC | Generating question-answer pairs for automated chatting |
US10565981B2 (en) | 2017-09-26 | 2020-02-18 | Microsoft Technology Licensing, Llc | Computer-assisted conversation using addressible conversation segments |
US11087097B2 (en) * | 2017-11-27 | 2021-08-10 | Act, Inc. | Automatic item generation for passage-based assessment |
US10776082B2 (en) * | 2018-11-28 | 2020-09-15 | International Business Machines Corporation | Programming environment augment with automated dialog system assistance |
JP7331395B2 (en) * | 2019-03-20 | 2023-08-23 | 富士フイルムビジネスイノベーション株式会社 | Process extractor and program |
US11258731B2 (en) * | 2019-08-22 | 2022-02-22 | Orion Labs, Inc. | Bot proxy for group communication service |
US10841251B1 (en) * | 2020-02-11 | 2020-11-17 | Moveworks, Inc. | Multi-domain chatbot |
US11726803B2 (en) * | 2021-03-01 | 2023-08-15 | Orange Management Inc. | Artificial intelligence based systems and methods for autonomously generating customer service help guides with integrated graphical components and for autonomously error-checking knowledge base support resources |
Family Cites Families (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4688195A (en) * | 1983-01-28 | 1987-08-18 | Texas Instruments Incorporated | Natural-language interface generating system |
US4696003A (en) | 1986-03-10 | 1987-09-22 | International Business Machines Corporation | System for testing interactive software |
US4887212A (en) * | 1986-10-29 | 1989-12-12 | International Business Machines Corporation | Parser for natural language text |
DE3723078A1 (en) * | 1987-07-11 | 1989-01-19 | Philips Patentverwaltung | METHOD FOR DETECTING CONTINUOUSLY SPOKEN WORDS |
US4994966A (en) * | 1988-03-31 | 1991-02-19 | Emerson & Stern Associates, Inc. | System and method for natural language parsing by initiating processing prior to entry of complete sentences |
US5111398A (en) * | 1988-11-21 | 1992-05-05 | Xerox Corporation | Processing natural language text using autonomous punctuational structure |
US5287514A (en) | 1990-01-08 | 1994-02-15 | Microsoft Corporation | Method and system for customizing a user interface in a computer system |
US5161110A (en) | 1990-02-27 | 1992-11-03 | Atlantic Richfield Company | Hierarchical process control system and method |
AU2868092A (en) | 1991-09-30 | 1993-05-03 | Riverrun Technology | Method and apparatus for managing information |
JP2711204B2 (en) | 1992-03-09 | 1998-02-10 | インターナショナル・ビジネス・マシーンズ・コーポレイション | How to generate a relational database user interface |
US5371807A (en) | 1992-03-20 | 1994-12-06 | Digital Equipment Corporation | Method and apparatus for text classification |
US5535323A (en) | 1992-06-29 | 1996-07-09 | Digital Equipment Corporation | Method of and system for displaying context sensitive and application independent help information |
JP3376604B2 (en) | 1992-07-20 | 2003-02-10 | カシオ計算機株式会社 | Information management device |
US5384893A (en) | 1992-09-23 | 1995-01-24 | Emerson & Stern Associates, Inc. | Method and apparatus for speech synthesis based on prosodic analysis |
JPH06131437A (en) | 1992-10-20 | 1994-05-13 | Hitachi Ltd | Method for instructing operation in composite form |
US5864844A (en) | 1993-02-18 | 1999-01-26 | Apple Computer, Inc. | System and method for enhancing a user interface with a computer based training tool |
US5721845A (en) * | 1993-02-18 | 1998-02-24 | Apple Computer, Inc. | Topically organized interface with realistic dialogue |
US5510981A (en) * | 1993-10-28 | 1996-04-23 | International Business Machines Corporation | Language translation apparatus and method using context-based translation models |
US5568639A (en) | 1993-11-24 | 1996-10-22 | Menai Corporation | Method and apparatus for providing an object-oriented file structuring system on a computer |
US5442786A (en) | 1994-04-28 | 1995-08-15 | Bowen; Robert E. | Method for recording user interaction with a computer database to generate reports |
US5642519A (en) * | 1994-04-29 | 1997-06-24 | Sun Microsystems, Inc. | Speech interpreter with a unified grammer compiler |
CA2148029A1 (en) | 1994-05-25 | 1995-11-26 | Deborah L. Mcguinness | Knowledge base management system with enhanced explanation of derived information and of error objects |
US5712987A (en) | 1994-06-03 | 1998-01-27 | Ncr Corporation | Interface and associated bank customer database |
US5587903A (en) | 1994-06-22 | 1996-12-24 | Yale; Thomas W. | Artificial intelligence language program |
US5682539A (en) | 1994-09-29 | 1997-10-28 | Conrad; Donovan | Anticipated meaning natural language interface |
US5758257A (en) | 1994-11-29 | 1998-05-26 | Herz; Frederick | System and method for scheduling broadcast of and access to video programs and other data using customer profiles |
US5894311A (en) | 1995-08-08 | 1999-04-13 | Jerry Jackson Associates Ltd. | Computer-based visual data evaluation |
US5758323A (en) | 1996-01-09 | 1998-05-26 | U S West Marketing Resources Group, Inc. | System and Method for producing voice files for an automated concatenated voice system |
US6012055A (en) | 1996-04-09 | 2000-01-04 | Silicon Graphics, Inc. | Mechanism for integrated information search and retrieval from diverse sources using multiple navigation methods |
US5995921A (en) | 1996-04-23 | 1999-11-30 | International Business Machines Corporation | Natural language help interface |
US5801710A (en) | 1996-08-19 | 1998-09-01 | Eastman Kodak Company | Computer program product for defining a soft edge in a digital mask |
US5924089A (en) | 1996-09-03 | 1999-07-13 | International Business Machines Corporation | Natural language translation of an SQL query |
US5877759A (en) | 1997-03-26 | 1999-03-02 | Netscape Communications Corporation | Interface for user/agent interaction |
CA2290351C (en) | 1997-06-04 | 2005-08-23 | Neuromedia, Inc. | System and method for automatically focusing the attention of a virtual robot interacting with users |
-
1999
- 1999-03-18 US US09/271,665 patent/US6629087B1/en not_active Expired - Fee Related
-
2000
- 2000-03-17 EP EP00918060A patent/EP1190345A2/en not_active Withdrawn
- 2000-03-17 WO PCT/US2000/007083 patent/WO2000055761A2/en not_active Application Discontinuation
- 2000-03-17 AU AU38934/00A patent/AU3893400A/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
WO2000055761A3 (en) | 2002-01-10 |
WO2000055761A2 (en) | 2000-09-21 |
US6629087B1 (en) | 2003-09-30 |
EP1190345A2 (en) | 2002-03-27 |
AU3893400A (en) | 2000-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6629087B1 (en) | Methods for creating and editing topics for virtual robots conversing in natural language | |
US6532401B2 (en) | Methods for automatically verifying the performance of a virtual robot | |
US6604090B1 (en) | System and method for selecting responses to user input in an automated interface program | |
US6314410B1 (en) | System and method for identifying the context of a statement made to a virtual robot | |
US6363301B1 (en) | System and method for automatically focusing the attention of a virtual robot interacting with users | |
CA2290351C (en) | System and method for automatically focusing the attention of a virtual robot interacting with users | |
Crow et al. | A tutorial introduction to PVS | |
US20080276223A1 (en) | Dynamic Source Code Analyzer | |
Hall | Automatic extraction of executable program subsets by simultaneous dynamic program slicing | |
US8638906B1 (en) | Automated application testing | |
US7676519B2 (en) | Method and system for responding to requests relating to complex data maintained in a structured form | |
Lindahl et al. | Detecting software defects in telecom applications through lightweight static analysis: A war story | |
WO2002033582A2 (en) | Method for analyzing text and method for builing text analyzers | |
Bromley et al. | Lisp Lore: A Guide to Programming the Lisp Machine | |
Bolc | The design of interpreters, compilers, and editors for augmented transition networks | |
Baldoni et al. | Verifying protocol conformance for logic-based communicating agents | |
WO2005048064A2 (en) | Programming virtual robots using template | |
Whitington | Debugging functional programs by interpretation | |
Pimenta | Automated specification-based testing of graphical user interfaces | |
Ali et al. | Alneelain: A formal specification language | |
US20220156466A1 (en) | Method, System, and Computer Program Product for Natural Language Programming of a New Function or Skill | |
Hessel | Model-based test case selection and generation for real-time systems | |
Boone | A human-computer dialogue authoring system for Web interaction | |
Razi | An empirical study of robust natural language processing (ill-formed input) | |
Koster et al. | CDL3 manual |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 09581306 Country of ref document: US |
|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2000918060 Country of ref document: EP |
|
AK | Designated states |
Kind code of ref document: A3 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A3 Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |
|
AK | Designated states |
Kind code of ref document: C2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: C2 Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG |
|
COP | Corrected version of pamphlet |
Free format text: PAGES 1-67, DESCRIPTION, REPLACED BY NEW PAGES 1-68; PAGE 68, CLAIMS, RENUMBERED AS 69; PAGES 1/15-15/15, DRAWINGS, REPLACED BY NEW PAGES 1/15-15/15; DUE TO LATE TRANSMITTAL BY THE RECEIVING OFFICE |
|
WWP | Wipo information: published in national office |
Ref document number: 2000918060 Country of ref document: EP |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2000918060 Country of ref document: EP |