# US 2026/0065893 A1 · Method of text-to-speech, medium, and electronic device

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

- Number: US 2026/0065893 A1
- Document ID: US20260065893A1
- Status: Published application
- Kind: A1
- Application number: 19/307,762
- Filed: 2025-08-22
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Yu CHEN; Hongxu XU
- Web page: https://patentgrep.com/patent/US20260065893A1

## CPC

- G10L 13/00: Speech synthesis; Text to speech systems
- G10L 13/047: Architecture of speech synthesisers
- G10L 15/005: {Language recognition}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The present disclosure relates to a method of text-to-speech, a medium, and an electronic device, and the method includes: obtaining chat content, where the chat content includes a first text and a second text output by a dialogue model for the first text, and the second text includes text organized in sequence number; identifying, according to the first text and the second text, a target language for playing the sequence number in speech form; and playing the sequence number in speech form with the target language.

## Claims

### Claim 1

A method of text-to-speech, comprising:
obtaining chat content, wherein the chat content comprises a first text and a second text output by a dialogue model for the first text, and the second text comprises text organized in sequence number;
identifying, according to the first text and the second text, a target language for playing the sequence number in speech form; and
playing the sequence number in speech form with the target language.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the identifying, according to the first text and the second text, the target language for playing the sequence number in speech form comprises:
performing language identification according to the first text to obtain a first language identification result of the sequence number;
performing language identification according to the second text to obtain a second language identification result of the sequence number; and
performing a voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the performing language identification according to the first text to obtain the first language identification result of the sequence number comprises:
performing language identification according to target information of the first text to obtain the first language identification result of the sequence number, wherein the target information comprises language information and/or semantic information.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the second language identification result comprises a first sub-language identification result and a second sub-language identification result, and the performing language identification according to the second text to obtain the second language identification result of the sequence number comprises:
performing language identification according to context before a first sequence number in the second text to obtain the first sub-language identification result of the sequence number; and
performing language identification according to context after the first sequence number in the second text to obtain the second sub-language identification result of the sequence number.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the language identification result of the sequence number comprises candidate language or undecidable, and the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, comprises:
performing the voting operation on language identification results of the sequence number according to the first language identification result, the first sub-language identification result and the second sub-language identification result to obtain a voting result; and
when a vote count of a candidate language in the voting result is greater than or equal to a preset number of votes, determining the candidate language as the target language for playing the sequence number in speech form.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, further comprises:
when only one vote in the voting result is the candidate language and all other votes are undecidable, determining the candidate language as the target language for playing the sequence number in speech form.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, further comprises:
when the voting result satisfies a preset condition, determining a third language identification result determined according to a preset bottom-up strategy as the target language for playing the sequence number in speech form, wherein the preset condition comprises that all votes in the voting result are undecidable or votes in the voting result are different from each other.

### Claim 8

A electronic device comprising:
a storage apparatus storing a computer program; and
a processing apparatus configured to performing the computer program in the storage apparatus to implement steps of a method of text-to-speech, wherein the method comprises:
obtaining chat content, wherein the chat content comprises a first text and a second text output by a dialogue model for the first text, and the second text comprises text organized in sequence number;
identifying, according to the first text and the second text, a target language for playing the sequence number in speech form; and
playing the sequence number in speech form with the target language.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein the identifying, according to the first text and the second text, the target language for playing the sequence number in speech form comprises:
performing language identification according to the first text to obtain a first language identification result of the sequence number;
performing language identification according to the second text to obtain a second language identification result of the sequence number; and
performing a voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form.

### Claim 10 (depends on 9)

The electronic device according to claim 9, wherein the performing language identification according to the first text to obtain the first language identification result of the sequence number comprises:
performing language identification according to target information of the first text to obtain the first language identification result of the sequence number, wherein the target information comprises language information and/or semantic information.

### Claim 11 (depends on 9)

The electronic device according to claim 9, wherein the second language identification result comprises a first sub-language identification result and a second sub-language identification result, and the performing language identification according to the second text to obtain the second language identification result of the sequence number comprises:
performing language identification according to context before a first sequence number in the second text to obtain the first sub-language identification result of the sequence number; and
performing language identification according to context after the first sequence number in the second text to obtain the second sub-language identification result of the sequence number.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the language identification result of the sequence number comprises candidate language or undecidable, and the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, comprises:
performing the voting operation on language identification results of the sequence number according to the first language identification result, the first sub-language identification result and the second sub-language identification result to obtain a voting result; and
when a vote count of a candidate language in the voting result is greater than or equal to a preset number of votes, determining the candidate language as the target language for playing the sequence number in speech form.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, further comprises:
when only one vote in the voting result is the candidate language and all other votes are undecidable, determining the candidate language as the target language for playing the sequence number in speech form.

### Claim 14 (depends on 12)

The electronic device according to claim 12, wherein the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, further comprises:
when the voting result satisfies a preset condition, determining a third language identification result determined according to a preset bottom-up strategy as the target language for playing the sequence number in speech form, wherein the preset condition comprises that all votes in the voting result are undecidable or votes in the voting result are different from each other.

### Claim 15

A computer-readable medium storing a computer program, wherein the computer program, when executed by a processing apparatus, implements steps of a method of text-to-speech, wherein the method comprises:
obtaining chat content, wherein the chat content comprises a first text and a second text output by a dialogue model for the first text, and the second text comprises text organized in sequence number;
identifying, according to the first text and the second text, a target language for playing the sequence number in speech form; and
playing the sequence number in speech form with the target language.

### Claim 16 (depends on 15)

The computer-readable medium according to claim 15, wherein the identifying, according to the first text and the second text, the target language for playing the sequence number in speech form comprises:
performing language identification according to the first text to obtain a first language identification result of the sequence number;
performing language identification according to the second text to obtain a second language identification result of the sequence number; and
performing a voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form.

### Claim 17 (depends on 16)

The computer-readable medium according to claim 16, wherein the performing language identification according to the first text to obtain the first language identification result of the sequence number comprises:
performing language identification according to target information of the first text to obtain the first language identification result of the sequence number, wherein the target information comprises language information and/or semantic information.

### Claim 18 (depends on 16)

The computer-readable medium according to claim 16, wherein the second language identification result comprises a first sub-language identification result and a second sub-language identification result, and the performing language identification according to the second text to obtain the second language identification result of the sequence number comprises:
performing language identification according to context before a first sequence number in the second text to obtain the first sub-language identification result of the sequence number; and
performing language identification according to context after the first sequence number in the second text to obtain the second sub-language identification result of the sequence number.

### Claim 19 (depends on 18)

The computer-readable medium according to claim 18, wherein the language identification result of the sequence number comprises candidate language or undecidable, and the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, comprises:
performing the voting operation on language identification results of the sequence number according to the first language identification result, the first sub-language identification result and the second sub-language identification result to obtain a voting result; and
when a vote count of a candidate language in the voting result is greater than or equal to a preset number of votes, determining the candidate language as the target language for playing the sequence number in speech form.

### Claim 20 (depends on 19)

The computer-readable medium according to claim 19, wherein the performing the voting operation on language identification results of the sequence number according to the first language identification result and the second language identification result to obtain the target language for playing the sequence number in speech form, further comprises:
when only one vote in the voting result is the candidate language and all other votes are undecidable, determining the candidate language as the target language for playing the sequence number in speech form.
