# US 10,956,683 B2 · Systems and method for vocabulary management in a natural learning framework

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,683 B2
- Document ID: US10956683B2
- Status: Granted
- Kind: B2
- Application number: 16/356,815
- Filed: 2019-03-18
- Published: 2019-09-26
- Granted: 2021-03-23
- Earliest claimed: 2018-03-23
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Edwin Sapugay; Anil Kumar Madamala; Maxim Naboka; Srinivas SatyaSai Sunkara; Lewis Savio Landry Santos; Murali B. Subbarao
- Web page: https://patentgrep.com/patent/US10956683B2

## CPC

- G06F 40/30: Semantic analysis
- G06F 40/205: Parsing
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/025: Extracting rules from data
- G06N 20/00: Machine learning
- G10L 15/19: Grammatical context, e.g. disambiguation of the recognition hypotheses based on word sequence rules
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/16: using artificial neural networks
- G10L 15/1807: {using prosody or stress}
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 25/48: specially adapted for particular use
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L 2015/225: {Feedback of the input speech}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An agent automation system implements a virtual agent that is capable of learning new words, or new meanings for known words, based on exchanges between the virtual agent and a user in order to customize the vocabulary of the virtual agent to the needs of the user or users. The agent automation framework has access to a corpus of previous exchanges between the virtual agent and the user, such as one or more chat logs. New words and/or new meanings for known words are identified within the corpus and new word vectors are generated for these new words and/or new meanings for known words and added to refine a word vector distribution model. The refined word vector distribution model is then utilized by the agent automation system to interact with the user.

## Claims

### Claim 1

An agent automation system, comprising:
a memory configured to store:
a natural language understanding (NLU) framework;
a word vector distribution model; and
a chat log; and
a processor configured to execute instructions to cause the agent automation system to perform actions comprising:
extracting a plurality of utterances from the chat log;
segmenting each of the plurality of extracted utterances into one or more words;
identifying a new word of the one or more words from the plurality of extracted utterances, wherein the new word does not have an associated word vector stored in the word vector distribution model;
generating a new word vector for the new word;
updating the word vector distribution model to include the new word vector;
receiving an utterance; and
generating an annotated utterance tree of the utterance, wherein the annotated utterance tree comprises at least one node that is associated with the new word vector of the word vector distribution model.

### Claim 2 (depends on 1)

The agent automation system of claim 1, wherein the new word vector is generated based on a context in which the new word was used in the plurality of extracted utterances.

### Claim 3 (depends on 2)

The agent automation system of claim 2, wherein the NLU framework comprises an ontology service and a structure service, wherein the ontology service and the structure service are configured to determine an intended meaning of the new word based on the context in which the new word was used.

### Claim 4 (depends on 2)

The agent automation system of claim 2, wherein the new word vector is generated based on a plurality of uses of the new word in the chat log.

### Claim 5 (depends on 1)

The agent automation system of claim 1, wherein the new word vector is generated based on input received from a user, wherein the received input comprises a definition of the new word.

### Claim 6 (depends on 1)

The agent automation system of claim 1, wherein the instructions cause the agent automation system to perform actions comprising:
identifying a new meaning of a word of the one or more words, wherein the new meaning does not have an associated word vector stored in the word vector distribution model;
generating a new word vector for the new meaning; and
updating the word vector distribution model to include the new word vector.

### Claim 7 (depends on 1)

The agent automation system of claim 1, wherein the word vector distribution model comprises at least one word vector for each known meaning for a plurality of known words.

### Claim 8 (depends on 1)

The agent automation system of claim 1, wherein the NLU framework comprises a prosody subsystem configured to segment each of the plurality of extracted utterances into the one or more words.

### Claim 9 (depends on 1)

The agent automation system of claim 1, wherein the NLU framework comprises a vocabulary subsystem, a structure subsystem, and a prosody subsystem that cooperate to generate the annotated utterance tree of the utterance.

### Claim 10 (depends on 9)

The agent automation system of claim 9, wherein the instructions cause the agent automation system to perform actions comprising identifying the new word in the utterance by determining that the new word does not have an associated word vector stored in the word vector distribution model.

### Claim 11 (depends on 9)

The agent automation system of claim 9, wherein the instructions cause the agent automation system to perform actions comprising generating a response to the utterance.

### Claim 12 (depends on 8)

The agent automation system of claim 8, wherein the prosody subsystem is configured to segment each of the plurality of extracted utterances into the one or more words based on written prosody cues, wherein the written prosody cues comprise a rhythm, an emphasis, or a focus of the plurality of extracted utterances.

### Claim 13

A method, comprising:
extracting a plurality of utterances from a chat log stored in memory;
segmenting each of the plurality of extracted utterances into one or more words;
identifying a new usage of a word of the one or more words from the plurality of extracted utterances that does not match an associated word vector of a word vector distribution model stored in the memory;
generating a new word vector for the new usage;
updating the word vector distribution model to include the new word vector receiving an utterance; and
generating an annotated utterance tree of the utterance, wherein the annotated utterance tree comprises at least one node that is associated with the new word vector of the word vector distribution model.

### Claim 14 (depends on 13)

The method of claim 13, wherein the new word vector is generated based on a context of the new usage of the word in the plurality of extracted utterances.

### Claim 15 (depends on 14)

The method of claim 14, wherein the new word vector is generated based on a plurality instances of the new usage of the word in the chat log.

### Claim 16 (depends on 13)

The method of claim 13, wherein the new word vector is generated based on input received from a user, wherein the received input comprises a definition of the new meaning.

### Claim 17 (depends on 13)

The method of claim 13, wherein the word vector distribution model comprises at least one word vector for each known meaning for a plurality of known words.

### Claim 18 (depends on 13)

The method of claim 13, comprising identifying the new word usage in the utterance.

### Claim 19 (depends on 13)

The method of claim 13, comprising generating a response to the utterance.

### Claim 20

A non-transitory, computer-readable medium storing instructions that, when executed by one or more processors of a computing system, cause the computing system to:
extract a plurality of utterances from a chat log stored in memory;
segment each of the plurality of extracted utterances into one or more words or phrases;
identify a new usage of a word or phrase of the one or more words or phrases from the plurality of extracted utterances that does not match an associated word vector of a word vector distribution model stored in the memory;
generate a new word vector for the new usage of the word or phrase;
update the word vector distribution model to include the new word vector receive an utterance; and
generate an annotated utterance tree of the utterance, wherein the annotated utterance tree comprises at least one node that is associated with the new word vector of the word vector distribution model.
