Intelligent review system and implementation method for special construction plans of dangerous and major projects

Through the intelligent review system, multi-technology integration is used to conduct automated review of special construction plans for dangerous and major projects, which solves the problem of long and error-prone manual review, achieves efficient and accurate review of construction plans, and enhances construction safety.

CN114781997BActive Publication Date: 2024-08-23CHINA UNIV OF MINING & TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210354720.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-06
Publication Date
2024-08-23
Estimated Expiration
2042-04-06

AI Technical Summary

Technical Problem

The existing review of special construction plans for dangerous and major projects relies on manual labor, which is time-consuming and error-prone. It cannot meet the text language requirements of highly professional and complex sentence structures, resulting in high construction safety risks.

Method used

An intelligent review system that integrates multiple technologies is designed, including a process normative review module, a text error correction module, a text content review module and an automatic text generation module. Through OCR signature recognition, dynamic domain dictionary, and latent Dirichlet distribution, Classifiers, Jaro-Winkler distance calculation and Web data mining and other technologies enable automated review of construction plans.

Benefits of technology

The content quality of the construction plan and the optimization of the review process have been improved. The first- and second-level error warning mechanisms ensure the standardization and accuracy of the review, reduce manual errors, and enhance construction safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114781997B
    Figure CN114781997B
Patent Text Reader

Abstract

This patent involves an intelligent review system and implementation method for special construction plans for dangerous and major projects, which belongs to the field of building plan review. It includes a process standardization review module, a text error correction module, a text content review module, and a text automatic generation module; first, the special construction plan is uploaded and preprocessed; then the process standardization review is conducted; then the special construction plan is automatically classified and the text error correction is conducted on the catalog and content text, and the missing items in the core chapters are judged; the compilation basis and the applicability of standard specifications are reviewed; and finally, a review report is generated; it can effectively reduce the time and omissions of manual review, and improve the review efficiency and review quality of construction plans for dangerous and major projects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an intelligent review system for a special construction plan for a dangerous or major project and an implementation method thereof, and belongs to the field of building plan review. Background Art

[0002] At present, the review of special construction plans for dangerous and major projects is mainly done manually, which has many disadvantages such as long time consumption and easy errors, which brings huge hidden dangers to construction safety. The existing document review system cannot meet the characteristics of the special construction plan for dangerous and major projects, which has strong professional language and complex sentence structure, and cannot meet the reviewers' in-depth review needs for the content of special construction plans. Summary of the invention

[0003] In view of the shortcomings of the existing technology, an intelligent review system for special construction plans for dangerous and major projects integrating multiple technologies is provided. From the four angles of process standardization review, text error correction, text content review, and text automatic generation, an intelligent review functional module for special construction plans for dangerous and major projects is constructed to solve the problems related to procedurality, content integrity, content pertinence and content applicability in the review of special construction plans, so as to achieve the purpose of improving the content quality of special construction plans and optimizing the review process.

[0004] In order to achieve the above technical purpose, the present invention provides an intelligent review system for special construction plans for dangerous and major projects, including a process standardization review module, a text error correction module, a text content review module, and a text automatic generation module. After completing the intelligent review of the special construction plan for dangerous and major projects through the above modules, a first-level error or a second-level error warning is made according to the preset. The first-level error warning indicates that the review content has obvious violations of industry regulations and errors will greatly affect the implementation of the plan, requiring the user to return and modify; the second-level error warning indicates that there are formal errors in the text, and the user is advised to modify it but it is not mandatory for the user;

[0005] The process normative review module includes the preparation procedure review unit and the approval procedure review unit:

[0006] The preparation procedure review unit is used to review whether the special construction plan meets the prescribed preparation process requirements: by extracting the signature of the preparer and the seal of the preparation unit in the input special construction plan, it is judged whether the preparer has signed and the preparation unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the preparer has signed for the technical person in charge of the construction unit and whether the preparation unit has sealed for the construction unit. If the match fails, a first-level error warning is issued;

[0007] The approval procedure review unit is used to review whether the special construction plan meets the requirements of the specified approval process: extract the signature of the reviewer and the seal of the approval unit in the input special construction plan, and judge whether the reviewer has signed and the approval unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the reviewer is the signature of the general manager and whether the approval unit is the seal of the supervision unit. If the match fails, a first-level error warning is also issued;

[0008] The text error correction module includes a text error correction unit and a directory error correction unit:

[0009] The text error correction unit is used to detect and correct typos in the special construction plan documents to ensure that the input special construction plan is written in a standardized manner; the text and format in the main text of the special construction plan are reviewed. If typos are detected, a secondary error warning is issued and standardized writing suggestions are provided;

[0010] The catalog error correction unit is used to detect and correct the titles and catalog numbers in the special construction plan document to avoid gaps in the catalog. By extracting the first, second, and third level title numbers and contents, and catalog contents in the special construction plan, it is checked whether the title numbers in the document are accurate and continuous, and whether the title content is consistent with the catalog content. If not, a second-level error warning is issued;

[0011] The text content review module includes the compilation basis review unit, the core chapter missing item review unit, and the standard specification applicability review unit:

