# US 2017/0255611 A1 · Text processing system, text processing method and storage medium storing computer program

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

- Number: US 2017/0255611 A1
- Document ID: US20170255611A1
- Status: Published application
- Kind: A1
- Application number: 15/506,293
- Filed: 2015-08-20
- Published: 2017-09-07
- Earliest claimed: 2014-09-05
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Shumpei KUBOSAWA; Masaaki TSUCHIDA; Kai ISHIKAWA
- Web page: https://patentgrep.com/patent/US20170255611A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 40/205: Parsing
- G06F 40/268: Morphological analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A text processing system that is able to appropriately determine textual entailment between sentences with high coverage is provided. The text processing system is configured to execute: processing of extracting a common substructure that is a partial structure of a same type, the partial structure being common to a first sentence and a second sentence and, based on the a structure representing the first sentence and a structure representing the second sentence; processing of extracting at least one of a feature amount representing a dependency relationship between the at least one common substructure in the first and second sentences and a feature amount representing a dependency relationship between the common substructure in the first and second sentences and a substructure different from the common substructure; and processing of determining an entailment relationship between the first sentence and the second sentence by using the extracted feature amount.

## Claims

### Claim at position 1

1-10. (canceled)

### Claim 11

A text processing system comprising a processing circuitry that is configured to execute:
common substructure extraction processing of extracting a common substructure that is a partial structure of a same type, the partial structure being common to a first sentence and a second sentence and, based on the a structure representing the first sentence and a structure representing the second sentence;
feature amount extraction processing of extracting at least one of
a feature amount representing a dependency relationship between the at least one common substructure in the first and second sentences and
a feature amount representing a dependency relationship between the common substructure in the first and second sentences and a substructure different from the common substructure; and
determination processing of determining an entailment relationship between the first sentence and the second sentence by using the extracted feature amount.

### Claim 12 (depends on 11)

The text processing system according to claim 11, wherein
when at least one candidate for the common substructure which is a subtree of a same type, included in a first tree structure which is the structure representing the first sentence and a second tree structure which is the structure representing the second sentence, exists,
the common substructure extraction processing includes extracting the common substructure by selecting the candidate for the common substructure which does not overlap with the other candidate for the common substructure from one or more candidates for the common substructure, based on the number of nodes included in the candidate for the common substructure.

### Claim 13 (depends on 12)

The text processing system according to claim 12, wherein
when at least one candidate for the common substructure which is the subtree of the same type, included in the first tree structure which is the structure representing the first sentence and the second tree structure which is the structure representing the second sentence, exists,
the common substructure extraction processing includes extracting the common substructure by selecting the candidate for the common substructure in which the number of nodes included in the candidate for the common substructure is largest, and which does not overlap with the other candidate for the common substructure, from the one or more candidates for the common substructure.

### Claim 14 (depends on 12)

The text processing system according to claim 12, wherein
when the plurality of common substructures exist, the feature amount extraction processing includes extracting the feature amount comprising at least information that represents a relationship between a dependency relationship between the common substructures in the structure representing the first sentence and a dependency relationship between the common substructures in the structure representing the second sentence.

### Claim 15 (depends on 12)

The text processing system according to claim 12, wherein
when the plurality of common substructures exist, the feature amount extraction processing includes extracting the feature amount based on at least one of the number of nodes and attributes of nodes, the nodes being included in a substructure existing between a particular common substructure and the other common substructure among the plurality of common substructures.

### Claim 16 (depends on 12)

The text processing system according to claim 12, wherein
the feature amount extraction processing includes extracting the feature amount based on at least one of the number of nodes and attributes of nodes, the nodes being included in a substructure which is a descendant of a particular common substructure, and which does not exist between the particular common substructure and the other common substructure, among the first tree structure and the second tree structure.

### Claim 17 (depends on 12)

The text processing system according to claim 12, further comprising:
a storage that stores, with regard to one or more substructures, same type information relating to another substructure having a type same as the type of the substructure among one or more substructures, wherein
the common substructure extraction processing includes
replacing at least one of a substructure included in the first tree structure and a substructure included in the second tree structure, with the other substructure of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage; and
extracting the common substructure based on the first tree structure and the second tree structure after the replacement.

### Claim 18 (depends on 17)

The text processing system according to claim 17, wherein
the common substructure extraction processing includes,
with regard to all combinations of replacing at least one of the substructure included in the first tree structure and the substructure included in the second tree structure with the other substructure, of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage, extracting a candidate for the common substructure in the combinations based on the first tree structure and the second tree structure after the replacement; and
extracting, as the common substructure, the candidate for the common substructure which minimizes the number of nodes that is included in the second tree structure after the replacement and that is not the candidate of the common substructure, in the extracted candidate for the common substructure.

### Claim 19 (depends on 14)

