In order to assist in the development of safety hazard management measures for hydropower project construction,the safety hazard texts accumulated during the construction inspection of hydropower projects were collected. Entities and relationships from the semi-structured safety hazard texts were extracted using Python. A knowledge graph of safety hazards was constructed and imported into the neo4j graph database for storage. A Sentence-Bidirectional Encoder Representations from Transformer (BERT) model based on bidirectional coding was built for the semantic matching of construction hazards in hydropower projects. The deep semantic features of target hazards and historical hazards were learned,and the historical safety hazards most similar to target hazards were recommended. Using the Cypher query statement,the governance measures corresponding to the historical security risk were searched. The results show that the Sentence-BERT model has an accuracy of 96.48% in identifying architecturally and historically similar safety hazards,which is significantly better than BERT,Word2vec-Deep Semantic Similarity Model (Word2vec-DSSM),and BERT-DSSM models. Among 150 randomly selected target safety hazard data,the accuracy rate of testing historical similar safety hazard suggestions reaches 92%,and the retrieval effect of hazard management measures is demonstrated through the hazard knowledge graph,which verifies the applicability and effectiveness of the method.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |