Data processing method, computer device and computer readable storage medium
By identifying voice data and predicting segment points, extracting segment titles, and generating a directory, the problem of low efficiency in obtaining the content of interest in voice data in the existing technology is solved, and the technical effects of automatic recognition and rapid positioning are achieved.
Patent Information
- Application Number
- CN202110837291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-07-23
AI Technical Summary
In the existing technology, the efficiency of obtaining the content of interest in the voice data is low, and there is a lack of effective solutions.
By recognizing the voice data, text data is obtained, and segmentation point prediction and title extraction technology are used to generate a directory corresponding to the voice data, realizing automatic identification of segment titles and corresponding directories in the voice data.
It improves the efficiency of obtaining the content of interest in speech data. Users can quickly locate key information without reading long records and intuitively experience the entire spoken content.
Smart Images

Figure CN113722425B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a data processing method, a computer device and a computer-readable storage medium. Background Art
[0002] In related technologies, many types of spoken language scenes, such as speeches, meetings, and interviews, need to be recorded, which means that voice recognition is needed to convert speech into text. When users review the records, they often have no idea where to start when faced with long oral records. How to conveniently read the content that users are concerned about and quickly read key information has become the focus of the industry.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a data processing method, a computer device and a computer-readable storage medium to at least solve the technical problem of low efficiency in acquiring the content of interest in acquiring voice data in the related art.
[0005] According to one aspect of an embodiment of the present invention, there is provided a data processing method, comprising: recognizing speech data to obtain text data; predicting segmentation points of the text data to obtain segmented text; extracting segmented titles based on the segmented text; and generating a directory corresponding to the text data based on the extracted segmented titles.
[0006] Optionally, performing segmentation point prediction on the text data to obtain segmented text includes: inputting the text data into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
[0007] Optionally, the first sample text includes spoken text.
[0008] Optionally, extracting the segmented title based on the segmented text includes: inputting the segmented text into a title extraction model to obtain the segmented title, wherein the title extraction model is trained based on multiple groups of second sample data, and the multiple groups of second sample data include: second sample text, and the title of the second sample text.
[0009] Optionally, the second sample text includes spoken text.
[0010] Optionally, generating a directory corresponding to the text data based on the extracted segment title includes: predicting segment points of the segment text to obtain sub-segment text; extracting sub-segment titles based on the sub-segment text; generating a directory corresponding to the text data based on the segment title and the sub-segment title.
[0011] According to another aspect of an embodiment of the present invention, there is provided a data processing method, comprising: receiving voice data on an interactive interface; receiving a directory generation instruction; in response to the directory generation instruction, displaying a directory corresponding to the text data on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0012] According to another aspect of an embodiment of the present invention, there is provided a data processing method, comprising: acquiring voice data of an offline meeting held at a predetermined location; receiving a directory generation instruction; and displaying a directory of the offline meeting in response to the directory generation instruction, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0013] According to another aspect of an embodiment of the present invention, there is provided a data processing method, comprising: acquiring voice data of an online meeting; receiving a directory generation instruction; and displaying a directory of the online meeting in response to the directory generation instruction, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0014] According to another aspect of an embodiment of the present invention, there is provided a data processing device, comprising: a recognition module for recognizing speech data to obtain text data; a prediction module for predicting segmentation points of the text data to obtain segmented text; an extraction module for extracting segmented titles based on the segmented text; and a generation module for generating a directory corresponding to the text data based on the extracted segmented titles.
[0015] According to another aspect of an embodiment of the present invention, there is provided a data processing device, comprising: a first receiving module, for receiving voice data on an interactive interface; a second receiving module, for receiving a directory generation instruction; and a display module, for responding to the directory generation instruction and displaying a directory corresponding to the text data on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0016] According to another aspect of an embodiment of the present invention, there is provided a data processing device, comprising: a first acquisition module, for acquiring voice data of an offline meeting held at a predetermined location; a third receiving module, for receiving a directory generation instruction; a first display module, for responding to the directory generation instruction and displaying the directory of the offline meeting, wherein the directory is generated based on segment titles, the segment titles are obtained based on segment text extraction, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0017] According to another aspect of an embodiment of the present invention, there is provided a data processing device, including: a second acquisition module, used to acquire voice data of an online meeting; a fourth receiving module, used to receive a directory generation instruction; a second display module, used to respond to the directory generation instruction and display the directory of the online meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0018] According to another aspect of an embodiment of the present invention, there is provided a computer device, comprising: a memory and a processor, wherein the memory stores a computer program; the processor is configured to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the data processing methods.
[0019] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer device is enabled to execute any one of the data processing methods described above.
[0020] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the data processing methods described above.
[0021] In an embodiment of the present invention, segmented text is obtained by predicting segmentation points of text data obtained from speech data, and segmented titles of the segmented text are extracted, thereby achieving the purpose of generating a directory corresponding to the text data, thereby realizing the technical effect of automatically identifying segmented titles and corresponding directories in speech data, and further solving the technical problem of low efficiency in obtaining the focus content in speech data in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0023] Figure 1 A hardware structure block diagram of a computer terminal for implementing a data processing method is shown;
[0024] Figure 2 is a flow chart of a data processing method 1 according to embodiment 1 of the present invention;
[0025] Figure 3 is a flowchart of a second data processing method according to embodiment 1 of the present invention;
[0026] Figure 4 is a flowchart of a data processing method 3 according to embodiment 1 of the present invention;
[0027] Figure 5 is a flow chart of a data processing method 4 according to embodiment 1 of the present invention;
[0028] Figure 6 is a flowchart of a method for automatically generating a directory according to an optional embodiment of the present invention;
[0029] Figure 7 is a structural block diagram of a data processing device 1 provided according to Embodiment 2 of the present invention;
[0030] Figure 8 is a structural block diagram of a data processing device 2 provided according to Embodiment 3 of the present invention;
[0031] Fig. 9 is a structural block diagram of a data processing device 3 provided according to Embodiment 4 of the present invention;
[0032] Fig.10 is a structural block diagram of a data processing device 4 provided according to Embodiment 5 of the present invention;
[0033] Fig.11 is a device block diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0037] 1. ASR: (Automatic Speech Recognition), converts speech into text.
[0038] 2.NLU: (Natural Language Understanding).
[0039] 3.NLG: (Natural Language Generation).
[0040] 4.NLP: (Natural Language Processing), including NLU, NLG and other tasks related to language processing.
[0041] 5.SLP: (Spoken Language Processing), the input is spoken language and the output is the result required by the specific task.
[0042] 6. BERT: (Bidirectional Encoder Representations from Transformers), a pre-trained language model, is the foundation for many NLP tasks.
[0043] 7. UniLM: (Unifie Language Model Pre-training for Natural Language Understanding and Generation), Microsoft uses three different MASK pre-training tasks based on BERT (Bidirectional Encoder Representation from Transformers, a pre-trained language representation model), such as bidirectional, unidirectional, and seq2seq (sequence to sequence, a variant model of recurrent networks), making it possible to obtain good NLG results based on pre-training.
[0044] 8. Thematic segmentation: Divide the content of a long article into large sections according to the topic discussed.
[0045] 9. Title generation: Distill and abstract the spoken content of a large paragraph into a one-sentence description.
[0046] 10.LDA: (Latent Dirichlet Allocation, topic model), can solve problems in the field of document processing such as topic classification, text segmentation, etc.
[0047] Example 1
[0048] According to an embodiment of the present invention, a data processing method embodiment is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0049] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a data processing method. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0050] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0051] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the data processing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the data processing method of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0052] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0053] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0054] Under the above operating environment, this application provides Figure 2 The data processing method shown. Figure 2 is a flow chart of a data processing method 1 according to embodiment 1 of the present invention. Figure 2 As shown, the method comprises the following steps:
[0055] Step S202, recognizing the voice data to obtain text data;
[0056] Step S204, performing segmentation point prediction on the text data to obtain segmented text;
[0057] Step S206, extracting segment titles based on segment text;
[0058] Step S208, generating a directory corresponding to the text data based on the extracted segment titles.
[0059] Through the above steps, segmented text is obtained by predicting segmentation points of text data obtained from speech data, and the segmented titles of the segmented text are extracted, thereby achieving the purpose of generating a directory corresponding to the text data, thereby realizing the technical effect of automatically identifying segmented titles and corresponding directories in speech data, and further solving the technical problem of low efficiency in acquiring the focus content in speech data in related technologies.
[0060] As an optional embodiment, voice data is recognized to obtain text data. The voice data used for recognition can be of various types, for example, various types of real-time voice scenes, such as speeches, meetings, interviews, etc. that need to be recorded, various types of voice records, such as recordings, songs, videos, etc., wherein the voice records can also be in various formats, such as MP3 (Moving Picture Experts Group Audio Layer 3) format, WMA (Windows Media Audio) format, etc. It can be applied to various scenarios that require voice recording and recognition, and has strong practicality.
[0061] As an optional embodiment, before the voice data is recognized and the text data is obtained, the voice data can be translated. For example, when the voice data used is based on a real-time English speech, in order to better review and learn and meet the needs of people whose native language is Chinese, the voice data can be recognized first, English can be translated into Chinese, and then the Chinese text data can be processed. This ensures that it can be applied to more and broader usage scenarios, so that users can learn better and more conveniently.
[0062] As an optional embodiment, segmentation points are predicted for text data to obtain segmented text. When predicting segmentation points, the text data obtained can be divided according to a variety of different standards. For example, the content expressed by various voice data such as meetings, interviews, speeches, and explanations of things has a certain logic, and the text data obtained from the voice data also has a certain logical order. Based on this, you can choose to divide the text data according to semantic themes based on language logic; for example, the same content expressed by voice data is often related, and different expressions that can express the same meaning are also related, that is, similar content in the text data also has a certain correlation. Based on this, you can choose to divide the text data according to content meaning based on similar content, and so on. Segmentation points can be predicted according to different needs and specific rules.
[0063] As an optional embodiment, segmentation point prediction is performed on text data to obtain segmented text, including: inputting text data into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text. The first sample text and the segmentation results of the first sample text are used as the first sample data for training to obtain the segmentation prediction model. Since a large amount of first sample data can be used for training during training, when the segmentation prediction model obtained by training is subsequently used to predict the segmentation points of text data, the segmentation points corresponding to the text data can be accurately predicted, thereby obtaining segmented text, improving the accuracy of segmentation point prediction, and in addition, using an artificial intelligence segmentation prediction model to predict segmentation points can effectively improve the efficiency of segmentation prediction. Among them, the first sample text includes colloquial text, which can be obtained based on a database, for example, a web page corpus based on written language, or it can be continuously obtained in real time during the process of collecting voice data and its corresponding text data before the segmentation prediction model. The segmentation prediction model ensures the effect of segmenting text data by adapting to spoken data, and also ensures the effect of segmenting spoken data.
[0064] As an optional embodiment, segmented titles are extracted based on segmented text. In the segmented text, each segment may represent multiple identical or different meanings, different semantics, contexts, etc. At this time, it is necessary to extract the titles in each segmented text to summarize the content represented by each segmented text. There can be multiple ways to classify the titles, as long as they can represent different segmented texts. By extracting the segmented titles, it can be ensured that the user can obtain the approximate content that can be expressed by the segmented text without reading the entire segmented text. The approximate content of the segmented text is known through the extracted title, which is convenient for the user to quickly know the importance of the segmented content to himself, that is, to determine the user's attention, and effectively improve the efficiency of obtaining attention information.
[0065] As an optional embodiment, segmented titles are extracted based on segmented text, including: inputting the segmented text into a title extraction model to obtain segmented titles, wherein the title extraction model is trained based on multiple sets of second sample data, and the multiple sets of second sample data include: second sample text, and titles of the second sample text. Since a large amount of second sample data can be used for training, the title extraction model obtained by training is subsequently used to extract titles from text data, and the corresponding titles can be accurately extracted based on the text data, effectively improving the accuracy of title extraction. In addition, the use of an artificial intelligence segmented prediction model for title extraction effectively improves the efficiency of title extraction.
[0066] As an optional embodiment, the title extraction model can be based on a variety of extraction networks. There are many general extraction networks, for example, including: UniLM based on bert-base, and so on. For example, the UniLM based on bert-base can be a title extraction model based on UniLM based on bert-base. It should be noted that the above-mentioned title extraction model based on the extraction network is only an example, and the title extraction models based on other extraction networks that are not listed one by one can also be applied to the present application. Similarly, through training, the above-mentioned title extraction model can also accurately extract the title in the text. Title extraction models based on different extraction networks can be selected according to different needs, providing a variety of selection methods, which is more flexible and convenient to use, greatly improving the applicability of title extraction, and selecting based on different extraction networks is suitable for different needs in more scenarios.
[0067] The second sample text includes colloquial text, which can be obtained based on a database, or can be continuously obtained in real time during the process of collecting voice data and its corresponding text data before training the title extraction model. The second sample text in the title generation, for example, the colloquial text can be based on various public news, summary data, and other resources. Preferably, the spoken data part can be fine-tuned and other targeted optimizations can be made, on the one hand, to increase the spoken language diversity, and on the other hand, to increase the number of training samples, so that the trained title extraction model is better.
[0068] As an optional embodiment, based on the extracted segmented titles, a directory corresponding to the text data is generated, including: predicting the segmented points of the segmented text to obtain sub-segmented text; extracting sub-segmented titles based on the sub-segmented text; generating a directory corresponding to the text data based on the segmented titles and sub-segmented titles. For example, in a lecture on electrical engineering, the origin of electricity, the application of electricity, the extension of electricity, and so on are described respectively. Based on the segmented text in the text data, the titles of the segmented texts can be extracted through the title extraction model, that is, they can be named the origin of electricity, the application of electricity, and the extension of electricity. The origin of electricity, the application of electricity, and the extension of electricity include other contents, for example, the origin of electricity in different regions; the application of electricity, strong electricity, weak electricity, etc., the application of electricity in different disciplines; the extension of electricity can include knowledge related to biology, chemistry and other fields. Sub-segmentation can be performed for more detailed content in each paragraph of text to obtain sub-titles of the detailed content. That is, after the large paragraphs are segmented, different sub-paragraphs with thematic semantics are generated. These sub-paragraphs are extracted for titles, and titles related to each paragraph are generated. Then, for different sub-titles, they are summarized into an overall title, and finally a basic version of the directory is produced. As in the above example, based on a speech on electrical engineering, an e-book with electrical content related to the speech can be obtained. Users can click on the directory to obtain relevant knowledge of the directory. It should be noted that this directory can be recursively generated to generate sub-titles and complete directories of different levels. Users do not need to remember accurate keywords, and can locate the content that the user is more concerned about from the directory, and can also have a more intuitive feeling for the entire long oral passage.
[0069] It should be noted that when performing segmentation point prediction on segmented text to obtain sub-segmented text, an artificial intelligence method can also be used. For example, the segmentation prediction model used for segmentation point prediction of text data is used to perform segmentation point prediction on segmented text to obtain sub-segmented text. It is also possible to use a model obtained by adjusting the above-mentioned segmentation prediction model to perform segmentation point prediction on segmented text to obtain sub-segmented text. When adjusting the segmentation prediction model, since the segmented text is obtained by segmenting the text data, the difference between the text data and the segmented text is only the size of the piece. Therefore, when adjusting the segmentation prediction model, only the piece size parameters of the segmentation prediction model can be adaptively adjusted, so that the model after adjusting the parameters is more suitable for segmentation point prediction of small-piece text.
[0070] In addition, when extracting sub-segment titles based on sub-segment text, artificial intelligence processing can also be used. For example, the title extraction model that extracts titles from segment text to obtain segment titles can be used to extract titles from the sub-segment text to obtain sub-segment titles. Of course, in order to further improve the efficiency of extracting sub-segment titles, the above-mentioned title extraction model can also be adjusted, that is, the film width parameters can be adjusted accordingly, so that the model after the adjustment of the parameters is more suitable for title extraction of small-width text.
[0071] As an optional embodiment, when generating a directory corresponding to text data based on segment titles and sub-segment titles, since the text data is segmented to obtain segment characters, and the segment characters are segmented to obtain sub-segment characters, and can be further divided to obtain sub-sub-segment characters, etc., the obtained segment characters, sub-segment characters, and the sub-sub-segment characters obtained further have a certain hierarchical structure. The segment characters correspond to the segment titles, the sub-segment characters correspond to the sub-segment titles, the sub-sub-segment characters correspond to the sub-sub-segment titles, etc., and according to the correspondence between the characters and the titles, the titles also have the same hierarchical structure as the characters, so each title, combined with the hierarchical structure between each title, can generate a directory.
[0072] Figure 3 is a flow chart of a second data processing method according to embodiment 1 of the present invention. Figure 3 As shown, the method comprises the following steps:
[0073] Step S302, receiving voice data on the interactive interface;
[0074] Step S304, receiving a directory generation instruction;
[0075] Step S306, responding to the directory generation instruction, displays the directory corresponding to the text data on the interactive interface, wherein the directory is generated based on the segment title, the segment title is extracted based on the segment text, the segment text is obtained by predicting the segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0076] Through the above steps, by receiving voice data on the interactive interface, receiving and responding to text recognition instructions, obtaining segmented text by predicting segmentation points of the text data obtained from the voice data, and extracting the segmented titles of the segmented text, and then receiving and responding to directory generation instructions, the purpose of generating a directory corresponding to the text data is achieved, thereby achieving the technical effect of automatically identifying segmented titles and corresponding directories in voice data, and further solving the technical problem of low efficiency in obtaining the focus content in obtaining voice data in related technologies.
[0077] Figure 4is a flow chart of a data processing method 3 according to embodiment 1 of the present invention. Figure 4 As shown, the method comprises the following steps:
[0078] Step S402, obtaining voice data of an offline meeting held at a predetermined location;
[0079] Step S404, receiving a directory generation instruction;
[0080] Step S406, responding to the directory generation instruction, displaying the directory of the offline meeting, wherein the directory is generated based on the segmented title, the segmented title is extracted based on the segmented text, the segmented text is obtained by predicting the segmented points of the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0081] Through the above steps, the voice data of the offline meeting held at the scheduled location is used to obtain segmented text by predicting the segmentation points of the text data obtained from the voice data, and the segmented titles of the segmented text are extracted. Then, by receiving and responding to the directory generation instruction, the purpose of generating a directory of the offline meeting held at the scheduled location corresponding to the text data is achieved, thereby realizing the technical effect of automatically identifying the segmented titles and corresponding directories in the voice data, and further solving the technical problem of low efficiency in obtaining the focus content in obtaining voice data in the related technology.
[0082] In an optional embodiment, the offline meeting held at the above-mentioned predetermined place can be of various types, for example, it can be an auditorium meeting with multiple participants, an office meeting, a playground meeting, a conference room meeting, etc. The offline meeting can collect voice data in the meeting through a predetermined voice collection device, including: speech voice data, voice data discussed in the meeting, etc.
[0083] Figure 5 is a flow chart of a data processing method 4 according to embodiment 1 of the present invention. Figure 5 As shown, the method comprises the following steps:
[0084] Step S502, obtaining voice data of the online conference;
[0085] Step S504, receiving a directory generation instruction;
[0086] Step S506, responding to the directory generation instruction, displays the directory of the online meeting, wherein the directory is generated based on the segmented titles, the segmented titles are extracted based on the segmented text, the segmented text is obtained by predicting the segmented points of the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0087] Through the above steps, by acquiring the voice data of the online meeting, receiving and responding to the directory generation instruction, the text data obtained from the voice data is predicted by segmentation points to obtain segmented text, and the segmented titles of the segmented text are extracted, the purpose of generating a directory of the online meeting corresponding to the text data is achieved, thereby realizing the technical effect of automatically identifying the segmented titles and corresponding directories in the voice data, and further solving the technical problem of low acquisition efficiency in the related technology in acquiring the focus content in voice data.
[0088] In an optional embodiment, the online conference can be a conference held through a predetermined conference software, or it can be of various types, for example, a video conference, a voice conference, a live broadcast conference, etc. with multiple participants. The offline conference can collect voice data in the conference through the predetermined conference software, including: voice data of speeches, voice data of discussions at the conference, etc.
[0089] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.
[0090] In the related art, the user recall positioning method is to use search. However, when using the search method in the related art, the following problems may occur:
[0091] 1) The search premise is that the user can remember the keywords,
[0092] 2) When searching for keyword-related locations, what you get is a brief description of the general content of the entire article, with general or specific descriptive information in the previous and next paragraphs, which does not provide intuitive perception.
[0093] Based on this, in an optional implementation of the present invention, it is proposed to automatically generate a directory (for example, a large paragraph subtitle) to help users review long oral records and accurately find the large topic paragraphs they are concerned about, and use the idea of semantic segmentation of the topic paragraphs and large paragraph title generation to generate the directory, and introduce a spoken language adaptive method to improve the segmentation and title generation effect of spoken language. The optional implementation of the present invention is described in detail below.
[0094] Figure 6 is a flowchart of a method for automatically generating a directory according to an optional embodiment of the present invention. Figure 6 As shown;
[0095] S1, the input is long-length spoken data, such as 4 hours of meeting data, interview data, long speech data, etc.
[0096] S2, the input long-length spoken language data is segmented into large segments based on semantic topics, including sequence prediction of large segmentation points based on sliding window sequence models, segmentation based on LDA topic prediction, etc. The training data is mostly based on written language web corpus, and the algorithms need to adapt to the spoken data to ensure the segmentation effect of text data and spoken data.
[0097] S3, after the semantic theme segmentation, different sub-segments with theme semantics will be generated. These sub-segments will be passed through the title generation module to generate titles related to each paragraph. The title generation adopts the UniLM method based on Bertbase, where the training data can be based on various public news, summary data and other resources. Preferably, the oral data part can be fine-tuned and other targeted optimizations can be made, and the source code can be improved to improve the efficiency of title extraction, so that it is suitable for various applications, such as industrial applications.
[0098] S4, for different sub-titles, will be summarized into an overall title, and the basic version of the directory will be produced. It should be noted that this directory can be recursively carried out to generate sub-titles of different levels and a complete directory.
[0099] Through the above optional implementation, the following beneficial effects can be achieved:
[0100] (1) Users do not need to remember accurate keywords, but can locate the content that they are more interested in from the catalog (for example, topic paragraphs and title generation);
[0101] (2) Have a more intuitive understanding of the entire long oral passage.
[0102] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the data processing method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0104] Example 2
[0105] According to an embodiment of the present invention, there is also provided a device 1 for implementing the above data processing method. Figure 7 is a structural block diagram of a data processing device 1 provided according to Embodiment 2 of the present invention, such as Figure 7 As shown, the device includes: an identification module 702, a prediction module 704, an extraction module 706 and a generation module 708. The device is described below.
[0106] The recognition module 702 is used to recognize the voice data and obtain the text data; the prediction module 704 is connected to the recognition module 702 and is used to predict the segmentation points of the text data and obtain the segmented text; the extraction module 706 is connected to the prediction module 704 and is used to extract the segmented title based on the segmented text; the generation module 708 is connected to the extraction module 706 and is used to generate a directory corresponding to the text data based on the extracted segmented title.
[0107] It should be noted that the above-mentioned identification module 702, prediction module 704, extraction module 706 and generation module 708 correspond to steps S202 to S208 in Example 1, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules as part of the device can be run in the computer terminal 10 provided in Example 1.
[0108] Example 3
[0109] According to an embodiment of the present invention, a second device for implementing the above data processing method is also provided. Figure 8 is a structural block diagram of a data processing device 2 provided according to Embodiment 3 of the present invention. Figure 8 As shown, the device includes: a first receiving module 802, a second receiving module 804 and a display module 806. The device is described below.
[0110] A first receiving module 802 is used to receive voice data on an interactive interface; a second receiving module 804 is connected to the first receiving module 802 and is used to receive a directory generation instruction; a display module 806 is connected to the second receiving module 804 and is used to respond to the directory generation instruction and display a directory corresponding to the text data on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0111] It should be noted that the first receiving module 802, the second receiving module 804 and the display module 806 correspond to steps S302 to S306 in Embodiment 1, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Embodiment 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Embodiment 1.
[0112] Example 4
[0113] According to an embodiment of the present invention, a third device for implementing the above data processing method is also provided. Fig. 9 is a structural block diagram of a data processing device 3 provided according to Embodiment 4 of the present invention, such as Fig. 9 As shown, the device includes: a first acquisition module 902, a third receiving module 904 and a first display module 906. The device is described below.
[0114] The first acquisition module 902 is used to acquire voice data of an offline meeting held at a predetermined location; the third receiving module 904 is connected to the first acquisition module 902 and is used to receive a directory generation instruction; the first display module 906 is connected to the third receiving module 904 and is used to respond to the directory generation instruction and display the directory of the offline meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0115] It should be noted that the first acquisition module 902, the third receiving module 904 and the first display module 906 correspond to steps S402 to S406 in Example 1, and the three modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.
[0116] Example 5
[0117] According to an embodiment of the present invention, a fourth device for implementing the above data processing method is also provided. Fig.10 is a structural block diagram of a data processing device 4 provided according to Embodiment 5 of the present invention, as shown Fig.10 As shown, the device includes: a second acquisition module 1002, a fourth receiving module 1004 and a second display module 1006. The device is described below.
[0118] The second acquisition module 1002 is used to acquire voice data of the online meeting; the fourth receiving module 1004 is connected to the above-mentioned second acquisition module 1002, and is used to receive a directory generation instruction; the second display module 1006 is connected to the above-mentioned fourth receiving module 1004, and is used to respond to the directory generation instruction and display the directory of the online meeting, wherein the directory is generated based on segmented titles, the segmented titles are obtained based on segmented text extraction, the segmented text is obtained by predicting segmentation points on the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0119] It should be noted that the second acquisition module 1002, the fourth receiving module 1004 and the second display module 1006 correspond to steps S502 to S506 in Example 1, and the three modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.
[0120] Example 6
[0121] An embodiment of the present invention may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Fig.11 is a device block diagram of a terminal according to an embodiment of the present invention. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.
[0122] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0123] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the data processing method of the application: recognize the voice data to obtain text data; predict the segmentation points of the text data to obtain segmented text; extract the segmented titles based on the segmented text; and generate a directory corresponding to the text data based on the extracted segmented titles.
[0124] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the data processing method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned data processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0125] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: recognize the voice data to obtain text data; predict the segmentation points of the text data to obtain segmented text; extract the segmented titles based on the segmented text; and generate a directory corresponding to the text data based on the extracted segmented titles.
[0126] Optionally, the processor may also execute program code for the following steps: performing segmentation point prediction on text data to obtain segmented text, including: inputting text data into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and the segmentation result of the first sample text.
[0127] Optionally, the processor may also execute program code of the following steps: the first sample text includes spoken text.
[0128] Optionally, the processor may also execute program code of the following steps: extracting segmented titles based on segmented text, including: inputting the segmented text into a title extraction model to obtain segmented titles, wherein the title extraction model is trained based on multiple groups of second sample data, and the multiple groups of second sample data include: second sample text, and the title of the second sample text.
[0129] Optionally, the processor may also execute program code of the following steps: the second sample text includes spoken text.
[0130] Optionally, the processor may also execute program code for the following steps: generating a directory corresponding to the text data based on the extracted segment titles, including: predicting segment points of the segment text to obtain sub-segment text; extracting sub-segment titles based on the sub-segment text; generating a directory corresponding to the text data based on the segment titles and sub-segment titles.
[0131] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: receiving voice data on the interactive interface; receiving a directory generation instruction; in response to the directory generation instruction, displaying a directory corresponding to the text data on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0132] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain voice data of an offline meeting held at a predetermined location; receive a directory generation instruction; respond to the directory generation instruction to display the directory of the offline meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0133] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain the voice data of the online meeting; receive the directory generation instruction; respond to the directory generation instruction to display the directory of the online meeting, wherein the directory is generated based on the segmented title, the segmented title is extracted based on the segmented text, the segmented text is obtained by predicting the segmentation points of the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0134] By adopting the embodiment of the present invention, a data processing scheme is provided, in which segmented text is obtained by predicting the segmentation points of text data obtained from voice data, and the segmented titles of the segmented text are extracted, thereby achieving the purpose of generating a directory corresponding to the text data, thereby realizing the technical effect of automatically identifying the segmented titles and corresponding directories in the voice data, and further solving the technical problem of low efficiency in obtaining the focus content in obtaining voice data in the related technology.
[0135] It can be understood by those skilled in the art that Fig.11 The structure shown in is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Fig.11 It does not limit the structure of the above electronic device. For example, the computer terminal may also include Fig.11 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.11 Different configurations are shown.
[0136] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0137] Example 7
[0138] The embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the data processing method provided in the first embodiment.
[0139] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0140] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: recognizing speech data to obtain text data; predicting segmentation points of the text data to obtain segmented text; extracting segmented titles based on the segmented text; and generating a directory corresponding to the text data based on the extracted segmented titles.
[0141] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: performing segmentation point prediction on text data to obtain segmented text, including: inputting the text data into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
[0142] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: the first sample text includes spoken text.
[0143] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: extracting segmented titles based on segmented text, including: inputting the segmented text into a title extraction model to obtain segmented titles, wherein the title extraction model is trained based on multiple groups of second sample data, and the multiple groups of second sample data include: second sample text, and the title of the second sample text.
[0144] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: the second sample text includes colloquial text.
[0145] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: based on the extracted segmentation titles, generating a directory corresponding to the text data, including: performing segmentation point prediction on the segmentation text to obtain sub-segmentation text; based on the sub-segmentation text, extracting the sub-segmentation title; based on the segmentation title and the sub-segmentation title, generating a directory corresponding to the text data.
[0146] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: receiving voice data on an interactive interface; receiving a directory generation instruction; in response to the directory generation instruction, displaying a directory corresponding to the text data on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data.
[0147] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining voice data of an offline meeting held at a predetermined location; receiving a directory generation instruction; responding to the directory generation instruction to display a directory of the offline meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting.
[0148] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining voice data of an online meeting; receiving a directory generation instruction; responding to the directory generation instruction to display a directory of the online meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment text, the segment text is obtained by predicting segment points on the text data, and the text data is obtained by recognizing the received voice data of the online meeting.
[0149] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0150] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0151] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0152] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0153] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0155] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method, characterized in that: include: Recognize the voice data to obtain text data; Performing segmentation point prediction on the text data to obtain segmented text; Based on the segment text, extract the segment title; Based on the extracted segment titles, generating a directory corresponding to the text data; The step of performing segmentation point prediction on the text data to obtain segmented text includes: The text data is input into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
2. The method according to claim 1, characterized in that The first sample text includes colloquial text.
3. The method according to claim 1, characterized in that The extracting the segment title based on the segment text includes: The segmented text is input into a title extraction model to obtain the segmented title, wherein the title extraction model is trained based on multiple sets of second sample data, and the multiple sets of second sample data include: second sample text and the title of the second sample text.
4. The method according to claim 3, characterized in that: The second sample text includes colloquial text.
5. The method according to any one of claims 1 to 4, characterized in that The step of generating a directory corresponding to the text data based on the extracted segment titles includes: Performing segmentation point prediction on the segmented text to obtain sub-segmented text; Extracting sub-segment titles based on the sub-segment text; Based on the segment title and the sub-segment title, a directory corresponding to the text data is generated.
6. A data processing method, characterized in that: include: Receiving voice data on the interactive interface; Receive directory generation instructions; In response to the directory generation instruction, a directory corresponding to the text data is displayed on the interactive interface, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment texts, the segment texts are obtained by predicting segment points of the text data, and the text data is obtained by recognizing the received voice data; The segmented text is obtained by predicting segmentation points of text data, including: The text data is input into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
7. A data processing method, characterized in that: include: Obtain voice data from offline meetings held at a scheduled location; Receive directory generation instructions; In response to the directory generation instruction, display the directory of the offline meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment texts, the segment texts are obtained by predicting segment points of text data, and the text data is obtained by recognizing the acquired voice data of the offline meeting; The segmented text is obtained by predicting segmentation points of text data, including: The text data is input into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
8. A data processing method, characterized in that: include: Obtain voice data from online meetings; Receive directory generation instructions; In response to the directory generation instruction, display the directory of the online meeting, wherein the directory is generated based on segment titles, the segment titles are extracted based on segment texts, the segment texts are obtained by predicting segment points of text data, and the text data is obtained by recognizing received voice data of the online meeting; The segmented text is obtained by predicting segmentation points of text data, including: The text data is input into a segmentation prediction model to perform segmentation point prediction to obtain segmented text, wherein the segmentation prediction model is trained based on multiple groups of first sample data, and the multiple groups of first sample data include: first sample text, and segmentation results of the first sample text.
9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is run, the processor executes the data processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer device is enabled to execute the data processing method according to any one of claims 1 to 8.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 8 is implemented.
