Search label generation system and search system
The search label generation system effectively groups and labels disaster information using dependency analysis, addressing inefficiencies in large data sets to enhance safety predictions at construction sites.
Patent Information
- Application Number
- JP2021070521
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-19
- Publication Date
- 2024-11-27
- Estimated Expiration
- 2041-04-19
AI Technical Summary
Existing systems for searching disaster information at construction sites struggle with large data volumes, leading to inefficient and inconvenient search results that hinder effective utilization for safety improvements.
A search label generation system that utilizes dependency analysis and pre-stored extraction expressions to group disaster information into meaningful labels, allowing for targeted and efficient retrieval of relevant data.
Enables appropriate and reliable output of disaster information, facilitating better prediction of work hazards by grouping data based on cause analysis, thereby enhancing safety management.
Smart Images

Figure 0007590735000001 
Figure 0007590735000002 
Figure 0007590735000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a search label generation system that generates labels used when searching for disaster information, which is text related to a disaster, and a search system that uses the labels. [Background technology]
[0002] It has been proposed to utilize information on disasters at construction sites to improve the safety of future work. For example, Patent Document 1 describes a system that stores information on disasters that have occurred in the past and displays the information in response to input data for work to be carried out in the future. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 6-44211 Summary of the Invention [Problem to be solved by the invention]
[0004] Conventionally, at construction sites, for example, cases of accidents such as industrial accidents (accidents) are compiled into a database. The data for each case is, for example, text (sentences) such as the circumstances under which the accident occurred, the details of the accident, and the cause of the accident. It is possible to use this database using a system such as that shown in Patent Document 1. For example, it is possible to input search keywords or text and use them to search for data stored in the database. However, when the amount of data stored in the database is enormous, it is conceivable that the amount of data obtained by the search will also be large. In such cases, the search results that are output are not necessarily convenient for the user, and as a result, there is a risk that they may not be appropriately used to ensure the safety of future work.
[0005] The present invention has been made in consideration of the above, and has an object to provide a search label generation system and a search system that are capable of appropriately outputting disaster information related to a disaster obtained by a search. [Means for solving the problem]
[0006] In order to achieve the above object, the search label generation system of the present invention is a search label generation system that generates labels used when searching for disaster information, which is text related to a disaster, and includes: disaster information acquisition means for acquiring multiple pieces of disaster information to be searched; extraction means for performing dependency analysis on each piece of disaster information acquired by the disaster information acquisition means, and extracting generation text to be used for generating labels from the disaster information using the result of the dependency analysis and pre-stored extraction expressions; and label generation means for grouping the multiple pieces of disaster information based on the generation text of each piece of disaster information extracted by the extraction means, and generating a label corresponding to each group.
[0007] In the search label generation system according to the present invention, the result of the dependency analysis and pre-stored extraction expressions are used to extract generation text, which is then used to group disaster information. As a result, disaster information is appropriately grouped, and labels corresponding to each group are generated. By using the generated labels, disaster information obtained by search is appropriately output. In other words, the search label generation system according to the present invention can appropriately output disaster information related to a disaster obtained by search.
[0008] The extraction means extracts the beginning of a sentence of a text to be generated that is stored in advance. Included in the clause Extraction expressions, the end of the generated text to be extracted Included in the clause Extraction expressions and text to be generated Included in the clause The generation text may be extracted using any one of the extraction expressions. With this configuration, the generation text can be extracted appropriately and reliably. As a result, the disaster information related to the disaster obtained by the search can be output appropriately and reliably.
[0009] The extraction means divides the text for each piece of disaster information acquired by the disaster information acquisition means using a division expression stored in advance, and performs dependency analysis on any of the divided pieces of disaster information. Then, from the divided disaster information that has been subjected to dependency analysis, a generation text is extracted that is composed of a phrase including an extraction expression and consecutive phrases having a dependency relationship with the phrase. According to this configuration, it is possible to extract generation text appropriately and reliably, and as a result, it is possible to output disaster information related to a disaster obtained by a search appropriately and reliably.
[0010] Further, a search system according to the present invention includes the above-mentioned search label generation system. Equipped with A search system, comprising: A storage means for storing disaster information of each group and a label generated by the search label generation system in association with each other; Enter search information to be used in the search, and search for disaster information using the search information you entered. The hits were matched to disaster information. A search method that outputs search results according to labels Furthermore According to this configuration, for example, it is possible to search for disaster information related to work that is about to be performed, and it is also possible to appropriately output disaster information related to the disaster obtained by the search.
[0011] The search means inputs a search text as search information, performs morphological analysis on the input search text to extract morphemes, and calculates the frequency of occurrence of the extracted morphemes in disaster information. The morphemes to be used for the search are determined from the Search for disaster information using morphemes cormorant. The search means may change the number of morphemes used in the search according to the frequency of occurrence based on the result of the search for disaster information using the morphemes, and search for the disaster information again. According to these configurations, for example, it is possible to output a number of pieces of disaster information that can be appropriately recognized by the user as a search result. Effect of the Invention
[0012] According to the present invention, disaster information obtained by a search can be appropriately output. [Brief description of the drawings]
[0013] [Figure 1]1 is a diagram showing a configuration of a search label generation system and a disaster information search system which is a search system according to an embodiment of the present invention. [Diagram 2] 11 is a table showing examples of division expressions used to divide disaster information. [Diagram 3] 11 is a table showing examples of unnecessary expressions used when dividing disaster information. [Figure 4] FIG. 13 is a diagram showing an example of a result of dependency analysis. [Diagram 5] FIG. 13 is a diagram showing examples of clue expressions used to extract a cause sentence. [Figure 6] 11 is a table showing examples of cause sentences to be extracted and cause sentences to be used as cause labels of groups. [Figure 7] 1 is a table showing the frequency of occurrence in disaster information counted for each morpheme (word). [Figure 8] FIG. 13 is a diagram showing an example of a display used for searching for disaster information. [Figure 9] 11 is a table showing an example of search information that has been subjected to morphological analysis. [Figure 10] 1 is a flowchart showing a process executed before a search for disaster information in a disaster information search system, which is a search label generation system and a search system according to an embodiment of the present invention. [Figure 11] 1 is a flowchart showing a process executed when searching for disaster information in a disaster information search system, which is a search label generation system and a search system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment of a search label generating system according to the present invention will be described in detail with reference to the drawings. In the description of the drawings, the same elements are given the same reference numerals and duplicated explanations will be omitted.
[0015] FIG. 1 shows a disaster information search system 10, which is a search label generation system and a search system according to this embodiment. The disaster information search system 10 is a system (device) for searching disaster information (disaster data, disaster text), which is text related to disasters. The disaster information is, for example, text (character strings) describing past disasters. The disaster information search system 10 is used, for example, by a safety manager or instructor in a construction company. In this case, the disaster information is information related to past cases of work-related accidents (accidents) at construction sites. Specifically, the disaster information is a sentence (text) that explains, for each disaster case, the work being carried out when the disaster occurred, the cause of the disaster, the details of the disaster, etc. The disaster information is, for example, created by a safety manager at a construction site after the disaster occurs. Conventionally created disaster information may be used as the disaster information in this embodiment.
[0016] The disaster information search system 10 searches for work that is about to be done on a construction site, and by referencing disaster information related to the same or similar work, it predicts hazards in the work. Note that the disaster information to be searched does not necessarily have to be related to past industrial accidents at construction sites, and may be related to any type of disaster. Furthermore, the disaster information search system 10 may be used at places other than construction sites depending on the content of the disaster information, etc.
[0017] The disaster information search system 10 is also a search label generation system that generates labels used in searching for disaster information in advance, that is, by the time the search for disaster information is performed. When the number of disaster information to be searched is huge, the number of disaster information obtained by the search is also likely to be large. In such a case, simply presenting a large amount of disaster information obtained by the search to the user may not necessarily be effective for predicting dangers during work, or may take a long time to refer to. The labels generated by the disaster information search system 10 are intended to appropriately output disaster information related to disasters obtained by the search. The disaster information search system 10 searches for disaster information corresponding to the generated labels. The labels will be described in more detail later.
[0018] Specifically, the disaster information search system 10 is configured with a server device, which is a computer including hardware such as a CPU (Central Processing Unit) and a memory. Each function of the disaster information search system 10, which will be described later, is realized by these components operating through programs, etc. The disaster information search system 10 may be realized by one computer, or may be realized by a computer system configured by connecting a plurality of computers to each other via a network.
[0019] The disaster information search system 10 can transmit and receive information between the terminal 20 and the disaster information database 30 via a network such as the Internet. The terminal 20 is used by a user such as a safety manager or instructor who performs a search using the disaster information search system 10. The terminal 20 makes a search request to the disaster information search system 10 and receives search results from the disaster information search system 10. The terminal 20 is a computer such as a PC (personal computer), a tablet terminal, or a smartphone.
[0020] The disaster information database 30 is a database that stores disaster information to be searched by the disaster information search system 10. For example, the disaster information database 30 is managed by a construction company or a public institution. There may be multiple disaster information databases 30 for each managed entity (for example, the above-mentioned construction company or public institution). The disaster information database 30 is a computer such as a server device. The disaster information database 30 (functions of the disaster information database 30) may be included in the disaster information search system 10.
[0021] Next, functions of the disaster information search system 10 according to this embodiment will be described. As shown in Fig. 1, the disaster information search system 10 includes a disaster information acquisition unit 11, an extraction unit 12, a label generation unit 13, and a search unit 14. The disaster information acquisition unit 11, the extraction unit 12, and the label generation unit 13 correspond to a search label generation system. The search unit 14 corresponds to a search system.
[0022] The disaster information acquisition unit 11 is a disaster information acquisition means for acquiring multiple pieces of disaster information to be searched. For example, the disaster information acquisition unit 11 acquires disaster information from the disaster information database 30. If the disaster information database 30 publishes disaster information on the Web, the disaster information acquisition unit 11 may acquire the disaster information by performing Web scraping. Alternatively, disaster information acquired from the disaster information database 30 may be stored in advance in the disaster information search system 10, and the disaster information acquisition unit 11 may acquire the stored disaster information. Furthermore, the disaster information acquisition unit 11 may acquire disaster information by a method other than the above.
[0023] The disaster information acquired by the disaster information acquisition unit 11 can be identified for each piece of disaster information. When the disaster information is acquired from a plurality of disaster information databases 30, it may be possible to identify which disaster information database 30 the disaster information was acquired from. Each piece of disaster information may be associated with metadata related to the disaster information, such as the date of occurrence of the disaster, the type of disaster, the case title, and damage caused by the disaster (e.g., death or the period required for treatment). The disaster information and the associated metadata may be acquired as, for example, CSV (Comma-Separated Values) data, or may be data in another format. The disaster information acquisition unit 11 outputs the acquired disaster information to the extraction unit 12.
[0024] The extraction unit 12 is an extraction means that performs dependency analysis on each disaster information acquired by the disaster information acquisition unit 11, and extracts generation text to be used for generating labels from the disaster information using the result of the dependency analysis and pre-stored extraction expressions. The extraction unit 12 may extract generation text using any of the pre-stored extraction expressions corresponding to the beginning of the generation text to be extracted, the extraction expressions corresponding to the end of the generation text to be extracted, and the extraction expressions corresponding to the middle of the generation text to be extracted. The extraction unit 12 may use the pre-stored division expressions to divide text for each disaster information acquired by the disaster information acquisition unit 11, and perform dependency analysis on any of the divided disaster information.
[0025] The extraction unit 12 extracts, from the disaster information, a cause sentence indicating the cause of the disaster related to the disaster information as a generation text. As described above, the disaster information usually includes a portion indicating the cause of the disaster. The extraction unit 12 extracts the portion as a cause sentence.
[0026] For example, the extraction unit 12 extracts a cause sentence, which is a text for generation, as follows. The extraction unit 12 inputs disaster information from the disaster information acquisition unit 11. The disaster information usually includes a part in the first half that indicates the work being done when the disaster occurred, and a part in the second half that indicates the disaster situation. For example, if the disaster information is a text of "While assembling scaffolding, he lost his footing and fell 3 meters below" (Disaster Information Example 1), the first half of the text, "While assembling scaffolding," indicates the work content, and the second half of the text, "He lost his footing and fell 3 meters below," indicates the disaster situation. If the disaster information is a text of "During tunnel construction, a rockfall occurred while excavating the tunnel" (Disaster Information Example 2), the first half of the text, "During tunnel construction, a rockfall occurred while excavating the tunnel," indicates the work content, and the second half of the text, "He lost his footing and fell 3 meters below," indicates the disaster situation. The part indicating the cause of the disaster is included in the part indicating the disaster situation.
[0027] First, the extraction unit 12 divides each piece of input disaster information into a part indicating the work content and a part indicating the disaster situation. The extraction unit 12 pre-stores, as a division expression, a division expression that appears at the boundary between the part indicating the work content and the part indicating the disaster situation. The division expression is an expression that appears at the end of the part indicating the work content, i.e., the first half to be divided. For example, the extraction unit 12 pre-stores, as a division dictionary, a plurality of division expressions as shown in FIG. 2.
[0028] The extraction unit 12 compares the input disaster information with the division expressions stored in advance to determine the division expressions included in the disaster information. The extraction unit 12 divides the disaster information into two parts, with the part up to the division expression included in the disaster information being the first half and the part thereafter being the second half. Note that if a priority is set in advance for the division expressions and multiple division expressions are included in the disaster information, the division may be performed using the division expressions according to the priority.
[0029] The extraction unit 12 regards the divided first half as a part indicating the work content, and the divided second half as a part indicating the disaster situation. The extraction unit 12 may also delete unnecessary expressions from the divided second half as follows to determine the part indicating the disaster situation. Unnecessary expressions are expressions that are inappropriate for the beginning of a sentence, such as conjunctions and punctuation marks. The extraction unit 12 stores a plurality of unnecessary expressions as shown in FIG. 3 in advance as a dictionary. The extraction unit 12 compares the divided second half with unnecessary expressions stored in advance to determine whether an unnecessary expression is included at the beginning of the second half. If an unnecessary expression is included at the beginning of the second half, the extraction unit 12 deletes the unnecessary expression. The extraction unit 12 repeatedly deletes the unnecessary expression until no unnecessary expression is included at the beginning. The extraction unit 12 regards the above-mentioned second half that does not include an unnecessary expression at the beginning as the part indicating the disaster situation.
[0030] In the above disaster information example 1, the latter part of the segment becomes "However, he lost his footing and fell 3 meters down," and the part showing the disaster situation with the unnecessary expression "However," deleted becomes "He lost his footing and fell 3 meters down." In disaster information example 2, the latter part of the segment becomes "A rock fell into and he was caught up in the landslide," and the part showing the disaster situation with the unnecessary expression "to" deleted becomes "A rock fell into and he was caught up in the landslide."
[0031] The extraction unit 12 performs dependency analysis on the part indicating the disaster situation of each disaster information obtained as described above. The dependency analysis can be performed by a conventional method such as CaboCha or KNP (Kurohashi Nagao Parser). By performing dependency analysis, the extraction unit 12 obtains information indicating the phrases constituting the part indicating the disaster situation of the disaster information and the dependency relationship (modification, modified) of the phrases as shown in FIG. 4. The example shown in FIG. 4 is an example of a case where the disaster information is a text of "During the preparation of the exterior wall, when I got off the stepladder, I sprained and broke my left foot on the step because I got off without checking carefully below." (Disaster information example 3), and the latter part obtained is "When I got off the stepladder, I sprained and broke my left foot on the step because I got off without checking carefully below."
[0032] The extraction unit 12 stores clue expressions for extracting a cause sentence as extraction expressions in advance. A clue expression is an expression that appears characteristically in a cause sentence. For example, the extraction unit 12 stores a plurality of clue expressions as shown in FIG. 5 as a dictionary in advance. A type indicating which part of a cause sentence the clue expression appears in is set in advance for the clue expression. The type of the clue expression is one of three types: one that corresponds to (appears at) the beginning of a cause sentence to be extracted (type A: beginning of sentence type shown in FIG. 5), one that corresponds to (appears at) the end of a cause sentence to be extracted (type B: end of sentence type shown in FIG. 5), and one that corresponds to (appears at) the middle of a cause sentence to be extracted, i.e., a part that is not the beginning or end of the sentence (type C: middle of sentence type shown in FIG. 5).
[0033] The extraction unit 12 compares the portion indicating the disaster situation of each piece of disaster information obtained with the clue expressions stored in advance, and determines the clue expressions contained in the portion. Priorities may be set in advance for the clue expressions, and the extraction unit 12 may perform the above determination in order of priority until a clue expression contained in the portion is found. For example, the above determination may be performed in the order from top to bottom on the left side of the clue expressions shown in FIG. 5, and then in the order from top to bottom on the right side.
[0034] The extraction unit 12 extracts a cause sentence based on the result of dependency analysis of the part indicating the disaster situation, using the clue expression included in the part as a clue. The extraction unit 12 prestores an extraction rule for the cause sentence for each type of clue expression. The extraction unit 12 extracts a cause sentence from the part indicating the disaster situation based on the extraction rule according to the clue expression included in the part.
[0035] First, the extraction unit 12 determines a phrase including a clue expression as a phrase constituting the cause sentence. When the clue expression included in a phrase is of the sentence-initial type (type A), the extraction unit 12 determines consecutive phrases having a modification relationship (dependency relationship) following the phrase including the clue expression as a phrase constituting the cause sentence. For example, in the example shown in FIG. 4, when the phrase including the clue expression is the ninth phrase, the ninth, eleventh, and twelfth phrases are determined as phrases constituting the cause sentence. In this case, the extraction unit 12 determines a phrase that has a modification relationship (dependency relationship) going back from the last phrase among the consecutive phrases, has no modification relationship going back further (i.e., is an independent phrase), and appears before the phrase including the clue expression as a phrase constituting the cause sentence. For example, in the example shown in FIG. 4, when the phrase including the clue expression is the ninth phrase, if there is a phrase that can be found just one phrase back from the last phrase, the twelfth phrase, the phrase is determined as a phrase constituting the cause sentence. There is no such phrase in Figure 4, but if phrase 8 has no dependency relationship with phrase 7, then phrase 8 would be a phrase that constitutes the causal sentence.
[0036] When the clue expression included in a phrase is of the sentence-end type (type B), the extraction unit 12 regards consecutive phrases having a modification relationship (dependency relationship) going back from the phrase including the clue expression as phrases constituting the cause sentence. At this time, when there are multiple phrases that can be traced back (i.e., when the modification relationship branches out), one phrase close to the beginning of the part showing the disaster situation is regarded as a phrase constituting the cause sentence. Note that, when it is possible to trace back further from that one phrase, the further back phrases are also regarded as phrases constituting the cause sentence. For example, in the example shown in FIG. 4, when the phrase including the clue expression is phrase 6, phrases 4 and 6 are regarded as phrases constituting the cause sentence.
[0037] When the clue expression included in a phrase is of the mid-sentence type (Type C), the extraction unit 12 determines the phrases that constitute the causal sentence based on both the extraction rules for the beginning-of-sentence type (Type A) and the end-of-sentence type (Type B). For example, in the example shown in Fig. 4, when the phrase that includes the clue expression is phrase 6, phrases 4, 6, 7, 8, and 12 are determined to be the phrases that constitute the causal sentence.
[0038] The extraction unit 12 arranges the phrases that are determined to be the phrases that make up the cause sentence in the order in which they appear in the part indicating the disaster situation (in the example shown in FIG. 4, in ascending order of numbers), and sets the arranged phrases as the cause sentence. For example, in the example of FIG. 4, the clue expression included in the part indicating the disaster situation is "do not" which is a sentence-final type (type B). Based on the above extraction rules, the cause sentence in this case is "without checking below" (phrases 4 and 6). The extraction unit 12 outputs the cause sentences extracted for each disaster information to the label generation unit 13.
[0039] The method of extracting a cause sentence including the above-mentioned extraction rule for the cause sentence was discovered by the inventor of the present invention through the study and trial and error of existing disaster information, as a method capable of extracting a better cause sentence. However, the extraction of the cause sentence may be performed by a method other than the above.
[0040] The label generating unit 13 is a label generating means that groups a plurality of pieces of disaster information based on the generation text (cause sentence) of each piece of disaster information extracted by the extracting unit 12, and generates a label corresponding to each group. The grouping of disaster information by the label generating unit 13 is for making the output of the search result of disaster information highly convenient for the user. The grouping of disaster information is performed based on the cause sentence, that is, based on the cause of the disaster. Therefore, for example, by outputting the search result of disaster information for each group, it is possible to output an output that allows the tendency of the cause of the disaster to be understood. In addition, as described later, the label may be a cause label indicating the cause related to the group. For example, the cause label may be one that allows the user to easily understand the cause of the disaster related to the disaster information based on the cause sentence.
[0041] For example, the label generation unit 13 groups disaster information as follows, and generates a label corresponding to each group. The label generation unit 13 inputs the cause sentence for each disaster information from the extraction unit 12. The label generation unit 13 converts each cause sentence into a feature indicating the characteristics of the sentence, for example, a vector (cause sentence vector) with a preset number of dimensions. The conversion into the cause sentence vector can be performed by a conventional method, for example, using a general-purpose natural language processing model such as Pretrained BERT.
[0042] The label generating unit 13 clusters the cause sentences using the cause sentence vector. That is, the label generating unit 13 groups the disaster information. The clusters generated by the clustering correspond to groups of the disaster information. The clustering using the cause sentence vector can be performed by a conventional method, for example, unsupervised clustering such as DBSCAN or k-means. A machine learning method may also be used for the clustering. As shown in FIG. 6(a), the label generating unit 13 associates a group number, which is information indicating the group to which the cause sentence belongs, with each cause sentence (each disaster information). Note that the grouping of the disaster information may be performed by a method other than the above.
[0043] The label generating unit 13 generates a cause label for each generated group (cluster). For example, the label generating unit 13 sets the cause sentence corresponding to the cause sentence vector closest to the center of gravity of the cause sentence vectors included in the cluster as the cause label. Alternatively, the cause label may be generated by other methods. As shown in FIG. 6(b), the label generating unit 13 associates the cause sentence set as the cause label with the group number for each group. The label generating unit 13 associates the generated cause label with the disaster information included in the group related to the cause label, and stores it in the disaster information search system 10 so that the search unit 14 can use it.
[0044] The search unit 14 is a search means that inputs search information to be used for a search, searches for disaster information using the input search information, and outputs search results according to the labels generated by the label generation unit 13. The search unit 14 may input search text as search information, perform morphological analysis on the input search text to extract morphemes, and search for disaster information using the extracted morphemes according to the frequency of occurrence of the morphemes in the disaster information. Based on the result of the search for disaster information using the morphemes, the search unit 14 may search for disaster information by changing the number of morphemes to be used for the search according to the frequency of occurrence.
[0045] The search unit 14 calculates the frequency of occurrence of morphemes in the disaster information in advance, that is, by the time when the search for disaster information is performed. The search unit 14 acquires the disaster information to be searched. The acquisition of the disaster information may be performed in the same manner as the acquisition by the disaster information acquisition unit 11. Alternatively, the search unit 14 may input the disaster information acquired by the disaster information acquisition unit 11 from the disaster information acquisition unit 11.
[0046] The search unit 14 performs morpheme analysis on each of the acquired disaster information to acquire morphemes from the disaster information. The search unit 14 counts the frequency of occurrence in the disaster information for each morpheme. At this time, the frequency of occurrence is not counted for morphemes whose parts of speech obtained by the morpheme analysis are inappropriate for use in searching for disaster information (e.g., symbols, particles, numbers, and numerical particles). Alternatively, the frequency of occurrence may be counted only for specific morphemes (e.g., nouns) that are set in advance and are appropriate for use in searching for disaster information. The number to be counted may be the number of disaster information items that appear (even if multiple items appear in one disaster information, the number is counted as 1), or the number of morphemes (if multiple items appear in one disaster information, the number is counted). The search unit 14 stores the number counted for each morpheme as shown in FIG. 7. The above is the function of the search unit 14 until the search is performed.
[0047] For example, the search unit 14 searches for disaster information as follows. The search by the search unit 14 is performed, for example, via a display on the terminal 20, which is a user interface shown in FIG. 8. The display is performed, for example, by the terminal 20 accessing the disaster information search system 10. When search information is input in a work content input field on the display and a search button is pressed, the search unit 14 of the disaster information search system 10 uses the input search information to search for disaster information. The search results are displayed in the portion following the analysis result. The search information is, for example, text (character string, keyword). By inputting text related to work to be performed at the construction site as search information, disaster information related to the work is searched for. Note that a predetermined API (Application Programming Interface) may be provided for the above search function by the search unit 14.
[0048] Furthermore, when there are multiple types of disaster information databases 30, it may be possible to make it possible to perform a search for each disaster information database 30. For example, in the display shown in Fig. 8, it may be possible to select the disaster information database 30 to be searched in a target data selection field.
[0049] The search results are displayed using the cause labels generated by the label generating unit 13 and associated with each piece of disaster information. For example, a display like the pie chart portion in the display shown in FIG. 8 may be performed. For example, among the disaster information hit by the search, those associated with the same cause label are displayed as one pie chart. The example shown in FIG. 8 shows that the search hit 16 pieces of disaster information associated with the cause label "scaffolding board came off." The pie chart shows, for example, the number of disaster information items by damage caused by the disaster (for example, death, if treatment was required, and how many months of treatment were required). Note that the graph may be selected from types other than pie charts as shown in FIG. 8.
[0050] Furthermore, disaster information found in the search is displayed in the case list column. For example, in the display shown in FIG. 8, DB type, disaster information, and cause sentence are displayed in a table format. DB type is information indicating the disaster information database 30 that stores disaster information. Disaster information is disaster information found in the search. Cause sentence is a cause sentence extracted from the disaster information by the extraction unit 12. Other metadata associated with the disaster information may also be displayed. When any of the pie charts is selected by the user, disaster information corresponding to the pie chart may be displayed. That is, disaster information associated with the same cause label may be displayed together.
[0051] The search unit 14 receives and inputs search information to be used for a search as a search request from the terminal 20. Input of search information at the terminal 20 and transmission to the disaster information search system 10 are performed by the user operating the terminal 20 using the display shown in FIG. 8 and the like. The input search information is search text, which is a sentence. The search text indicates the work to be done at the construction site, such as "assembling formwork on the scaffolding."
[0052] The search unit 14 performs morphological analysis on the input search text to extract morphemes. An example of search text from which morpheme analysis has been performed and morphemes (words) have been extracted is shown in FIG. 9(a). Note that EOS (End Of Sentence) in FIG. 9 indicates the end of the search text. Next, the search unit 14 excludes morphemes whose parts of speech obtained by the morphological analysis are inappropriate for use in a search for disaster information (e.g., symbols, particles, numbers, and numerical particles). Alternatively, only certain morphemes (e.g., nouns) that are preset and appropriate for use in a search for disaster information may be used in a search for disaster information.
[0053] An example of morpheme (word) exclusion is shown in FIG. 9(b). The morphemes with a horizontal line drawn are excluded morphemes. Furthermore, the search unit 14 may exclude morphemes whose occurrence frequency in disaster information meets a certain standard from among the obtained morphemes. For example, the search unit 14 may refer to the occurrence frequency (number of occurrences) of each morpheme calculated and stored in advance and exclude morphemes whose occurrence frequency in disaster information is in the top 5%. This is because morphemes that occur frequently in disaster information and are considered to be common are not necessarily suitable for searching disaster information.
[0054] The search unit 14 searches for disaster information using the morphemes obtained as described above. The search unit 14 may store disaster information acquired from the disaster information database 30 in advance and perform a search on the stored disaster information, or may perform a search on the disaster information database 30. The search unit 14 searches for disaster information that contains all of the obtained morphemes in the text (partial match search). That is, the search unit 14 performs an AND search using the obtained morphemes as search keywords.
[0055] Through the above search, the search unit 14 obtains disaster information that contains all of the morphemes used in the search in the text, i.e., disaster information that is hit by the search. Based on the result of the search, the search unit 14 determines whether to output the search result or to perform another search. The search unit 14 compares the number of hit disaster information with a preset threshold. If it is determined that the number of hit disaster information is equal to or greater than the threshold, the search unit 14 determines to output the search result. If it is determined that the number of hit disaster information is less than the threshold, the search unit 14 determines to perform another search. This is because if the number of hit disaster information is small, the user cannot refer to a sufficient number of disaster information, which is not necessarily appropriate from the viewpoint of work hazard prediction, etc.
[0056] When it is determined that a search should be performed again, the search unit 14 refers to the occurrence frequency (number of occurrences) of each morpheme calculated and stored in advance, excludes the morpheme with the highest occurrence frequency from among the morphemes used in the search, and performs a search again. For example, when a search is performed again after a search is performed using the morphemes (words) shown in Fig. 9(b), the morpheme "work" with the highest occurrence frequency (number of occurrences) is excluded from the morphemes to be used in the next search, as shown in Fig. 9(c). The search unit 14 repeats the exclusion of morphemes and the search until the number of hit disaster information items becomes equal to or exceeds a threshold value.
[0057] When it is determined that the search result is to be output, the search unit 14 outputs the hit disaster information. At that time, the search unit 14 refers to the cause label of each disaster information item generated and stored by the label generation unit 13, and generates and outputs information indicating the search result according to the disaster label as shown in Fig. 8. Specifically, the search unit 14 transmits the generated information indicating the search result to the terminal 20. The terminal 20 receives and displays the information, and outputs it in a format that can be recognized by the user.
[0058] The search by the search unit 14 may be performed by a method other than the above. In the above example, the number of morphemes used in the search is reduced to increase the number of hits of disaster information, but the number of morphemes used in the search may be increased to decrease the number of hits of disaster information. In addition, the search unit 14 may perform a search using, for example, the input keyword as is, instead of the search using the morphological analysis of the search text as described above.
[0059] The input and output of information by the search unit 14 does not necessarily have to be performed with the terminal 20 as described above, but may be performed in any manner with any device. The above is the function of the disaster information search system 10 according to this embodiment.
[0060] Next, the process executed in the disaster information search system 10 according to the present embodiment will be described with reference to the flowcharts of Fig. 10 and Fig. 11. First, the process executed before searching for disaster information will be described with reference to Fig. 10.
[0061] In this process, first, the disaster information acquisition unit 11 acquires multiple pieces of disaster information to be searched (S01). Next, the extraction unit 12 uses a division expression to divide the disaster information into a first half indicating the work content and a second half indicating the disaster situation (S02). Next, the extraction unit 12 performs dependency analysis on the part indicating the disaster situation (S03). Next, the extraction unit 12 extracts a cause sentence from the disaster information using the result of the dependency analysis and clue expressions (S04).
[0062] Next, the label generating unit 13 performs clustering based on the cause sentences to group the disaster information (S05). Next, the label generating unit 13 generates a cause label for each group (S06). The generated cause label is associated with the disaster information of each group, stored in the disaster information search system 10, and used by the search unit 14.
[0063] Furthermore, the search unit 14 acquires multiple pieces of disaster information to be searched, performs morphological analysis, and counts the frequency of occurrence of each morpheme in the disaster information (S07). The frequency of occurrence of each morpheme is stored in the disaster information search system 10 and used by the search unit 14. Note that the processes of S01 to S06 and S07 are performed independently of each other, and therefore do not necessarily have to be performed in the above order. The above is the process that is executed before searching for disaster information.
[0064] Next, the process executed when searching for disaster information will be described with reference to FIG. 11. In this process, first, search text is input by the search unit 14 (S11). For example, search text transmitted from the terminal 20 is received and input. Next, the search unit 14 performs morphological analysis on the search text to extract morphemes (S12). At this time, morphemes that are not used in the search may be excluded from the extracted morphemes. Next, the search unit 14 searches for disaster information using the morphemes (S13). Next, the search unit 14 determines whether the number of disaster information hit by the search is equal to or greater than a threshold (S14).
[0065] If it is determined that the number of hit disaster information pieces is less than the threshold value (NO in S14), the search unit 14 then removes morphemes used in the search according to the frequency of occurrence of the morphemes in the disaster information (S15). After that, the search unit 14 searches for disaster information using the morphemes again (S13), and thereafter performs the same processes as those described above (processing from S14 onward).
[0066] If it is determined in S14 that the number of hit disaster information items is equal to or greater than the threshold value (YES in S14), then the search unit 14 generates and outputs search results according to the cause labels associated with the hit disaster information items (S16). For example, information indicating the search results as shown in FIG. 8 is generated and transmitted to the terminal 20. The information is displayed on the terminal 20, allowing the user to refer to the disaster information. The above is the process executed when searching for disaster information.
[0067] In this embodiment, the result of the dependency analysis and clue expressions, which are pre-stored expressions for extraction, are used to extract cause sentences, which are generation texts, and these are used to group disaster information. As a result, disaster information is appropriately grouped, and cause labels corresponding to each group are generated. By using the generated cause labels, disaster information obtained by search is appropriately output. For example, as described above, search results are output in a state where the results are grouped according to the cause of the disaster. By performing such output, the user can appropriately grasp the disaster information, which can be effectively used for predicting hazards in work, etc. In this way, according to this embodiment, disaster information related to disasters obtained by search can be appropriately output.
[0068] Also, as in the above-described embodiment, the cause sentence may be extracted using three types of clue expressions according to the position in the sentence in which the clue expression appears. With this configuration, the cause sentence can be extracted appropriately and reliably. As a result, disaster information related to the disaster obtained by the search can be output appropriately and reliably. However, the clue expression does not have to be one of the three types described above, and any clue expression may be used as long as it extracts the cause sentence using the result of dependency analysis.
[0069] Also, dependency analysis may be performed by dividing disaster information using a divided expression as in the above-described embodiment. As described above, the cause sentence is usually included in the latter part of the disaster information, which indicates the disaster situation. Therefore, with this configuration, the cause sentence can be extracted appropriately and reliably. As a result, disaster information related to the disaster obtained by the search can be output appropriately and reliably. Note that, although dependency analysis is performed on the latter part of the divided portion in this embodiment, dependency analysis may be performed on the former part depending on the disaster information to be searched and the generation text to be extracted. Also, it is not necessarily necessary to divide the disaster information, and dependency analysis may be performed on the disaster information itself to extract the generation text.
[0070] As in the above-described embodiment, the disaster information search system 10 may be configured to include the search unit 14, i.e., may have the function of a search system. With this configuration, as described above, for example, a search can be performed for disaster information related to work to be performed. Also, disaster information related to the disaster obtained by the search can be appropriately output.
[0071] Also, as in the present embodiment, morpheme analysis may be performed on the search text to extract morphemes, and the extracted morphemes may be used to search for disaster information according to the frequency of occurrence of the morphemes in the disaster information. Furthermore, the number of morphemes used in the search may be changed according to the frequency of occurrence, and a search for disaster information may be performed again. With these configurations, for example, a number of pieces of disaster information that can be properly recognized by the user can be output as search results. However, the frequency of occurrence of morphemes does not necessarily need to be used in the search, and morpheme analysis does not necessarily need to be performed.
[0072] In this embodiment, the disaster information search system 10 has the functions of both a search label generation system (the disaster information acquisition unit 11, the extraction unit 12, and the label generation unit 13) and a search system (the search unit 14). However, the search label generation system and the search system do not necessarily need to be included in one system, and may be separate systems. In this case, the search system acquires labels for each group of disaster information, such as cause labels, generated by a search label generation system, which is a separate system, and uses them to output search results.
[0073] In this embodiment, the generation text extracted by the extraction unit 12 is a cause sentence indicating the cause of the disaster, but it does not necessarily have to be a cause sentence, and it can be anything that can appropriately group disaster information. Similarly, the labels generated by the label generation unit do not necessarily have to be cause labels, and it can be anything that can be used to output appropriate search results. [Explanation of symbols]
[0074] 10... disaster information search system, 11... disaster information acquisition unit, 12... extraction unit, 13... label generation unit, 14... search unit, 20... terminal, 30... disaster information database.
Claims
1. A search label generation system that generates labels used when searching for disaster information, which is text related to a disaster, comprising: A disaster information acquisition means for acquiring multiple pieces of disaster information to be searched; an extraction means for performing dependency analysis on each of the disaster information acquired by the disaster information acquisition means, and extracting generation text to be used for generating a label from the disaster information using a result of the dependency analysis and an extraction expression stored in advance; a label generating means for grouping a plurality of disaster information items based on the generation text of each disaster information item extracted by the extraction means, and generating a label corresponding to each group; Equipped with The extraction means uses pre-stored divided expressions to divide text for each piece of disaster information acquired by the disaster information acquisition means, performs the dependency analysis on any one of the divided disaster information, and extracts the generation text from the divided disaster information after the dependency analysis, the generation text being composed of a phrase including the expression for extraction and consecutive phrases having a dependency relationship with the phrase.
2. 2. The search label generation system according to claim 1, wherein the extraction means extracts the generation text using any one of extraction expressions contained in an initial phrase of the generation text to be extracted, extraction expressions contained in an initial phrase of the generation text to be extracted, and extraction expressions contained in an intermediate phrase of the generation text to be extracted, which are stored in advance.
3. A search system comprising the search label generation system according to claim 1 or 2, a storage means for storing disaster information for each group and a label generated by the search label generation system in association with each other; A search unit is further provided for inputting search information to be used in a search, searching for disaster information using the input search information, and outputting a search result according to a label associated with the disaster information found, The search means is a search system that inputs search text as the search information, performs morphological analysis on the input search text to extract morphemes, determines morphemes to be used in the search based on the frequency of appearance of the extracted morphemes in disaster information, and searches for disaster information using the determined morphemes.
4. 4. The search system according to claim 3, wherein the search means changes the number of morphemes used in the search in accordance with the occurrence frequency based on a result of the search for disaster information using the morphemes, and searches for disaster information again.
Citation Information
Patent Citations
Safety information system for building construction
JP1994044211A
Fault information management device
JP2002236692A
Cause expression extraction device, cause expression extraction method, and cause expression extraction program
WO2014017023A1
