Audio file annotation method, device and electronic device

By displaying the audio waveform and determining the target area in response to user operations, the annotation content is automatically recommended, which solves the problem of low audio file annotation accuracy and efficiency in the existing technology, achieves detailed annotation, and improves the accuracy and efficiency of speech recognition.

CN115116432BActive Publication Date: 2024-08-27CHINA TELECOM CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110285198.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-17
Publication Date
2024-08-27
Estimated Expiration
2041-03-17

AI Technical Summary

Technical Problem

Among the existing audio file annotation methods, the accuracy of automated annotation is not high, the annotation content is thin, and manual annotation takes a long time, resulting in low efficiency, and cannot effectively annotate user emotions, intentions, pronunciation quality, accent and other content.

Method used

By displaying audio waveforms, it determines the target waveform area in response to user operations, automatically displays recommended annotation content, generates annotation files based on user modifications or selections, and annotates some areas in audio files in a refined, detailed and accurate manner.

Benefits of technology

It improves the accuracy and content richness of audio file annotation, improves annotation efficiency, and improves the recognition accuracy and flexibility of the speech recognition engine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115116432B
    Figure CN115116432B
Patent Text Reader

Abstract

The present disclosure provides an audio file annotation method, device and electronic device. The audio file annotation method includes: responding to an audio annotation work order generation instruction, displaying an audio waveform graph of a target audio file; responding to a preset area selection operation corresponding to the audio waveform graph to determine a target waveform area; displaying a modifiable audio recognition text corresponding to the target waveform area and a plurality of selectable annotation content recommendation items; responding to an annotation completion instruction corresponding to the target audio file to generate an annotation file of the target audio file, the annotation file including one or more audio recognition texts corresponding to the target waveform area and selected recommendation items from the plurality of annotation content recommendation items. The embodiments of the present disclosure can improve the annotation accuracy of audio files and the richness of annotation content.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Audio file annotation refers to the technology of identifying the content in audio files so that the audio recognition model can improve its audio recognition ability according to the annotation results during subsequent training.

[0003] In the related art, audio files are usually annotated in an automated or manual manner. When automated annotation is used, the accuracy of the annotation results is usually not high, and the annotation content is thin, and it is impossible to annotate user emotions, user intentions, pronunciation quality, accents, and other content that is easily recognizable by humans. When manual annotation is used, the annotator is usually required to identify the entire audio file during the annotation process. When the audio file is long, the annotation accuracy usually decreases due to the limited attention of humans; when the audio file is short, the annotation efficiency is low. Therefore, there is a need for an audio file annotation method that can simultaneously improve the annotation accuracy, the richness of the annotation content, and the annotation efficiency.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide an audio file annotation method, device and electronic device, which are used to overcome the problems of low annotation accuracy, thin annotation content or low annotation efficiency in the audio file annotation process caused by the limitations and defects of related technologies, at least to a certain extent.

[0006] According to a first aspect of an embodiment of the present disclosure, a method for annotating an audio file is provided, comprising: responding to an audio annotation work order generation instruction, displaying an audio waveform graph of a target audio file; determining a target waveform area in response to a preset area selection operation corresponding to the audio waveform graph; displaying modifiable audio recognition text corresponding to the target waveform area and a plurality of selectable annotation content recommendation items; and responding to an annotation completion instruction corresponding to the target audio file, generating an annotation file of the target audio file, the annotation file comprising audio recognition text corresponding to one or more target waveform areas and selected recommendation items from the plurality of annotation content recommendation items.

[0007] In an exemplary embodiment of the present disclosure, the displaying of the modifiable audio recognition text corresponding to the target waveform area and the multiple selectable annotated content recommendation items includes:

[0008] Displaying the audio recognition text corresponding to the entire waveform area in the annotation content input box corresponding to the entire waveform area, and the audio recognition text can be deleted in whole or in part;

[0009] Annotated content recommendation items corresponding to preset attributes of the audio waveform graph are displayed for selection, and the display method of the annotated content recommendation items includes at least one of a drop-down menu, a selection box, and a selection button.

[0010] In an exemplary embodiment of the present disclosure, the target waveform area includes a waveform area to be marked, the waveform area to be marked is a partial waveform area in the audio waveform graph, and the response to the preset area selection operation corresponding to the audio waveform graph to determine the target waveform area includes:

[0011] The waveform area to be marked is determined according to a preset area interception operation flow corresponding to the audio waveform graph, wherein the preset area interception operation flow includes at least one of the following operation flows corresponding to the audio waveform graph:

[0012] The starting point selection operation, the ending point selection operation and the interception determination operation of the waveform area to be marked;

[0013] The start point time input operation, the end point time input operation and the interception determination operation of the waveform area to be marked;

[0014] A frame selection operation and a cutout determination operation of the waveform area to be marked;

[0015] In the audio waveform diagram, a starting point identification axis, an ending point identification axis, and a semi-transparent mask of a preset color filled between the starting point identification axis and the ending point identification axis are used to cover the waveform area to be marked.

[0016] In an exemplary embodiment of the present disclosure, the displaying of the modifiable audio recognition text corresponding to the target waveform area and the multiple selectable annotated content recommendation items includes:

[0017] In response to the interception determination operation, displaying a marking content input box corresponding to the waveform area to be marked and a starting time point and an ending time point of the waveform area to be marked;

[0018] Displaying the audio recognition text corresponding to the waveform area to be annotated in the annotation content input box corresponding to the waveform area to be annotated, and the audio recognition text can be deleted in whole or in part;

[0019] In response to a text input instruction corresponding to the annotation content input box corresponding to the waveform area to be annotated, obtaining the input text;

[0020] Input word recommendations are displayed based on the input text.

[0021] In an exemplary embodiment of the present disclosure, the preset area interception operation flow also includes an area adjustment operation, and the area adjustment operation includes:

[0022] In response to the identification axis movement instruction or the time point input instruction, the current coverage area of ​​the semi-transparent mask of the waveform area to be marked is updated on the audio waveform graph, or, in response to the dragging instruction of the semi-transparent mask corresponding to the waveform area to be marked, the current coverage area of ​​the semi-transparent mask after being dragged is obtained;

[0023] The time points corresponding to the starting point identification axis and the ending point identification axis of the semi-transparent mask are determined according to the current coverage area, and the starting point and the ending point of the waveform area to be marked are adjusted.

[0024] In an exemplary embodiment of the present disclosure, generating a marked file of the target audio file in response to a marking completion instruction corresponding to the target audio file includes:

[0025] Obtain the audio recognition text and selected recommendation items corresponding to one or more target waveform regions;

[0026] Generate a marking record according to a starting time point, an ending time point, an audio recognition text, and the selected recommendation item of the target waveform area;

[0027] The annotation file is generated according to the annotation records corresponding to the one or more target waveform regions.

[0028] In an exemplary embodiment of the present disclosure, the determining the target waveform area in response to the preset area selection operation corresponding to the audio waveform graph includes:

[0029] Amplifying the audio waveform in response to a preset amplification instruction to improve the time accuracy of the audio waveform;

[0030] In response to a preset reduction instruction, the audio waveform graph is reduced to reduce the time accuracy of the audio waveform graph.

[0031] According to a second aspect of an embodiment of the present disclosure, there is provided an audio file annotation device, comprising: a waveform display module, configured to respond to an audio annotation work order generation instruction and display an audio waveform of a target audio file; an annotation area determination module, configured to determine a target waveform area in response to a preset area selection operation corresponding to the audio waveform; an annotation tool display module, configured to display a modifiable audio recognition text corresponding to the target waveform area and a plurality of selectable annotation content recommendation items; an annotation file generation module, configured to respond to an annotation completion instruction corresponding to the target audio file and generate an annotation file of the target audio file, the annotation file comprising audio recognition text corresponding to one or more target waveform areas and selected recommendation items from the plurality of annotation content recommendation items.

[0032] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the methods described above based on instructions stored in the memory.

[0033] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the audio file tagging method as described in any one of the above items is implemented.

[0034] The disclosed embodiment displays an audio waveform graph during the audio annotation process, determines a target waveform area in response to a user operation, automatically displays recommended annotation content corresponding to the target waveform area, and then generates an annotation file based on the user's modification or selection of the recommended annotation content. This allows for refinement, detail, accuracy, and purposeful annotation of certain areas in the audio file, thereby enabling a speech recognition engine utilizing the annotation file to more conveniently, flexibly, and purposefully improve speech recognition accuracy.

[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0037] Figure 1 is a flowchart of an audio file tagging method in an exemplary embodiment of the present disclosure.

[0038] Figure 2 It is a schematic diagram of an audio waveform diagram in an embodiment of the present disclosure.

[0039] Figure 3 It is a sub-flow chart of step S2 in one embodiment of the present disclosure.

[0040] Figure 4 It is a schematic diagram of the waveform area to be marked in the embodiment of the present disclosure.

[0041] Figure 5 It is a sub-flowchart of step S2 in another embodiment of the present disclosure.

[0042] Figure 6 It is a sub-flow chart of step S3 in one embodiment of the present disclosure.

[0043] Figure 7is a schematic diagram of the annotation tools corresponding to the entire waveform area.

[0044] Figure 8 It is a sub-flowchart of step S3 in another embodiment of the present disclosure.

[0045] Fig. 9 is a schematic diagram of a labeling tool corresponding to a waveform region to be labeled.

[0046] Fig.10 It is a schematic diagram of a complete annotation interface in one embodiment of the present disclosure.

[0047] Fig.11 It is a sub-flow chart of step S4 in one embodiment of the present disclosure.

[0048] Fig.12 It is a schematic diagram of the position of the audio file annotation method in the embodiment of the present disclosure during the entire audio annotation operation process.

[0049] Fig.13 It is a block diagram of an audio file tagging device in an exemplary embodiment of the present disclosure.

[0050] Fig.14 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0052] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0053] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0054] Figure 1 is a flowchart of an audio file tagging method in an exemplary embodiment of the present disclosure.

[0055] refer to Figure 1 , the audio file tagging method 100 may include:

[0056] Step S1, responding to an audio annotation work order generation instruction, and displaying an audio waveform of a target audio file;

[0057] Step S2, determining a target waveform area in response to a preset area selection operation corresponding to the audio waveform graph;

[0058] Step S3, displaying the audio recognition text that can be modified and a plurality of selected annotated content recommendation items corresponding to the target waveform area;

[0059] Step S4, in response to the annotation completion instruction corresponding to the target audio file, generating an annotation file of the target audio file, wherein the annotation file includes audio recognition texts corresponding to one or more target waveform areas and selected recommended items from the multiple annotation content recommendation items.

[0060] The disclosed embodiment displays an audio waveform graph during the audio annotation process, determines a target waveform area in response to a user operation, automatically displays recommended annotation content corresponding to the target waveform area, and then generates an annotation file based on the user's modification or selection of the recommended annotation content. This allows for refinement, detail, accuracy, and purposeful annotation of certain areas in the audio file, thereby enabling a speech recognition engine utilizing the annotation file to more conveniently, flexibly, and purposefully improve speech recognition accuracy.

[0061] Next, each step of the audio file tagging method 100 is described in detail.

[0062] The disclosed embodiments may be implemented based on the front-end framework jQuery, the interpreted scripting language JavaScript, and FTP (File Transfer Protocol), using Java Web technology.

[0063] In step S1, in response to an audio annotation work order generation instruction, an audio waveform of a target audio file is displayed.