[0012] The preparation basis review unit is used to check whether the preparation basis in the special construction plan document is reasonable; extract the paragraphs and table contents in the document, review whether the preparation basis is complete, and determine whether the special construction plan contains engineering drawings and standard specifications corresponding to the engineering category. If not, a first-level error warning is issued;

[0013] The standard specification applicability review unit is used to check whether the standard specifications in the special construction plan document are accurate; check whether the standard specifications in the full text are in line, and check whether the name and number of the standard specifications are accurate. If the standard specification is out of date or the name is wrong, the system will issue a first-level error warning and push the accurate standard specification;

[0014] The core chapter missing item review unit is used to check whether the main content of the special construction plan is complete: extract the first-level title in the special construction plan document, and review whether the title content presets the large chapter modules required by the regulations. Approximate expressions and disorderly descriptions are allowed. If a certain chapter module is not reflected in the first-level title of the reviewed document, it is considered that there are major missing items in the compilation content, and a first-level error warning is issued;

[0015] The text automatic generation module includes a one-click review result confirmation unit and a review report automatic generation unit:

[0016] One-click confirmation of review results unit, for users to modify / confirm the final review results: the review results are categorized and displayed on one page, and users can select single or all to confirm directly, or manually modify the review results and finally confirm all review results;

[0017] The review report automatic generation unit is used to generate and download the special construction plan review report; based on the review report template, the special construction plan review report PDF version is automatically generated for online reading and downloading and printing.

[0018] A review method of an intelligent review system for special construction plans for dangerous and major projects, the steps of which are as follows:

[0019] Step 1: Upload and pre-process the special construction plan; after the user uploads it, scan the title page of the special construction plan to be reviewed as an image, and store the text content of the special construction plan to be reviewed as text;

[0020] Step 2: Review of process standardization; perform optical character recognition (OCR) on the scanned image text to identify seals and signatures, extract the unit seals and personnel signatures in the special construction plan, use keywords to match the extracted unit names and personnel names to the preparation party and approval party, and review whether the official seals and personnel signatures in the plan text to be reviewed comply with the preparation process and approval process in the preset requirements;

[0021] Step 3: Automatically classify the special construction plan: Automatically classify the text according to different project types; use the trained latent Dirichlet allocation LDA classifier to classify the text of the special construction plan, so as to identify the category of the construction field to which it belongs;

[0022] Step 4: Correct the text in the text of the special construction plan: Since the special construction plan for dangerous and major projects is a vertical field of the construction industry, the text contains many specialized words, so the method of embedding a dynamic field dictionary is used to improve the accuracy of text correction;

[0023] Step 5: Correct the text in the catalog; extract the first-level, second-level, and third-level titles in the text, and determine whether the title numbers in the text are continuous and whether the title content is consistent with the catalog content;

[0024] Step 6: Determine whether the core chapters are missing or not; analyze the titles in the text separately, calculate the similarity of the short texts in the text using the Jaro-Winkler distance, and check whether the title content of the text corresponds to the preset requirements;

[0025] Step 7: Review the preparation basis; extract the chapter names in the special construction plan document as the preparation basis, and the corresponding paragraphs or table contents, including the engineering drawings in the special construction plan and the standard specifications corresponding to the engineering category. Compare the preparation basis in the reviewed plan with the user-defined preparation basis to check whether there are any omissions in the preparation basis;

[0026] Step 8: Review the applicability of standards and specifications; identify whether the format in the special construction plan document meets the requirements of the specifications; build a dynamic standard specification library and update it in real time to ensure that the latest standards and specifications are cited in the reviewed plan;

[0027] Step 9: Generate a review report; generate preliminary review results by category, and generate the final version of the special construction review report based on the special construction plan review report template and the review results confirmed by the user.

[0028] The process normative review steps for OCR signature recognition and keyword matching are as follows:

[0029] Step 1.1: Intercept the seal image in the scanned image text, convert the intercepted seal color image into HSV space, traverse the image, and obtain the HSV component of each pixel in the image; set the H component to (0,8), (160-180) for judgment, retain those that meet the conditions, and assign white to those that do not meet the conditions, retain the image, and obtain the red seal;

[0030] Step 1.2: Transform the coordinates of the misaligned official seal image and correct the text. Process the seal image information through Hough transformation, transform the image coordinates, and transform the plane coordinates into parameter coordinates to make the transformation result easier to identify and detect. Then, transform the seal image from rectangular coordinates to polar coordinates, correct the text, and get the unit name of the seal.

[0031] Step 1.3: Based on keyword matching, obtain the unit / personnel name in the title page information, and review whether the preparation and approval process is complete and correct; use BaiduOCR to recognize the unit name text information on the title page, combine the recognition text results and location information with keyword matching, and correspond the extracted unit name and personnel name to the preparation party and approval party, that is, through keyword matching, determine whether the recognized seal and signature are the construction unit or the supervision unit, and extract the corresponding unit and personnel signature information; for handwritten signatures, it is also necessary to use opencv to cut the signature image according to the recognition results, and finally recognize the text to obtain the unit name in the title page information, so as to determine whether the above content is consistent with the text recorded;

