# US 2021/0342539 A1 · Method and apparatus for recognizing medical entity in medical text

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

- Number: US 2021/0342539 A1
- Document ID: US20210342539A1
- Status: Published application
- Kind: A1
- Application number: 16/316,468
- Filed: 2018-04-24
- Published: 2021-11-04
- Earliest claimed: 2017-07-20
- Assignees: Boe Technology Group Co., Ltd.
- Applicants: Boe Technology Group Co., Ltd.
- Inventors: Zhenzhong ZHANG
- Web page: https://patentgrep.com/patent/US20210342539A1

## CPC

- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/268: Morphological analysis
- G06F 40/295: Named entity recognition
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G16H 50/70: for mining of medical data, e.g. analysing previous cases of other patients
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/30: Semantic analysis
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA

## Abstract

Embodiments of the present disclosure provide a method and an apparatus for recognizing a medical entity in a medical text. In this method, the medical text is segmented into a plurality of words. Each of the words is used as a target word. A local and a global annotation feature of the target word are determined. The local annotation feature includes the target word. The global annotation feature includes a relationship between the target word and the recognized medical entity. Next, a label for the target word is determined from candidate labels based on the local and global annotation feature. Next, a combination relationship between the target word and a previous word of the target word is obtained based on the label for the target word. The combination relationship includes combination and non-combination. Next, the combined words are recognized as the medical entity based on the combination relationship.

## Claims

### Claim 1

A method for recognizing a medical entity in a medical text, the method comprising:
segmenting the medical text into a plurality of words;
performing the following operations on each of the plurality of words as a target word:
determining a local annotation feature and a global annotation feature of the target word, wherein the local annotation feature comprises the target word, and wherein the global annotation feature comprises a relationship between the target word and a recognized medical entity;
determining a label for the target word from a plurality of candidate labels based on the local annotation feature and the global annotation feature of the target word;
obtaining a combination relationship between the target word and a previous word of the target word based on the label for the target word, wherein the combination relationship comprises combination and non-combination; and
recognizing the combined words as the medical entity based on the combination relationship.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the plurality of candidate labels comprise:
a first label configured to indicate that the word is a shared beginning portion of the medical entity;
a second label configured to indicate that the word is an unshared beginning portion of the medical entity;
a third label configured to indicate that the word is a successive portion of the medical entity;
a fourth label configured to indicate that the word is a portion of a nonmedical entity and that an operation of medical entity recognition is to be performed; and
a filth label configured to indicate that the word is a portion of the nonmedical entity and that the operation of medical entity recognition is not performed.

### Claim 3 (depends on 1)

The method according to claim 1, wherein determining the label for the target word from the plurality of candidate labels based on the local annotation feature and the global annotation feature of the target word comprises:
calculating, for each of the plurality of candidate labels, a probability that the candidate label is the label for the target word based on the local annotation feature and the global annotation feature of the target word; and
determining the candidate label with a highest probability as the label for the target word.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the probability is calculated using a maximum entropy model.

### Claim 5 (depends on 2)

The method according to claim 2, wherein obtaining the combination relationship between the target word and the previous word of the target word based on the label for the target word comprises:
performing no combination of the label and a previous label of the label if the label is the first label;
combining the label and one of a previous first label, a previous second label and a previous third label of the label if the label is the third label,
if the label is the second label:
determining a combination feature of the target word and a combination feature of a previous word of the target word having the first label or the second label, wherein the combination feature comprises a morpheme contained in the corresponding word;
calculating a label combination probability and a label non-combination probability based on the combination feature of the target word and the combination feature of the previous word of the target word having the first label or the second label;
combining the second label and a previous first label or a previous second label of the second label in response to the label combination probability being greater than the label non-combination probability; and
performing no combination of the second label and the previous first label or the previous second label of the second label in response to the label combination probability being not greater than the label non-combination probability;
performing no combination of the label and the previous label of the label and performing the operation of medical entity recognition if the label is the fourth label;
performing no combination of the label and the previous label of the label if the label is the fifth label; and
determining the combination relationship between the words corresponding to the labels based on the combination of the labels.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the local annotation feature further comprises X previous words of the target word and X posterior words of the target word, wherein X is a natural number.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the local annotation feature further comprises a part of speech of the target word, parts of speech of the X previous words of the target word, and parts of speech of the X posterior words of the target word.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the global annotation feature further comprises i) a relationship between Y previous words of the target word and the recognized medical entity and ii) a relationship between Y posterior words of the target word and the recognized medical entity, and wherein Y is a natural number.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the global annotation feature comprises whether the target word is contained in the recognized medical entity, whether the Y previous words of the target word are contained in the recognized medical entity, and whether the Y posterior words of the target word are contained in the recognized medical entity.

