# US 2021/0174025 A1 · A hierarchical entity recognition and semantic modeling framework for information extraction

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

- Number: US 2021/0174025 A1
- Document ID: US20210174025A1
- Status: Published application
- Kind: A1
- Application number: 16/762,684
- Filed: 2018-12-24
- Published: 2021-06-10
- Earliest claimed: 2017-12-25
- Assignees: Koninklijke Philips N.V.
- Applicants: Koninklijke Philips N.V.
- Inventors: YIYI HU; EN OUYANG; ZUOFENG LI
- Web page: https://patentgrep.com/patent/US20210174025A1

## CPC

- G16H 15/00: ICT specially adapted for medical reports, e.g. generation or transmission thereof
- G06F 18/24143: {Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]}
- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 40/205: Parsing
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/242: Dictionaries
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/295: Named entity recognition
- G06F 40/30: Semantic analysis
- G06N 20/00: Machine learning
- 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)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Extracting entities from a document with a hierarchical entity graph of entities. Entity definitions and entity recognition definitions are customized by a user and provided. The configuration information is utilized to generate (905) an entity graph, which is then utilized to parse one or more documents. In some implementations, the resulting parse tree may be utilized, in conjunction with user feedback, to generate one or more training instances for a machine learning model assigned to one or more of the custom nodes as an entity recognition definition. Parsing of the resulting tree may be performed with a lazy parsing methodology, with only the portions of interest to the user being identified in the document.

## Claims

### Claim 1

A method implemented by one or more processors, comprising:
receiving a configuration file, wherein the configuration file includes one or more custom entity definitions, and wherein each custom entity definition includes an entity recognition definition;
generating an entity graph based on the custom entity definitions, wherein the entity graph defines relationships between the custom entity definitions;
identifying a document of interest;
parsing the document of interest utilizing the entity graph, wherein parsing the document of interest includes:
identifying a plurality of tokens in the document of interest,
determining, for each of the tokens, a document entity, wherein the document entity matches one of the custom entity definitions, and
generating, based on the document entities, the custom entity definitions, the relationships between the custom entity definitions, and the document of interest, a document tree, wherein the document tree includes the document entities and relationships between the document entities; and
providing the document tree to a user.

### Claim 2 (depends on 1)

The method of claim 1, further comprising;
identifying a parser for the document tree;
receiving a parse request from the user;
parsing the document tree to identify one or more entities responsive to the parse request; and
providing output indicative of the responsive entities to the user.

### Claim 3 (depends on 2)

The method of claim 2, wherein only the entities responsive to the parse request are included in the document tree.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
receiving a second parse request from the user;
parsing the document tree to identify one or more additional entities responsive to the second parse request; and
providing output indicative of the additional entities, wherein only the one or more entities and the one or more additional entities are included in the document tree.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving annotation information associated with the document tree;
generating one or more training instances based on the document tree and the annotation information; and
updating one or more of the entity recognition definitions based on the training instances.

### Claim 6 (depends on 1)

The method of claim 1, wherein at least one of the entity recognition definitions is a machine learning model.

### Claim 7 (depends on 1)

The method of claim 1, wherein parsing the document of interest includes parallel parsing of multiple copies of the document of interest and merging the parsed copies.

### Claim 8 (depends on 7)

The method of claim 7, wherein the parallel parsing and merging are performed in accordance with a map and reduce paradigm.

### Claim 9 (depends on 7)

The method of claim 7, wherein conflicts between the parsed copies are resolved by truncating one or more entities in conflict in at least one of the parsed copies.

### Claim 10 (depends on 7)

The method of claim 7, wherein conflicts between the parsed copies are resolved by extending a parent entity to include all of one or more child entities of the parent entity.

### Claim 11

At least one non-transitory computer-readable medium comprising instructions that, in response to execution of the instructions by one or more processors, cause the one or more processors to perform the following operations:
receiving a configuration file, wherein the configuration file includes one or more custom entity definitions, and wherein each custom entity definition includes an entity recognition definition;
generating an entity graph based on the custom entity definitions, wherein the entity graph defines relationships between the custom entity definitions;
identifying a document of interest;
parsing the document of interest utilizing the entity graph, wherein parsing the document of interest includes:
identifying a plurality of tokens in the document of interest,
determining, for each of the tokens, a document entity, wherein the document entity matches one of the custom entity definitions, and
generating, based on the document entities, the custom entity definitions, the relationships between the custom entity definitions, and the document of interest, a document tree, wherein the document tree includes the document entities and relationships between the document entities; and
providing the document tree to a user.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising;
identifying a parser for the document tree;
receiving a parse request from the user;
parsing the document tree to identify one or more entities responsive to the parse request; and
providing output indicative of the responsive entities to the user.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein only the entities responsive to the parse request are included in the document tree.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, further comprising:
receiving a second parse request from the user;
parsing the document tree to identify one or more additional entities responsive to the second parse request; and
providing output indicative of the additional entities, wherein only the one or more entities and the one or more additional entities are included in the document tree.

### Claim 15 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising:
receiving annotation information associated with the document tree;
generating one or more training instances based on the document tree and the annotation information; and
updating one or more of the entity recognition definitions based on the training instances.

### Claim 16 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein at least one of the entity recognition definitions is a machine learning model.

### Claim 17 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein parsing the document of interest includes parallel parsing of multiple copies of the document of interest and merging the parsed copies.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the parallel parsing and merging are perform in accordance with a map and reduce paradigm.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein conflicts between the parsed copies are resolved by truncating one or more entities in conflict in at least one of the parsed copies.

### Claim 20

A system comprising one or more processors and memory operably coupled with the one or more processors, wherein the memory stores instructions that, in response to execution of the instructions by one or more processors, cause the one or more processors to perform the following operations:
receiving a configuration file, wherein the configuration file includes one or more custom entity definitions, and wherein each custom entity definition includes an entity recognition definition;
generating an entity graph based on the custom entity definitions, wherein the entity graph defines relationships between the custom entity definitions;
identifying a document of interest;
parsing the document of interest utilizing the entity graph, wherein parsing the document of interest includes:
identifying a plurality of tokens in the document of interest,
determining, for each of the tokens, a document entity, wherein the document entity matches one of the custom entity definitions, and
generating, based on the document entities, the custom entity definitions, the relationships between the custom entity definitions, and the document of interest, a document tree, wherein the document tree includes the document entities and relationships between the document entities; and
providing the document tree to a user.