[0032] By embedding a dynamic domain dictionary, a deep learning text error correction model is established to improve the error correction of special construction plans. The specific steps are as follows:

[0033] Step 2.1: Build a domain dictionary: To avoid misdiagnosis of professional vocabulary, an extensible, user-updatable dynamic domain dictionary is built to improve the accuracy of typos review in construction plans;

[0034] Step 2.2: Error detection of the text of the construction plan: Use the pycorrector Chinese text error correction tool, combined with the Chinese word segmenter, to detect errors from both character and word granularity, integrate the suspected error results of these two granularities, find the wrong characters with similar pronunciation and appearance, and form a candidate set of suspected error positions;

[0035] Step 2.3: Correction of text errors: Traverse all the suspected error positions in the candidate set of suspected error positions, compare and sort all the candidate set results through the pinyin sound similarity feature, the stroke Wubi edit distance feature and the language model perplexity feature, and obtain the optimal correction word;

[0036] Step 2.4: Identification of new domain words contained in the text of the plan: Construct a Bi-directional Gated Recurrent Unit, or Bi-GRU, detection network to detect suspected error positions in the special construction plan text and output the probability of whether the suspected error position is a typo. Then, using the error rate as the weight, add the sum of the word embedding, position embedding, and segment embedding of each character and the weighted sum of the error probability to obtain the comprehensive weight of each suspected error position. Construct a BERT correction network, use the features output by the Bi-GRU detection network as the input of the BERT 12-layer Transformer module, and use the residual connection Embedding features of the output + Input part of the last layer as the final feature representation of each character. Finally, pass each word feature through a Softmax classifier, and output the character with the highest probability from the candidate word list as the correct character for each position. During training, the entire network is trained end-to-end, and the loss function is composed of the weights of the detection network and the correction network.

[0037] Step 2.5: Update the domain dictionary, update the new words identified in step 4 to the domain dictionary, merge them into the vocabulary of the pycorrector Chinese text error correction tool, help the Chinese word segmenter to segment words, improve the accuracy of identifying professional vocabulary in special construction plans for dangerous and major projects, and avoid misjudging them as typos.

[0038] The specific steps to determine whether the core chapters are missing or not based on the semantic similarity of the document titles are as follows:

[0039] Step 3.1: Intelligent extraction of title entries: Use the python-docx library to process the word solution document, distinguish the first-level title and the second-level title in the special format of the title directory, and thus extract the title directory in the reviewed text;

[0040] Step 3.2: Word-unit construction based on domain dictionary: In order to correct the error that the distance of the matching string is too large to calculate the similarity, the required sections of the standard recorded in the preset requirements and the title items extracted from the reviewed scheme are segmented into Chinese words to obtain two sets of word-unit sets S1 and S2;

[0041] Step 3.3: Construct a short text semantic similarity model based on Jaro-Winklerd: Using the Jaro-Winklerd algorithm, calculate the similarity between the word set S2 of the required chapters of the standard and the word set S1 of the title items in the reviewed scheme, and then record the average of all word similarities in S2 as the similarity Sim(S2) of S2 to S1;

[0042] Step 3.4: Determine missing items based on thresholds: Based on the data obtained from the training samples, the threshold of the similarity Sim (S2) is set to 0.6. The similarity score is divided into two levels. If the similarity ≥ 0.6, it indicates a match; if the similarity < 0.6, it indicates a mismatch. Entries that meet the similarity threshold are considered to meet the requirements of the specified core chapters, otherwise they are considered to lack the necessary chapter requirements.

[0043] Using Web data mining to update the standard specification library in real time, the specific steps of the standard specification applicability review through text similarity are as follows:

[0044] Step 4.1: Build a dynamic standard specification library: According to the different types of special construction plans, select applicable standard specifications and establish a preliminary standard specification library;

[0045] Step 4.2: Mining Web data: Use the request or urllib2 library to customize the request, use BeautifulSoup to parse the Industrial Standards Network webpage, locate specific HTML tags, and find the attribute content of the standard specification;

[0046] Step 4.3: Standard specification library update: according to the changed attributes of the standard specifications, update the standard specifications of different types;

[0047] Step 4.4: Identify and extract standard specifications from text: Construct extraction rules for standard specifications and build a rule-based information recognition and extraction model;

[0048] Step 4.5: Calculate text similarity based on the standard specification library: Use the Simhash text similarity detection algorithm, use the hash function to convert the keywords in the standard specification into a binary string, perform weighted calculation on the binary string to obtain a sequence value, then accumulate the sequence values ​​of the obtained keywords and reduce the dimension, and calculate the Simhash value through the formula;

[0049] Step 4.6: Review of the applicability of standards and specifications: If the Hamming distance of the obtained hash value is less than 3, the standard specification is judged to match the standard specification library, otherwise it does not match; the name accuracy of the matched standard specification is reviewed, that is, it is correct if it conforms to the current standard specification in the standard specification library, otherwise it is corrected, and the unmatched standard specification is pushed to the reviewer to assist in determining whether to add a new standard specification.

[0050] Beneficial effects:

[0051] The process standardization review technology based on OCR signature recognition and keyword matching effectively improves the standardization review requirements for the preparation and review procedures of special construction plans for dangerous and major projects;

