Construction land acquisition and immigration archive management method and system based on natural language processing
Through in-depth analysis and optimization of construction land acquisition and immigration files through natural language processing technology, the problem of low efficiency of traditional text processing has been solved, the efficient extraction of file information and the rationality of storage strategies have been achieved, and the overall quality of file management has been improved.
Patent Information
- Application Number
- CN202410007820.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-01-02
AI Technical Summary
Traditional text processing methods are inefficient and cannot effectively process and analyze complex unstructured construction land acquisition and immigration file information, resulting in insufficient file management efficiency and accuracy.
A method based on natural language processing was used to conduct in-depth mining and analysis of the original construction land acquisition and immigration files to be archived and stored. Through semantic vector disassembly, retelling and difference analysis, key information was extracted and text expressions were optimized to generate a reasonable archive storage strategy.
It improves the efficiency and quality of file management, ensures the clarity and accuracy of information, and provides broad application prospects for other document management fields.
Smart Images

Figure CN117828007B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of text archive processing, and in particular to a construction land acquisition and immigration archive management method and system based on natural language processing. Background Art
[0002] Natural Language Processing (NLP) is an important branch of artificial intelligence and computer science, which mainly studies how to make computers understand and generate human language. In recent years, with the rapid development of technologies such as deep learning, natural language processing has achieved remarkable results in text mining, sentiment analysis, machine translation and other fields.
[0003] Land acquisition and resettlement archive management is an important task in public administration, involving a large amount of text information processing and analysis. However, traditional text processing methods mostly rely on manual operations, which are not only inefficient but also prone to errors and cannot meet the needs of large-scale archive management. In addition, due to the complexity of archive information content and the existence of a large amount of unstructured data, how to effectively extract key information and formulate a reasonable archive storage strategy based on this information is a major challenge facing current archive management. Summary of the invention
[0004] In order to improve the above problems, the present invention provides a construction land acquisition and immigration archive management method and system based on natural language processing.
[0005] A first aspect of an embodiment of the present invention provides a construction land acquisition and immigration archive management method based on natural language processing, which is applied to a natural language processing system. The method includes:
[0006] Performing archival text semantic mining on the original construction land acquisition and immigration archives to be archived and stored, and obtaining a corresponding archival text semantic vector set; wherein each archival text semantic vector represents an archival element possessed by a text unit in the original construction land acquisition and immigration archives to be archived and stored;
[0007] Decomposing the archive text semantic vector set into a first local text semantic vector group and a second local text semantic vector group;
[0008] According to the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, repeat the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to obtain a first local text repeat semantic vector group corresponding to the first local text semantic vector group, and repeat the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set to obtain a second local text repeat semantic vector group corresponding to the second local text semantic vector group;
[0009] Obtaining a text paraphrase semantic vector set according to the first partial text paraphrase semantic vector group and the second partial text paraphrase semantic vector group;
[0010] According to the difference between the text retelling semantic vector set and the archive text semantic vector set, a corresponding archive storage recommendation strategy is obtained.
[0011] In some preferred embodiments, the step of decomposing the archive text semantic vector set into a first local text semantic vector group and a second local text semantic vector group comprises:
[0012] Constructing a first text scanning frame and a second text scanning frame with the same window size, wherein the first text scanning frame and the second text scanning frame are two members under any same distribution label, and are used for semantic extraction and non-semantic extraction respectively;
[0013] According to the first text scanning box and the second text scanning box, the archive text semantic vector set of the original construction land acquisition and immigration archive to be archived is processed respectively to obtain a first local text semantic vector group and a second local text semantic vector group.
[0014] In some preferred embodiments, the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group includes a relative distribution relationship between text units represented by the archive text semantic vectors in the first local text semantic vector group and text units represented by the archive text semantic vectors in the second local text semantic vector group;
[0015] Then, according to the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, repeating the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to obtain the first local text repeat semantic vector group corresponding to the first local text semantic vector group, and repeating the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set to obtain the second local text repeat semantic vector group corresponding to the second local text semantic vector group, including:
[0016] Adjusting the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to the first semantic extraction knowledge feature;
[0017] According to the second local text semantic vector group and the relative distribution relationship between the text unit represented by the archive text semantic vector in the second local text semantic vector group and the text unit represented by the first semantic extraction knowledge feature, the first semantic extraction knowledge feature is repeated to obtain a first local text repeated semantic vector group corresponding to the first local text semantic vector group;
[0018] Adjusting the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set to a second semantic extraction knowledge feature;
[0019] According to the first local text semantic vector group and the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the second semantic extraction knowledge feature, the second semantic extraction knowledge feature is repeated to obtain a second local text repetition semantic vector group corresponding to the second local text semantic vector group; the relative distribution relationship between the text unit represented by the archive text semantic vector in the second local text semantic vector group and the text unit represented by the first semantic extraction knowledge feature, and the relative distribution relationship between the first local text semantic vector group and the second semantic extraction knowledge feature are all determined based on the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the archive text semantic vector in the second local text semantic vector group.
[0020] In some preferred embodiments, the method further comprises:
[0021] Obtaining the first semantic extraction knowledge feature according to the regional positioning feature and linkage semantic feature of the error part of the second local text semantic vector group relative to the archive text semantic vector set;
[0022] The second semantic extraction knowledge feature is obtained according to the regional positioning feature of the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set and the linkage semantic feature.
[0023] In some preferred embodiments, obtaining a corresponding archive storage recommendation strategy based on the difference between the text paraphrase semantic vector set and the archive text semantic vector set includes:
[0024] The following processing is performed on each text unit in the original construction land acquisition and resettlement archives to be archived:
[0025] Based on the difference between a text paraphrase semantic vector corresponding to a text unit in the text paraphrase semantic vector set and an archive text semantic vector corresponding to the text unit in the archive text semantic vector set, obtaining a structured storage viewpoint variable corresponding to the text unit;
[0026] According to the structured storage viewpoint variables corresponding to each text unit in the original construction land acquisition and immigration archive to be archived and stored, the archive storage recommendation strategy corresponding to the original construction land acquisition and immigration archive to be archived and stored is obtained.
[0027] In some preferred embodiments, the obtaining of the archive storage suggestion strategy corresponding to the original construction land acquisition and immigration archive to be archived based on the structured storage viewpoint variables corresponding to each text unit in the original construction land acquisition and immigration archive to be archived includes:
[0028] Determine the text unit whose structured storage viewpoint variable is greater than the first threshold value in the original construction land acquisition and resettlement archive to be archived and stored as a structured text unit;
[0029] If it is determined that the number of structured text units contained in the original construction land acquisition and immigration archive to be archived is greater than the second threshold value, the archive storage recommendation strategy for the original construction land acquisition and immigration archive to be archived is determined as a structured storage strategy.
[0030] In some preferred embodiments, the method is performed by a natural language processing algorithm, and the debugging process of the natural language processing algorithm is as follows:
[0031] Based on the pre-set construction land acquisition and immigration file training sample set, the debugging algorithm is debugged several times in a cycle. In one cycle debugging process, the following processing is implemented:
[0032] Performing archival text semantic mining on the extracted construction land acquisition and immigration archive training samples to obtain a corresponding archival text semantic vector training sample set; wherein each archival text semantic vector training sample represents an archival element training sample possessed by a text unit training sample in the construction land acquisition and immigration archive training sample;
[0033] Decomposing the archive text semantic vector training sample set into a first local text semantic vector group training sample and a second local text semantic vector group training sample;
[0034] According to the involvement coefficient between the first local text semantic vector group training sample and the second local text semantic vector group training sample, the erroneous part of the first local text semantic vector group training sample relative to the archive text semantic vector training sample set is repeated, and the erroneous part of the second local text semantic vector group training sample relative to the archive text semantic vector training sample set is repeated to obtain a corresponding text repetition semantic vector training sample set;
[0035] According to the difference between the text retelling semantic vector training sample set and the archive text semantic vector training sample set, a corresponding algorithm training cost index is obtained, and according to the algorithm training cost index, algorithm parameters of the algorithm to be debugged are optimized.
[0036] In some preferred embodiments, obtaining the corresponding algorithm training cost index based on the difference between the text paraphrase semantic vector training sample set and the archive text semantic vector training sample set includes:
[0037] The following processing is performed on each text unit training sample in the extracted construction land acquisition and immigration archive training sample:
[0038] Based on the difference between a text paraphrase semantic vector training sample corresponding to a text unit training sample in the text paraphrase semantic vector training sample set and an archive text semantic vector training sample corresponding to the text unit training sample in the archive text semantic vector training sample set, obtaining a text unit loss corresponding to the text unit training sample;
[0039] The text unit loss corresponding to each text unit training sample in the extracted construction land acquisition and immigration archive training samples is determined by training loss to obtain a corresponding algorithm training cost index.
[0040] A second aspect of an embodiment of the present invention provides a natural language processing system, comprising: a processor, a memory and a bus connected to the processor; the processor and the memory communicate with each other via the bus; the processor is used to call a computer program in the memory to execute the above-mentioned construction land acquisition and immigration archive management method based on natural language processing.
[0041] According to a third aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the above-mentioned construction land acquisition and immigration archive management method based on natural language processing is implemented.
[0042] The construction land acquisition and immigration archive management method and system based on natural language processing provided by the embodiment of the present invention deeply mines and analyzes the original construction land acquisition and immigration archives to be archived and stored through natural language processing and machine learning methods, effectively extracts key information from the archives, and converts this information into computable semantic vectors. Furthermore, it can discover and correct possible errors, optimize text representation, and make the archive information clearer and more accurate. Finally, based on the difference between the restated semantic vector and the original semantic vector, the scheme can propose a reasonable archive storage strategy, thereby greatly improving the efficiency and quality of archive management. In addition, this method is not only applicable to construction land acquisition and immigration archives, but can also be widely used in document management in other fields, and has broad application prospects and important practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 A flowchart of a construction land acquisition and immigration archive management method based on natural language processing provided by an embodiment of the present invention.
[0045] Figure 2 A schematic diagram of a product module of a natural language processing system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The exemplary embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0047] In order to better understand the above technical scheme, the technical scheme of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0048] See also Figure 1, which is a flowchart of a construction land acquisition and immigration archive management method based on natural language processing provided by an embodiment of the present invention. The method is applied to a natural language processing system, and the specific content description of the method includes S110-S150.
[0049] S110, performing archival text semantic mining on the original construction, land acquisition and immigration archives to be archived and stored, and obtaining a corresponding archival text semantic vector set; wherein each archival text semantic vector represents: an archival element possessed by a text unit in the original construction, land acquisition and immigration archives to be archived and stored.
[0050] The original construction land acquisition and resettlement files to be archived refer to the files that have not been processed and managed and need to be archived, for example, resettlement compensation agreement, compensation fund calculation sheet, fund approval sheet, fund disbursement letter, etc. for a certain construction project.
[0051] Semantic mining of archive text is a process of understanding the meaning and context of words, phrases, sentences, etc. in the text. For example, by analyzing the "compensation fund calculation table", the system can understand the key information that may be involved in this document, such as the compensation amount, compensation object, compensation standard, etc.
[0052] Semantic vector set of archival text: In NLP, text is usually converted into numerical form (or vector) so that it can be processed by computers. Each text unit (such as word, phrase, sentence) will be converted into a vector, and the collection of these vectors constitutes the semantic vector set of archival text.
[0053] A text unit can be a word, a phrase or a sentence. In the above example, "compensation", "funds", "calculation" and "table" in "compensation fund calculation table" can all be regarded as text units.
[0054] File elements refer to the key information in the file, usually including but not limited to the file name, author, date, location, subject, etc. For example, in the file of "Resettlement Compensation Agreement", possible file elements include the date of signing of the agreement, the construction projects involved, the number and identity of immigrants, etc.
[0055] S120, decomposing the archive text semantic vector set into a first local text semantic vector group and a second local text semantic vector group.
[0056] The archive text semantic vector set is decomposed into a first local text semantic vector group and a second local text semantic vector group. This process can be understood as decomposing the semantic representation of the entire archive text into two smaller parts.
[0057] The first local text semantic vector group and the second local text semantic vector group are sets of text semantic vectors, which contain semantic representations of a certain part or type of information in the original archive. This split can be based on a variety of factors, such as different parts of the archive (such as title, text, etc.), or different types of information (such as date, location, etc.).
[0058] Take a specific land acquisition and resettlement file as an example: Suppose there is a file that contains the following information: "In July 2021, a land acquisition activity was carried out in XX City, affecting 1,000 households, and the affected residents were properly resettled."
[0059] After semantic mining of this file, a semantic vector set containing various information may be obtained, such as "Time: July 2021", "Location: XX City", "Event: Land Acquisition Activity", "Number of Affected People: 1,000 Households" and "Handling Method: Proper Resettlement".
[0060] Then, this semantic vector set can be decomposed into two local semantic vector groups. For example, the first local text semantic vector group contains "time: July 2021" and "location: XX city", while the second local text semantic vector group contains "event: land acquisition activities", "affected people: 1,000 households" and "handling method: proper resettlement". This decomposition method can help better understand and manage the information in the archives, and also facilitate subsequent steps such as retelling and error correction.
[0061] S130. Based on the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, repeat the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to obtain a first local text repeat semantic vector group corresponding to the first local text semantic vector group, and repeat the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set to obtain a second local text repeat semantic vector group corresponding to the second local text semantic vector group.
[0062] Among them, the text semantic commonality index is a method to measure the semantic similarity between two sets of texts. Specifically, if two sets of texts are very similar in terms of topic, style, viewpoint, etc., then their semantic commonality index will be high.
[0063] An error part is a part that is misunderstood or misclassified in the semantic vector group. For example, when processing the document "Compensation Fund Calculation Form", if the system mistakenly classifies it as "Fund Approval Form", then this is an error part.
[0064] A paraphrase is a restatement of the original text, but keeping its original meaning. For example, the paraphrase of "resettlement and compensation agreement" could be "compensation and resettlement agreement".
[0065] The first local text repetition semantic vector group and the second local text repetition semantic vector group: In S120, the archive text semantic vector set is disassembled into two local text semantic vector groups. Then in S130, according to the semantic commonality index, the erroneous parts in these two vector groups are repetitioned to obtain a new repetition semantic vector group. For example, if the "compensation fund calculation table" in the first local text semantic vector group is mistakenly classified as a "fund approval table", then after repetition, it will be corrected to the correct category and the corresponding repetition semantic vector will be generated. Through the above steps, the erroneous parts in the semantic vector group can be corrected and the accuracy and efficiency of archive management can be improved.
[0066] S140: Obtain a text paraphrase semantic vector set according to the first partial text paraphrase semantic vector group and the second partial text paraphrase semantic vector group.
[0067] Among them, the text retelling semantic vector set is the semantic representation of the original archive information after retelling or re-expression. This process is mainly to modify and optimize the possible errors, unclear or ambiguous parts in the original archive to improve the readability and accuracy of the archive.
[0068] For example, in the first local text semantic vector group, "Time: July 2021" is repeated as "Date: July 2021". Meanwhile, in the second local text semantic vector group, "Event: Land Acquisition", "Affected Population: 1,000 Households" and "Handling Method: Proper Resettlement" are repeated as "Action: Land Acquisition Work was Carried Out", "Impact: Involving 1,000 Households" and "Solution: Proper Resettlement was Carried Out".
[0069] In this case, the semantic vectors of the two sets of paraphrases are combined to form a set of text paraphrased semantic vectors. This set includes all paraphrased information, such as: "Date: July 2021", "Location: XX City", "Action: Land acquisition work was carried out", "Impact: 1,000 households were involved", and "Solution: Appropriate resettlement was carried out". In this way, not only can the problems that may exist in the original archives be improved, but the information in the archives can also be better understood and represented.
[0070] S150, obtaining a corresponding archive storage recommendation strategy based on the difference between the text paraphrase semantic vector set and the archive text semantic vector set.
[0071] Among them, the archive storage recommendation strategy is a strategy for how to store and manage archives more effectively, which usually takes into account multiple aspects such as archive classification, indexing, search, confidentiality, etc. This strategy is based on the difference between the text retelling semantic vector set and the original archive text semantic vector set, so it can reflect the optimization and improvement of the system in the process of processing archives.
[0072] For example, in S130, it is found that the document "Compensation Fund Calculation Sheet" is mistakenly classified as "Fund Approval Sheet". After restating and correcting this error, a new restated semantic vector is obtained. Then, in S150, the system compares the difference between this restated semantic vector and the original semantic vector. If the difference is large, the system may suggest modifying the method of archive classification, for example, adopting more refined classification standards, or using more advanced NLP technology to improve the accuracy of classification. Similarly, if the system finds that certain archive elements (such as dates, locations, etc.) are often misunderstood, it may suggest improving the representation of these elements, for example, using a clearer format to represent dates. In this way, the archive storage recommendation strategy can help better optimize and manage archives and improve work efficiency.
[0073] It can be seen that this technical solution uses natural language processing and machine learning methods to deeply mine and analyze the original construction, land acquisition and immigration archives to be archived, effectively extract key information from the archives, and convert this information into computable semantic vectors. Furthermore, it can discover and correct possible errors, optimize text representation, and make the archive information clearer and more accurate. Finally, based on the difference between the restated semantic vector and the original semantic vector, the solution can propose a reasonable archive storage strategy, thereby greatly improving the efficiency and quality of archive management. In addition, this method is not only applicable to construction, land acquisition and immigration archives, but can also be widely used in document management in other fields, with broad application prospects and important practical value.
[0074] In some schemes, the decomposing the archival text semantic vector set into a first local text semantic vector group and a second local text semantic vector group includes: constructing a first text scanning box and a second text scanning box with the same window size, the two members of the first text scanning box and the second text scanning box under any same distribution label are used for semantic extraction and non-semantic extraction, respectively; according to the first text scanning box and the second text scanning box, the archival text semantic vector set of the original construction land acquisition and immigration archives to be archived and stored is processed respectively to obtain a first local text semantic vector group and a second local text semantic vector group.
[0075] In this scheme, the first text scanning box and the second text scanning box are used to process the text semantic vector set of the original construction land acquisition and immigration archives. These two "text scanning boxes" are tools for extracting text information. Their window sizes are the same, but their functions are different: the first text scanning box is mainly used for semantic extraction, while the second text scanning box is used for non-semantic extraction.
[0076] For example, if the original file includes a report on land acquisition, it may contain the following content: "In July 2021, XX City acquired land in YY District for an infrastructure project, affecting 1,000 households. All affected residents have been properly resettled and compensated."
[0077] In this example, the first text scanning box may extract the following semantic information: "Time: July 2021", "Action: Land Acquisition", "Location: YY District, XX City", "Affected: 1,000 households" and "Solution: Proper resettlement and compensation".
[0078] At the same time, the second text scanning box will extract from a non-semantic perspective, such as identifying format errors, grammatical errors or other unstructured information in the file.
[0079] After processing these two text scanning frames, the first local text semantic vector group and the second local text semantic vector group can be obtained. These two vector groups can represent the semantic information and non-semantic information in the archives respectively, thereby providing more comprehensive and accurate data support for subsequent archive management work.
[0080] In this way, the original archives can be better understood and analyzed, possible problems can be identified, and the storage and management of archives can be optimized, thereby improving the efficiency and quality of archival work.
[0081] In some schemes, the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group includes the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the archive text semantic vector in the second local text semantic vector group; then, based on the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set is repeated to obtain the first local text repeat semantic vector group corresponding to the first local text semantic vector group, and the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set is repeated to obtain the second local text repeat semantic vector group corresponding to the second local text semantic vector group, including: adjusting the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to the first semantic extraction knowledge feature; according to the second local text semantic vector group and, the text unit represented by the archive text semantic vector in the second local text semantic vector group and the first semantic extraction knowledge feature The first semantic extraction knowledge feature is repeated according to the relative distribution relationship between the text units represented by the archive text semantic vectors, and the first semantic extraction knowledge feature is repeated to obtain the first local text repetition semantic vector group corresponding to the first local text semantic vector group; the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set is adjusted to the second semantic extraction knowledge feature; according to the first local text semantic vector group and the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the second semantic extraction knowledge feature, the second semantic extraction knowledge feature is repeated to obtain the second local text repetition semantic vector group corresponding to the second local text semantic vector group; the relative distribution relationship between the text unit represented by the archive text semantic vector in the second local text semantic vector group and the text unit represented by the first semantic extraction knowledge feature, and the relative distribution relationship between the first local text semantic vector group and the second semantic extraction knowledge feature are all determined according to the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the archive text semantic vector in the second local text semantic vector group.
[0082] In this scheme, the relative distribution relationship between the first local text semantic vector group and the second local text semantic vector group, namely the text semantic commonality index, is first considered. This relationship can reflect the overall similarity and difference between the two groups of semantic vectors.
[0083] For example, there is a file containing descriptions about "land acquisition activities", such as "Action: land acquisition work was carried out", "Impact: 1,000 households were involved", and "Solution: appropriate resettlement was carried out by the CC agency". This information is converted into the first local text semantic vector group. On the other hand, the file also contains information about "compensation measures", such as "Compensation standard: 100,000 yuan per household" and "Implementor: The local CC agency is responsible". This information is converted into the second local text semantic vector group.
[0084] Next, we will find out the possible errors in these two sets of semantic vectors and adjust them to obtain more accurate knowledge features. For example, if "compensation standard: 100,000 yuan per household" is misclassified as "total compensation: 100,000 yuan", we need to adjust it to the correct "compensation standard: 100,000 yuan per household" based on its relative distribution relationship with other semantic vectors.
[0085] In this way, a more accurate and representative set of semantic vectors, namely the first partial text retelling semantic vector set and the second partial text retelling semantic vector set, can be obtained. These retelling semantic vectors can not only better reflect the information in the archives, but also provide more accurate guidance for subsequent archive storage.
[0086] In summary, the beneficial effects of this scheme are mainly reflected in two aspects: first, it can effectively mine the key information in the archives and correct possible errors; second, by analyzing and comparing the relative distribution relationship between different semantic vector groups, this scheme can provide more sophisticated and accurate archive management strategies, thereby greatly improving the quality and efficiency of archive processing.
[0087] In some schemes, the method also includes: obtaining the first semantic extraction knowledge feature based on the regional positioning features and linkage semantic features of the erroneous part of the second local text semantic vector group relative to the archival text semantic vector set; obtaining the second semantic extraction knowledge feature based on the regional positioning features and linkage semantic features of the erroneous part of the first local text semantic vector group relative to the archival text semantic vector set.
[0088] In this scheme, the information in the archive is further extracted and understood by using regional positioning features and linkage semantic features. Specifically, the first semantic extraction knowledge feature is obtained based on the regional positioning features and linkage semantic features of the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set. Similarly, the second semantic extraction knowledge feature can also be obtained based on the regional positioning features and linkage semantic features of the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set.
[0089] For example, in the above report on land acquisition, suppose an error is found: the date is written as "July 2021" but it should be "July 2022". This erroneous part will be marked by the second local text semantic vector group. Then, the location of the erroneous part (i.e., regional positioning feature) and its context information (i.e., linkage semantic feature) are input into the model to obtain the first semantic extraction knowledge feature, which helps to better understand the semantic content and background information of the erroneous part.
[0090] Similarly, if an error is found in the first local text semantic vector group, such as "affecting 1,000 households" should actually be "affecting 2,000 households", the second semantic extraction knowledge feature can be obtained by the same method.
[0091] This design not only helps to discover and correct errors in archives, but also allows us to better understand the semantic content and background information of the erroneous parts, so as to understand and analyze the original archives more accurately. In addition, in this way, we can accumulate and update the knowledge of semantic extraction, so as to continuously optimize and improve archive management.
[0092] In some schemes, the obtaining of the corresponding archive storage recommendation strategy based on the difference between the text paraphrase semantic vector set and the archive text semantic vector set includes: implementing the following processing for each text unit in the original construction, land acquisition and immigration archive to be archived: obtaining the structured storage viewpoint variable corresponding to a text unit based on the difference between a text paraphrase semantic vector corresponding to the text unit in the text paraphrase semantic vector set and an archive text semantic vector corresponding to the text unit in the archive text semantic vector set; obtaining the archive storage recommendation strategy corresponding to the original construction, land acquisition and immigration archive to be archived based on the structured storage viewpoint variables corresponding to each text unit in the original construction, land acquisition and immigration archive to be archived.
[0093] In this scheme, the difference between the text retelling semantic vector set and the archive text semantic vector set is used to obtain the corresponding archive storage recommendation strategy. Specifically, for each text unit in the original construction land acquisition and resettlement archive to be archived, a structured storage viewpoint variable is obtained based on the difference between its corresponding text retelling semantic vector in the text retelling semantic vector set and its corresponding archive text semantic vector in the archive text semantic vector set.
[0094] For example, suppose there is a text unit in the original construction land acquisition and resettlement archive to be archived, which is "Compensation standard: 100,000 yuan per household". If the corresponding retelling semantic vector of this text unit in the text retelling semantic vector set is significantly different from the corresponding archive text semantic vector in the archive text semantic vector set, it means that the storage method or location of this text unit may need to be reconsidered. This difference can be represented as a structured storage view variable, such as {"text": "Compensation standard: 100,000 yuan per household", "difference": 0.8}.
[0095] Next, according to the structured storage viewpoint variables corresponding to all text units, the archive storage recommendation strategy corresponding to the original construction land acquisition and resettlement archives to be archived is obtained. For example, if the average value of the "difference" of the structured storage viewpoint variables corresponding to all text units exceeds a certain threshold, it may be recommended to reorganize the storage structure of the archives for future retrieval and utilization.
[0096] In this way, by comparing the differences between the semantic vectors of text retelling and the semantic vectors of archival text, possible problems in archival storage can be effectively discovered and corrected. The structured storage viewpoint variable provides a quantitative tool to help better understand and process the role of each text unit in archival storage. The archival storage recommendation strategy can provide specific optimization suggestions based on actual conditions, thereby improving the efficiency and quality of archival management.
[0097] In some schemes, the archival storage recommendation strategy corresponding to the original construction land acquisition and immigration archives to be archived and stored is obtained based on the structured storage viewpoint variables corresponding to each text unit in the original construction land acquisition and immigration archives to be archived and stored, including: determining the text units in the original construction land acquisition and immigration archives to be archived and stored whose structured storage viewpoint variables are greater than a first threshold value as structured text units; if it is determined that the number of structured text units contained in the original construction land acquisition and immigration archives to be archived and stored is greater than a second threshold value, then determining the archival storage recommendation strategy of the original construction land acquisition and immigration archives to be archived and stored as a structured storage strategy.
[0098] In this scheme, the structured storage viewpoint variable is used to determine how to store the original construction land acquisition and resettlement archives to be archived. Specifically, if the structured storage viewpoint variable of a text unit is greater than the first threshold value, it is determined to be a structured text unit. Then, if the number of these structured text units exceeds the second threshold value, the storage recommendation strategy for the archive is determined to be a structured storage strategy.
[0099] For example, suppose that an original construction land acquisition and resettlement file containing 500 text units is being processed. After analyzing the structured storage viewpoint variables of these text units, it is found that the structured storage viewpoint variables of 300 of them are greater than the set first threshold value, so these 300 text units are determined to be structured text units. Next, since the number of these 300 structured text units has exceeded the set second threshold value (for example, 200), the storage recommendation strategy for this file is determined to be a structured storage strategy.
[0100] In this way, archives can be effectively classified and stored. By using a structured storage strategy, it is easier to retrieve, query and analyze information in archives, which greatly improves the efficiency of processing archives. In addition, this approach can also help better manage and maintain archives, because the best storage method can be determined based on the degree of structuring of the archives.
[0101] In some schemes, the method is executed by a natural language processing algorithm, and the debugging process of the natural language processing algorithm is as follows: based on a pre-set construction land acquisition and immigration archive training sample set, the algorithm to be debugged is debugged several times in a cycle, wherein, in one cycle debugging process, the following processing is implemented: archival text semantic mining is performed on the extracted construction land acquisition and immigration archive training samples to obtain the corresponding archival text semantic vector training sample set; wherein each archival text semantic vector training sample represents: the archival element training sample possessed by a text unit training sample in the construction land acquisition and immigration archive training sample; the archival text semantic vector training sample set is decomposed into a first local text semantic vector group training sample and a second local text semantic vector group training sample. a set of training samples; based on the involvement coefficient between the first local text semantic vector group training samples and the second local text semantic vector group training samples, repeat the erroneous part of the first local text semantic vector group training samples relative to the archive text semantic vector training sample set, and repeat the erroneous part of the second local text semantic vector group training samples relative to the archive text semantic vector training sample set to obtain a corresponding text repetition semantic vector training sample set; based on the difference between the text repetition semantic vector training sample set and the archive text semantic vector training sample set, obtain a corresponding algorithm training cost index, and based on the algorithm training cost index, optimize the algorithm parameters of the algorithm to be debugged.
[0102] The above scheme is implemented through a natural language processing algorithm, and the debugging process of the algorithm needs to be based on a pre-set training sample set of construction land acquisition and immigration archives.
[0103] For example, suppose there is a pre-set training sample set of construction land acquisition and immigration archives, which contains multiple text unit training samples, such as "compensation standard: 100,000 yuan per household" and "moving out date: July 15, 2021". During a loop debugging process, these training samples will first be subjected to archival text semantic mining to obtain the corresponding archival text semantic vector training sample set. Each archival text semantic vector training sample can represent the archival element training sample of a text unit training sample.
[0104] Next, the archive text semantic vector training sample set is split into the first local text semantic vector group training samples and the second local text semantic vector group training samples. This may involve a specific segmentation strategy, such as dividing according to text length or importance.
[0105] Then, according to the involvement coefficient between the training samples of the first local text semantic vector group and the training samples of the second local text semantic vector group, the erroneous parts of the training samples of the first local text semantic vector group and the second local text semantic vector group are repeated to obtain the corresponding text repetition semantic vector training sample set.
[0106] Finally, according to the difference between the training sample set of text retelling semantic vectors and the training sample set of archival text semantic vectors, the corresponding algorithm training cost index can be obtained. This cost index can help understand the performance of the current natural language processing algorithm in processing construction land acquisition and immigration archives, and optimize the parameters accordingly.
[0107] In this way, through the natural language processing algorithm, important information in the construction land acquisition and resettlement archives can be effectively extracted, analyzed and understood, thereby improving the efficiency and quality of archive management. The algorithm debugging process allows the natural language processing algorithm to be continuously optimized and improved to better adapt to specific task requirements. By comparing the differences between the text retelling semantic vector and the archive text semantic vector, possible problems in the algorithm can be discovered and corrected, thereby improving the accuracy and reliability of the algorithm.
[0108] In some schemes, the corresponding algorithm training cost index is obtained based on the difference between the text repetition semantic vector training sample set and the archive text semantic vector training sample set, including: for each text unit training sample in the extracted construction land acquisition and immigration archive training samples, the following processing is performed: based on the difference between the text repetition semantic vector training sample corresponding to a text unit training sample in the text repetition semantic vector training sample set and the archive text semantic vector training sample corresponding to the text unit training sample in the archive text semantic vector training sample set, the text unit loss corresponding to the text unit training sample is obtained; the training loss corresponding to each text unit training sample in the extracted construction land acquisition and immigration archive training samples is determined to obtain the corresponding algorithm training cost index.
[0109] In this scheme, the difference between the text retelling semantic vector training sample set and the archive text semantic vector training sample set is used to obtain the algorithm training cost indicator. Specifically, for each text unit training sample in the extracted construction land acquisition and immigration archive training samples, a text unit loss is obtained based on the difference between its corresponding text retelling semantic vector training sample in the text retelling semantic vector training sample set and its corresponding archive text semantic vector training sample in the archive text semantic vector training sample set.
[0110] For example, suppose there is a text unit training example "Compensation standard: 100,000 yuan per household". If the corresponding retelling semantic vector of this training example in the text retelling semantic vector training example set is significantly different from the corresponding archival text semantic vector in the archival text semantic vector training example set, it means that this training example may cause a large loss in the training process. This loss can be expressed as a numerical value, such as 0.8.
[0111] Next, the training loss is determined for the text unit losses corresponding to all text unit training examples, that is, the losses of all text units are summed up or averaged to obtain the corresponding algorithm training cost index. For example, if the average value of the text unit losses corresponding to all text unit training examples is 0.6, then the algorithm training cost index can be set to 0.6.
[0112] By comparing the difference between the semantic vectors of text retelling and the semantic vectors of archival text, the difficulty and cost of algorithm training can be effectively measured. Text unit loss provides a quantitative tool to help better understand and deal with the problems that may arise in the training process of each text unit. The algorithm training cost indicator can reflect the overall difficulty of algorithm training, thereby helping to optimize the training strategy and improve the training efficiency and effect.
[0113] Please refer to Figure 2 The embodiment of the present invention further provides a natural language processing system 100, including a processor 111, and a memory 112 and a bus 113 connected to the processor 111. The processor 111 and the memory 112 communicate with each other through the bus 113. The processor 111 is used to call the program instructions in the memory 112 to execute the above-mentioned construction land acquisition and immigration archive management method based on natural language processing.
[0114] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or cloud server including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or cloud server. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or cloud server including the elements.
[0115] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0116] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A construction land acquisition and immigration archive management method based on natural language processing, characterized in that: Applied to a natural language processing system, the method comprises: Performing archival text semantic mining on the original construction land acquisition and immigration archives to be archived and stored, and obtaining a corresponding archival text semantic vector set; wherein each archival text semantic vector represents an archival element possessed by a text unit in the original construction land acquisition and immigration archives to be archived and stored; Decomposing the archive text semantic vector set into a first local text semantic vector group and a second local text semantic vector group; According to the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, repeat the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to obtain a first local text repeat semantic vector group corresponding to the first local text semantic vector group, and repeat the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set to obtain a second local text repeat semantic vector group corresponding to the second local text semantic vector group; Obtaining a text paraphrase semantic vector set according to the first partial text paraphrase semantic vector group and the second partial text paraphrase semantic vector group; According to the difference between the text retelling semantic vector set and the archive text semantic vector set, a corresponding archive storage recommendation strategy is obtained; The method of decomposing the archive text semantic vector set into a first local text semantic vector group and a second local text semantic vector group includes: constructing a first text scanning frame and a second text scanning frame with the same window size, wherein two members of the first text scanning frame and the second text scanning frame under any same distribution label are used for semantic extraction and non-semantic extraction, respectively; processing the archive text semantic vector set of the original construction land acquisition and immigration archive to be archived according to the first text scanning frame and the second text scanning frame, respectively, to obtain a first local text semantic vector group and a second local text semantic vector group; Among them, the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group includes: the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the archive text semantic vector in the second local text semantic vector group; then, according to the text semantic commonality index between the first local text semantic vector group and the second local text semantic vector group, the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set is repeated to obtain the first local text repeat semantic vector group corresponding to the first local text semantic vector group, and the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set is repeated to obtain the second local text repeat semantic vector group corresponding to the second local text semantic vector group, including: adjusting the erroneous part of the second local text semantic vector group relative to the archive text semantic vector set to the first semantic extraction knowledge feature; according to the second local text semantic vector group and, the text unit represented by the archive text semantic vector in the second local text semantic vector group and the text unit represented by the first semantic extraction knowledge feature According to the relative distribution relationship between the text units, the first semantic extraction knowledge feature is repeated to obtain the first local text repetition semantic vector group corresponding to the first local text semantic vector group; the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set is adjusted to the second semantic extraction knowledge feature; according to the first local text semantic vector group and the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the second semantic extraction knowledge feature, the second semantic extraction knowledge feature is repeated to obtain the second local text repetition semantic vector group corresponding to the second local text semantic vector group; the relative distribution relationship between the text unit represented by the archive text semantic vector in the second local text semantic vector group and the text unit represented by the first semantic extraction knowledge feature, and the relative distribution relationship between the first local text semantic vector group and the second semantic extraction knowledge feature are all determined according to the relative distribution relationship between the text unit represented by the archive text semantic vector in the first local text semantic vector group and the text unit represented by the archive text semantic vector in the second local text semantic vector group; Among them, the text semantic commonality index is used to measure the semantic similarity between two groups of texts; Wherein, the method further comprises: obtaining the first semantic extraction knowledge feature according to the regional positioning feature and linkage semantic feature of the second local text semantic vector group relative to the erroneous part of the archive text semantic vector set; obtaining the second semantic extraction knowledge feature according to the regional positioning feature and linkage semantic feature of the erroneous part of the first local text semantic vector group relative to the archive text semantic vector set; The region positioning feature is used to characterize the location of the error part; and the linkage semantic feature is used to characterize the context information of the error part.
2. The method according to claim 1, characterized in that The obtaining of a corresponding archive storage recommendation strategy based on the difference between the text paraphrase semantic vector set and the archive text semantic vector set includes: The following processing is performed on each text unit in the original construction land acquisition and resettlement archives to be archived: Based on the difference between a text paraphrase semantic vector corresponding to a text unit in the text paraphrase semantic vector set and an archive text semantic vector corresponding to the text unit in the archive text semantic vector set, obtaining a structured storage viewpoint variable corresponding to the text unit; According to the structured storage viewpoint variables corresponding to each text unit in the original construction land acquisition and immigration archive to be archived and stored, the archive storage recommendation strategy corresponding to the original construction land acquisition and immigration archive to be archived and stored is obtained.
3. The method according to claim 2, characterized in that The method of obtaining the archive storage suggestion strategy corresponding to the original construction land acquisition and immigration archive to be archived based on the structured storage viewpoint variables corresponding to each text unit in the original construction land acquisition and immigration archive to be archived, comprises: Determine the text unit whose structured storage viewpoint variable is greater than the first threshold value in the original construction land acquisition and resettlement archive to be archived and stored as a structured text unit; If it is determined that the number of structured text units contained in the original construction land acquisition and immigration archive to be archived is greater than the second threshold value, the archive storage recommendation strategy for the original construction land acquisition and immigration archive to be archived is determined as a structured storage strategy.
4. The method according to claim 1, characterized in that The method is performed by a natural language processing algorithm, and the debugging process of the natural language processing algorithm is as follows: Based on the pre-set construction land acquisition and immigration file training sample set, the debugging algorithm is debugged several times in a cycle. In one cycle debugging process, the following processing is implemented: Performing archival text semantic mining on the extracted construction land acquisition and immigration archive training samples to obtain a corresponding archival text semantic vector training sample set; wherein each archival text semantic vector training sample represents an archival element training sample possessed by a text unit training sample in the construction land acquisition and immigration archive training sample; Decomposing the archive text semantic vector training sample set into a first local text semantic vector group training sample and a second local text semantic vector group training sample; According to the involvement coefficient between the first local text semantic vector group training sample and the second local text semantic vector group training sample, the erroneous part of the first local text semantic vector group training sample relative to the archive text semantic vector training sample set is repeated, and the erroneous part of the second local text semantic vector group training sample relative to the archive text semantic vector training sample set is repeated to obtain a corresponding text repetition semantic vector training sample set; According to the difference between the text retelling semantic vector training sample set and the archive text semantic vector training sample set, a corresponding algorithm training cost index is obtained, and according to the algorithm training cost index, algorithm parameters of the algorithm to be debugged are optimized.
5. The method according to claim 4, characterized in that The step of obtaining a corresponding algorithm training cost index based on the difference between the text retelling semantic vector training sample set and the archive text semantic vector training sample set includes: The following processing is performed on each text unit training sample in the extracted construction land acquisition and immigration archive training sample: Based on the difference between a text paraphrase semantic vector training sample corresponding to a text unit training sample in the text paraphrase semantic vector training sample set and an archive text semantic vector training sample corresponding to the text unit training sample in the archive text semantic vector training sample set, obtaining a text unit loss corresponding to the text unit training sample; The text unit loss corresponding to each text unit training sample in the extracted construction land acquisition and immigration archive training samples is determined by training loss to obtain a corresponding algorithm training cost index.
6. A natural language processing system, characterized in that: It comprises a processor, a memory and a bus connected to the processor; the processor and the memory communicate with each other via the bus; The processor is used to call the computer program in the memory to execute the construction land acquisition and immigration archive management method based on natural language processing as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the method for managing construction land acquisition and immigration archives based on natural language processing as described in any one of claims 1 to 5 is implemented.
