Text editing method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsSucheng Bian, Liang Xu, Ning Ding, Yinghao Li
Life of this patent
Estimating the term…
Abstract
A text editing method and an electronic device provide for a real-time recording-to-text transcription scenario. The electronic device may detect whether there exists a plurality of input focuses such as an editing input focus other than a voice input focus. When it is determined that there are a plurality of input focuses, a transcribed text is edited following an editing operation so that text editing can be performed while real-time recording-to-text transcription is performed.
Claims20
A text editing method, comprising:
- collecting, by an electronic device, voice signals in real time;
- displaying, by the electronic device, a first interface, wherein the first interface comprises a first text and a second text, the first text is a text that is transcribed from a voice signal by artificial intelligence (AI) and on which semantic correction is completed by the AI, the second text is a text on which semantic correction is not completed by the AI, and collection time of a voice signal corresponding to the second text is later than collection time of the voice signal corresponding to the first text;
- determining, by the electronic device, that an editing input focus is present in the first text or the second text;
- and
- detecting, by the electronic device, an editing operation for the first text or the second text, and editing the first text or the second text in response to the editing operation.
An electronic device, wherein the electronic device comprises a display, one or more processors, one or more memories, one or more sensors, a plurality of applications, and one or more computer programs, wherein:
- the one or more computer programs are stored in the one or more memories;
- the one or more computer programs comprise instructions;
- and
- when the instructions are executed by the one or more processors, the electronic device is enabled to:
- collect voice signals in real time;
- display a first interface comprising a first text and a second text, the first text is text that is transcribed from a voice signal by artificial intelligence (AI) and on which semantic correction is completed by the AI, the second text is text on which semantic correction is not completed by the AI, and collection time of a voice signal corresponding to the second text is later than collection time of the voice signal corresponding to the first text;
- determine that an editing input focus is present in the first text or the second text;
- and
- detect an editing operation for the first text or the second text and editing the first text or the second text following detection of the editing operation.
A computer-readable storage medium storing instructions that, when run on an electronic device, cause the electronic device to:
- collect voice signals in real time;
- display a first interface comprising a first text and a second text, the first text is a text that is transcribed from a voice signal by artificial intelligence (AI) and on which semantic correction is completed by the AI, the second text is a text on which semantic correction is not completed by the AI, and collection time of a voice signal corresponding to the second text is later than collection time of the voice signal corresponding to the first text;
- determine that an editing input focus is present in the first text or the second text;
- and
- detect an editing operation for the first text or the second text, and editing the first text or the second text in response to the editing operation.
Dependencies are inferred from the claim text.