[0052] The text error correction technology based on dynamic domain dictionary + deep learning improves the accuracy of text vocabulary error correction of special construction plans for dangerous and major projects by embedding dynamic domain dictionaries;

[0053] The content integrity review technology based on title text similarity calculation uses the title content in the text to perform distance-based similarity calculation to determine whether there are missing items in the core content of the special construction plan for dangerous and major projects, thus meeting the review needs for text content integrity.

[0054] The standard specification applicability review technology based on Web data mining and text similarity is used to match the standard specifications cited in the special construction plan for dangerous and major projects with the standard specifications in the industrial standards network to determine whether the standard specifications in the reviewed document are outdated and whether the names are accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a schematic diagram of the structure of the intelligent review system for special construction plans for dangerous and major projects of the present invention.

[0056] Figure 2 It is a flow chart of the intelligent review method for special construction plans for dangerous and major projects of the present invention. DETAILED DESCRIPTION

[0057] The embodiments of the present invention are further described below in conjunction with the accompanying drawings:

[0058] like Figure 1As shown, an intelligent review system for special construction plans for dangerous and major projects of the present invention is characterized by: comprising a process standardization review module, a text error correction module, a text content review module, and a text automatic generation module. After completing the intelligent review of the special construction plan for dangerous and major projects through the above modules, a first-level error or a second-level error warning is made according to the preset. The first-level error warning indicates that the review content has obvious violations of industry regulations and errors that will greatly affect the implementation of the plan, requiring the user to return and modify; the second-level error warning indicates that there are formal errors in the text, and the user is advised to modify it but is not required to do so.

[0059] The process normative review module includes the preparation procedure review unit and the approval procedure review unit:

[0060] The preparation procedure review unit is used to review whether the special construction plan meets the prescribed preparation process requirements: by extracting the signature of the preparer and the seal of the preparation unit in the input special construction plan, it is judged whether the preparer has signed and the preparation unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the preparer has signed for the technical person in charge of the construction unit and whether the preparation unit has sealed for the construction unit. If the match fails, a first-level error warning is issued;

[0061] The approval procedure review unit is used to review whether the special construction plan meets the requirements of the specified approval process: extract the signature of the reviewer and the seal of the approval unit in the input special construction plan, and judge whether the reviewer has signed and the approval unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the reviewer is the signature of the general manager and whether the approval unit is the seal of the supervision unit. If the match fails, a first-level error warning is also issued;

[0062] The text error correction module includes a text error correction unit and a directory error correction unit:

[0063] The text error correction unit is used to detect and correct typos in the special construction plan documents to ensure that the input special construction plan is written in a standardized manner; the text and format in the main text of the special construction plan are reviewed. If typos are detected, a secondary error warning is issued and standardized writing suggestions are provided;

[0064] The catalog error correction unit is used to detect and correct the titles and catalog numbers in the special construction plan document to avoid gaps in the catalog. By extracting the first, second, and third level title numbers and contents, and catalog contents in the special construction plan, it is checked whether the title numbers in the document are accurate and continuous, and whether the title content is consistent with the catalog content. If not, a second-level error warning is issued;

[0065] The text content review module includes the compilation basis review unit, the core chapter missing item review unit, and the standard specification applicability review unit:

[0066] The preparation basis review unit is used to check whether the preparation basis in the special construction plan document is reasonable; extract the paragraphs and table contents in the document, review whether the preparation basis is complete, and determine whether the special construction plan contains engineering drawings and standard specifications corresponding to the engineering category. If not, a first-level error warning is issued;

[0067] The standard specification applicability review unit is used to check whether the standard specifications in the special construction plan document are accurate; check whether the standard specifications in the full text are in line, and check whether the name and number of the standard specifications are accurate. If the standard specification is out of date or the name is wrong, the system will issue a first-level error warning and push the accurate standard specification;

[0068] The core chapter missing item review unit is used to check whether the main content of the special construction plan is complete: extract the first-level title in the special construction plan document, and review whether the title content presets the large chapter modules required by the regulations. Approximate expressions and disorderly descriptions are allowed. If a certain chapter module is not reflected in the first-level title of the reviewed document, it is considered that there are major missing items in the compilation content, and a first-level error warning is issued;

[0069] The text automatic generation module includes a one-click review result confirmation unit and a review report automatic generation unit:

[0070] One-click confirmation of review results unit, for users to modify / confirm the final review results: the review results are categorized and displayed on one page, and users can select single or all to confirm directly, or manually modify the review results and finally confirm all review results;

[0071] The review report automatic generation unit is used to generate and download the special construction plan review report; based on the review report template, the special construction plan review report PDF version is automatically generated for online reading and downloading and printing.

[0072] like Figure 2 As shown, a review method of the intelligent review system for special construction plans for dangerous and major projects according to claim 1, the steps are as follows:

[0073] Step 1: Upload and pre-process the special construction plan; after the user uploads it, scan the title page of the special construction plan to be reviewed as an image, and store the text content of the special construction plan to be reviewed as text;