[0064] In the disclosed embodiment, the content types of the target audio file include, but are not limited to, voice files, environment recording files, music files, song files and other audio files, and the file format type is not limited.

[0065] Figure 2It is a schematic diagram of an audio waveform diagram in an embodiment of the present disclosure.

[0066] refer to Figure 2 , the audio waveform diagram is, for example, a time domain diagram, the horizontal axis is time, and the vertical axis is amplitude. In other embodiments, the audio waveform diagram may also be, for example, other waveform diagram types, and the present disclosure does not impose any special restrictions on this. The display methods of the waveform in the audio waveform diagram include, but are not limited to, plane display and stereo display.

[0067] During the playback of the target audio file, the display effect of the waveform in the audio waveform graph changes with the playback time of the target audio file, and the waveform is in a scrolling or translation state. The progress indicator symbol 21 can be used to identify the current playback position in the audio waveform graph so that the annotator can understand the corresponding relationship between the audio content and each point on the audio waveform graph. Further, the waveform position currently being played can also be placed in the center of the audio waveform graph display area as the playback progresses, so that the annotator can understand the current playback position of the audio waveform graph at any time.

[0068] After the target audio file is played, the audio waveform graph can be statically displayed. In one embodiment, when the audio waveform graph is long, a slide bar can be displayed below the audio waveform graph so that the annotator can adjust the audio waveform graph area currently displayed by the slide bar.

[0069] In step S2, a target waveform region is determined in response to a preset region selection operation corresponding to the audio waveform graph.

[0070] In one embodiment, the annotator can select all waveform regions as target waveform regions. In this case, the annotator can respond to a preset all-select instruction input by the annotator, such as clicking a button or a selection box, to determine one of the target waveform regions as the all waveform regions.

[0071] In another embodiment, the annotator may also select a partial waveform region as the target waveform region, one or more partial waveform regions form one or more target waveform regions, or one or more partial waveform regions together with the entire waveform region form multiple target waveform regions.

[0072] Figure 3 It is a sub-flow chart of step S2 in one embodiment of the present disclosure.

[0073] refer to Figure 3 In one embodiment, the target waveform region includes a waveform region to be annotated, and the waveform region to be annotated is a partial waveform region in the audio waveform graph. Step S2 may include:

[0074] Step S21, determining the waveform area to be annotated according to a preset area interception operation flow corresponding to the audio waveform graph, wherein the preset area interception operation flow includes at least one of the following operation flows corresponding to the audio waveform graph: a start point selection operation, an end point selection operation, and an interception determination operation of the waveform area to be annotated; a start point time input operation, an end point time input operation, and an interception determination operation of the waveform area to be annotated; a frame selection operation and an interception determination operation of the waveform area to be annotated;

[0075] Step S22, in the audio waveform graph, using a starting point identification axis, an ending point identification axis, and a semi-transparent mask of a preset color filled between the starting point identification axis and the ending point identification axis to cover the waveform area to be marked.

[0076] Figure 4 It is a schematic diagram of the waveform area to be marked in the embodiment of the present disclosure.

[0077] refer to Figure 4 In the disclosed embodiment, the boundaries (starting time point and ending time point) of the waveform area 41 to be annotated can be determined by clicking on the audio waveform graph or framing the audio waveform graph, or a new waveform area to be annotated button (not shown) can be directly clicked to enter the starting time point and ending time point of the waveform area to be annotated.

[0078] In some embodiments, in order to improve the waveform annotation accuracy, the audio waveform graph can be enlarged in response to a preset zoom-in instruction to improve the time accuracy of the audio waveform graph; or, in order to increase the breadth of the waveform area to be annotated, the audio waveform graph can be reduced in response to a preset zoom-out instruction to reduce the time accuracy of the audio waveform graph. The preset zoom-in instruction and the preset zoom-out instruction can be implemented, for example, by scrolling the mouse roller, or by adjusting the slider, using a zoom gesture or other methods, and the present disclosure does not impose any special restrictions on this. By enlarging or reducing the audio waveform graph, the positioning accuracy of the annotated area can be effectively improved, or the scope of the annotated area can be expanded. In some embodiments, the time accuracy of the audio waveform graph can also be set to change automatically according to the audio duration, for example, when the audio duration exceeds the first preset value, the time accuracy is automatically reduced, or when the audio duration is less than the second preset value, the time accuracy is automatically increased, etc., and the present disclosure does not impose any special restrictions on this.

[0079] In step S21, after selecting the audio region to be annotated by one of the multiple methods, it is necessary to use a cut-out determination operation to fix the audio region to be annotated, and the cut-out determination operation may be, for example, clicking a "cut-out" button. In addition to the above-mentioned point selection, box selection, and time point input, there may be other ways to select the audio region to be annotated, and those skilled in the art may set them according to actual needs.

[0080] In step S22, different semi-transparent masks of the waveform regions to be annotated may be marked with the same color (i.e., the semi-transparent effect displayed in the waveform region 41 to be annotated), or different semi-transparent masks of the waveform regions to be annotated may be marked with different colors, and the present disclosure is not limited thereto. The transparency of the semi-transparent mask may be, for example, greater than 50%, so that the annotator can observe the audio waveform through the semi-transparent mask. The semi-transparent mask may be implemented, for example, by javascript.

[0081] In one embodiment of the present disclosure, the range of the audio area to be marked can be adjusted after the audio area to be marked is selected and before the audio area to be marked is fixed using the interception confirmation operation; or the range of the audio area to be marked can be adjusted after the audio area to be marked is fixed using the interception confirmation operation.

[0082] Figure 5 It is a sub-flowchart of step S2 in another embodiment of the present disclosure.

[0083] refer to Figure 5 In another embodiment of the present disclosure, the preset region interception operation flow also includes a region adjustment operation, and the region adjustment operation may include:

[0084] Step S23, in response to the identification axis movement instruction or the time point input instruction, updating the current coverage area of ​​the semi-transparent mask of the waveform area to be marked on the audio waveform graph, or, in response to the dragging instruction of the semi-transparent mask corresponding to the waveform area to be marked, obtaining the current coverage area after the semi-transparent mask is dragged;

[0085] Step S24, determining the time points corresponding to the starting point identification axis and the ending point identification axis of the semi-transparent mask according to the current coverage area, and adjusting the starting point and the ending point of the waveform area to be marked.

[0086] In the disclosed embodiment, the coverage area of ​​the semi-transparent mask can be adjusted by adjusting the start point identification axis and the end point identification axis of the semi-transparent mask, or the coverage position of the semi-transparent mask can be adjusted by directly dragging the semi-transparent mask to other waveform areas. After directly dragging the semi-transparent mask, the coverage area of ​​the semi-transparent mask can also be adjusted by adjusting the start point identification axis and the end point identification axis of the semi-transparent mask, during which the audio waveform can be enlarged or reduced.

[0087] In addition, you can also quickly create a new waveform area to be labeled by copying and pasting the semi-transparent mask to other waveform areas, copying and dragging it to other waveform areas, etc. After creating a new waveform area to be labeled, you can also adjust the starting point identification axis and the ending point identification axis of the semi-transparent mask to adjust the coverage area of ​​the semi-transparent mask.

[0088] By using a semi-transparent mask to mark the waveform area to be annotated and operating the semi-transparent mask to adjust the waveform area to be annotated, the efficiency of locating the waveform area to be annotated can be greatly improved, avoiding the low efficiency problem usually existing in manual operation.

[0089] It should be noted that when the annotator determines the waveform area to be annotated, different waveform areas to be annotated can be set to have non-overlapping content. That is, when it is found that a waveform area to be annotated that is about to be formed has an overlapping time range with an existing waveform area to be annotated, the subsequent waveform area to be annotated can be rejected, or the time range of the subsequent waveform area to be annotated can be directly adjusted so that it has a completely non-overlapping time range with the existing waveform area to be annotated.

[0090] When the semi-transparent mask is operated to adjust the range of the waveform region to be annotated, it is also possible to detect in real time whether the adjusted waveform region to be annotated has an overlapping time range with the existing waveform region to be annotated and make adjustments.

[0091] In step S3, the audio recognition text that can be modified and a plurality of selected annotated content recommendation items corresponding to the target waveform area are displayed.

[0092] Figure 6 It is a sub-flow chart of step S3 in one embodiment of the present disclosure.

[0093] refer to Figure 6 , step S3 may include:

[0094] Step S31, displaying the audio recognition text corresponding to the entire waveform area in the annotation content input box corresponding to the entire waveform area, and the audio recognition text can be deleted in whole or in part;

[0095] Step S32, displaying the annotated content recommendation items corresponding to the preset attributes of the audio waveform graph for selection, and the display method of the annotated content recommendation items includes at least one of a drop-down menu, a selection box, and a selection button.

[0096] Figure 7 is a schematic diagram of the annotation tools corresponding to the entire waveform area.

[0097] refer to Figure 7 In one embodiment of the present disclosure, all waveform regions can be designated as a target waveform region by operating a preset control or inputting a preset instruction. In another embodiment, all waveform regions can also be designated as a target waveform region by default in the audio annotation work order. Figure 7 The illustrated embodiment is applicable to a language model work order, that is, when the annotator determines that the audio file includes voice content, so that the "language model work order" option is set to a selected state.

[0098] When all waveform regions are a target waveform region, the audio recognition text (speech recognition results) corresponding to all waveform regions can be displayed on the interface for the annotator to modify or confirm the audio recognition text; in addition, the annotation content recommendation items of multiple attributes can be displayed in a variety of ways for the annotator to choose, so as to achieve rapid annotation of multiple attributes of the target audio file. In one embodiment, the multiple attributes may include at least audio quality (such as the pronunciation quality of a voice file), a time period or time point of a specific audio, a type of audio content (background sound or voice), a user emotion of a voice file, a user intention of a voice file, etc. Figure 7 The attributes (audio quality, audio type, etc.) in the illustrated embodiment are merely examples. In other embodiments of the present disclosure, more other attributes that need to be labeled and recommended items for the labeled content of these attributes may be set, and a variety of selection methods including drop-down menus, selection boxes, and selection buttons may be used for the annotator to choose, so as to quickly obtain the labeling results of multiple attributes.

[0099] In addition to annotating the entire target audio file, the disclosed embodiment also allows the annotator to perform refined partial annotation on the target audio file.

[0100] Figure 8 It is a sub-flowchart of step S3 in another embodiment of the present disclosure.

[0101] refer to Figure 8 In another embodiment, step S3 may include:

[0102] Step S33, in response to the interception determination operation, displaying a marking content input box corresponding to the waveform area to be marked and a start time point and an end time point of the waveform area to be marked;

[0103] Step S34, displaying the audio recognition text corresponding to the waveform area to be annotated in the annotation content input box corresponding to the waveform area to be annotated, and the audio recognition text can be deleted in whole or in part;

[0104] Step S35, responding to a text input instruction corresponding to the annotation content input box corresponding to the waveform area to be annotated, obtaining the input text;

[0105] Step S36, displaying input word recommendations based on the input text.

[0106] Fig. 9 is a schematic diagram of a labeling tool corresponding to a waveform region to be labeled.

