# US 2023/0267343 A1 · Automated code-mixed natural language processing for artificial intelligence-based question answering techniques

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

- Number: US 2023/0267343 A1
- Document ID: US20230267343A1
- Status: Published application
- Kind: A1
- Application number: 17/678,276
- Filed: 2022-02-23
- Published: 2023-08-24
- Earliest claimed: 2022-02-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tarun Tater; Jaydeep Sen; Rudra Murthy Venkataramana; Vishwajeet Kumar
- Web page: https://patentgrep.com/patent/US20230267343A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06F 16/3329: Natural language query formulation
- G06F 16/3334: {Selection or weighting of terms from queries, including natural language queries}
- G06F 16/3338: {Query expansion}
- G06F 40/216: using statistical methods
- G06F 40/263: Language identification
- G06F 40/30: Semantic analysis
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computer program products for automated code-mixed natural language processing for artificial intelligence-based question answering techniques are provided herein. A computer-implemented method includes detecting multiple languages in an input query to an artificial intelligence-based question answering system; determining, in the input query, one or more partial query signals associated with each of the multiple languages; identifying one or more missing entity arguments from at least a portion of the one or more partial query signals; updating at least a portion of the one or more missing entity arguments by inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique; and performing one or more automated actions based at least in part on the updating of at least a portion of the one or more missing entity arguments.

## Claims

### Claim 1

A computer-implemented method comprising:
detecting two or more languages in an input query to an artificial intelligence-based question answering system;
determining, in the input query, one or more partial query signals associated with each of the two or more languages;
identifying one or more missing entity arguments from at least a portion of the one or more partial query signals;
updating at least a portion of the one or more missing entity arguments by inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique; and
performing one or more automated actions based at least in part on the updating of at least a portion of the one or more missing entity arguments;
wherein the method is carried out by at least one computing device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises inferring data from at least a portion of the one or more partial query signals by processing the at least a portion of the one or more partial query signals using one or more semantic reasoning techniques.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises inferring data from at least a portion of the one or more partial query signals by processing the at least a portion of the one or more partial query signals using one or more sequence-to-sequence learning techniques.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein performing one or more automated actions comprises generating an answer to the input query using the artificial intelligence-based question answering system.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein performing one or more automated actions comprises training the at least one artificial intelligence technique using at least a portion of the input query.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises dynamically identifying one or more synonyms for one or more words within the at least a portion of the one or more partial query signals.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein updating at least a portion of the one or more missing entity arguments comprises determining one or more entity relations for one or more concepts comprising one or more of aggregation, order by, and temporal phrase.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein determining one or more partial query signals associated with each of the two or more languages comprises identifying, for each of the two or more languages, one or more language-specific phrases in the input query.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein identifying one or more missing entity arguments comprises detecting a presence of one or more aggregation keywords without at least one corresponding argument.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein identifying one or more missing entity arguments comprises detecting a presence of one or more numeric comparisons without one or more of at least one argument and at least one numeric value.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein identifying one or more missing entity arguments comprises detecting a presence of one or more co-references without at least one corresponding referred entity.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein software implementing the method is provided as a service in a cloud environment.

### Claim 13

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
detect two or more languages in an input query to an artificial intelligence-based question answering system;
determine, in the input query, one or more partial query signals associated with each of the two or more languages;
identify one or more missing entity arguments from at least a portion of the one or more partial query signals;
update at least a portion of the one or more missing entity arguments by inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique; and
perform one or more automated actions based at least in part on the updating of at least a portion of the one or more missing entity arguments.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises inferring data from at least a portion of the one or more partial query signals by processing the at least a portion of the one or more partial query signals using one or more semantic reasoning techniques.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises inferring data from at least a portion of the one or more partial query signals by processing the at least a portion of the one or more partial query signals using one or more sequence-to-sequence learning techniques.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein performing one or more automated actions comprises generating an answer to the input query using the artificial intelligence-based question answering system.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein performing one or more automated actions comprises training the at least one artificial intelligence technique using at least a portion of the input query.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique comprises dynamically identifying one or more synonyms for one or more words within the at least a portion of the one or more partial query signals.

### Claim 19 (depends on 13)

The computer program product of claim 13, wherein updating at least a portion of the one or more missing entity arguments comprises determining one or more entity relations for one or more concepts comprising one or more of aggregation, order by, and temporal phrase.

### Claim 20

A system comprising:
a memory configured to store program instructions; and
a processor operatively coupled to the memory to execute the program instructions to:
detect two or more languages in an input query to an artificial intelligence-based question answering system;
determine, in the input query, one or more partial query signals associated with each of the two or more languages;
identify one or more missing entity arguments from at least a portion of the one or more partial query signals;
update at least a portion of the one or more missing entity arguments by inferring data from at least a portion of the one or more partial query signals using at least one artificial intelligence technique; and
perform one or more automated actions based at least in part on the updating of at least a portion of the one or more missing entity arguments.