[0074] Step 2: Review of process standardization; perform optical character recognition (OCR) on the scanned image text to identify seals and signatures, extract the unit seals and personnel signatures in the special construction plan, use keywords to match the extracted unit names and personnel names to the preparation party and approval party, and review whether the official seals and personnel signatures in the plan text to be reviewed comply with the preparation process and approval process in the preset requirements;

[0075] Step 3: Automatically classify the special construction plan: Automatically classify the text according to different project types; use the trained latent Dirichlet allocation LDA classifier to classify the text of the special construction plan, so as to identify the category of the construction field to which it belongs;

[0076] Step 4: Correct the text in the text of the special construction plan: Since the special construction plan for dangerous and major projects is a vertical field of the construction industry, the text contains many specialized words, so the method of embedding a dynamic field dictionary is used to improve the accuracy of text correction;

[0077] Step 5: Correct the text in the catalog; extract the first-level, second-level, and third-level titles in the text, and determine whether the title numbers in the text are continuous and whether the title content is consistent with the catalog content;

[0078] Step 6: Determine whether the core chapters are missing or not; analyze the titles in the text separately, calculate the similarity of the short texts in the text using the Jaro-Winkler distance, and check whether the title content of the text corresponds to the preset requirements;

[0079] Step 7: Review the preparation basis; extract the chapter names in the special construction plan document as the preparation basis, and the corresponding paragraphs or table contents, including the engineering drawings in the special construction plan and the standard specifications corresponding to the engineering category. Compare the preparation basis in the reviewed plan with the user-defined preparation basis to check whether there are any omissions in the preparation basis;

[0080] Step 8: Review the applicability of standards and specifications; identify whether the format in the special construction plan document meets the requirements of the specifications; build a dynamic standard specification library and update it in real time to ensure that the latest standards and specifications are cited in the reviewed plan;

[0081] Step 9: Generate a review report; generate preliminary review results by category, and generate the final version of the special construction review report based on the special construction plan review report template and the review results confirmed by the user.

[0082] The process normative review steps for OCR signature recognition and keyword matching are as follows:

[0083] Step 1.1: Intercept the seal image in the scanned image text, convert the intercepted seal color image into HSV space, traverse the image, and obtain the HSV component of each pixel in the image; set the H component to (0,8), (160-180) for judgment, retain those that meet the conditions, and assign white to those that do not meet the conditions, retain the image, and obtain the red seal;

[0084] Step 1.2: Transform the coordinates of the misaligned official seal image and correct the text. Process the seal image information through Hough transformation, transform the image coordinates, and transform the plane coordinates into parameter coordinates to make the transformation result easier to identify and detect. Then, transform the seal image from rectangular coordinates to polar coordinates, correct the text, and get the unit name of the seal.

[0085] Step 1.3: Based on keyword matching, obtain the unit / personnel name in the title page information, and review whether the preparation and approval process is complete and correct; use BaiduOCR to recognize the unit name text information on the title page, combine the recognition text results and location information with keyword matching, and correspond the extracted unit name and personnel name to the preparation party and approval party, that is, through keyword matching, determine whether the recognized seal and signature are the construction unit or the supervision unit, and extract the corresponding unit and personnel signature information; for handwritten signatures, it is also necessary to use opencv to cut the signature image according to the recognition results, and finally recognize the text to obtain the unit name in the title page information, so as to determine whether the above content is consistent with the text recorded;

[0086] By embedding a dynamic domain dictionary, a deep learning text error correction model is established to improve the error correction of special construction plans. The specific steps are as follows:

[0087] Step 2.1: Build a domain dictionary: To avoid misdiagnosis of professional vocabulary, an extensible, user-updatable dynamic domain dictionary is built to improve the accuracy of typos review in construction plans;

[0088] Step 2.2: Error detection of the text of the construction plan: Use the pycorrector Chinese text error correction tool, combined with the Chinese word segmenter, to detect errors from both character and word granularity, integrate the suspected error results of these two granularities, find the wrong characters with similar pronunciation and appearance, and form a candidate set of suspected error positions;

[0089] Step 2.3: Correction of text errors: Traverse all the suspected error positions in the candidate set of suspected error positions, compare and sort all the candidate set results through the pinyin sound similarity feature, the stroke Wubi edit distance feature and the language model perplexity feature, and obtain the optimal correction word;

[0090] Step 2.4: Identification of new domain words contained in the text of the plan: Construct a Bi-directional Gated Recurrent Unit, or Bi-GRU, detection network to detect suspected error positions in the special construction plan text and output the probability of whether the suspected error position is a typo. Then, using the error rate as the weight, add the sum of the word embedding, position embedding, and segment embedding of each character and the weighted sum of the error probability to obtain the comprehensive weight of each suspected error position. Construct a BERT (Bidirectional Encoder Representation from Transformers) correction network, use the features output by the Bi-GRU detection network as the input of the BERT 12-layer Transformer module, and use the residual connection Embedding features of the output + Input part of the last layer as the final feature representation of each character. Finally, pass each word feature through a Softmax classifier, and output the character with the highest probability from the candidate word list as the correct character for each position. During training, the entire network is trained end-to-end, and the loss function is composed of the weights of the detection network and the correction network.

