AI-based language fragment editing method, device, equipment and storage medium

文档序号:1113335 发布日期:2020-09-29 浏览:8次 中文

阅读说明:本技术 基于ai的语段编辑方法、装置、设备以及存储介质 (AI-based language fragment editing method, device, equipment and storage medium ) 是由 胡一川 汪冠春 褚瑞 李玮 张熠 杨子杰 于 2020-06-30 设计创作,主要内容包括:本申请提供一种基于AI的语段编辑方法、装置、设备以及存储介质。该方法包括:电子设备获取用户输入的待编辑语段,并在电子设备的显示设备所显示的语段编辑器中显示该待编辑语段。电子设备接收用户提交的第一修改指令,并根据该第一修改指令修改待编辑语段,并形成修改后语段。其中,该修改包括插入第一标签、修改第一标签以及删除第一标签。电子设备在用户完成修改后保存该修改后语段。本申请的方法,提高关键信息的提取效率,避免关键信息在提取过程中发生错漏。(The application provides a method, a device, equipment and a storage medium for editing language segments based on AI. The method comprises the following steps: the electronic equipment acquires a to-be-edited speech segment input by a user and displays the to-be-edited speech segment in a speech segment editor displayed on display equipment of the electronic equipment. The electronic equipment receives a first modification instruction submitted by a user, modifies the language segment to be edited according to the first modification instruction, and forms a modified language segment. Wherein the modifying includes inserting the first tag, modifying the first tag, and deleting the first tag. And the electronic equipment saves the modified speech segment after the user finishes modification. The method improves the extraction efficiency of the key information and avoids the key information from being missed and missed in the extraction process.)

1. An AI-based corpus editing method, the method comprising:

s1, obtaining a to-be-edited corpus, wherein the to-be-edited corpus comprises a first label, and the first label comprises a label number and keyword information;

s2, displaying the language segment to be edited and receiving a first modification instruction acting on the language segment to be edited;

s3, modifying the first label in the language segment to be edited according to the first modification instruction to form an edited language segment, and storing the edited language segment.

2. The method according to claim 1, wherein the S3 includes:

s31, generating a tool field list according to the first label, wherein the tool field list comprises a label number and keyword information corresponding to the first label in the to-be-edited corpus;

s32, responding to the first modification instruction, and displaying a popup window which is used for accommodating the tool field list;

s33, modifying the first label in the to-be-edited corpus according to a selection instruction, wherein the selection instruction comprises information in the tool field list selected by the user.

3. The method of claim 2, wherein the first modification instruction is triggered when a user clicks on the first tab,

alternatively, the first and second electrodes may be,

the first modification instruction is triggered when a user inputs a preset symbol.

4. The method according to claim 1, wherein the S3 further comprises:

s34, generating a first text according to the edited phrase segment, wherein a first label in the first text is displayed as a label number of the first label;

s35, generating a second text according to the edited language segment, wherein the second text comprises the keyword information of the first label;

and S36, saving the first text and the second text.

5. The method according to claim 1, wherein the to-be-edited corpus further includes a second tag, and the second tag is a content of the to-be-edited corpus other than the first tag, and the method further includes:

s4, receiving a second modification instruction, and modifying the to-be-edited corpus according to the second modification instruction to form an edited corpus, wherein the second modification instruction is used for indicating to modify a second tag in the to-be-edited corpus.

6. The method of any of claims 1-5, wherein the tag number of the first tag is negative and the tag number is incremented negatively.

7. The method according to any one of claims 1 to 5, wherein the S2 includes:

and displaying a highlighting identifier in the to-be-edited corpus, wherein the highlighting identifier is used for highlighting the first label.

8. An AI-based corpus editing apparatus, characterized in that the apparatus comprises:

the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a language segment to be edited, the language segment to be edited comprises a first label, and the first label comprises a label number and keyword information;

the display module is used for displaying the language segment to be edited and receiving a first modification instruction acting on the language segment to be edited;

and the processing module is used for modifying the first label in the language segment to be edited according to the first modification instruction so as to form an edited language segment and storing the edited language segment.

9. An electronic device, characterized in that the electronic device comprises: a memory, a processor, a display;

the display is used for displaying the language segments to be edited;

a memory; executable instructions for storing first content, second content, and the processor;

a processor for implementing the AI-based corpus editing method according to any one of claims 1 to 7, according to executable instructions stored in the memory.

10. A computer-readable storage medium having stored thereon computer-executable instructions for implementing the AI-based corpus editing method according to any one of claims 1 to 7 when executed by a processor.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:文档展示方法、装置、电子设备以及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!