# US 2022/0292267 A1 · Machine learning method and information processing apparatus

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

- Number: US 2022/0292267 A1
- Document ID: US20220292267A1
- Status: Published application
- Kind: A1
- Application number: 17/588,358
- Filed: 2022-01-31
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: An Le NGUYEN
- Web page: https://patentgrep.com/patent/US20220292267A1

## CPC

- G06F 40/51: Translation evaluation
- G06F 18/2413: based on distances to training or reference patterns
- G06F 40/295: Named entity recognition
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06V 30/19147: {Obtaining sets of training patterns; Bootstrap methods, e.g. bagging or boosting}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A non-transitory computer-readable recording medium stores a program for causing a computer to execute a process, the process includes acquiring training data that includes a first sentence expressed in a first language and a second sentence expressed in a second language, identifying a named entity and parts of speech from the first sentence, and generating, based on the training data, a translation model that includes an attention mechanism for the named entity and the parts of speech.

## Claims

### Claim 1

A non-transitory computer-readable recording medium storing a program for causing a computer to execute a process, the process comprising:
acquiring training data that includes a first sentence expressed in a first language and a second sentence expressed in a second language;
identifying a named entity and parts of speech from the first sentence; and
generating, based on the training data, a translation model that includes an attention mechanism for the named entity and the parts of speech.

### Claim 2 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
the translation model includes an encoder and a decoder,
a calculation result of the encoder is input to the decoder,
the decoder includes the attention mechanism, and
the process further comprises:
converting, based on a result of the identifying the named entity, the first sentence into named entity identifying information in which each word included in the first sentence is converted to either a symbol that represents named entities or a symbol that does not represent named entities, and
training the translation model by using a value obtained by inputting a first calculation result and a second calculation result to the attention mechanism, the first calculation result being calculated as a result of inputting the first sentence to the encoder, the second calculation result being calculated as a result of inputting the named entity identifying information to the encoder.

### Claim 3 (depends on 2)

The non-transitory computer-readable recording medium according to claim 2, the process further comprising:
converting, based on a result of the identifying the parts of speech, the first sentence into part-of-speech identifying information in which each word included in the first sentence is converted to a symbol that corresponds to a part of speech of the word; and
training the translation model by further using a value obtained by inputting a third calculation result to the attention mechanism, the third calculation result being calculated as a result of inputting the part-of-speech identifying information to the encoder.

### Claim 4

A machine learning method, comprising:
acquiring, by a computer, training data that includes a first sentence expressed in a first language and a second sentence expressed in a second language;
identifying a named entity and parts of speech from the first sentence; and
generating, based on the training data, a translation model that includes an attention mechanism for the named entity and the parts of speech.

### Claim 5 (depends on 4)

The machine learning method according to claim 4, wherein
the translation model includes an encoder and a decoder,
a calculation result of the encoder is input to the decoder,
the decoder includes the attention mechanism, and
the machine learning method further comprises:
converting, based on a result of the identifying the named entity, the first sentence into named entity identifying information in which each word included in the first sentence is converted to either a symbol that represents named entities or a symbol that does not represent named entities, and
training the translation model by using a value obtained by inputting a first calculation result and a second calculation result to the attention mechanism, the first calculation result being calculated as a result of inputting the first sentence to the encoder, the second calculation result being calculated as a result of inputting the named entity identifying information to the encoder.

### Claim 6 (depends on 5)

The machine learning method according to claim 5, further comprising:
converting, based on a result of the identifying the parts of speech, the first sentence into part-of-speech identifying information in which each word included in the first sentence is converted to a symbol that corresponds to a part of speech of the word; and
training the translation model by further using a value obtained by inputting a third calculation result to the attention mechanism, the third calculation result being calculated as a result of inputting the part-of-speech identifying information to the encoder.

### Claim 7

An information processing apparatus, comprising:
a memory; and
a processor coupled to the memory and the processor configured to:
acquire a first sentence expressed in a first language;
identify a named entity and parts of speech from the first sentence; and
generate a second sentence expressed in a second language, based on the first sentence and a translation model that includes an attention mechanism for the named entity and the parts of speech.

### Claim 8 (depends on 7)

The information processing apparatus according to claim 7, wherein
the translation model includes an encoder and a decoder,
a calculation result of the encoder is input to the decoder,
the decoder includes the attention mechanism, and
the processor is further configured to:
convert, based on a result of the identification of the named entity, the first sentence into named entity identifying information in which each word included in the first sentence is converted to either a symbol that represents named entities or a symbol that does not represent named entities, and
generate the second sentence by using a value obtained by inputting a first calculation result and a second calculation result to the attention mechanism, the first calculation result being calculated as a result of inputting the first sentence to the encoder, the second calculation result being calculated as a result of inputting the named entity identifying information to the encoder.

### Claim 9 (depends on 8)

The information processing apparatus according to claim 8, wherein
the processor is further configured to:
convert, based on a result of the identification of the parts of speech, the first sentence into part-of-speech identifying information in which each word included in the first sentence is converted to a symbol that corresponds to a part of speech of the word; and
generate the second sentence by further using a value obtained by inputting a third calculation result to the attention mechanism, the third calculation result being calculated as a result of inputting the part-of-speech identifying information to the encoder.
