Record text processing method, device and computer readable storage medium

Through feature extraction and multi-dimensional matching of the target record text, the completeness and difference of events are calculated, which solves the problems of high duplication and low efficiency caused by manual review, realizes automatic review and scoring, and improves the quality and efficiency of case handling.

CN114637829BActive Publication Date: 2024-09-24ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210157575.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-21
Publication Date
2024-09-24
Estimated Expiration
2042-02-21

AI Technical Summary

Technical Problem

In the existing technology, case reviewers need to manually review multiple record texts, resulting in high repetitiveness, heavy workload, low efficiency, and poor case handling quality.

Method used

By extracting features from the target record text, multi-dimensional matching is performed based on the extracted features and the entire case event chain, the completeness and difference of the event are calculated, and text with high difference or low completeness is highlighted on the display interface to achieve automatic Review and Rating.

Benefits of technology

It reduces the duplication of record text processing work, improves the efficiency of review and scoring, and improves the quality, efficiency and intelligence of case handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114637829B
    Figure CN114637829B
Patent Text Reader

Abstract

The present invention discloses a method, device and computer-readable storage medium for processing recorded text. The method comprises: obtaining a target recorded text; extracting features of the target recorded text to obtain target features of the target recorded text; based on the target features, obtaining a multi-dimensional matching result between the target recorded text and the whole case event chain, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order. The present invention solves the technical problems in the related art that the review work is highly repetitive, the review work is heavy, the efficiency of the recorded text review is low, and the quality and efficiency of case handling is poor due to manual review of the recorded text and scoring of the recorded text.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of text processing technology, and in particular to a method and device for processing recorded text, and a computer-readable storage medium. Background Art

[0002] In some application scenarios, the content of the text needs to be reviewed. For example, during the case review process, case reviewers need to review the evidentiary documents produced based on the questioning or interrogation of the parties involved in the criminal suspect, victim, or witness. In particular, when the same criminal suspect in the same case is interrogated multiple times, or multiple criminal suspects of a joint crime in the same case are interrogated, or when people of different identities in the same case are interrogated or interrogated, multiple records will be obtained. At present, case reviewers mainly review the content recorded in the record text through manual review methods, and score and screen the record text based on the manual review results. This method of manually reviewing and scoring the record text has the problems of high repetitiveness of the review work, heavy review work, low efficiency of the record text review, and poor quality and efficiency of case handling.

[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 method, device and computer-readable storage medium for processing record texts, so as to at least solve the technical problems in the related art, such as high repetitiveness of review work, heavy review work, low efficiency of record text review and poor case handling quality and efficiency caused by manually reviewing record texts and scoring record texts.

[0005] According to one aspect of an embodiment of the present invention, a record text processing method is provided, comprising: obtaining a target record text; performing feature extraction on the target record text to obtain a target feature of the target record text; and obtaining a multi-dimensional matching result between the target record text and a full case event chain based on the target feature, wherein the full case event chain corresponds to a target case, and the full case event chain is an event chain obtained by arranging events included in the target case in chronological order.

[0006] Optionally, obtaining the matching results between the target record text and the whole case event chain in multiple dimensions based on the target features includes: inputting the target features of the target record text into a converter model to obtain the matching results between the target record text and the whole case event chain in multiple dimensions, wherein the converter model is trained based on multiple groups of samples, and the multiple groups of samples include: the matching results between the sample record text and the predetermined whole case event chain in multiple dimensions.

[0007] Optionally, based on the target feature, the matching results between the target record text and the whole case event chain in multiple dimensions are obtained, including: based on the target feature, obtaining the event completeness of the whole case event chain recorded by the target record text, wherein the event completeness is determined according to the number of events of the whole case event chain recorded by the target record text; based on the target feature, obtaining the event difference between the target record text and the whole case event chain, wherein the event difference is determined according to the difference between the events recorded by the target record text and the events in the whole case event chain.

[0008] Optionally, the method also includes: comparing whether the event completeness exceeds an event completeness threshold, and if the comparison result is that the event completeness exceeds the event completeness threshold, highlighting the target record text on the display interface; or, comparing whether the event difference exceeds an event difference threshold, and if the comparison result is that the event difference exceeds the event difference threshold, highlighting the target record text on the display interface.

[0009] Optionally, the feature extraction of the target record text to obtain the target features of the target record text includes: aligning the events in the target record text with the events in the full case event chain to obtain the event comprehensiveness features of the target record text; comparing the text content of the target record text with the text content corresponding to the full case event chain to obtain the text matching features of the target record text; comparing the semantic analysis results corresponding to the target record text with the semantic analysis results corresponding to the full case event chain to obtain the semantic similarity features between the target record text and the full case event chain; and performing statistics on the event comprehensiveness features, the text matching features and the semantic similarity features to obtain dense statistical features.

[0010] Optionally, the target record text includes at least one of the following: interrogation record text, inquiry record text.

[0011] According to another aspect of an embodiment of the present invention, a record text processing method is provided, comprising: displaying a record text import control on an interactive interface; displaying an imported target record text on the interactive interface in response to an operation on the record text import control; and displaying a multi-dimensional matching result between the target record text and a full case event chain on the interactive interface, wherein the full case event chain corresponds to a target case, the full case event chain is an event chain obtained by arranging events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the full case event chain based on a target feature of the target record text, and the target feature is obtained by extracting features from the target record text.

[0012] According to another aspect of an embodiment of the present invention, a record text processing device is provided, comprising: an acquisition module for acquiring a target record text; an extraction module for performing feature extraction on the target record text to obtain a target feature of the target record text; and a matching module for obtaining a multi-dimensional matching result between the target record text and a full case event chain based on the target feature, wherein the full case event chain corresponds to a target case, and the full case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0013] According to another aspect of an embodiment of the present invention, a record text processing device is provided, comprising: a first display module, used to display a record text import control on an interactive interface; a second display module, used to display an imported target record text on the interactive interface in response to an operation on the record text import control; and a third display module, used to display a multi-dimensional matching result between the target record text and a full case event chain on the interactive interface, wherein the full case event chain corresponds to a target case, and the full case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the full case event chain based on a target feature of the target record text, and the target feature is obtained by extracting features from the target record text.

