# US 2019/0317993 A1 · Effective classification of text data based on a word appearance frequency

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

- Number: US 2019/0317993 A1
- Document ID: US20190317993A1
- Status: Published application
- Kind: A1
- Application number: 16/376,584
- Filed: 2019-04-05
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Takamichi Toda
- Web page: https://patentgrep.com/patent/US20190317993A1

## CPC

- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus acquires a plurality of text data items each including a question sentence and an answer sentence. The apparatus identifies a first word that exists in each of a plurality of question sentences included in the acquired plurality of text data items where a number of the plurality of question sentences satisfies a predetermined criterion, and identifies, from the plurality of question sentences, a second word that exists in a question sentence not including the first word and that does not exist in a question sentence including the first word. The apparatus classifies the plurality of text data items into a first group of text data items each including a question sentence in which the identified first word exists and a second group of text data items each including a question sentence in which the identified second word exists.

## Claims

### Claim 1

A non-transitory, computer-readable recording medium having stored therein a program for causing a computer to execute a process comprising:
acquiring a plurality of text data items each including a question sentence and an answer sentence;
identifying a first word that exists in each of a plurality of question sentences included in the acquired plurality of text data items, a number of the plurality of question sentences satisfying a predetermined criterion;
identifying, from the plurality of question sentences, a second word that exists in a question sentence not including the first word and that does not exist in a question sentence including the first word; and
performing a classification process on the plurality of text data items by classifying the plurality of text data items into a first group of text data items each including a question sentence in which the identified first word exists and a second group of text data items each including a question sentence in which the identified second word exists.

### Claim 2 (depends on 1)

The non-transitory, computer-readable recording medium of claim 1, the process further comprising:
extracting, from the plurality of question sentences, a matched part that is included in all of the plurality of question sentences;
identifying the first word and the second word from the plurality of question sentences each excluding the matched part;
generating a tree in which:
a first node indicating the matched part is set at a highest level, and
second nodes indicating the first word and the second word are set at a level below the highest level and connected to the first node at the highest level.

### Claim 3 (depends on 1)

The non-transitory, computer-readable recording medium of claim 1, the process further comprising identifying, as the first word, a word that exists in the plurality of question sentences and that occurs in a greatest number of question sentences among the plurality of question sentences.

### Claim 4 (depends on 1)

The non-transitory, computer-readable recording medium of claim 1, the process further comprising, in a case where one of the first group and the second group includes multiple text data items, performing the classification process on the multiple text data items.

### Claim 5 (depends on 2)

The non-transitory, computer-readable recording medium of claim 2, the process further comprising:
displaying the generated tree on a display apparatus; and
altering the tree in accordance with an alteration instruction.

### Claim 6 (depends on 2)

The non-transitory, computer-readable recording medium of claim 2, the process further comprising, when a question is accepted, performing a display process including:
searching the tree for a third node corresponding to the question in a direction from the first node at the highest level of the tree towards nodes at lower levels;
displaying, as choices, choice nodes at a level below the third node so that one of the choice nodes is selected as a selected node;
when the choice nodes displayed as the choices are not at a lowest level of the tree, further displaying, as choices, next choice nodes at a level below the selected node; and
when the choice nodes displayed as choices are at the lowest level of the tree, displaying an answer associated with the selected node.

### Claim 7

A classification method comprising:
acquiring a plurality of text data items each including a question sentence and an answer sentence;
identifying a first word that exists in each of a plurality of question sentences included in the acquired plurality of text data items, a number of the plurality of question sentences satisfying a predetermined criterion;
identifying, from the plurality of question sentences, a second word that exists in a question sentence not including the first word and that does not exist in a question sentence including the first word; and
classifying the plurality of text data items into a first group of text data items each including a question sentence in which the identified first word exists and a second group of text data items each including a question sentence in which the identified second word exists.

### Claim 8

A classification apparatus comprising:
a memory; and
a processor coupled to the memory and configured to:
acquire a plurality of text data items each including a question sentence and an answer sentence,
identify a first word that exists in each of a plurality of question sentences included in the acquired plurality of text data items, a number of the plurality of question sentences satisfying a predetermined criterion,
identify, from the plurality of question sentences, a second word that exists in a question sentence not including the first word and that does not exist in a question sentence including the first word, and
classify the plurality of text data items into a first group of text data items each including a question sentence in which the identified first word exists and a second group of text data items each including a question sentence in which the identified second word exists.