The text processing system according to claim 14, wherein
the determination processing includes determining an entailment relationship between the first sentence and the second sentence according to whether a feature vector, being generated from the feature amount extracted from the first sentence and the second sentence respectively, satisfies a determination condition provided by a discriminant model, the discriminant model being learned using the feature amount extracted from training data prepared in advance.

### Claim 20 (depends on 15)

The text processing system according to claim 15, wherein
the determination processing includes determining an entailment relationship between the first sentence and the second sentence according to whether a feature vector, being generated from the feature amount extracted from the first sentence and the second sentence respectively, satisfies a determination condition provided by a discriminant model, the discriminant model being learned using the feature amount extracted from training data prepared in advance.

### Claim 21 (depends on 16)

The text processing system according to claim 16, wherein
the determination processing includes determining an entailment relationship between the first sentence and the second sentence according to whether a feature vector, being generated from the feature amount extracted from the first sentence and the second sentence respectively, satisfies a determination condition provided by a discriminant model, the discriminant model being learned using the feature amount extracted from training data prepared in advance.

### Claim 22 (depends on 15)

The text processing system according to claim 15, wherein
when a feature vector, being generated from the feature amount extracted from the first sentence and the second sentence respectively, represents grammatical structure of the first sentence and the second sentence,
the determination processing includes determining an entailment relationship between the first sentence and the second sentence according to whether the feature vector satisfies a determination condition that is defined on the basis of a grammar of language of the first sentence and the second sentence.

### Claim 23 (depends on 16)

The text processing system according to claim 16, wherein
when a feature vector, being generated from the feature amount extracted from the first sentence and the second sentence respectively, represents grammatical structure of the first sentence and the second sentence,
the determination processing includes determining an entailment relationship between the first sentence and the second sentence according to whether the feature vector satisfies a determination condition that is defined on the basis of a grammar of language of the first sentence and the second sentence.

### Claim 24 (depends on 13)

The text processing system according to claim 13, further comprising:
a storage that stores, with regard to one or more substructures, same type information relating to another substructure having a type same as the type of the substructure among one or more substructures, wherein
the common substructure extraction processing includes
replacing at least one of a substructure included in the first tree structure and a substructure included in the second tree structure, with the other substructure of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage; and
extracting the common substructure based on the first tree structure and the second tree structure after the replacement.

### Claim 25 (depends on 14)

The text processing system according to claim 14, further comprising:
a storage that stores, with regard to one or more substructures, same type information relating to another substructure having a type same as the type of the substructure among one or more substructures, wherein
the common substructure extraction processing includes
replacing at least one of a substructure included in the first tree structure and a substructure included in the second tree structure, with the other substructure of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage; and
extracting the common substructure based on the first tree structure and the second tree structure after the replacement.

### Claim 26 (depends on 15)

The text processing system according to claim 15, further comprising:
a storage that stores, with regard to one or more substructures, same type information relating to another substructure having a type same as the type of the substructure among one or more substructures, wherein
the common substructure extraction processing includes
replacing at least one of a substructure included in the first tree structure and a substructure included in the second tree structure, with the other substructure of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage; and
extracting the common substructure based on the first tree structure and the second tree structure after the replacement.

### Claim 27 (depends on 16)

The text processing system according to claim 16, further comprising:
a storage that stores, with regard to one or more substructures, same type information relating to another substructure having a type same as the type of the substructure among one or more substructures, wherein
the common substructure extraction processing includes
replacing at least one of a substructure included in the first tree structure and a substructure included in the second tree structure, with the other substructure of which the type is the same as the type of the respective substructure included in the first tree structure and the second tree structure, based on the same type information stored in the storage; and
extracting the common substructure based on the first tree structure and the second tree structure after the replacement.

### Claim 28

A text processing method comprising:
by an information-processing apparatus,
extracting a common substructure that is a partial structure of a same type, the partial structure being common to a first sentence and a second sentence, based on a structure representing the first sentence and a structure representing the second sentence;
extracting at least one of
a feature amount based on a dependency relationship between the at least one common substructure in the first and second sentences and
a feature amount based on a dependency relationship between the common substructure in the first and second sentences and a substructure different from the common substructure; and
determining an entailment relationship between the first sentence and the second sentence by using the extracted feature amount.

### Claim 29

A non-transitory computer-readable storage medium storing a computer program, the computer program allowing a computer to execute:
processing of extracting a common substructure which is a partial structure of a same type, the partial structure being common to a first sentence and a second sentence, based on a structure representing the first sentence and a structure representing the second sentence;
processing of extracting at least one of
a feature amount based on a dependency relationship between the at least one common substructure in the first and second sentences and
a feature amount based on a dependency relationship between the common substructure in the first and second sentences and a substructure different from the common substructure; and
processing of determining an entailment relationship between the first sentence and the second sentence by using the extracted feature amount.