[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned record text processing methods.

[0015] According to one 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 used to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the above-mentioned record text processing methods.

[0016] In an embodiment of the present invention, by performing feature extraction on the target record text, the target features of the target record text are obtained, and based on the target features of the target record text, the matching results between the target record text and the entire case event chain in multiple dimensions are obtained, thereby realizing automatic processing of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in related technologies of high repetitiveness of review work, heavy review work, low efficiency of record text review, and poor case handling quality and efficiency caused by manual review of record texts and scoring of record texts. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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:

[0018] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a method for processing recorded text according to an embodiment of the present invention;

[0019] Figure 2 is a flow chart of an optional method for processing recorded text according to an embodiment of the present invention;

[0020] Figure 3 is a flowchart of another optional method for processing recorded text according to an embodiment of the present invention;

[0021] Figure 4 is a flow chart of an optional transcript processing method according to an embodiment of the present invention;

[0022] Figure 5 is a schematic diagram of an optional model architecture for transcript processing according to an embodiment of the present invention;

[0023] Figure 6 is a schematic diagram of a display interface for transcript processing results according to an embodiment of the present invention;

[0024] Figure 7 is a structural block diagram of an optional record text processing device according to an embodiment of the present invention;

[0025] Figure 8 is a structural block diagram of another optional recording text processing device according to an embodiment of the present invention;

[0026] Fig. 9 is a structural block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] 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.

[0028] 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.

[0029] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0030] Interrogation record: An interrogation record is a document made by case examiners when interrogating a criminal suspect. It records the confession or defense of the criminal suspect, or records the interrogation of the criminal suspect.

[0031] Interrogation record: The interrogation record is an investigation record made against the victim and witness, and is an evidentiary document that records the interrogation of the victim and witness.

[0032] Optical Character Recognition (OCR): The function of converting non-editable text content into editable text, for example, recognizing the text content on pictures and photos and directly converting it into editable text.

[0033] Transformer model: a deep learning model based entirely on the self-attention mechanism, which is the basic structure of natural language processing models such as BERT (Bidirectional Encoder Representation from Transformer, a pre-trained language representation model)

[0034] Example 1

[0035] According to an embodiment of the present invention, a method embodiment for recording text processing 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 a 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.

[0036] The method embodiment provided in Embodiment 1 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 for implementing a method for processing recorded text. Figure 1 As shown, the computer terminal 10 may include one or more processors (102a, 102b, ..., 102n are used to illustrate the figure, and the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 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.

[0037] It should be noted that the one or more processors 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 involved 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).

[0038] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the recorded text processing method 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 104, that is, realizing the vulnerability detection method of the above-mentioned application program. 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, 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.

[0039] The transmission device 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 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 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0040] 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).

[0041] It should be noted that, in some optional embodiments, the above Figure 1 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).