[0107] When the annotator selects a waveform area to be annotated, the waveform area to be annotated is used as a target waveform area, and the annotation tools for the target waveform area are displayed. Fig. 9 , first of all, the starting time point and the ending time point of the waveform area to be annotated, and the annotation content input box can be displayed on the interface, and the audio recognition text corresponding to the waveform area to be annotated can be displayed in the annotation content input box, so that the annotator can modify or confirm the audio recognition text of the waveform area to be annotated. When the annotator modifies the waveform area to be annotated, the audio recognition text can also be updated while updating the coverage of the semi-transparent mask. In some embodiments, if the audio recognition text corresponding to the waveform area to be annotated cannot be identified, only the annotation content input box corresponding to the audio recognition text can be displayed, so that the annotator can enter the audio recognition text of the waveform area to be annotated by himself. Of course, the annotation content input box can also be empty at the end, or the annotator can also not modify the automatically generated audio recognition text.

[0108] In addition, when the annotator operates in the annotation content input box, the input text in the annotation content input box can be checked at any time, and input word recommendations can be displayed according to the input text, so that the annotator can increase the annotation speed by clicking the input word recommendation. In some embodiments, it is possible to only detect whether the input text is the first part of a proper noun, and then prompt or display the proper noun as an input word recommendation in a variety of ways to improve the annotation speed and accuracy.

[0109] Since different regions often have different dialects and different vocabularies, the detection and recommendation of input content (including proper nouns) can be determined based on the source of the target audio file. For example, for a target audio file from region A, the detected and recommended input content (including proper nouns) may be different from that of a target audio file from region B.

[0110] exist Fig. 9 In the illustrated embodiment, a special character insertion tool box such as an "English character insertion box" may also be displayed after the annotation content input box to facilitate the annotator to input foreign letters or other special characters.

[0111] The annotation tools corresponding to the waveform area to be annotated (such as the annotation content input box and the special character insertion tool box) can be arranged in the order of the time points corresponding to the waveform area to be annotated, such as Fig. 9 When the annotator drags and moves a semi-transparent mask corresponding to a waveform area to be annotated to redefine the waveform area to be annotated, the display order of the annotation tools corresponding to the waveform area to be annotated can be adjusted according to the order of the time areas corresponding to the newly determined waveform area to be annotated.

[0112] Fig. 9The annotation tools corresponding to the waveform area to be annotated (such as the annotation content input box and the special character insertion tool box) displayed in the illustrated embodiment are only examples. In other embodiments, the annotation tools corresponding to the waveform area to be annotated can also be displayed in other forms to improve the annotation speed. In addition, each annotation tool displayed in the embodiments of the present disclosure can exist independently or in free combination, and the annotation tools (annotation content input box and annotation content recommendation items) do not need to rely on each other to realize their functions.

[0113] Fig.10 It is a schematic diagram of a complete annotation interface in one embodiment of the present disclosure.

[0114] refer to Fig.10 The annotation interface 1000 may include an audio waveform graph area 101, a play progress bar 21, a waveform area to be annotated 41, a play button 102, a time point display area 103 for the waveform area to be annotated, a capture button 104 for the waveform area to be annotated, a work order type selection area 105, an annotation content input box 106 corresponding to all waveform areas, a pronunciation quality selection area 107, a recording classification selection area 108, a speech recognition result judgment area 109, an annotation tool area 110 corresponding to the waveform area to be annotated, a manual correction content summary selection area 111, a semantic understanding result judgment area 112, an optimization judgment area 113, a problem solving feedback area 114, an annotation result processing button area 115, etc.

[0115] Table 1 is Fig.10 The labeling logic table corresponding to the language model work order in the illustrated embodiment. The language model work order is used to process the voice file.

[0116] Table 1

[0117]

[0118]

[0119] Referring to Table 1, the annotator can annotate the target audio file by selecting the annotation content recommendation items to annotate the file type (human voice or other sound), pronunciation quality, pronunciation type (called recording classification), voice judgment, manual correction content and other attributes.

[0120] Among them, the recommended annotation items for the pronunciation quality attributes of human voice may include clear, clear with background sound, unclear, etc.; the recommended annotation items for the pronunciation type attributes may include Mandarin, Mandarin with accent, dialect, etc.; the recommended annotation items for the speech judgment attributes may include correct, correct and optimizable, wrong, and cannot be confirmed, etc.; manual correction content means modifying the audio recognition text, which the annotator may modify or not; the summary of manual correction content may include the system automatically bringing in the recognition text or manually filling in the correction content, etc.

[0121] The items shown in Table 1 are the filling logic of each function box when the previous (on the left) item is selected. For example, when the annotator selects "Pronunciation Quality" as clear, the three options of "Mandarin", "Mandarin with Accent", and "Dialect" are displayed in the "Recording Classification" drop-down box; when the annotator selects "Mandarin" as "Recording Classification", the three options of "Correct", "Correct and Optimizable", and "Wrong" are displayed in the "Speech Judgment" drop-down box; no matter which option the annotator selects, when the annotator submits the annotation results, if it is found that the "Manual Correction Content" is empty at this time, the annotator will be prompted to fill in the item, otherwise the next step will not be processed. If the annotator selects "Correct" in the "Speech Judgment" drop-down box, then Fig.10 The manually corrected content summary selection area 111 shown automatically displays the recognition text corresponding to each target annotation area, otherwise the annotator is prompted to fill in the area. When the annotator selects "pronunciation quality" as unclear, the remaining options are all inoperable. Other logics are similar, see Table 1, and this application will not be repeated here.

[0122] Table 2 is a labeling logic table corresponding to an acoustic model work order in another embodiment of the present disclosure. The acoustic model work order is used to process non-voice files and can be selected by annotators.

[0123] Table 2

[0124]

[0125] Referring to Table 2, the recommended items for annotation content of the pronunciation quality (recording type) attributes of other sounds may include system sounds and noise, where system sounds may include key sounds, busy sounds, and TTS broadcast sounds; noise may include unrecognized text and recognized text, etc.; manual correction content includes two situations: must insert and only manually corrected characters can be inserted, and interception is not an option; the summary of manual correction content includes two situations: not allowed to be filled in and blank and cannot be filled in.

