# US 10,769,308 B2 · Technique used in text analysis in a safe manner

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

- Number: US 10,769,308 B2
- Document ID: US10769308B2
- Status: Granted
- Kind: B2
- Application number: 16/155,071
- Filed: 2018-10-09
- Published: 2019-02-07
- Granted: 2020-09-08
- Earliest claimed: 2015-11-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Daisuke Hayashi; Sayaka Tamai; Keisuke Nitta; Fumihiko Terui
- Web page: https://patentgrep.com/patent/US10769308B2

## CPC

- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- G06F 40/157: using dictionaries or tables
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first character string in a logic, wherein the logic is a rule which analyzes input text and extracts additional information used for the text analysis, used for the text analysis with a second character string which is different form the first character string is replaced using a mapping between the first character string and the second character string. The first character string being a character or a combination of characters in a logic. A first character string is searched for in a target document for the text analysis and the first character string, if found, is replaced with the second character string, using the mapping. The logic is sent after the replacement to a server computer. The target document after the replacement is sent to the server computer. A text analysis result for the target document after the replacement is received form the server computer.

## Claims

### Claim 1

A computer program product used in text analysis, the computer program product comprising:
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to replace a first character string in a logic, wherein the logic is a format which analyzes input text and extracts additional information used for the text analysis, with a second character string which is different from the first character string, using a mapping between the first character string and the second character string, the first character string being a character or a combination of characters in the logic;
program instructions to search for a first character string in a target document for the text analysis and replacing the first character string, if found, with the second character string, using the mapping;
program instructions to send the logic after the replacement to a server computer;
program instructions to send the target document after the replacement to the server computer; and
program instructions to receive from the server computer a text analysis result for the target document after the replacement.

### Claim 2 (depends on 1)

The computer program product according to claim 1, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein the mapping level is selected, depending upon one or more of the following: a context of the target document, an importance or category associated with the target document, an importance or category associated with the logic, an importance or category associated with the first character string, and a calculation amount required.

### Claim 3 (depends on 1)

The computer program product according to claim 1, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein the mapping level is dynamically determined.

### Claim 4 (depends on 1)

The computer program product according to claim 1, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein each mapping level is dynamically determined for each first character string of a plurality of first character strings.

### Claim 5 (depends on 1)

The computer program product according to claim 1, further comprising:
program instructions to reversely replace the second character string in the text analysis result with the first character string, using the mapping; and
program instructions to output the text analysis result after the reverse replacement.

### Claim 6 (depends on 1)

The computer program product according to claim 1, further comprising:
program instructions to reversely replace the second character string in the text analysis result with the first character string, using the mapping; and
program instructions to display a user interface which allows a user to select whether the reverse replacement is performed.

### Claim 7 (depends on 1)

The computer program product according to claim 1, further comprising:
program instructions to automatically generate the second character string on the basis of the first character string, so as to generate the mapping.

### Claim 8 (depends on 1)

The computer program product according to claim 1, further comprising:
program instructions to automatically extract the first character string from the logic.

### Claim 9 (depends on 1)

The computer program product according to claim 1, further comprising:
program instructions to output the target document after the replacement, before sending the target document after the replacement to the server computer.

### Claim 10 (depends on 1)

The computer program product according to claim 1, wherein the logic is used for the text analysis and wherein the logic is one of the following: a dictionary, a regular expression, or a program code.

### Claim 11

A computer system used in text analysis, the computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:
program instructions to replace a first character string in a logic, wherein the logic is a rule which analyzes input text and extracts additional information used for the text analysis, with a second character string which is different from the first character string, using a mapping between the first character string and the second character string, the first character string being a character or a combination of characters in the logic;
program instructions to search for a first character string in a target document for the text analysis and replacing the first character string, if found, with the second character string, using the mapping;
program instructions to send the logic after the replacement to a server computer;
program instructions to send the target document after the replacement to the server computer; and
program instructions to receive from the server computer a text analysis result for the target document after the replacement.

### Claim 12 (depends on 11)

The computer system according to claim 11, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein the mapping level is selected, depending upon one or more of the following: a context of the target document, an importance or category associated with the target document, an importance or category associated with the logic, an importance or category associated with the first character string, and a calculation amount required.

### Claim 13 (depends on 11)

The computer system according to claim 11, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein the mapping level is dynamically determined.

### Claim 14 (depends on 11)

The computer system according to claim 11, wherein the mapping is generated according to a mapping level which is selected among a plurality of mapping levels and wherein each mapping level is dynamically determined for each first character string of a plurality of first character strings.

### Claim 15 (depends on 11)

The computer system according to claim 11, further comprising:
program instructions to reversely replace the second character string in the text analysis result with the first character string, using the mapping; and
program instructions to output the text analysis result after the reverse replacement.

### Claim 16 (depends on 11)

The computer system according to claim 11, further comprising:
program instructions to reversely replace the second character string in the text analysis result with the first character string, using the mapping; and
program instructions to display a user interface which allows a user to select whether the reverse replacement is performed.

### Claim 17 (depends on 11)

The computer system according to claim 11, further comprising:
program instructions to automatically generate the second character string on the basis of the first character string, so as to generate the mapping.

### Claim 18 (depends on 11)

The computer system according to claim 11, further comprising:
program instructions to automatically extract the first character string from the logic.

### Claim 19 (depends on 11)

The computer system according to claim 11, further comprising:
program instructions to output the target document after the replacement, before sending the target document after the replacement to the server computer.

### Claim 20 (depends on 11)

The computer system according to claim 11, wherein the logic is used for the text analysis and wherein the logic is one of the following: a dictionary, a regular expression, or a program code.