[0042] It should be noted that, in some embodiments, the above Figure 1 The computer device (or mobile device) shown has a touch display (also called a "touch screen" or "touch display screen"). In some embodiments, the above Figure 1The computer device (or mobile device) shown has a graphical user interface (GUI), and a user can perform human-computer interaction with the GUI through finger contacts and / or gestures on the touch-sensitive surface. The human-computer interaction functions here optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for performing the above-mentioned human-computer interaction functions are configured / stored in a computer program product executable by one or more processors or a computer-readable storage medium.

[0043] Under the above operating environment, this application provides Figure 2 A flowchart method of an optional method for recording text processing is shown. Figure 2 FIG. 1 is a flow chart of a method for processing recorded text according to Embodiment 1 of the present invention. Figure 2 As shown, the record text processing method provided in the embodiment of the present application can be implemented by the following steps:

[0044] Step S202, obtaining the target record text.

[0045] As an optional embodiment, there may be multiple types of target record texts. For example, the target record text may include interrogation records or inquiry records, or may include interrogation records and inquiry records.

[0046] As an optional embodiment, the target record text may include multiple record texts, for example, the target record text may include multiple interrogation record texts or multiple inquiry record texts, or may include multiple interrogation record texts and multiple inquiry record texts.

[0047] Step S204, extracting features from the target record text to obtain target features of the target record text.

[0048] Step S206, based on the target features, obtain the matching results between the target record text and the whole case event chain in multiple dimensions, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0049] As an optional embodiment, there may be multiple methods for obtaining the event chain of the entire case. As an optional embodiment, the method for obtaining the event chain of the entire case includes: extracting event information of each record text in the target record text, sorting the obtained events in chronological order, and then obtaining the event chain of the entire case.

[0050] In this optional embodiment, by performing feature extraction on the target record text, the target features of the target record text are obtained, and based on the target features of the target record text, the matching results between the target record text and the entire case event chain in multiple dimensions are obtained, thereby realizing automatic review and scoring of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in related technologies such as high repetitiveness of review work, heavy review work, low efficiency of record text review, and poor case handling quality and efficiency caused by manual review and scoring of record texts.

[0051] As an optional embodiment, there are multiple methods for obtaining the matching results between the target record text and the entire case event chain in multiple dimensions based on the target features.

[0052] In an optional embodiment, based on the target features, a method for obtaining a multi-dimensional matching result between a target record text and a full case event chain may include: inputting the target features of the target record text into a converter model to obtain a multi-dimensional matching result between the target record text and the full case event chain, wherein the converter model is trained based on multiple sets of samples, and the multiple sets of samples include: a multi-dimensional matching result between the sample record text and a predetermined full case event chain. When training the model, an end-to-end training method may be used.

[0053] It should be understood that the Transformer model is a model structure that avoids cycles and relies entirely on the attention mechanism to model the global dependency of input and output. Because the modeling of dependency relies entirely on the attention mechanism, the attention mechanism used by the Transformer model is called self-attention.

[0054] In this optional embodiment, the Transformer model is used to match the target record text and the entire case event chain in multiple dimensions. During the matching process, parallel calculations can be performed to improve the matching speed, and automatic and efficient acquisition of the target record text and the entire case event chain in multiple dimensions of matching results is achieved, thereby improving the efficiency of record text processing.

[0055] In an optional embodiment, based on target features, a method for obtaining multi-dimensional matching results between a target record text and a full case event chain may include: based on target features, obtaining the event completeness of the full case event chain recorded by the target record text, wherein the event completeness is determined based on the number of events in the full case event chain recorded by the target record text; based on target features, obtaining the event difference between the target record text and the full case event chain, wherein the event difference is determined based on the difference between the events recorded by the target record text and the events in the full case event chain.

[0056] Among them, event completeness indicates the degree of overlap between the events recorded in the record text and the events in the whole case event chain, which can maximize the completeness of the events recorded in the record text relative to all events in the whole case event chain. The higher the event completeness of the record text, the more comprehensive the event content recorded in the record text, and also indicates that the quality of the record text is better.

[0057] The event difference degree indicates the degree of discrepancy between the time recorded in the record text and the events in the whole case event chain, which can maximize the difference between the events recorded in the record text and all the events in the whole case event chain. The higher the event difference degree of the record text, the higher the abnormality of the record text, and it needs to be reviewed in detail.

[0058] In this optional embodiment, by matching the target record text with the whole case event chain, the event completeness of the target record text recording the whole case event chain and the event difference between the target record text and the whole case event chain are obtained. The quality of the target record text can be judged according to the event completeness, and whether the target record text needs to be reviewed in detail can be judged according to the event completeness. In this way, hierarchical processing of the record text can be achieved, the repetitiveness of manual review of the record text is reduced, and the efficiency of the record text processing is improved, thereby improving the efficiency and quality of case handling.