[0126] Table 2 corresponds to the interface Fig.10 The language model worksheets of the illustrated embodiments are similar, with fewer options (ie, the options in Table 2), which are no longer shown in the present disclosure.

[0127] Annotator Fig.10 The operations of the annotation interface shown may include:

[0128] 1) Choose to optimize the language model or the acoustic model (the language model is used to annotate speech files, and the acoustic model is suitable for annotating non-speech files);

[0129] 2) For incorrect speech results, a language model ticket is assigned by default, and the acoustic model ticket needs to be manually selected;

[0130] 3) Sound wave interception operation:

[0131] a) Click the [Play] button, the play progress bar starts, and you can start capturing the audio area to be marked at any time. The audio waveform can be zoomed in / out using the mouse scroll wheel;

[0132] c) Use the mouse to select the position where the sound wave starts (i.e. the starting time point), hold down the left mouse button and drag, release the mouse when dragging to the position where the sound wave ends (i.e. the ending time point), and generate a semi-transparent mask by dragging to determine the waveform area to be annotated; if the annotator finds that the recording is not properly captured, he / she can drag and select again (the marking line can be adjusted left and right), and the operation can be repeated without limiting the number of times as long as the "Capture" button is not clicked.

[0133] After the annotator intercepts the waveform area to be annotated, the system automatically obtains the start time point and the end time point of the waveform area to be annotated and generates the annotation tool corresponding to the waveform area to be annotated, and automatically loops the sound wave of the intercepted waveform area to be annotated. The interception order of the waveform area to be annotated cannot be overlapped or reversed. After the first segment of the waveform area to be annotated is intercepted, when the second segment of the waveform area to be annotated is intercepted, the waveform within the range of the first segment of the waveform area to be annotated cannot be repeatedly intercepted. The system makes its own judgment based on the start time point and the end time point of the first segment of the waveform area to be annotated.

[0134] Among them, after the annotator manually checks the [Acoustic Model Work Order], at least a section of the waveform area to be annotated must be intercepted on the page. The annotator can be set not to proceed to the next annotation operation if he does not click the "Intercept" button on the page; each time the annotator clicks the "Intercept" button, a new "Manual Correction Input Box" is added, and the system automatically generates the start time point and end time point in front of the "Manual Correction Input Box". Each manual correction box is followed by a new [Proper Noun] selection and [English Character Insertion]. [Proper Nouns] should be displayed according to the provincial authority association of the annotation data. For example, annotators in Hebei can only see Hebei's own proper nouns. After the annotator clicks the [Intercept] button, the cutting blade (marking axis) can no longer be moved. If adjustment is required, click the [×] behind the manual correction box and reselect the waveform cutting.

[0135] The dispatch logic can check [Language Model Work Order] by default. At this time, there is no need to drag and cut the audio waveform, the [Cut] button is grayed out, the start and end time of the cut are not displayed, and the single manual correction box is not displayed. The manual correction content is filled in the [Manual Correction Content Summary] box. On the annotation page, "Speech Recognition Result" is selected as correct by default, "Semantic Understanding Result" is selected as correct by default, and "Whether the intelligent voice navigation has solved the problem" is selected as solved by default. If other options are needed, check them manually.

[0136] Step S4, in response to the annotation completion instruction corresponding to the target audio file, generating an annotation file of the target audio file, wherein the annotation file includes audio recognition texts corresponding to one or more target waveform areas and selected recommended items from the multiple annotation content recommendation items.

[0137] Fig.11 It is a sub-flow chart of step S4 in one embodiment of the present disclosure.

[0138] refer to Fig.11 In one embodiment, step S4 may include:

[0139] Step S41, obtaining audio recognition texts and selected recommendation items corresponding to one or more target waveform regions;

[0140] Step S42, generating a marking record according to a starting time point, an ending time point, an audio recognition text and the selected recommendation item of the target waveform area;

[0141] Step S43: generating the annotation file according to the annotation records corresponding to the one or more target waveform regions.

[0142] After the annotator completes the fast and accurate annotation through the annotation tool provided in the above embodiment, the information corresponding to each target waveform area can be obtained, which may include the audio recognition text and the selected recommended items for each attribute. When the target waveform area includes both the entire waveform area and the waveform area to be annotated selected by the annotator, the annotation information corresponding to the entire waveform area can be obtained first, a annotation record can be generated, and then annotation records of different areas to be annotated can be generated in sequence according to the time sequence corresponding to the areas to be annotated.

[0143] For a target audio file of voice file type, no matter how many waveform regions to be annotated are included, the audio recognition text corresponding to each waveform region to be annotated can be spliced ​​together. For example, if there are three annotation content input boxes, in the generated annotation file, the content under the manual correction field should be the audio recognition text in the three annotation content input boxes, while removing the inserted English characters and other content.

[0144] Fig.12 It is a schematic diagram of the position of the audio file annotation method in the embodiment of the present disclosure during the entire audio annotation operation process.

[0145] refer to Fig.12 The method provided in the embodiment of the present disclosure can be applied in the training process of the speech recognition engine.

[0146] In step S121, multiple groups of target audio files and recognition results of the target audio files by the speech recognition engine are obtained from a speech recognition engine provider;

[0147] In step S122, a target audio file and a recognition result of the target audio file by the speech recognition engine are played for the annotator;

[0148] In step S123, the annotator determines whether the recognition result of the target audio file is correct. If it is correct, the process returns to step S122 to process the next target audio file. If it is incorrect, the process proceeds to step S124.

[0149] In step S124, the annotator selects the annotation type of the target audio file as an acoustic model or a language model;

[0150] In step S125, a waveform diagram of the target audio file and an annotation tool are displayed according to the annotation type selected by the annotator;

[0151] In step S126, method 100 is executed to generate a labeling file;

[0152] In step S127, the annotated file is packaged together with the target audio file and sent to the speech recognition engine provider.

