# US 2022/0284996 A1 · Combining domain-specific ontologies for language processing

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

- Number: US 2022/0284996 A1
- Document ID: US20220284996A1
- Status: Published application
- Kind: A1
- Application number: 17/188,310
- Filed: 2021-03-01
- Published: 2022-09-08
- Earliest claimed: 2021-03-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Kenneth Lee Clarkson; Sanjana Sahayaraj
- Web page: https://patentgrep.com/patent/US20220284996A1

## CPC

- G16H 10/60: for patient-specific data, e.g. for electronic patient records
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G16H 40/67: for remote operation
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems for performing a natural language processing task include identifying hypernym/hyponym relations in a depth-wise ontology and identifying synonymy relations in a breadth-wise ontology. The depth-wise ontology and the breadth-wise ontology are combined into a combined ontology using the identified hypernym/hyponym relations and the identified synonymy relations. Enhanced hypernym/hyponym relations are embedded using the combined ontology. A natural language processing task is performed using the enhanced hypernym/hyponym relations and the combined ontology.

## Claims

### Claim 1

A computer-implemented method for performing a natural language processing task, comprising:
identifying hypernym/hyponym relations in a depth-wise ontology;
identifying synonymy relations in a breadth-wise ontology;
combining the depth-wise ontology and the breadth-wise ontology into a combined ontology using the identified hypernym/hyponym relations and the identified synonymy relations;
embedding enhanced hypernym/hyponym relations using the combined ontology; and
performing a natural language processing task using the enhanced hypernym/hyponym relations and the combined ontology.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying the hypernym/hyponym relations includes identifying a partial order between terms in the depth-wise ontology.

### Claim 3 (depends on 2)

The method of claim 2, wherein embedding the enhanced hypernym/hyponym relations includes a sketch function that uses a random hash function to generate a vector representation of a relationship between two terms.

### Claim 4 (depends on 3)

The method of claim 3, wherein performing the natural language processing task includes determining whether a first term and a second term are related according to a hypernym/hyponym relation.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining whether a first term and a second term are related includes comparing a ratio to a threshold.

### Claim 6 (depends on 5)

The method of claim 5, wherein the ratio is characterized as:
R
x
,
y
=
o
⁢
s
⁢
k
⁡
(
x
)
·
osk
⁡
(
y
)
o
⁢
s
⁢
k
⁡
(
y
)
·
osk
⁡
(
y
)
where y is a set of synonyms of the first term and x is a union of sets of synonyms of the second term and where osk(·) is the sketch function.

### Claim 7 (depends on 1)

The method of claim 1, further comprising identifying and removing loops in the combined ontology by identifying hypernym/hyponym loops within the combined ontology.

### Claim 8 (depends on 1)

The method of claim 1, wherein combining the depth-wise ontology and the breadth-wise ontology includes executing a query on the breadth-wise ontology using tokens from each concept in the depth-wise ontology.

### Claim 9 (depends on 8)

The method of claim 8, further comprising validating results of the query from each concept in the depth-wise ontology to ensure a contextual match between the entries of the depth-wise ontology and the breadth-wise ontology.

### Claim 10 (depends on 1)

The method of claim 1, wherein performing the natural language processing task includes a task selected from the group consisting of summarizing electronic health records and detecting concept mentions within electronic health records.

### Claim 11

A non-transitory computer readable storage medium comprising a computer readable program for performing a natural language processing task, wherein the computer readable program when executed on a computer causes the computer to perform:
identifying hypernym/hyponym relations in a depth-wise ontology;
identifying synonymy relations in a breadth-wise ontology;
combining the depth-wise ontology and the breadth-wise ontology into a combined ontology using the identified hypernym/hyponym relations and the identified synonymy relations;
embedding enhanced hypernym/hyponym relations using the combined ontology; and
performing a natural language processing task using the enhanced hypernym/hyponym relations and the combined ontology.

### Claim 12

A system for performing a natural language processing task, comprising:
a hardware processor; and
a memory, configured to store computer program code that, when executed by the hardware processor, implements:
a relation embedder that identifies hypernym/hyponym relations in a depth-wise ontology and synonymy relations in a breadth-wise ontology;
an ontology combiner that combines the depth-wise ontology and the breadth-wise ontology into a combined ontology using the identified hypernym/hyponym relations and the identified synonymy relations, wherein the relation embedder further embeds enhanced hypernym/hyponym relations using the combined ontology; and
a natural language processing task that uses the enhanced hypernym/hyponym relations and the combined ontology.

### Claim 13 (depends on 12)

The system of claim 12, wherein the relation embedder identifies a partial order between terms in the depth-wise ontology.

### Claim 14 (depends on 13)

The system of claim 13, wherein the relation embedder uses a sketch function that uses a random hash function to generate a vector representation of a relationship between two terms.

### Claim 15 (depends on 14)

The system of claim 14, wherein the natural language processing task includes a determination of whether a first term and a second term are related according to a hypernym/hyponym relation.

### Claim 16 (depends on 15)

The system of claim 15, wherein the natural language processing task compares a ratio to a threshold, wherein the ratio is characterized as:
R
x
,
y
=
o
⁢
s
⁢
k
⁡
(
x
)
·
osk
⁡
(
y
)
o
⁢
s
⁢
k
⁡
(
y
)
·
osk
⁡
(
y
)
where y is a set of synonyms of the first term and x is a union of sets of synonyms of the second term and where osk(·) is the sketch function.

### Claim 17 (depends on 12)

The system of claim 12, wherein the ontology combiner further identifies and removes loops in the combined ontology by identifying hypernym/hyponym loops within the combined ontology.

### Claim 18 (depends on 12)

The system of claim 12, wherein the ontology combiner executes a query on the breadth-wise ontology using tokens from each concept in the depth-wise ontology.

### Claim 19 (depends on 18)

The system of claim 18, wherein the ontology combiner further validates results of the query from each concept in the depth-wise ontology to ensure a contextual match between the entries of the depth-wise ontology and the breadth-wise ontology.

### Claim 20 (depends on 12)

The system of claim 12, wherein the natural language processing task includes a task selected from the group consisting of summarizing electronic health records and detecting concept mentions within electronic health records.
