Method for text to speech, electronic device and storage medium
AssigneeApollo Intelligent Connectivity (Beijing) Technology Co., Ltd.
InventorsYi Zhou, Zhen Chen
Life of this patent
Estimating the term…
Abstract
A method for TTS includes: acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device; determining a current scene of the terminal device and priorities corresponding to the software identifiers in the current scene; acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers; and executing the TTS tasks based on the sorting result.
Claims20
A method for text to speech (TTS), comprising:
- acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
- determining a current scene of the terminal device;
- determining priorities corresponding to the software identifiers in the current scene;
- acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers;
- and
- executing the TTS tasks based on the sorting result.
An electronic device, comprising:
- at least one processor;
- and
- a memory communicatively connected to the at least one processor;
- wherein,
- the memory is configured to store instructions executable by the at least one processor, and the at least one processor is configured to execute the instructions to perform:
- acquiring, text to speech (TTS) tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
- determining a current scene of the terminal device;
- determining priorities corresponding to the software identifiers in the current scene;
- acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers;
- and
- executing the TTS tasks based on the sorting result.
A non-transitory computer-readable storage medium stored with computer instructions, wherein, the computer instructions are configured to perform a method for text to speech (TTS) when performed by the computer, the method comprising:
- acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
- determining a current scene of the terminal device;
- determining priorities corresponding to the software identifiers in the current scene;
- acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers;
- and
- executing the TTS tasks based on the sorting result.
Dependencies are inferred from the claim text.