[0059] In this optional embodiment, only the event completeness or event difference can be obtained, and the record text can be selected according to the event completeness or event difference, so as to reduce the repetitiveness of manual review of record texts and improve the efficiency of record text processing.

[0060] In an optional embodiment, after obtaining the event completeness of the entire event chain of the target record text, the event completeness can be compared with the event completeness threshold: when the event completeness exceeds the event completeness threshold, the target record text is highlighted on the display interface.

[0061] In this optional embodiment, by comparing the event completeness with the event completeness threshold, and selecting the target record text with high event completeness according to the comparison result, the target record text is highlighted, so that the case reviewer can review the case based on the highlighted record text first. The solution realizes the automatic processing and selection of the target record text, improves the efficiency and intelligence of the record text processing, and thus improves the efficiency and quality of case handling.

[0062] After obtaining the event difference between the target record text record and the entire case event chain, the event difference and the event difference threshold can be compared: when the event difference exceeds the event difference threshold, the target record text is highlighted on the display interface.

[0063] In this optional embodiment, by comparing the event difference and the event difference threshold, and selecting the target record text with a high event difference according to the comparison, the target record text is highlighted, so that the case reviewer can focus on reviewing the highlighted record text. The solution realizes the automatic processing and selection of the target record text, improves the efficiency and intelligence of the record text processing, and thus improves the efficiency and quality of case handling.

[0064] There are multiple methods for extracting features from a target record text to obtain target features of the target record text. As an optional embodiment, the method for extracting features from a target record text to obtain target features of the target record text may include: aligning events in the target record text with events in the entire case event chain to obtain event comprehensiveness features of the target record text; comparing the text content of the target record text with the text content corresponding to the entire case event chain to obtain text matching features of the target record text; comparing the semantic analysis results corresponding to the target record text with the semantic analysis results corresponding to the entire case event chain to obtain semantic similarity features between the target record text and the entire case event chain; and performing statistics on event comprehensiveness features, text matching features, and semantic similarity features to obtain dense statistical features.

[0065] In this optional embodiment, the event comprehensiveness feature, text matching feature, and semantic similarity feature of the target record text are obtained based on the whole case event chain, and then the event comprehensiveness feature, text matching feature, and semantic similarity feature are processed to obtain dense statistical features. Based on the event comprehensiveness feature, text matching feature, semantic similarity feature, and dense statistical feature, the multi-dimensional matching result of the target record text and the whole case event chain is obtained. The scheme performs a comprehensive comparison of the target record text and the whole case event chain in many aspects, and calculates the multi-dimensional matching result of the target record text and the whole case event chain based on the comparison results, so that the matching result obtained is more reasonable and accurate.

[0066] Figure 3 is a flowchart of another optional method for processing recorded text according to an embodiment of the present invention. Figure 3 As shown, the record text processing method of the present application can be implemented by the following steps:

[0067] Step S302, displaying a record text import control on the interactive interface;

[0068] Step S304, in response to the operation on the record text import control, displaying the imported target record text on the interactive interface;

[0069] Step S306, displaying the matching results of the target record text and the whole case event chain in multiple dimensions on the interactive interface, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by extracting the feature of the target record text.

[0070] In this optional embodiment, the imported target record text is displayed on the interactive interface through the record text import control, and the matching results of the target record text and the whole case event chain in multiple dimensions are displayed on the interactive interface, wherein the matching results are obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by feature extraction of the target record text. The scheme obtains the target feature of the target record text by feature extraction of the target record text, and obtains the matching results of the target record text and the whole case event chain in multiple dimensions based on the target feature of the target record text, thereby realizing automatic review and scoring of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in the related technology that the review work is highly repetitive, the review work is heavy, the efficiency of record text review is low, and the quality and efficiency of case handling is poor due to manual review of record text and scoring of record text. In addition, based on the display of the target record text and the processing results of the target record text on the interactive interface, the user can more intuitively watch the process of intelligently processing the target record text, effectively improving the user experience.

[0071] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.

[0072] In this optional implementation manner, the target record text is a criminal interrogation record, and the target record text includes multiple record texts produced based on multiple interrogations of different suspects in the same case.

[0073] In the related art, when there are multiple transcripts, each transcript needs to be reviewed manually, and the transcripts are scored according to the review results, and then the transcripts are screened according to the scoring results. The manual review method has the problems of repetitive review work, heavy review work, low transcript review efficiency, and poor case handling quality and efficiency.

[0074] In view of this, in the embodiments of the present disclosure, a method for processing interrogation records is proposed to realize automatic review and scoring of the records, which technically reduces the repetitive work of record review and scoring, improves the efficiency and intelligence of record processing, and improves the quality and intelligence of case handling.

