Text information processing method and system, readable storage medium and terminal device
By obtaining industry dictionary identifiers and using word frequency algorithms to determine key words, the problem of insufficient depth of text information analysis in the existing technology is solved, the analysis granularity and user experience are improved, and the in-depth sorting of text information and the improvement of system response speed are achieved.
Patent Information
- Application Number
- CN201910636205.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-15
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing text information analysis methods based on text tags lack analysis depth, resulting in poor user experience.
By obtaining industry dictionary identifiers related to text information, word segmentation processing is performed based on the target dictionary, and key words are determined using a preset word frequency algorithm, and analysis result information is generated to achieve in-depth sorting of text information.
The analysis granularity and depth of text information are improved, the user experience is enhanced, and the target dictionary is quickly obtained and the system response speed is improved.
Smart Images

Figure CN110472026B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and in particular to a text information processing method and system, a readable storage medium and a terminal device. Background Art
[0002] As a special form of data, text information is usually very complex, so it often takes a long time to organize text information. At present, in order to improve the efficiency of text information organization, text information analysis methods based on text tags are widely used, but in practice, it is found that the directionality of text tags is usually relatively broad, so the analysis depth of text information based on text tags is often shallow, and the user experience is not good. Summary of the invention
[0003] In order to solve the technical problem that the depth of text information analysis based on text tags is not enough, the present invention provides a text information processing method and system, a readable storage medium and a terminal device.
[0004] A text information processing method, the method comprising:
[0005] When detecting that the user inputs text information, obtaining an industry dictionary identifier related to the text information;
[0006] According to the industry dictionary identifier, determining a target dictionary from a dictionary library;
[0007] Performing word segmentation processing on the text information according to the target dictionary to obtain a word set corresponding to the text information;
[0008] According to a preset word frequency algorithm, key words are determined from the word set, and analysis result information is generated according to the key words, so as to realize the sorting of the text information according to the analysis result information.
[0009] A text information processing system, comprising:
[0010] An acquisition unit, configured to acquire an industry dictionary identifier related to the text information when detecting that the user inputs text information;
[0011] A determination unit, used to determine a target dictionary from a dictionary library according to the industry dictionary identifier;
[0012] A word segmentation unit, used for performing word segmentation processing on the text information according to the target dictionary to obtain a word set corresponding to the text information;
[0013] The processing unit is used to determine key words from the word set according to a preset word frequency algorithm, and generate analysis result information according to the key words, so as to realize the sorting of the text information according to the analysis result information.
[0014] A terminal device, comprising:
[0015] processor;
[0016] A memory having computer-readable instructions stored therein, wherein the computer-readable instructions, when executed by the processor, implement the aforementioned method.
[0017] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0018] The text information processing method provided by the present invention includes the following steps: when it is detected that a user inputs text information, an industry dictionary identifier related to the text information is obtained; based on the industry dictionary identifier, a target dictionary is determined from a dictionary library; based on the target dictionary, word segmentation is performed on the text information to obtain a word set corresponding to the text information; based on a preset word frequency algorithm, key words are determined from the word set, and analysis result information is generated based on the key words, so as to realize the organization of text information based on the analysis result information.
[0019] Under this method, word segmentation processing of text information based on the target dictionary can greatly improve the analysis granularity of the text information, so processing text information based on the target dictionary helps to deepen the depth of analysis.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0022] Figure 1 is a schematic diagram of a device according to an exemplary embodiment;
[0023] Figure 2 is a flowchart of a text information processing method according to an exemplary embodiment;
[0024] Figure 3 is a flowchart of a text information processing method according to another exemplary embodiment;
[0025] Figure 4 is a flowchart of a text information processing method according to another exemplary embodiment;
[0026] Figure 5 is a block diagram of a text information processing system according to an exemplary embodiment;
[0027] Figure 6 is a block diagram of a text information processing system according to another exemplary embodiment;
[0028] Figure 7 is a block diagram of a text information processing system according to yet another exemplary embodiment. DETAILED DESCRIPTION
[0029] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0030] The implementation environment of the text information processing system disclosed in the present invention may be a terminal device, such as a smart phone, a tablet computer, or a desktop computer. Figure 1 1 is a schematic diagram of a device according to an exemplary embodiment. The device 100 may be the above-mentioned terminal device. Figure 1 As shown, the apparatus 100 may include one or more of the following components: a processing component 102 , a memory 104 , a power component 106 , a multimedia component 108 , an audio component 110 , a sensor component 114 , and a communication component 116 .
[0031] The processing component 102 generally controls the overall operation of the device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 102 may include one or more processors 118 to execute instructions to perform all or part of the steps of the method described below. In addition, the processing component 102 may include one or more modules to facilitate the interaction between the processing component 102 and other components. For example, the processing component 102 may include a multimedia module to facilitate the interaction between the multimedia component 108 and the processing component 102.
[0032] The memory 104 is configured to store various types of data to support operations on the device 100. Examples of such data include instructions for any application or method operating on the device 100. The memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The memory 104 also stores one or more modules, which are configured to be executed by the one or more processors 118 to complete all or part of the steps in the method shown below.
[0033] The power supply component 106 provides power to the various components of the device 100. The power supply component 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
[0034] The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may also include an organic light emitting display (OLED).
[0035] The audio component 110 is configured to output and / or input audio signals. For example, the audio component 110 includes a microphone (MIC), which is configured to receive external audio signals when the device 100 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal can be further stored in the memory 104 or sent via the communication component 116. In some embodiments, the audio component 110 also includes a speaker for outputting audio signals.
[0036] The sensor assembly 114 includes one or more sensors for providing various aspects of status evaluation for the device 100. For example, the sensor assembly 114 can detect the open / closed state of the device 100, the relative positioning of the components, and the sensor assembly 114 can also detect the position change of the device 100 or a component of the device 100 and the temperature change of the device 100. In some embodiments, the sensor assembly 114 can also include a magnetic sensor, a pressure sensor or a temperature sensor.
[0037] The communication component 116 is configured to facilitate wired or wireless communication between the device 100 and other devices. The device 100 can access a wireless network based on a communication standard, such as WiFi (Wireless-Fidelity). In an exemplary embodiment, the communication component 116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 116 also includes a near field communication (NFC) module for facilitating short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth technology and other technologies.
[0038] In an exemplary embodiment, the device 100 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components to perform the following method.
[0039] Figure 2 FIG. 1 is a flowchart of a text information processing method according to an exemplary embodiment. Figure 2 As shown, this method includes the following steps:
[0040] Step 201: when it is detected that a user inputs text information, an industry dictionary identifier related to the text information is obtained.
[0041] Optionally, in an exemplary embodiment, the way in which the user inputs text information can be implemented by using a camera module set on a terminal device, that is, the text information comes from a paper file, and the camera module of the terminal device can be used to shoot the paper file to obtain a text image, and the text information can be obtained by image recognition technology. The way in which the user inputs text information can also be implemented by the text information processing system accessing a certain text information collection system, that is, the text information comes from an electronic file, and the user can obtain the content of the electronic file that meets the screening condition from the text information collection system as text information by setting a screening condition on the text information processing system. The following mainly illustrates the way in which the text information processing system accesses a certain text information collection system to obtain text information: assuming that the text information collection system is a complaint report collection system for a certain industry, and the text information processing system is a processing system for complaint reports, the user can set a time constraint in the processing system, and obtain a complaint report that meets the time constraint from the complaint report collection system, and obtain text information by character recognition of the complaint report. By implementing this method, multiple input methods of text information can be supported, which is convenient for users to operate flexibly and is conducive to improving the user's experience.
[0042] Optionally, in an exemplary embodiment, when it is detected that a user has input text information, obtaining an industry dictionary identifier related to the text information may include: when it is detected that a user has input text information, detecting whether industry type information input by the user has been received, and when the industry type information is received, obtaining an industry dictionary identifier related to the text information according to an indication of the industry type information.
[0043] Step 202: determine a target dictionary from a dictionary library according to the above industry dictionary identifier.
[0044] Among them, the text information processing system disclosed in the embodiment of the present invention can be a comprehensive text information processing platform, which can support text information analysis of multiple industries. Therefore, the text information processing system stores industry dictionaries of multiple industries, and the industry dictionary identifier can be used as the primary key of the dictionary library to identify the corresponding industry dictionary. For example, assuming that the dictionary library contains the insurance industry, the venture capital industry, and the environmental protection industry, the industry dictionary identifier corresponding to the insurance industry in the dictionary library can be represented by character A, the industry dictionary identifier corresponding to the venture capital industry can be represented by character B, and the industry dictionary identifier corresponding to the environmental protection industry can be represented by character C. In this embodiment, the above-mentioned dictionary library can also store the corresponding storage path of each industry dictionary, so that the corresponding storage path of the target dictionary can be quickly and accurately obtained based on the industry dictionary identifier, thereby realizing the rapid acquisition of the target dictionary.
[0045] Step 203: segment the text information according to the target dictionary to obtain a word set corresponding to the text information.
[0046] Step 204: determine key words from the word set according to a preset word frequency algorithm.
[0047] Optionally, in an exemplary embodiment, according to a preset word frequency algorithm, determining a keyword word from a word set may include: calculating the word frequency and reverse file frequency index of each word in the word set; scoring each word in the word set according to the calculated word frequency and reverse file frequency index to obtain a score table corresponding to the word set; wherein the score table records at least each word in the word set and the corresponding score of each word; and using a word whose corresponding score determined from the score table is greater than a preset score as a keyword word.
[0048] If the text information mentioned in step 201 is the content of a certain text document, the word frequency is for the certain text document, and the word reverse file frequency index is for the entire folder including the certain text document. The word frequency and reverse file frequency index are described in detail below: If the above text information is extracted from a complaint report, a text document can be generated for each complaint report, and all generated text documents can be stored in a folder. The word frequency is the frequency of occurrence of a certain word in a certain text document, and the reverse file frequency index is a parameter used to measure the general importance of the word, which can be obtained by dividing the total number of text documents in the folder by the number of text documents containing the word, and then taking the logarithm. For example, if the total number of words in a document is 100, and the word "beautiful" appears 3 times, then the word frequency of "beautiful" in the document is 3 / 100=0.03. If the total number of documents in the folder is 10,000,000, and the number of documents in which "beautiful" appears is 1,000, then the inverse file frequency corresponding to the word "beautiful" is lg(10,000,000 / 1,000)=4, and the corresponding score of the word "beautiful" can be 0.03*4=0.12. It should be noted that the higher the corresponding score of a word, the more important the word is, and the greater the possibility of it being a keyword.
[0049] Step 205, generating analysis result information based on the keywords, so as to realize the arrangement of the above text information based on the analysis result information.
[0050] By implementing the above method, the analysis depth of text information can be deepened by improving the analysis granularity, which can also facilitate flexible operation by users, improve the user experience, and realize the rapid acquisition of the target dictionary.
[0051] Figure 3 FIG. 1 is a flowchart of a text information processing method according to another exemplary embodiment. Figure 3 As shown, Figure 3 Steps 301-305 in Figure 2 Steps 201 to 205 are the same and will not be described in detail. In addition, the text information processing method in this embodiment may further include the following steps:
[0052] Step 306, adding the above keywords into the vocabulary.
[0053] It should be noted that step 306 may be executed after step 304 is completed.
[0054] Step 307: if the current time point is a summary node, generate summary information based on the words included in the vocabulary.
[0055] Among them, in an embodiment of the present invention, the words included in the vocabulary can support active clearing by users, and after generating summary information based on the words included in the vocabulary, it can also detect whether a clearing instruction input by the user is received, and when the clearing instruction is received, respond to the clearing instruction to clear the words included in the vocabulary. By implementing this method, it is beneficial to reasonably allocate storage space and can effectively improve the system response speed.
[0056] In an embodiment of the present invention, each keyword included in the thesaurus is associated with its corresponding evaluation information, and the evaluation information corresponding to the keyword in the comprehensive thesaurus can obtain summary information. It should be noted that the summary information can be divided into multiple types. In an exemplary embodiment, the summary information can be divided into weekly summary type, monthly summary type, quarterly summary type and annual summary type, so the summary node mentioned in step 307 can also be divided into weekly summary node, monthly summary node, quarterly summary node and annual summary type. Therefore, the above-mentioned thesaurus also records the collection time point of each keyword, which is used to judge the summary node type satisfied by the current time point. By implementing this method, the user's use experience can be further improved by providing multiple summary types.
[0057] According to the above description, the above summary information may include multiple types of summary information, namely weekly summary information, monthly summary information, quarterly summary information and annual summary information. Further, optionally, in an exemplary embodiment, after step 307 is executed, when a summary output instruction is received, the target summary type indicated by the summary output instruction can be obtained from the above summary information, and the target summary information matching the target summary type can be obtained from the above summary information, and the target summary information can be output. In this exemplary embodiment, in addition to indicating the target summary type, the summary output instruction can also indicate the summary time period. It can be seen that by implementing this method, user needs can be met more accurately.
[0058] By implementing the above method, the analysis depth of text information can be deepened by improving the analysis granularity, which can also facilitate users to operate flexibly, which is beneficial to improving the user experience, and can also realize the rapid acquisition of the target dictionary, and can also effectively improve the system response speed, and can further improve the user experience.
[0059] Figure 4 FIG. 1 is a flowchart of a text information processing method according to another exemplary embodiment. Figure 4 As shown, Figure 4 Steps 401-405 in Figure 2 Steps 201 to 205 are the same and will not be described in detail. In addition, the text information processing method in this embodiment may further include the following steps:
[0060] Step 406, check whether the object identification is received, if yes, execute steps 407 to 409; if no, end this process.
[0061] Step 407: Obtain evaluation information of the indicated object of the object identifier from the above analysis result information.
[0062] The object identifier mentioned in step 406 is used to indicate the object involved in the above text information. For example, if the above text information is obtained by character recognition of a complaint report, then the analysis result information generated for the text information may at least include evaluation information for these two objects, one is a staff member and the other is a customer. The above object identifier may be the ID number of the staff member or the ID number of the customer. By implementing this method, the staff member and the customer are analyzed at the same time, which is beneficial for the staff member to optimize the work quality.
[0063] Step 408: Score the indicated object according to the evaluation information to obtain an evaluation score of the indicated object.
[0064] Step 409: When the evaluation score is greater than the score threshold, the object identifier is marked.
[0065] In an embodiment of the present invention, the score threshold may be a standard for classifying high-quality objects, or may be a standard for classifying low-quality objects. Specifically, if the score threshold is a standard for classifying high-quality objects, the larger the evaluation score corresponding to the object, the better the object, that is, the staff's work is outstanding or the customer is a high-quality customer. Similarly, if the score threshold is a standard for classifying low-quality objects, the larger the evaluation score corresponding to the object, the lower the quality of the object, that is, the staff's work is not outstanding or the customer is a low-quality customer. Therefore, by executing steps 407 to 409, the marking of high-quality objects or low-quality objects can be achieved by marking the object identifier, so as to provide enterprises with targeted improvement directions and improve improvement efficiency.
[0066] Optionally, in an exemplary embodiment, after step 409 is executed, the tag type of the above-mentioned object identification can also be obtained, and the above-mentioned object identification can be included in the identification library corresponding to the tag type. Based on the above description, the identification library can be divided into 4 types, one is a database storing the ID numbers of high-quality staff members, one is a database storing the ID numbers of high-quality customers, one is a database storing the ID numbers of low-quality staff members, and one is a database storing the ID numbers of low-quality customers. Therefore, by executing steps 408 to 409, the classification and arrangement of objects can be achieved through the object identification storage operation, thereby further improving the improvement efficiency of the enterprise.
[0067] Further optionally, in an exemplary embodiment, after the object identifier is recorded in the identifier library corresponding to the tag type, it is also possible to detect whether a display instruction for the identifier library is received, and when the display instruction is received, the identifier library is displayed in a preset display manner. If the identifier library is a database storing the ID numbers of high-quality staff members, the implementation of this method can achieve the purpose of motivating the staff of the enterprise.
[0068] By implementing the above method, the analysis depth of text information can be deepened by improving the analysis granularity, which can also facilitate flexible operation for users, improve the user experience, quickly acquire the target dictionary, effectively improve the system response speed, further improve the user experience, help staff optimize work quality, improve the improvement efficiency of the enterprise, and motivate the staff of the enterprise.
[0069] The following are embodiments of the text information processing system disclosed in the present invention.
[0070] Figure 5 FIG. 1 is a block diagram of a text information processing system according to an exemplary embodiment. Figure 5 As shown, the text information processing system may include:
[0071] The acquisition unit 501 is used to acquire the industry dictionary identifier related to the text information when it is detected that the user inputs text information.
[0072] Optionally, in an exemplary embodiment, the way in which the user inputs text information can be obtained by using a camera module set on a terminal device, that is, the text information comes from a paper document, and the camera module of the terminal device can be used to shoot the paper document to obtain a text image, and the text information can be obtained by image recognition technology. The way in which the user inputs text information can also be obtained by the text information processing system accessing a certain text information collection system, that is, the text information comes from an electronic file, and the user can obtain the content of the electronic file that meets the screening condition from the text information collection system as text information by setting a screening condition on the text information processing system. The following mainly illustrates the way in which the text information processing system accesses a certain text information collection system to obtain text information: assuming that the text information collection system is a complaint report collection system for a certain industry, and the text information processing system is a processing system for complaint reports, the user can set a time constraint in the processing system, and obtain a complaint report that meets the time constraint from the complaint report collection system, and obtain text information by character recognition of the complaint report. By implementing this method, multiple input methods of text information can be supported, which is convenient for users to operate flexibly and is conducive to improving the user's experience.
[0073] Among them, the text information processing system disclosed in the embodiment of the present invention can be a comprehensive text information processing platform, which can support text information analysis of multiple industries. Therefore, the text information processing system stores industry dictionaries of multiple industries. Optionally, in an exemplary embodiment, the acquisition unit 501 is used to obtain the industry dictionary identification related to the text information when it is detected that the user inputs text information. Specifically, the acquisition unit 501 detects whether the industry type information input by the user is received when it is detected that the user inputs text information, and when the industry type information is received, obtains the industry dictionary identification related to the text information according to the indication of the industry type information.
[0074] The determination unit 502 is used to determine a target dictionary from a dictionary library according to the above industry dictionary identifier.
[0075] The word segmentation unit 503 is used to perform word segmentation processing on the above text information according to the target dictionary to obtain a word set corresponding to the text information.
[0076] The processing unit 504 is used to determine the key words from the word set according to a preset word frequency algorithm, and generate analysis result information according to the key words, so as to realize the arrangement of the above text information according to the analysis result information.
[0077] Optionally, in an exemplary embodiment, the processing unit 504 is configured to determine the key words from the word set according to a preset word frequency algorithm in the following manner:
[0078] Processing unit 504 is used to calculate the word frequency and reverse file frequency index of each word in the word set, and score each word in the word set based on the calculated word frequency and reverse file frequency index to obtain a score table corresponding to the word set; wherein the score table at least records each word in the word set and the corresponding score of each word, and uses the words whose corresponding scores determined from the score table are greater than the preset scores as key words.
[0079] It should be noted that, for the description of the dictionary identifier, dictionary base, key words, word frequency and reverse file frequency index, please refer to the description in the above method embodiment, and the embodiment of the present invention will not be repeated.
[0080] By implementing the above system, the analysis depth of text information can be deepened by improving the analysis granularity, which can also facilitate flexible operation by users, improve the user experience, and realize the rapid acquisition of the target dictionary.
[0081] Figure 6 FIG. 1 is a block diagram of a text information processing system according to another exemplary embodiment. Figure 6 The text information processing system shown is composed of Figure 5 The text information processing system shown is optimized to obtain, Figure 6 The text information processing system shown may also include:
[0082] The collecting unit 505 is used to collect the above keywords into the vocabulary.
[0083] The summary unit 506 is used to generate summary information according to the words included in the vocabulary when the current time point is a summary node.
[0084] Optionally, in an exemplary embodiment, the summary unit 506 may also be used to, after generating summary information based on the words contained in the vocabulary when the current time point is a summary node, obtain a target summary type indicated by the summary output instruction from the summary information when a summary output instruction is received, obtain target summary information matching the target summary type from the summary information, and output the target summary information.
[0085] In an embodiment of the present invention, the words included in the vocabulary can support active clearing by the user. The summary unit 506 can also be used to detect whether a clearing instruction input by the user is received after generating summary information based on the words included in the vocabulary, and when receiving the clearing instruction, respond to the clearing instruction to clear the words included in the vocabulary. By implementing this method, it is beneficial to reasonably allocate storage space and can effectively improve the system response speed.
[0086] It should be noted that, for the description of the above summary node and the above summary information, please refer to the description in the method embodiment, and the embodiment of the present invention will not be repeated here.
[0087] According to the description in the above method embodiment, the above summary information may include multiple types of summary information, namely weekly summary information, monthly summary information, quarterly summary information and annual summary information. In addition to indicating the target summary type, the summary output instruction received by the above summary unit 506 may also indicate the summary time period. It can be seen that by implementing this method, user needs can be met more accurately.
[0088] By implementing the above system, the depth of analysis of text information can be deepened by improving the analysis granularity, which can also facilitate users to operate flexibly, help improve the user experience, and realize the rapid acquisition of the target dictionary. It can also effectively improve the system response speed and further improve the user experience.
[0089] Figure 7 FIG. 1 is a block diagram of a text information processing system according to another exemplary embodiment. Figure 7 The text information processing system shown is composed of Figure 5 The text information processing system shown is optimized to obtain, Figure 7 The text information processing system shown may also include:
[0090] The detection unit 507 is used to detect whether the object identification is received.
[0091] It should be noted that the processing unit 504 may also be configured to send a start instruction to the detection unit 507 after generating analysis result information according to the keyword, so as to start the detection unit 507 to perform the above detection to determine whether an object identifier is received.
[0092] The acquisition unit 501 may also be used to obtain evaluation information of the indicated object of the object identifier from the analysis result information, and score the indicated object according to the evaluation information to obtain the evaluation score of the indicated object.
[0093] The marking unit 508 is used to mark the object identifier when the evaluation score is greater than the score threshold.
[0094] Optionally, in an exemplary embodiment, the marking unit 508 can also be used to obtain the marking type of the object identifier after marking the object identifier when the evaluation score is greater than the score threshold, and to include the object identifier in the identifier library corresponding to the marking type.
[0095] In the embodiment of the present invention, for a detailed description of the object identifier, the score threshold and the identifier library, please refer to the description in the above method embodiment, and the embodiment of the present invention will not be repeated.
[0096] Further optionally, in an exemplary embodiment, the marking unit 508 can also be used to detect whether a display instruction for the identification library is received after the above-mentioned object identification is included in the identification library corresponding to the marking type, and when the display instruction is received, the identification library is displayed according to a preset display method. If the above-mentioned identification library is a database storing the ID numbers of high-quality staff members, the implementation of this method can achieve the purpose of motivating the staff of the enterprise.
[0097] By implementing the above system, the depth of analysis of text information can be deepened by improving the analysis granularity, which can also facilitate users to operate flexibly, which is beneficial to improving the user experience, and can also achieve rapid acquisition of the target dictionary. It can also effectively improve the system response speed, and can further improve the user experience. It is also beneficial for staff to optimize work quality, and it is also beneficial to improve the improvement efficiency of the enterprise, and it can also serve the purpose of motivating the staff of the enterprise.
[0098] The present invention also provides a terminal device, the terminal device comprising:
[0099] processor;
[0100] A memory having computer-readable instructions stored therein, wherein when the computer-readable instructions are executed by a processor, the text information processing method shown above is implemented.
[0101] The terminal device may be Figure 1 The device 100 is shown.
[0102] In an exemplary embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the text information processing method as shown above is implemented.
[0103] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be performed without departing from its scope. The scope of the present invention is limited only by the appended claims.
Claims
1. A text information processing method, characterized in that: include: When detecting that the user inputs text information, obtaining an industry dictionary identifier related to the text information; According to the industry dictionary identifier, determining a target dictionary from a dictionary library; Performing word segmentation processing on the text information according to the target dictionary to obtain a word set corresponding to the text information; Determine key words from the word set according to a preset word frequency algorithm, and generate analysis result information according to the key words, so as to realize the arrangement of the text information according to the analysis result information; The keyword is collected into a word library; the keyword is associated with its corresponding evaluation information and the collection time point of the keyword; the collection time point is used to determine the summary node type satisfied by the current time point; If the current time point is a summary node, generating summary information based on the words contained in the vocabulary; The summary information is obtained through the evaluation information corresponding to the keyword; the summary nodes are divided into weekly summary nodes, monthly summary nodes, quarterly summary nodes and annual summary nodes; After generating the analysis result information according to the keyword, the method further includes: Detect whether an object identifier is received; when the object identifier is received, obtain evaluation information for the object indicated by the object identifier from the analysis result information; the object identifier is used to indicate the object involved in the text information; the object identifier includes the ID number of the staff member or the ID number of the customer.
2. The method according to claim 1, characterized in that Determining the key words from the word set according to a preset word frequency algorithm includes: Calculating the word frequency and inverse document frequency index of each word in the word set; Scoring each word in the word set according to the word frequency and the reverse file frequency index to obtain a score table corresponding to the word set; wherein the score table at least records each word in the word set and the corresponding score of each word; The words whose corresponding scores determined from the score table are greater than the preset scores are used as key words.
3. The method according to claim 1, characterized in that If the current time point is a summary node, after generating summary information according to the words included in the vocabulary, the method further includes: When receiving a summary output instruction, acquiring a target summary type indicated by the summary output instruction from the summary information; Acquire target summary information matching the target summary type from the summary information; The target summary information is output.
4. The method according to claim 1, characterized in that When the object identifier is received, after obtaining evaluation information of the object indicated by the object identifier from the analysis result information, the method further includes: Scoring the indicated object according to the evaluation information to obtain an evaluation score of the indicated object; When the evaluation score is greater than the score threshold, the object identifier is marked.
5. The method according to claim 4, characterized in that When the evaluation score is greater than the score threshold, after marking the object identifier, the method further includes: Obtaining the tag type of the object identifier; The object identifier is recorded in an identifier library corresponding to the tag type.
6. A text information processing system, characterized in that: include: An acquisition unit, configured to acquire an industry dictionary identifier related to the text information when detecting that the user inputs text information; A determination unit, used to determine a target dictionary from a dictionary library according to the industry dictionary identifier; A word segmentation unit, used for performing word segmentation processing on the text information according to the target dictionary to obtain a word set corresponding to the text information; A processing unit, configured to determine a key word from the word set according to a preset word frequency algorithm, and generate analysis result information according to the key word, so as to realize the arrangement of the text information according to the analysis result information; A collection unit, used to collect the above-mentioned keywords into a vocabulary; the keywords are associated with their corresponding evaluation information and the collection time point of the keywords; The collected time point is used to determine the summary node type satisfied by the current time point; A summary unit, used to generate summary information based on the words contained in the vocabulary when the current time point is a summary node; The summary information is obtained through the evaluation information corresponding to the keyword; the summary nodes are divided into weekly summary nodes, monthly summary nodes, quarterly summary nodes and annual summary types; After generating the analysis result information according to the keyword, the method further includes: Detect whether an object identifier is received; when the object identifier is received, obtain evaluation information for the object indicated by the object identifier from the analysis result information; the object identifier is used to indicate the object involved in the text information; the object identifier includes the ID number of the staff member or the ID number of the customer.
7. A computer-readable storage medium, characterized in that: The computer program is stored therein, and the computer program enables a computer to execute the text information processing method according to any one of claims 1 to 5.
8. A terminal device, characterized in that: The terminal device comprises: processor; A memory, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the text information processing method according to any one of claims 1 to 5 is implemented.