[0153] In order to effectively improve the recognition accuracy of the speech recognition engine, the embodiment of the present disclosure displays the target audio file in the form of a waveform graph, so that the annotator can perform detailed annotations on the audio waveform graph according to his own needs by dragging and selecting, and annotating the content of multiple attributes including time, content, machine recognition result information, manual recognition result information, user emotions, and user intentions. The annotator can skip meaningless audio segments through the shape of the waveform graph, and directly annotate the audio that needs to be optimized, thereby shortening the annotation time and improving work efficiency; the time range of the audio that needs to be optimized can be accurately controlled, and the start and end time of the selected audio can be accurate to the millisecond level, making each corpus more high-quality and full, and making the speech recognition engine more accurate; the audio can be annotated in multiple dimensions, and in addition to the pronunciation quality, recording classification, dispatch type, whether the speech recognition is correct, machine recognition results, manual recognition results, user emotions, etc., other annotation dimensions can also be added by the annotator.

[0154] Corresponding to the above method embodiment, the present disclosure also provides an audio file annotation device, which can be used to execute the above method embodiment.

[0155] Fig.13 It is a block diagram of an audio file tagging device in an exemplary embodiment of the present disclosure.

[0156] refer to Fig.13 , the audio file annotation device 1300 may include:

[0157] The waveform display module 131 is configured to respond to the audio annotation work order generation instruction and display the audio waveform of the target audio file;

[0158] A marked area determination module 132, configured to determine a target waveform area in response to a preset area selection operation corresponding to the audio waveform graph;

[0159] A marking tool display module 133, configured to display the audio recognition text that can be modified and a plurality of selected marking content recommendation items corresponding to the target waveform area;

[0160] The annotation file generation module 134 is configured to generate an annotation file of the target audio file in response to an annotation completion instruction corresponding to the target audio file, wherein the annotation file includes audio recognition text corresponding to one or more target waveform areas and selected recommendation items from the multiple annotation content recommendation items.

[0161] In an exemplary embodiment of the present disclosure, the annotation tool display module 133 is configured to: display the audio recognition text corresponding to the entire waveform area in the annotation content input box corresponding to the entire waveform area, and the audio recognition text may be deleted in whole or in part; display annotation content recommendation items corresponding to preset attributes of the audio waveform graph for selection, and the display method of the annotation content recommendation items includes at least one of a drop-down menu, a selection box, and a selection button.

[0162] In an exemplary embodiment of the present disclosure, the annotation area determination module 132 is configured to: determine the waveform area to be annotated according to a preset area interception operation flow corresponding to the audio waveform graph, wherein the waveform area to be annotated is a partial waveform area in the audio waveform graph, and the preset area interception operation flow includes at least one of the following operation flows corresponding to the audio waveform graph: a starting point selection operation, an end point selection operation, and an interception determination operation of the waveform area to be annotated; a starting point time input operation, an end point time input operation, and an interception determination operation of the waveform area to be annotated; a frame selection operation and an interception determination operation of the waveform area to be annotated; and cover the waveform area to be annotated in the audio waveform graph using a starting point identification axis, an end point identification axis, and a semi-transparent mask of a preset color filled between the starting point identification axis and the end point identification axis.

[0163] In an exemplary embodiment of the present disclosure, the annotation tool display module 133 is configured to: in response to the interception determination operation, display the annotation content input box corresponding to the waveform area to be annotated and the starting time point and the ending time point of the waveform area to be annotated; display the audio recognition text corresponding to the waveform area to be annotated in the annotation content input box corresponding to the waveform area to be annotated, and the audio recognition text can be deleted in whole or in part; in response to a text input instruction corresponding to the annotation content input box corresponding to the waveform area to be annotated, obtain the input text; and display input word recommendations based on the input text.

[0164] In an exemplary embodiment of the present disclosure, the annotation area determination module 132 is configured to: update the current coverage area of ​​the semi-transparent mask of the waveform area to be annotated on the audio waveform graph in response to an identification axis movement instruction or a time point input instruction, or obtain the current coverage area of ​​the semi-transparent mask after being dragged in response to a drag instruction of the semi-transparent mask corresponding to the waveform area to be annotated; determine the time points corresponding to the starting point identification axis and the ending point identification axis of the semi-transparent mask according to the current coverage area, and adjust the starting point and the ending point of the waveform area to be annotated.

[0165] In an exemplary embodiment of the present disclosure, the annotation file generation module 134 is configured to: obtain audio recognition text and selected recommendation items corresponding to one or more target waveform areas; generate an annotation record according to the start time point, end time point, audio recognition text and selected recommendation items of the target waveform area; and generate the annotation file according to the annotation records corresponding to the one or more target waveform areas.

[0166] In an exemplary embodiment of the present disclosure, the waveform display module 131 is configured to: amplify the audio waveform in response to a preset zoom-in instruction to improve the time accuracy of the audio waveform; and shrink the audio waveform in response to a preset zoom-out instruction to reduce the time accuracy of the audio waveform.

[0167] Since the functions of the device 1300 have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.

[0168] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0169] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0170] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0171] Refer to the following Fig.14 14 to 15. The electronic device 1400 according to this embodiment of the present invention is described. Fig.14 The electronic device 1400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0172] like Fig.14 As shown, the electronic device 1400 is in the form of a general computing device. The components of the electronic device 1400 may include but are not limited to: at least one processing unit 1410, at least one storage unit 1420, and a bus 1430 connecting different system components (including the storage unit 1420 and the processing unit 1410).

[0173] The storage unit stores program codes, which can be executed by the processing unit 1410, so that the processing unit 1410 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1410 can perform the method shown in the embodiment of the present disclosure.

[0174] The storage unit 1420 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 14201 and / or a cache storage unit 14202 , and may further include a read-only storage unit (ROM) 14203 .