[0091] Step 2.5: Update the domain dictionary, update the new words identified in step 4 to the domain dictionary, merge them into the vocabulary of the pycorrector Chinese text error correction tool, help the Chinese word segmenter to segment words, improve the accuracy of identifying professional vocabulary in special construction plans for dangerous and major projects, and avoid misjudging them as typos.

[0092] The specific steps to determine whether the core chapters are missing or not based on the semantic similarity of the document titles are as follows:

[0093] Step 3.1: Intelligent extraction of title entries: Use the python-docx library to process the word solution document, distinguish the first-level title and the second-level title in the special format of the title directory, and thus extract the title directory in the reviewed text;

[0094] Step 3.2: Word-unit construction based on domain dictionary: In order to correct the error that the distance of the matching string is too large to calculate the similarity, the required sections of the standard recorded in the preset requirements and the title items extracted from the reviewed scheme are segmented into Chinese words to obtain two sets of word-unit sets S1 and S2;

[0095] Step 3.3: Construct a short text semantic similarity model based on Jaro-Winklerd: Using the Jaro-Winklerd algorithm, calculate the similarity between the word set S2 of the required chapters of the standard and the word set S1 of the title items in the reviewed scheme, and then record the average of all word similarities in S2 as the similarity Sim(S2) of S2 to S1;

[0096] Step 3.4: Determine missing items based on thresholds: Based on the data obtained from the training samples, the threshold of the similarity Sim (S2) is set to 0.6. The similarity score is divided into two levels. If the similarity ≥ 0.6, it indicates a match; if the similarity < 0.6, it indicates a mismatch. Entries that meet the similarity threshold are considered to meet the requirements of the specified core chapters, otherwise they are considered to lack the necessary chapter requirements.

[0097] 6. According to the review method of claim 2, it is characterized by using Web data mining to update the standard specification library in real time, and the specific steps of reviewing the applicability of the standard specification through text similarity are:

[0098] Step 4.1: Build a dynamic standard specification library: According to the different types of special construction plans, select applicable standard specifications and establish a preliminary standard specification library;

[0099] Step 4.2: Mining Web data: Use the request or urllib2 library to customize the request, use BeautifulSoup to parse the Industrial Standards Network webpage, locate specific HTML tags, and find the attribute content of the standard specification;

[0100] Step 4.3: Standard specification library update: according to the changed attributes of the standard specifications, update the standard specifications of different types;

[0101] Step 4.4: Identify and extract standard specifications from text: Construct extraction rules for standard specifications and build a rule-based information recognition and extraction model;

[0102] Step 4.5: Calculate text similarity based on the standard specification library: Use the Simhash text similarity detection algorithm, use the hash function to convert the keywords in the standard specification into a binary string, perform weighted calculation on the binary string to obtain a sequence value, then accumulate the sequence values ​​of the obtained keywords and reduce the dimension, and calculate the Simhash value through the formula;

[0103] Step 4.6: Review of the applicability of standards and specifications: If the Hamming distance of the obtained hash value is less than 3, the standard specification is judged to match the standard specification library, otherwise it does not match; the name accuracy of the matched standard specification is reviewed, that is, it is correct if it conforms to the current standard specification in the standard specification library, otherwise it is corrected, and the unmatched standard specification is pushed to the reviewer to assist in determining whether to add a new standard specification.

Claims

1. An intelligent review system for special construction plans for dangerous and major projects, characterized by: It includes a process normative review module, a text error correction module, a text content review module, and a text automatic generation module. After completing the intelligent review of the special construction plan for dangerous and major projects through the above modules, a first-level error or a second-level error warning is made according to the preset. The first-level error warning indicates that the review content has obvious violations of industry regulations and errors will greatly affect the implementation of the plan, requiring the user to return and modify it; the second-level error warning indicates that there are formal errors in the text, and the user is advised to modify it but it is not mandatory for the user; The process normative review module includes the preparation procedure review unit and the approval procedure review unit: The preparation procedure review unit is used to review whether the special construction plan meets the prescribed preparation process requirements: by extracting the signature of the preparer and the seal of the preparation unit in the input special construction plan, it is judged whether the preparer has signed and the preparation unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the preparer has signed for the technical person in charge of the construction unit and whether the preparation unit has sealed for the construction unit. If the match fails, a first-level error warning is issued; The approval procedure review unit is used to review whether the special construction plan meets the requirements of the specified approval process: extract the signature of the reviewer and the seal of the approval unit in the input special construction plan, and judge whether the reviewer has signed and the approval unit has sealed. If the signature and seal are not detected, it is considered that the process is missing and a first-level error warning is issued; if the signature and seal are detected, it is checked whether the reviewer is the signature of the general manager and whether the approval unit is the seal of the supervision unit. If the match fails, a first-level error warning is also issued; The text error correction module includes a text error correction unit and a directory error correction unit: The text error correction unit is used to detect and correct typos in the special construction plan documents to ensure that the input special construction plan is written in a standardized manner; the text and format in the main text of the special construction plan are reviewed. If typos are detected, a secondary error warning is issued and standardized writing suggestions are provided; The catalog error correction unit is used to detect and correct the titles and catalog numbers in the special construction plan document to avoid gaps in the catalog. By extracting the first, second, and third level title numbers and contents, and catalog contents in the special construction plan, it is checked whether the title numbers in the document are accurate and continuous, and whether the title content is consistent with the catalog content. If not, a second-level error warning is issued; The text content review module includes the compilation basis review unit, the core chapter missing item review unit, and the standard specification applicability review unit: The preparation basis review unit is used to check whether the preparation basis in the special construction plan document is reasonable; extract the paragraphs and table contents in the document, review whether the preparation basis is complete, and determine whether the special construction plan contains engineering drawings and standard specifications corresponding to the engineering category. If not, a first-level error warning is issued; The standard specification applicability review unit is used to check whether the standard specifications in the special construction plan document are accurate; check whether the standard specifications in the full text are in line, and check whether the name and number of the standard specifications are accurate. If the standard specification is out of date or the name is wrong, the system will issue a first-level error warning and push the accurate standard specification; The core chapter missing item review unit is used to check whether the main content of the special construction plan is complete: extract the first-level title in the special construction plan document, and review whether the title content presets the large chapter modules required by the regulations. Approximate expressions and disorderly descriptions are allowed. If a certain chapter module is not reflected in the first-level title of the reviewed document, it is considered that there are major missing items in the compilation content, and a first-level error warning is issued; The text automatic generation module includes a one-click review result confirmation unit and a review report automatic generation unit: One-click confirmation of review results unit, for users to modify / confirm the final review results: the review results are categorized and displayed on one page, and users can select single or all to confirm directly, or manually modify the review results and finally confirm all review results; The review report automatic generation unit is used to generate and download the special construction plan review report; based on the review report template, the special construction plan review report PDF version is automatically generated for online reading and downloading and printing.