[0075] Figure 4 is a flowchart of another optional transcript processing method according to an embodiment of the present invention, such as Figure 4 As shown, the transcript processing method provided in the embodiment of the present application can be implemented by the following steps:

[0076] An original transcript document is obtained, which includes multiple transcripts.

[0077] The OCR text extraction method is used to extract text from each transcript to obtain a set of editable transcript texts (equivalent to the target record text in the aforementioned embodiment).

[0078] According to each editable transcript text, the event information recorded in each transcript is extracted. The time information recorded in each transcript is sorted in chronological order to form a chain of events for the entire case.

[0079] The following operations are performed on each transcript to obtain a set of feature vectors (i.e., the target features of each transcript): the transcript is compared with the entire case event chain to obtain the event comprehensiveness features, text matching features, and semantic similarity features of each transcript, and these features are scored. Then, based on the scores of the event comprehensiveness features, text matching features, and semantic similarity features, the scores of dense statistical features are calculated in combination with a preset algorithm. Based on the scores of the event comprehensiveness features, text matching features, semantic similarity features, and dense statistical features, a multi-dimensional comparison and scoring result can be constructed, and a feature vector is generated based on the multi-dimensional comparison and scoring results.

[0080] Figure 5 is a schematic diagram of a model architecture of an optional transcript processing according to an embodiment of the present invention, referring to Figure 5 As shown, X represents the feature vector corresponding to each record, and P represents the position code of each record, wherein the position code is used to identify each record. Figure 5 In the above example, X1, X2, X3…X n Respectively represent the feature vectors of the first record, the second record, the third record...the nth record, P1, P2, P3...P n They represent the position codes of the first record, the second record, the third record...the nth record respectively, and the feature vector of each record and the corresponding position code are concatenated to form the target feature for inputting the input layer of the Transformer model.

[0081] Among them, the Transformer model is a model used to solve the Sequence to Sequence problem. Its essence is an encoder, which can be composed of 6 encoding blocks. Each block contains Multi-Head Attention and FFN (Feed-Forward Network). The corresponding decoder consists of 6 decoding blocks, each of which contains Multi-Head Attention, Encoder-Decoder Attention and FFN.

[0082] The target features obtained by concatenating the feature vector and the position code are input into the Transformer model to obtain the event completeness and event difference of each record. The event completeness and event difference of each record are sorted and output through the fully connected network of the output layer, and the sorting results of the event completeness and event difference of each record are immediately obtained.

[0083] When using the Transformer model, it is necessary to train the Transformer model through the matching results of sample transcripts and the predetermined case event chain in multiple dimensions. Specifically, an end-to-end training method can be used. When training and using the Transformer model, the Top K algorithm can be fixedly selected to sort the output of the output layer.

[0084] Figure 6 is a schematic diagram of a display interface of a transcript processing result according to an embodiment of the present invention. Figure 6 As shown in the figure, after obtaining the sorting results of event completeness and event difference, the sorting results can be displayed on the interactive interface to make high score recommendations and low score warnings for event completeness and event difference. Case reviewers can select transcripts with high event completeness for priority review based on the sorting results, and focus on reviewing transcripts with high event difference.

[0085] 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.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course 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, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, 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.

[0087] Example 2

[0088] According to an embodiment of the present invention, a device for implementing the above-mentioned recording text processing method is also provided. Figure 7 is a structural block diagram of an optional recording text processing device according to an embodiment of the present invention, such as Figure 7 As shown, the device comprises:

[0089] An acquisition module 702 is used to acquire a target record text; an extraction module 704 is connected to the acquisition module 702 and is used to perform feature extraction on the target record text to obtain target features of the target record text; a matching module 706 is connected to the extraction module 704 and is used to obtain a multi-dimensional matching result between the target record text and the whole case event chain based on the target features, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0090] It should be noted that the acquisition module 702, the extraction module 704 and the matching module 706 correspond to steps S202 to S206 in Example 1, and the examples and application scenarios implemented by the two 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.

[0091] Figure 8 is a structural block diagram of another optional recording text processing device according to an embodiment of the present invention, such as Figure 8 As shown, the device comprises:

[0092] The first display module 802 is used to display the record text import control on the interactive interface; the second display module 804 is connected to the above-mentioned first display module 802, and is used to display the imported target record text on the interactive interface in response to the operation of the record text import control; the third display module 806 is connected to the above-mentioned second display module 804, and is used to display the matching results of the target record text and the whole case event chain in multiple dimensions on the interactive interface, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by extracting the feature of the target record text.