[0175] The storage unit 1420 may also include a program / utility 14204 having a set (at least one) of program modules 14205, such program modules 14205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0176] Bus 1430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0177] The electronic device 1400 may also communicate with one or more external devices 1600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1400, and / or communicate with any device that enables the electronic device 1400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1450. In addition, the electronic device 1400 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1460. As shown, the network adapter 1460 communicates with other modules of the electronic device 1400 via a bus 1430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0178] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0179] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0180] The program product for implementing the above method according to an embodiment of the present invention can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0181] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0182] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0183] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0184] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0185] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0186] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.

Claims

1. A method for annotating an audio file, characterized in that: include: In response to the audio annotation work order generation instruction, the audio waveform of the target audio file is displayed; Determining a target waveform region in response to a preset region selection operation corresponding to the audio waveform graph; Displaying the audio recognition text that can be modified and a plurality of selected annotated content recommendation items corresponding to the target waveform area; In response to a tagging completion instruction corresponding to the target audio file, a tagging file of the target audio file is generated, the tagging file including audio recognition texts corresponding to one or more target waveform regions and a selected recommendation item from among the multiple tagging content recommendation items.

2. The audio file annotation method according to claim 1, characterized in that: The target waveform area includes the entire waveform area, and the display of the modifiable audio recognition text corresponding to the target waveform area and the multiple selectable annotated content recommendation items includes: Displaying the audio recognition text corresponding to the entire waveform area in the annotation content input box corresponding to the entire waveform area, and the audio recognition text can be deleted in whole or in part; Annotated content recommendation items corresponding to preset attributes of the audio waveform graph are displayed for selection, and the display method of the annotated content recommendation items includes at least one of a drop-down menu, a selection box, and a selection button.

3. The audio file annotation method according to claim 1 or 2, characterized in that: The target waveform area includes a waveform area to be marked, and the waveform area to be marked is a partial waveform area in the audio waveform graph, and the response to the preset area selection operation corresponding to the audio waveform graph to determine the target waveform area includes: The waveform area to be marked is determined according to a preset area interception operation flow corresponding to the audio waveform graph, wherein the preset area interception operation flow includes at least one of the following operation flows corresponding to the audio waveform graph: The starting point selection operation, the ending point selection operation and the interception determination operation of the waveform area to be marked; The start point time input operation, the end point time input operation and the interception determination operation of the waveform area to be marked; A frame selection operation and a cutout determination operation of the waveform area to be marked; In the audio waveform diagram, a starting point identification axis, an ending point identification axis, and a semi-transparent mask of a preset color filled between the starting point identification axis and the ending point identification axis are used to cover the waveform area to be marked.

4. The audio file annotation method according to claim 3, characterized in that: The displaying of the modifiable audio recognition text corresponding to the target waveform area and the multiple selectable annotated content recommendation items includes: In response to the interception determination operation, displaying a marking content input box corresponding to the waveform area to be marked and a starting time point and an ending time point of the waveform area to be marked; Displaying the audio recognition text corresponding to the waveform area to be annotated in the annotation content input box corresponding to the waveform area to be annotated, and the audio recognition text can be deleted in whole or in part; In response to a text input instruction corresponding to the annotation content input box corresponding to the waveform area to be annotated, obtaining the input text; Input word recommendations are displayed based on the input text.

5. The audio file annotation method according to claim 3, characterized in that: The preset area interception operation flow also includes an area adjustment operation, and the area adjustment operation includes: In response to the identification axis movement instruction or the time point input instruction, the current coverage area of ​​the semi-transparent mask of the waveform area to be marked is updated on the audio waveform graph, or, in response to the dragging instruction of the semi-transparent mask corresponding to the waveform area to be marked, the current coverage area of ​​the semi-transparent mask after being dragged is obtained; The time points corresponding to the starting point identification axis and the ending point identification axis of the semi-transparent mask are determined according to the current coverage area, and the starting point and the ending point of the waveform area to be marked are adjusted.

6. The audio file annotation method according to claim 1, characterized in that: The generating a marked file of the target audio file in response to the marking completion instruction corresponding to the target audio file comprises: Obtain the audio recognition text and selected recommendation items corresponding to one or more target waveform regions; Generate a marking record according to a starting time point, an ending time point, an audio recognition text, and the selected recommendation item of the target waveform area; The annotation file is generated according to the annotation records corresponding to the one or more target waveform regions.

7. The audio file annotation method according to claim 1, characterized in that: The step of determining a target waveform area in response to a preset area selection operation corresponding to the audio waveform graph includes: Amplifying the audio waveform in response to a preset amplification instruction to improve the time accuracy of the audio waveform; In response to a preset reduction instruction, the audio waveform graph is reduced to reduce the time accuracy of the audio waveform graph.

8. An audio file annotation device, characterized in that: include: A waveform display module, configured to respond to an audio annotation work order generation instruction and display an audio waveform of a target audio file; a marked area determination module, configured to determine a target waveform area in response to a preset area selection operation corresponding to the audio waveform graph; A marking tool display module, configured to display a modifiable audio recognition text corresponding to the target waveform area and a plurality of selectable marking content recommendation items; A marking file generation module is configured to generate a marking file for the target audio file in response to a marking completion instruction corresponding to the target audio file, wherein the marking file includes audio recognition text corresponding to one or more target waveform areas and selected recommended items from the multiple marked content recommendation items.

9. An electronic device, characterized in that: include: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the audio file tagging method according to any one of claims 1 to 7 based on instructions stored in the memory.

10. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the audio file tagging method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Audio processing method and device, equipment and medium

    CN110400580A

  • Voice quality inspection display method and device and electronic equipment

    CN110750229A

  • Audio data processing method and device and computer readable storage medium

    CN112071330A

  • Apparatus and method for creating audio annotation

    KR1020070018594A

  • Audio editing and re-recording

    WO2015184423A2