### Claim 10 (depends on 5)

The method according to claim 5, wherein the combination feature further comprises morphemes contained in Z previous words of the corresponding word and morphemes contained in Z posterior words of the corresponding word, and wherein Z is a natural number.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the combination feature comprises morphemes contained in the corresponding word, Z previous words of the corresponding word, Z posterior words of the corresponding word, morphemes contained in the Z previous words of the corresponding word, and morphemes contained in the Z posterior words of the corresponding word.

### Claim 12 (depends on 5)

The method according to claim 5, wherein the label combination probability and the label non-combination probability are calculated using a maximum entropy model.

### Claim 13 (depends on 4)

The method according to claim 4, wherein the maximum entropy model is trained using an optimization algorithm.

### Claim 14

An apparatus for recognizing a medical entity in a medical text, the apparatus comprising:
at least one processor; and
at least one memory storing a computer program;
wherein the computer program is executable by the at least one processor, whereby the apparatus is configured, to:
segment the medical text into a plurality of words;
perform the following operations on each of the plurality of words as a target word:
determine a local annotation feature and a global annotation feature of the target word, wherein the local annotation feature comprises the target word, and wherein the global annotation feature comprises a relationship between the target word and a recognized medical entity;
determine a label for the target word from a plurality of candidate labels based on the local annotation feature and the global annotation feature of the target word;
obtain a combination relationship between the target word and a previous word of the target word based on the label for the target word, wherein the combination relationship comprises combination and non-combination; and
recognize the combined word as the medical entity based on the combination relationship.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the plurality of candidate labels comprise:
a first label configured to indicate that the word is a shared beginning portion of the medical entity;
a second label configured to indicate that the word is an unshared beginning portion of the medical entity;
a third label configured to indicate that the word is a successive portion of the medical entity;
a fourth label configured to indicate that the word is a portion of a nonmedical entity and that an operation of medical entity recognition is to be performed; and
a fifth label configured to indicate that the word is a portion of the nonmedical entity and that the operation of medical entity recognition is not performed.

### Claim 16 (depends on 14)

The apparatus according to claim 14, wherein the apparatus is configured to determine the label for the target word from the plurality of candidate labels based on the local annotation feature and the global annotation feature of the target word by:
calculating, for each of the plurality of candidate labels, a probability that the candidate label is the label for the target word based on the local annotation feature and the global annotation feature of the target word; and
determining the candidate label with a highest probability as the label for the target word.

### Claim 17

(canceled)

### Claim 18 (depends on 15)

The apparatus according to claim 15, wherein the apparatus is configured to obtain the combination relationship between the target word and the previous word of the target word based on the label for the target word by:
performing no combination of the label and a previous label of the label if the label is the first label;
combining the label and one of a previous first label, a previous second label and a previous third label of the label if the label is the third label;
if the label is the second label:
determining a combination feature of the target word and a combination feature of a previous word of the target word having the first label or the second label, wherein the combination feature comprises a morpheme contained in the corresponding word;
calculating a label combination probability and a label non-combination probability based on the combination feature of the target word and the combination feature of the previous word of the target word having the first label or the second label;
combining the second label and a previous first label or a previous second label of the second label in response to the label combination probability being greater than the label non-combination probability; and
performing no combination of the second label and the previous first label or the previous second label of the second label in response to the label combination probability being not greater than the label non-combination probability;
performing no combination of the label and the previous label of the label and performing the operation of medical entity recognition if the label is the fourth label;
performing no combination of the label and the previous label of the label if the label is the fifth label; and
determining the combination relationship between the words corresponding to the labels based on the combination of the labels.

### Claim 19 (depends on 14)

The apparatus according to claim 14, wherein the local annotation feature further comprises X previous words of the target word and X posterior words of the target word, and wherein X is a natural number.

### Claim 20

(canceled)

### Claim 21 (depends on 14)

The apparatus according to claim 14, wherein the global annotation feature further comprises i) a relationship between Y previous words of the target word and the recognized medical entity and ii) a relationship between Y posterior words of the target word and the recognized medical entity, and wherein Y is a natural number.

### Claim 22

(canceled)

### Claim 23 (depends on 18)

The apparatus according to claim 18, wherein the combination feature further comprises morphemes contained in Z previous words of the corresponding word and morphemes contained in Z posterior words of the corresponding word, and wherein Z is a natural number.

### Claim 24

(canceled)

### Claim 25

(canceled)

### Claim 26

(canceled)

### Claim 27

(canceled)