[0093] It should be noted that the first display module 802, the second display module 804 and the third display module 806 correspond to steps S302 to S306 in Example 1, and the examples and application scenarios implemented by the two 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.

[0094] The record text processing device provided in this optional embodiment can be used to implement the above-mentioned record text processing method, by extracting features of the target record text to obtain the target features of the target record text, and inputting the target features of the target record text into the converter model to obtain the matching results of the target record text and the whole case event chain in multiple dimensions, thereby realizing automatic review and scoring of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in related technologies such as high repetitiveness of review work, heavy review work, low efficiency of record text review, and poor case handling quality and efficiency caused by manual review of record texts and scoring of record texts.

[0095] Example 3

[0096] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the record text processing method provided in the above embodiment 1.

[0097] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.

[0098] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining a target record text; performing feature extraction on the target record text to obtain target features of the target record text; and obtaining multi-dimensional matching results between the target record text and the entire case event chain based on the target features, wherein the entire case event chain corresponds to the target case, and the entire case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0099] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on target features, obtaining multi-dimensional matching results between the target record text and the whole case event chain, including: inputting the target features of the target record text into a converter model to obtain multi-dimensional matching results between the target record text and the whole case event chain, wherein the converter model is trained based on multiple groups of samples, and the multiple groups of samples include: multi-dimensional matching results between the sample record text and the predetermined whole case event chain.

[0100] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the target features, obtaining the matching results between the target record text and the whole case event chain in multiple dimensions, including: based on the target features, obtaining the event completeness of the whole case event chain recorded by the target record text, wherein the event completeness is determined based on the number of events in the whole case event chain recorded by the target record text; based on the target features, obtaining the event difference between the target record text and the whole case event chain, wherein the event difference is determined based on the difference between the events recorded by the target record text and the events in the whole case event chain.

[0101] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: comparing whether the event completeness exceeds an event completeness threshold, and if the comparison result is that the event completeness exceeds the event completeness threshold, highlighting the target record text on the display interface; or comparing whether the event difference exceeds an event difference threshold, and if the comparison result is that the event difference exceeds the event difference threshold, highlighting the target record text on the display interface.

[0102] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: extracting features from the target record text to obtain target features of the target record text, including: aligning events in the target record text with events in the entire case event chain to obtain event comprehensiveness features of the target record text; comparing the text content of the target record text with the text content corresponding to the entire case event chain to obtain text matching features of the target record text; comparing the semantic analysis results corresponding to the target record text with the semantic analysis results corresponding to the entire case event chain to obtain semantic similarity features between the target record text and the entire case event chain; and performing statistics on event comprehensiveness features, text matching features, and semantic similarity features to obtain dense statistical features.

[0103] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: the target record text includes at least one of the following: an interrogation transcript, an inquiry transcript.

[0104] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: displaying a record text import control on an interactive interface; displaying an imported target record text on the interactive interface in response to an operation on the record text import control; displaying a multi-dimensional matching result between the target record text and the whole case event chain on the interactive interface, wherein the whole case event chain corresponds to the target case, the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on a target feature of the target record text, and the target feature is obtained by extracting features from the target record text.

[0105] In an embodiment of the present invention, a computer-readable storage medium includes a stored program, and when the program is running, the computer-readable storage medium is controlled to execute a record text processing method on a device, and a target feature of the target record text is obtained by extracting features from the target record text, and the target feature of the target record text is input into a converter model to obtain a multi-dimensional matching result between the target record text and the entire case event chain, thereby realizing automatic review and scoring of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in the related art of high repetitiveness of review work, heavy review work, low efficiency of record text review, and poor case handling quality and efficiency caused by manually reviewing record texts and scoring record texts. An embodiment of the present invention can provide a computer device, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the above-mentioned computer terminal can also be replaced by a terminal device such as a mobile terminal.

[0106] Optionally, in this embodiment, the computer device may be located in at least one network device among a plurality of network devices of a computer network.

[0107] In this embodiment, the above-mentioned computer device can execute the program code of the following steps in the record text processing method of the application: obtaining the target record text; performing feature extraction on the target record text to obtain the target features of the target record text; based on the target features, obtaining the matching results between the target record text and the whole case event chain in multiple dimensions, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0108] Optionally, Fig. 9 is a structural block diagram of a computer device according to an embodiment of the present invention. Fig. 9 As shown, the computer device may include: one or more (only one is shown in the figure) processors 902, a memory 904, and the like.

