# US 2025/0156656 A1 · Speech translation method, apparatus, electronic device, and medium

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

- Number: US 2025/0156656 A1
- Document ID: US20250156656A1
- Status: Published application
- Kind: A1
- Application number: 18/941,556
- Filed: 2024-11-08
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Applicants: Lemon Inc.; Beijing Youzhuju Network Technology Co., Ltd.
- Inventors: Zhichao Huang; Rong Ye; Yu Ting Ko; Qianqian Dong; Shanbo Cheng; Mingxuan Wang; Hang Li
- Web page: https://patentgrep.com/patent/US20250156656A1

## CPC

- 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
- G06F 40/53: Processing of non-Latin text (kana-to-kanji conversion G06F40/129; vowelisation G06F40/232)
- G10L 15/04: Segmentation; Word boundary detection
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Embodiments of the present disclosure relate to a speech translation method, an apparatus, an electronic device, and a medium. The method includes generating a speech representation corresponding to a source-language audio based on the audio. The method also includes obtaining prompt content related to a target language. In addition, the method also includes generating a target-language text corresponding to the audio based on the speech representation and the prompt content.

## Claims

### Claim 1

A speech translation method, comprising:
generating a speech representation corresponding to a source-language audio based on the audio;
obtaining prompt content related to a target language; and
generating a target-language text corresponding to the audio based on the speech representation and the prompt content.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the prompt content related to the target language comprises:
obtaining first prompt content, wherein the first prompt content is related to a transcription task; and
obtaining second prompt content, wherein the second prompt content is related to a translation task and the target language.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the target-language text corresponding to the audio comprises:
generating the target-language text based on the speech representation, the first prompt content, and the second prompt content.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the target-language text corresponding to the audio comprises:
determining an audio length of the source-language audio;
in response to the audio length of the audio being greater than a predetermined length, extracting, from a head of the audio, a first audio segment having the predetermined length; and
generating a first target-language text segment corresponding to the first audio segment based on the first audio segment.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
discarding, from the audio, the first audio segment having the predetermined length;
in response to determining that the audio length of the audio is greater than a predetermined length, extracting, from the head of the audio, a second audio segment having the predetermined length;
generating a second target-language text segment corresponding to the second audio segment based on the second audio segment; and
generating the target-language text by combining the first target-language text segment and the second target-language text segment.

### Claim 6 (depends on 5)

The method of claim 5, wherein the target-language text segment comprises a speech recognition text, a timestamp corresponding to the speech recognition text, and a speech translation text.

### Claim 7 (depends on 6)

The method of claim 6, wherein discarding, from the audio, the first audio segment having the predetermined length comprises:
determining an end mark based on the timestamp; and
discarding, from the audio, the first audio segment having the predetermined length based on the end mark.

### Claim 8 (depends on 1)

The method of claim 1, wherein the target-language text is generated via a speech translation model, and the speech translation model is pre-trained by using a document-level multilingual document and adjusted by using a multitask.

### Claim 9 (depends on 8)

The method of claim 8, wherein adjusting the speech translation model by using the multitask comprises:
obtaining a source-language audio and a corresponding target-language text;
obtaining corresponding prompt content based on a speech translation task; and
adjusting the speech translation model based on the corresponding prompt content, the source-language audio, and the corresponding target-language text.

### Claim 10 (depends on 9)

The method of claim 9, wherein the corresponding prompt content comprises transcription prompt content and translation prompt content, and adjusting the speech translation model comprises:
adjusting the speech translation model based on the transcription prompt content, the translation prompt content, the source-language audio, and the corresponding target-language text.

### Claim 11 (depends on 8)

The method of claim 8, wherein adjusting the speech translation model by using the multitask comprises:
obtaining a source-language audio and a corresponding punctuated source-language text;
obtaining corresponding prompt content based on a punctuated speech transcription task; and
adjusting the speech translation model based on the corresponding prompt content, the source-language audio, and the corresponding punctuated source-language text.

### Claim 12 (depends on 8)

The method of claim 8, wherein adjusting the speech translation model by using the multitask comprises:
adjusting the speech translation model by using a source-language text, a target-language text, and an explanation for the target-language text.

### Claim 13 (depends on 8)

The method of claim 8, wherein adjusting the speech translation model by using the multitask comprises:
obtaining a source-language text and a corresponding source-language text with reverse regularization;
obtaining corresponding prompt content based on a reverse regularization task; and adjusting the speech translation model based on the corresponding prompt content, the source-language text, and the corresponding source-language text with reverse regularization.

### Claim 14 (depends on 8)

The method of claim 8, wherein adjusting the speech translation model by using the multitask comprises:
adjusting the speech translation model by using an English audio, an English text, an international phonetic alphabet, Chinese pinyin, and a Chinese text.

### Claim 15

An electronic device, comprising:
a processor; and
a memory coupled with the processor, wherein the memory has stored therein instructions that, when executed by the processor, cause the electronic device to perform a speech translation method comprising:
generating a speech representation corresponding to a source-language audio based on the audio;
obtaining prompt content related to a target language; and
generating a target-language text corresponding to the audio based on the speech representation and the prompt content.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein obtaining the prompt content related to the target language comprises:
obtaining first prompt content, wherein the first prompt content is related to a transcription task; and
obtaining second prompt content, wherein the second prompt content is related to a translation task and the target language.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein generating the target-language text corresponding to the audio comprises:
generating the target-language text based on the speech representation, the first prompt content, and the second prompt content.

### Claim 18 (depends on 15)

The electronic device of claim 15, wherein generating the target-language text corresponding to the audio comprises:
determining an audio length of the source-language audio;
in response to the audio length of the audio being greater than a predetermined length, extracting, from a head of the audio, a first audio segment having the predetermined length; and
generating a first target-language text segment corresponding to the first audio segment based on the first audio segment.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the method further comprises:
discarding, from the audio, the first audio segment having the predetermined length;
in response to determining that the audio length of the audio is greater than a predetermined length, extracting, from the head of the audio, a second audio segment having the predetermined length;
generating a second target-language text segment corresponding to the second audio segment based on the second audio segment; and
generating the target-language text by combining the first target-language text segment and the second target-language text segment.

### Claim 20

A non-transitory computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement a speech translation method comprising:
generating a speech representation corresponding to a source-language audio based on the audio;
obtaining prompt content related to a target language; and
generating a target-language text corresponding to the audio based on the speech representation and the prompt content.
