Text importance calculation method and device and equipment and storage medium
A calculation method and importance technology, applied in calculation, text database query, unstructured text data retrieval and other directions, can solve the problem of inaccurate target file and text importance judgment deviation, so as to avoid judgment deviation and obtain efficient acquisition. , Improve the effect of hit accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a method for calculating text importance provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of calculating the importance of text files, and the method can be executed by a text importance calculation device. The device It can be realized by software and / or hardware, and can generally be integrated in a computing device for calculating text importance for one or more text files. The method specifically includes the following steps:
[0029] S110. Acquire a plurality of text files, and perform natural language processing on the plurality of text files to obtain the text content and text format of each text file.
[0030] A text file is a computer file composed of several lines of characters and exists in the computer file system. Generally, the end of the file is indicated by placing a file end mark after the last line of the text file. Corresponding to different application software, there ar...
Embodiment 2
[0055] figure 2 It is a flow chart of a text importance calculation method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, only text files including at least one keyword are obtained as The target file set, and calculate the content score and layout score based on the keyword set. Correspondingly, the method in this embodiment specifically includes the following operations:
[0056] S210. Obtain a plurality of text files in the text file library, and perform natural language processing on the plurality of text files to obtain the text content and text format of each text file.
[0057] S220. Acquire a keyword set; add a text file including the at least one keyword in the text content to a target file set, where the keyword set includes at least one keyword.
[0058] For example, the above keyword set includes only one keyword "law", the total number of all text files is 100, ...
Embodiment 3
[0066] image 3 It is a flow chart of a text importance calculation method provided by Embodiment 3 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, all text files are obtained as the target file set, and according to the obtained The content score is calculated for the set of keywords, and the layout score is calculated according to the set rules. Correspondingly, the method in this embodiment specifically includes the following operations:
[0067] S310. Obtain a plurality of text files in the text file library, and perform natural language processing on the plurality of text files to obtain the text content and text format of each text file.
[0068] S320. Acquire a keyword set; extract all text files in the plurality of text files to form the target file set.
[0069] The selection of the target file set has nothing to do with keywords. For example, the above keyword set only includes one keyword "...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com