[0109] The memory 904 can be used to store software programs and modules, such as program instructions / modules corresponding to the recorded text processing method and device in the embodiment of the present invention. The processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 904, that is, realizing the above-mentioned recorded text processing method. The memory 904 may include a high-speed random access memory 904, and may also include a non-volatile memory 904, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory 904. In some examples, the memory 904 may further include a memory 904 remotely arranged relative to the processor 902, and these remote memories 904 can be connected to the computer 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.

[0110] The processor 902 can call the information and application programs stored in the memory 904 through the transmission device to execute the following steps: obtain the target record text; perform feature extraction on the target record text to obtain the target features of the target record text; based on the target features, obtain the multi-dimensional matching results between the target record text and the whole case event chain, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order.

[0111] Optionally, the processor 902 may also execute the following program code: based on the target features, obtaining the matching results between the target record text and the whole case event chain in multiple dimensions, including: inputting the target features of the target record text into the converter model to obtain the matching results between the target record text and the whole case event chain in multiple dimensions, wherein the converter model is trained based on multiple groups of samples, and the multiple groups of samples include: the matching results between the sample record text and the predetermined whole case event chain in multiple dimensions.

[0112] Optionally, the processor 902 may also execute program code for the following steps: based on target features, obtaining multi-dimensional matching results between the target record text and the entire case event chain, including: based on target features, obtaining the event completeness of the entire case event chain recorded by the target record text, wherein the event completeness is determined based on the number of events in the entire case event chain recorded by the target record text; based on target features, obtaining the event difference between the target record text and the entire case event chain, wherein the event difference is determined based on the difference between the events recorded by the target record text and the events in the entire case event chain.

[0113] Optionally, the processor 902 may also execute the following program code: comparing whether the event completeness exceeds an event completeness threshold, and if the comparison result is that the event completeness exceeds the event completeness threshold, highlighting the target record text on the display interface; or comparing whether the event difference exceeds an event difference threshold, and if the comparison result is that the event difference exceeds the event difference threshold, highlighting the target record text on the display interface.

[0114] Optionally, the processor 902 may also execute the following program code: extracting features from the target record text to obtain target features of the target record text, including: aligning the events in the target record text with the events in the entire case event chain to obtain event comprehensiveness features of the target record text; comparing the text content of the target record text with the text content corresponding to the entire case event chain to obtain text matching features of the target record text; comparing the semantic analysis results corresponding to the target record text with the semantic analysis results corresponding to the entire case event chain to obtain semantic similarity features between the target record text and the entire case event chain; and performing statistics on event comprehensiveness features, text matching features, and semantic similarity features to obtain dense statistical features.

[0115] Optionally, the processor 902 may also execute program code of the following steps: the target record text includes at least one of the following: interrogation record text, inquiry record text.

[0116] The processor 902 can call the information and application programs stored in the memory 904 through the transmission device to perform the following steps: displaying a record text import control on the interactive interface; displaying the imported target record text on the interactive interface in response to the operation of the record text import control; displaying the multi-dimensional matching results between the target record text and the whole case event chain on the interactive interface, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by extracting the feature of the target record text.

[0117] In an embodiment of the present invention, a record text processing method is provided, which extracts features from a target record text to obtain target features of the target record text, inputs the target features of the target record text into a converter model, obtains multi-dimensional matching results between the target record text and the entire case event chain, and realizes automatic review and scoring of the target record text. This intelligent record text processing method technically reduces the repetitiveness of record text processing work, improves the efficiency of record text review and scoring, and solves the technical problems in related technologies of high repetitiveness of review work, heavy review work, low efficiency of record text review, and poor case handling quality and efficiency caused by manual review and scoring of record texts.

[0118] It can be understood by those skilled in the art that Fig. 9 The structure shown 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, or other terminal devices. Fig. 9 It does not limit the structure of the above electronic device. For example, the computer terminal may also include Fig. 9 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig. 9 Different configurations are shown.

[0119] 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, which can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0120] 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.

[0121] 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.

[0122] 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 units is only a logical function division, and 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.

[0123] 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.

[0124] 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.

[0125] 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 computer-readable 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 computer-readable 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.

[0126] 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 method for processing recorded text, characterized in that: include: Get the target record text; Extracting features from the target record text to obtain target features of the target record text; Based on the target features, a matching result between the target record text and the whole case event chain in multiple dimensions is obtained, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order; Among them, the feature extraction of the target record text to obtain the target features of the target record text includes: aligning the events in the target record text with the events in the full case event chain to obtain the event comprehensiveness features of the target record text; comparing the text content of the target record text with the text content corresponding to the full case event chain to obtain the text matching features of the target record text; comparing the semantic analysis results corresponding to the target record text with the semantic analysis results corresponding to the full case event chain to obtain the semantic similarity features of the target record text and the full case event chain; and performing statistics on the event comprehensiveness features, the text matching features and the semantic similarity features to obtain dense statistical features.

