Similar document retrieval device, similar document retrieval method, and program
The similar document search device enhances accuracy by linking input terms with pre-registered documents through a rule-based similarity calculation, addressing the issue of low similarity between input conditions and target documents.
Patent Information
- Application Number
- JP2023037638
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-24
AI Technical Summary
Conventional document retrieval methods face decreased search accuracy when the similarity between input conditions and target documents is low, particularly when numerical values in search terms are not accurately interpreted, leading to irrelevant results.
A similar document search device and method that utilizes a related document extraction unit and a similarity calculation unit to link input terms with pre-registered documents based on a rule base, enhancing the search by calculating and utilizing the degree of similarity between related documents and target documents.
Improves search accuracy by leveraging pre-registered related documents and similarity calculations, ensuring precise retrieval of relevant documents even when target documents lack direct keyword matches.
Smart Images

Figure 2024128597000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a similar document search device, a similar document search method, and a program for searching documents based on document similarity. [Background technology]
[0002] Conventionally, as one type of natural language processing by a computer, a search process is known in which documents similar to an input document are searched for among documents stored in a database (for example, see Patent Document 1). Also known is a technique for extracting keywords that characterize documents from documents to be searched using a specific algorithm such as an occurrence frequency base, calculating cosine similarity or the like that expresses the closeness of the angle between vectors in the language space of a word and the keyword input by a user, and outputting documents with high relevance. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6190904 Summary of the Invention [Problem to be solved by the invention]
[0004] However, when searching for a certain document group A, there is a risk of the search accuracy decreasing if the similarity between the input conditions (similar to the above words) and document group A is extremely low. In other words, if document group A does not have many keywords similar to the above words, the similarity calculation using vectors by the conventional search method may not be effective.
[0005] For example, consider the case where the search terms (words) are set to "Structure: Steel (S) construction" and "Within 300m distance from the coast" to search and output document group A on salt damage countermeasures from among documents in the construction field. In this case, there is a high probability that "Within 300m distance from the coast" will be treated in natural language processing in roughly the same way as "Within 3000m distance from the coast," which does not require much salt damage countermeasures, and therefore there is a high possibility that document groups other than those related to salt damage countermeasures will be output. In this way, if the meaning of the numbers contained in the search terms is not taken into consideration, there is a risk of a decrease in search accuracy.
[0006] The present invention has been made in view of the above, and has an object to provide a similar document search device, a similar document search method, and a program that can improve search accuracy. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems and achieve the object, the similar document search device of the present invention is a device that searches for similar documents, which are documents similar to related documents that are documents related to an input search term, from among a plurality of pre-registered documents, and is characterized in having a related document extraction unit that extracts the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a similar document search unit that calculates the similarity between the extracted related documents and each pre-registered document, and searches for the similar documents based on the calculated similarity.
[0008] In addition, the similar document search method of the present invention is a method for searching for similar documents, which are documents similar to related documents, which are documents related to an input search term, from among a plurality of documents registered in advance, and is characterized by having a step of extracting the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a step of calculating the similarity between the extracted related documents and each document registered in advance, and searching for the similar documents based on the calculated similarity.
[0009] A program according to the present invention is characterized in that it causes a computer to execute the similar document search method described above. Effect of the Invention
[0010] According to the similar document search device of the present invention, the device searches for similar documents, which are documents similar to related documents, which are documents related to an input search term, from among a plurality of pre-registered documents, and is equipped with a related document extraction unit that extracts the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a similar document search unit that calculates the similarity between the extracted related documents and each pre-registered document and searches for the similar documents based on the calculated similarity, thereby achieving the effect of improving search accuracy.
[0011] In addition, according to the similar document search method of the present invention, there is provided a method for searching for similar documents, which are documents similar to related documents that are documents related to an input search term, from among a plurality of documents that have been registered in advance, and the method includes a step of extracting the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a step of calculating the similarity between the extracted related documents and each document that has been registered in advance, and searching for the similar documents based on the calculated similarity, thereby achieving the effect of improving search accuracy. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a schematic diagram showing the configuration of an embodiment of a similar document search device according to the present invention. [Diagram 2] FIG. 2 is a schematic flow diagram showing an embodiment of a similar document search method according to the present invention. [Diagram 3] FIG. 3 is a diagram showing an example of a search according to this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, embodiments of a similar document search device, a similar document search method, and a program according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to these embodiments.
[0014] As shown in FIG. 1, a similar document search device 10 according to an embodiment of the present invention includes an input unit 12, a related document extraction unit 14, a similar document search unit 16, an output unit 18, and a storage unit 20.
[0015] The input unit 12 accepts input of search terms that are used as keys in searching for similar documents, and is configured, for example, with a keyboard for input interfaces and an input field provided on a display screen or the like. The search terms are assumed to be words having a certain meaning or phrases such as numerical values including units such as length. For example, in the case of the construction business field, the search terms may be one or more of project information (construction site, total floor area, area, structure, etc.), performance information (coastal area, soft ground, special structure, etc.), and finishing information (wall: stone, roof: waterproof, etc.). The search terms may be provided as keywords with multiple options in advance, and one of them may be selected and input in the input unit 12. In addition, multiple search terms may be input to enable AND search or OR search. For example, two search terms may be input: "structure: steel (steel) construction" and "within 300 m distance from the coast."
[0016] The related document extraction unit 14 extracts related documents from the storage unit 20 that are linked in advance by a predetermined rule base based on the search term input to the input unit 12. The related documents and the rule base are stored in the storage unit 20. The search term and information on related documents related to the search term (e.g., document titles, etc.) are registered in advance in the rule base in a linked manner. This allows the search term in lexical form to correspond to the related document in document form. The rule base can set the relevance between the search term and the document by analyzing the search term and the document from a large amount of past data and forming a rule. This relevance may be set based on, for example, a weighting value calculated from the frequency of use of the search term input in the past and the frequency of browsing of similar documents, or may be set manually in advance. If the search term is fragmentary information on a construction project, documents that describe frequent defect cases may be set as related documents. For example, in the above example, if the search term is "structure: steel (steel) construction" and "within 300 m distance from the coast", it may be linked so that "documents on salt damage countermeasures" are related documents.
[0017] The similar document search unit 16 uses the related documents extracted by the related document extraction unit 14 as input documents, calculates the similarity between this input document and each document to be searched stored in the storage unit 20 by natural language processing, and searches for similar documents that are highly similar to the related document based on the calculated similarity. The similarity can be calculated, for example, by dividing each of the related documents and each document to be searched into morphemes and counting the number of words that appear in common between them, or by using a known similar document search technique such as the vector space method described in the above Patent Document 1.
[0018] The output unit 18 outputs information about the similar documents searched for by the similar document search unit 16 as the similar document search results, and is composed of, for example, a display or a printer that displays character strings of similar documents. For example, the titles of similar documents can be output as the similar document search results.
[0019] The storage unit 20 stores a plurality of documents to be searched by the similar document search unit 16, a plurality of related documents, and a rule base, and is configured, for example, by a database or a memory. The documents and related documents stored in the storage unit 20 are electronic documents on electronic media including text format data such as electronic books, electronic files, and web pages. These electronic documents have at least a main text and a title. The electronic documents may be electronic documents such as various laws and regulations used in the construction business field, company standards, construction manuals, collections of tips, and lists of dos and don'ts.
[0020] An example of the hardware of the similar document search device 10 is a computer equipped with a CPU, RAM, ROM, a hard disk, a communication interface, etc. A similar document search can be performed by storing a program that realizes each of the above functions in the RAM or ROM and executing the program by the CPU. Such a program is also included in the scope of the present invention.
[0021] Next, a similar document search method according to an embodiment of the present invention will be described. The similar document search method is executed, for example, by each unit of the similar document search device 10 performing the processes of steps S1 to S4 shown in FIG.
[0022] First, in step S1, a search term is input to the input unit 12. In the next step S2, the related document extraction unit 14 extracts related documents that are previously linked to the search term based on the search term and the rule base. In the next step S3, the similar document search unit 16 calculates the similarity between the related document and each document stored in the storage unit 20. In the next step S4, similar documents are searched for based on the calculated similarity, and the search results are output from the output unit 18.
[0023] FIG. 3 is a conceptual diagram showing a search example according to this embodiment. As shown in this figure, when one or more pieces of information are input as a search term, such as project information (construction site, total floor area, area, structure, etc.), performance information (coastal area, soft ground, special structure, etc.), and finishing information (wall: stone, roof: waterproof, etc.), related documents (documents describing defect cases) linked to the search term are extracted from the storage unit 20 based on the set rule base. After that, natural language processing (similar document search) is performed between the extracted related documents and each document stored in the storage unit 20, and the titles of similar documents that are highly similar to the related documents are output. In the example shown in the figure, a collection of tips, a construction manual, and a list of dos and don'ts are output as similar documents.
[0024] In this way, according to this embodiment, the input search term is pseudo-converted into a related document for use as a medium, and then a similar document search is performed between the related documents and each document using natural language processing, thereby outputting similar documents with high relevance. In this way, even if each document does not have many keywords related to the search term, a highly accurate search can be performed. Therefore, the search accuracy can be improved compared to the above-mentioned conventional method.
[0025] In particular, according to this embodiment, the meaning of the numerical values in the search term, which is difficult to handle in natural language processing, is replaced with related documents, making natural language processing easier. For example, in the above example, the search term "within 300 m distance from the coast" is likely to be treated almost the same in natural language processing even if it was "within 3000 m distance from the coast". However, by replacing "within 300 m distance from the coast" with related documents on salt damage countermeasures, it is possible to give the meaning that "within 300 m" is related to "salt damage". This makes it possible to associate the similar documents finally found with the search term by the word "salt damage".
[0026] As described above, the similar document search device of the present invention is a device that searches for similar documents, which are documents similar to related documents that are documents related to an input search term, from among a plurality of pre-registered documents, and is equipped with a related document extraction unit that extracts the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a similar document search unit that calculates the similarity between the extracted related documents and each pre-registered document and searches for the similar documents based on the calculated similarity, thereby improving search accuracy.
[0027] In addition, according to the similar document search method of the present invention, a method for searching for similar documents, which are documents similar to related documents that are documents related to an input search term, from among a plurality of pre-registered documents includes a step of extracting the related documents that are pre-linked to the search term based on a predetermined rule base based on the input search term, and a step of calculating the similarity between the extracted related documents and each pre-registered document and searching for the similar documents based on the calculated similarity, thereby improving search accuracy. [Industrial Applicability]
[0028] INDUSTRIAL APPLICABILITY As described above, the similar document search device, similar document search method, and program according to the present invention are useful for searching for documents based on the similarity between documents, and are particularly suitable for improving search accuracy. [Explanation of symbols]
[0029] 10 Similar Document Search Device 12 Input section 14 Related Document Extraction Unit 16 Similar Document Search Unit 18 Output section 20 Memory section
Claims
1. A device for searching for similar documents, which are documents similar to related documents, which are documents related to an input search term, from among a plurality of documents registered in advance, comprising: a related document extraction unit that extracts the related documents that are linked to the input search term in advance based on a predetermined rule base, based on the input search term; A similar document search device comprising a similar document search unit that calculates the similarity between the extracted related documents and each document registered in advance, and searches for the similar documents based on the calculated similarity.
2. A method for searching for similar documents, which are documents similar to related documents, which are documents related to an input search term, from among a plurality of documents registered in advance, comprising: extracting the related documents that are linked to the input search term in advance based on a predetermined rule base; A similar document search method comprising the steps of: calculating a similarity between the extracted related documents and each document registered in advance; and searching for the similar documents based on the calculated similarity.
3. 3. A program for causing a computer to execute the similar document search method according to claim 2.
Citation Information
Patent Citations
Storage for small article
JP1986090904A