2. A review method according to the intelligent review system for special construction plans for dangerous and major projects according to claim 1, characterized in that Here are the steps: Step 1: Upload and pre-process the special construction plan; after the user uploads it, scan the title page of the special construction plan to be reviewed as an image, and store the text content of the special construction plan to be reviewed as text; Step 2: Review of process standardization; perform optical character recognition (OCR) on the scanned image text to identify seals and signatures, extract the unit seals and personnel signatures in the special construction plan, use keywords to match the extracted unit names and personnel names to the preparation party and approval party, and review whether the official seals and personnel signatures in the plan text to be reviewed comply with the preparation process and approval process in the preset requirements; Step 3: Automatically classify the special construction plan: Automatically classify the text according to different project types; use the trained latent Dirichlet allocation LDA classifier to classify the text of the special construction plan, so as to identify the category of the construction field to which it belongs; Step 4: Correct the text in the text of the special construction plan: Since the special construction plan for dangerous and major projects is a vertical field of the construction industry, the text contains many specialized words, so the method of embedding a dynamic field dictionary is used to improve the accuracy of text correction; Step 5: Correct the text in the catalog; extract the first-level, second-level, and third-level titles in the text, and determine whether the title numbers in the text are continuous and whether the title content is consistent with the catalog content; Step 6: Determine whether the core chapters are missing or not; analyze the titles in the text separately, calculate the similarity of the short texts in the text using the Jaro-Winkler distance, and check whether the title content of the text corresponds to the preset requirements; Step 7: Review the preparation basis; extract the chapter names in the special construction plan document as the preparation basis, and the corresponding paragraphs or table contents, including the engineering drawings in the special construction plan and the standard specifications corresponding to the engineering category. Compare the preparation basis in the reviewed plan with the user-defined preparation basis to check whether there are any omissions in the preparation basis; Step 8: Review the applicability of standards and specifications; identify whether the format in the special construction plan document meets the requirements of the specifications; build a dynamic standard specification library and update it in real time to ensure that the latest standards and specifications are cited in the reviewed plan; Step 9: Generate review report; Generate preliminary review results by category, and generate the final version of the special construction review report based on the special construction plan review report template and the review results confirmed by the user.

3. According to the examination method according to claim 2, The characteristic of this is that the process normative review steps for OCR signature recognition and keyword matching are as follows: Step 1.1: Intercept the seal image in the scanned image text, convert the intercepted seal color image into HSV space, traverse the image, and obtain the HSV component of each pixel in the image; set the H component to (0,8), (160-180) for judgment, retain those that meet the conditions, and assign white values ​​to those that do not meet the conditions, retain the image, and obtain the red seal; Step 1.2: Transform the coordinates of the misaligned official seal image and correct the text. Process the seal image information through Hough transformation, transform the image coordinates, and transform the plane coordinates into parameter coordinates to make the transformation result easier to identify and detect. Then, transform the seal image from rectangular coordinates to polar coordinates, correct the text, and get the unit name of the seal. Step 1.3: Based on keyword matching, obtain the unit / personnel name in the title page information and review whether the preparation and approval process is complete and correct; Use baiduOCR to recognize the text information of the unit name on the title page, combine the recognized text results and location information with keyword matching, and correspond the extracted unit name and personnel name to the compiler and approver. That is, through keyword matching, determine whether the recognized seal and signature are from the construction unit or the supervision unit, and extract the corresponding unit and personnel signature information; for handwritten signatures, it is also necessary to use opencv to cut the signature image according to the recognition results, and finally recognize the text to obtain the unit name in the title page information, so as to determine whether the above content is consistent with the text recorded.

4. The examination method according to claim 2, characterized in that By embedding a dynamic domain dictionary, a deep learning text error correction model is established to improve the error correction of special construction plans. The specific steps are as follows: Step 2.1: Build a domain dictionary: To avoid misdiagnosis of professional vocabulary, an extensible, user-updatable dynamic domain dictionary is built to improve the accuracy of typos review in construction plans; Step 2.2: Error detection of the text of the construction plan: Use the pycorrector Chinese text error correction tool, combined with the Chinese word segmenter, to detect errors from both character and word granularity, integrate the suspected error results of these two granularities, find the wrong characters with similar pronunciation and appearance, and form a candidate set of suspected error positions; Step 2.3: Correction of text errors: Traverse all the suspected error positions in the candidate set of suspected error positions, compare and sort all the candidate set results through the pinyin sound similarity feature, the stroke Wubi edit distance feature and the language model perplexity feature, and obtain the optimal correction word; Step 2.4: Identification of new words in the text of the plan: Build a Bi-GRU detection network to detect suspected error positions in the special construction plan text and output the probability of whether the suspected error position is a typo. Then, using the error rate as the weight, add the sum of the word embedding, position embedding and segment embedding of each character and the weighted sum of the error probability to obtain the comprehensive weight of each suspected error position. Build a BERT correction network, use the features output by the Bi-GRU detection network as the input of the BERT 12-layer Transformer module, and use the residual connection Embedding features of the output of the last layer + the input part as the final feature representation of each character. Finally, pass each word feature through a Softmax classifier, and output the character with the highest probability from the candidate word list as the correct character for each position. During training, the entire network is trained end-to-end, and the loss function is composed of the weights of the detection network and the correction network; Step 2.5: Update the domain dictionary, update the new words identified in step 4 to the domain dictionary, merge them into the vocabulary of the pycorrector Chinese text error correction tool, help the Chinese word segmenter to segment words, improve the accuracy of identifying professional vocabulary in special construction plans for dangerous and major projects, and avoid misjudging them as typos.

5. The examination method according to claim 2, characterized in that The specific steps to determine whether the core chapters are missing or not based on the semantic similarity of the document titles are as follows: Step 3.1: Intelligent extraction of title entries: Use the python-docx library to process the word solution document, distinguish the first-level title and the second-level title in the special format of the title directory, and thus extract the title directory in the reviewed text; Step 3.2: Word-unit construction based on domain dictionary: In order to correct the error that the distance of the matching string is too large to calculate the similarity, the required sections of the standard recorded in the preset requirements and the title items extracted from the reviewed scheme are segmented into Chinese words to obtain two sets of word-unit sets S1 and S2; Step 3.3: Construct a short text semantic similarity model based on Jaro-Winklerd: Using the Jaro-Winklerd algorithm, calculate the similarity between the word set S2 of the required chapters of the standard and the word set S1 of the title items in the reviewed scheme, and then record the average of all word similarities in S2 as the similarity Sim(S2) of S2 to S1; Step 3.4: Determine missing items based on thresholds: Based on the data obtained from the training samples, the threshold of the similarity Sim (S2) is set to 0.

6. The similarity score is divided into two levels. If the similarity ≥ 0.6, it indicates a match; if the similarity < 0.6, it indicates a mismatch. Entries that meet the similarity threshold are considered to meet the requirements of the specified core chapters, otherwise they are considered to lack the necessary chapter requirements.

6. The examination method according to claim 2, characterized in that Using Web data mining to update the standard specification library in real time, the specific steps of the standard specification applicability review through text similarity are as follows: Step 4.1: Build a dynamic standard specification library: According to the different types of special construction plans, select applicable standard specifications and establish a preliminary standard specification library; Step 4.2: Mining Web data: Use the request or urllib2 library to customize the request, use BeautifulSoup to parse the Industrial Standards Network webpage, locate specific HTML tags, and find the attribute content of the standard specification; Step 4.3: Standard specification library update: according to the changed attributes of the standard specifications, update the standard specifications of different types; Step 4.4: Identify and extract standard specifications from text: Construct extraction rules for standard specifications and build a rule-based information recognition and extraction model; Step 4.5: Calculate text similarity based on the standard specification library: Use the Simhash text similarity detection algorithm, use the hash function to convert the keywords in the standard specification into a binary string, perform weighted calculation on the binary string to obtain a sequence value, then accumulate the sequence values ​​of the obtained keywords and reduce the dimension, and calculate the Simhash value through the formula; Step 4.6: Standard specification applicability review: If the Hamming distance of the obtained hash value is less than 3, the standard specification is judged to match the standard specification library, otherwise it does not match; the name accuracy of the matched standard specification is reviewed, that is, it is correct if it conforms to the current standard specification in the standard specification library, otherwise it is corrected, and the unmatched standard specification is pushed to the reviewer to assist in determining whether to add a new standard specification.