2. The method according to claim 1, characterized in that The method of obtaining a multi-dimensional matching result between the target record text and the entire case event chain based on the target feature includes: The target features of the target record text are input into the converter model to obtain the matching results between the target record text and the whole case event chain in multiple dimensions, wherein the converter model is trained based on multiple groups of samples, and the multiple groups of samples include: the matching results between the sample record text and the predetermined whole case event chain in multiple dimensions.

3. The method according to claim 1, characterized in that: The method of obtaining a multi-dimensional matching result between the target record text and the entire case event chain based on the target feature includes: Based on the target feature, the event completeness of the target record text recording the entire case event chain is obtained, wherein the event completeness is determined according to the number of events in the target record text recording the entire case event chain; Based on the target feature, the event difference between the target record text and the full case event chain is obtained, wherein the event difference is determined according to the difference between the event recorded in the target record text and the event in the full case event chain.

4. The method according to claim 3, characterized in that The method further comprises: Comparing whether the event completeness exceeds an event completeness threshold, and highlighting the target record text on a display interface if the comparison result shows that the event completeness exceeds the event completeness threshold; or, Comparing whether the event difference exceeds an event difference threshold, and in the case where the comparison result is that the event difference exceeds the event difference threshold, highlighting the target record text on the display interface.

5. The method according to any one of claims 1 to 4, characterized in that: The target record text includes at least one of the following: interrogation record, inquiry record.

6. A method for processing recorded text, characterized in that: include: Display the record text import control on the interactive interface; In response to an operation on the record text import control, displaying the imported target record text on the interactive interface; Displaying the matching results of the target record text and the whole case event chain in multiple dimensions on the interactive interface, wherein the whole case event chain corresponds to the target case, the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by extracting features from the target record text; Among them, the target feature is obtained by extracting features from the target record text, including: aligning the events in the target record text with the events in the full case event chain to obtain the event comprehensiveness feature of the target record text; comparing the text content of the target record text with the text content corresponding to the full case event chain to obtain the text matching feature of the target record text; comparing the semantic analysis result corresponding to the target record text with the semantic analysis result corresponding to the full case event chain to obtain the semantic similarity feature between the target record text and the full case event chain; and performing statistics on the event comprehensiveness feature, the text matching feature and the semantic similarity feature to obtain a dense statistical feature.

7. A recorded text processing device, characterized in that: include: The acquisition module is used to obtain the target record text; An extraction module, used for performing feature extraction on the target record text to obtain target features of the target record text; A matching module, configured to obtain a matching result between the target record text and a full case event chain in multiple dimensions based on the target feature, wherein the full case event chain corresponds to the target case, and the full case event chain is an event chain obtained by arranging the events included in the target case in chronological order; The extraction module is also used to align the events in the target record text with the events in the full case event chain to obtain the event comprehensiveness feature of the target record text; compare the text content of the target record text with the text content corresponding to the full case event chain to obtain the text matching feature of the target record text; compare the semantic analysis result corresponding to the target record text with the semantic analysis result corresponding to the full case event chain to obtain the semantic similarity feature of the target record text and the full case event chain; and perform statistics on the event comprehensiveness feature, the text matching feature and the semantic similarity feature to obtain a dense statistical feature.

8. A recorded text processing device, characterized in that: include: A first display module, used for displaying a record text import control on an interactive interface; A second display module, configured to display the imported target record text on the interactive interface in response to an operation on the record text import control; The third display module is used to display the matching results of the target record text and the whole case event chain in multiple dimensions on the interactive interface, wherein the whole case event chain corresponds to the target case, and the whole case event chain is an event chain obtained by arranging the events included in the target case in chronological order, and the matching result is obtained by matching the target record text with the whole case event chain based on the target feature of the target record text, and the target feature is obtained by extracting features from the target record text, wherein the target feature is obtained by extracting features from the target record text, including: aligning the events in the target record text with the events in the whole case event chain to obtain the event comprehensiveness feature of the target record text; comparing the text content of the target record text with the text content corresponding to the whole case event chain to obtain the text matching feature of the target record text; comparing the semantic analysis result corresponding to the target record text with the semantic analysis result corresponding to the whole case event chain to obtain the semantic similarity feature between the target record text and the whole case event chain; and performing statistics on the event comprehensiveness feature, the text matching feature and the semantic similarity feature to obtain dense statistical features.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the recorded text processing method according to any one of claims 1 to 6.

10. 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 running, the processor executes the record text processing method according to any one of claims 1 to 6.