Document comparison support device, document comparison support program, and document comparison support method

JP7631717B2Active Publication Date: 2025-02-19RICOH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020163083
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-29
Publication Date
2025-02-19
Estimated Expiration
2040-09-29

AI Technical Summary

Benefits of technology

【0006】 文書の比較における負荷を軽減できる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007631717000001
    Figure 0007631717000001
  • Figure 0007631717000002
    Figure 0007631717000002
  • Figure 0007631717000003
    Figure 0007631717000003
Patent Text Reader

Abstract

To provide a document comparison support program, a document comparison support device, and a document comparison support method for reducing a load in document comparison.SOLUTION: A document comparison support program displays, on a screen 71A, an image screen which includes a first document display field 72 in which first document data is displayed and a second document display field 73 in which second document data is displayed. A part similar to a part displayed in the first document display column, of the second document data, is displayed on the second document display column, when a part of the first document data to be displayed in the first document display field is specified.SELECTED DRAWING: Figure 8A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a document comparison support device, a document comparison support program, and a document comparison support method. [Background technology]

[0002] Conventionally, there have been known techniques for comparing the contents of multiple document data. For example, one of such techniques is a technique for displaying multiple selected technical document data on a comparison screen from technical document data extracted based on search conditions. Summary of the Invention [Problem to be solved by the invention]

[0003] In the above-mentioned conventional technology, when comparing the contents of multiple document data, the corresponding parts of one document data, such as sections or pages, are identified in the other document by a search means, and then the contents of both documents are compared. Therefore, in the conventional technology, when comparing the contents of documents, in addition to the comparison work, it is necessary to create and input a search key, which places a heavy burden on the worker.

[0004] The disclosed technique aims to reduce the burden involved in comparing documents. [Means for solving the problem]

[0005] The disclosed technology displays a screen including a first document display field in which first document data is displayed and a second document display field in which second document data is displayed, and when a portion of the first document data to be displayed in the first document display field is designated, a portion of the second document data similar to the portion displayed in the first document display field is displayed in the second document display field. the portion to be displayed in the first document display column is a page included in the first document data, and among the pages included in the second document data, a page having the highest similarity to the specified page is displayed in the second document display column, the screen includes an input field into which a word is input, and when a word included in the specified page is input in the input field, the word in the specified page is weighted, and a page in the second document data that is similar to the weighted page is identified. This is a document comparison support program that causes a computer to execute the process. Effect of the Invention

[0006] It reduces the burden of comparing documents. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 illustrates an example of a system configuration of a comparison support system according to a first embodiment. [Diagram 2] FIG. 1 illustrates an example of a hardware configuration of a document comparison support device according to a first embodiment. [Diagram 3] FIG. 2 is a diagram illustrating functions of the document comparison support device according to the first embodiment. [Figure 4] 4 is a flowchart illustrating a process of the document comparison support device according to the first embodiment. [Diagram 5] FIG. 2 is a first diagram showing a display example of the first embodiment. [Figure 6] FIG. 13 is a second diagram showing a display example of the first embodiment. [Figure 7] FIG. 13 is a third diagram showing a display example of the first embodiment. [Figure 8A] FIG. 4 is a fourth diagram showing a display example of the first embodiment. [Figure 8B] FIG. 5 is a fifth diagram showing a display example of the first embodiment. [Figure 9] FIG. 11 is a diagram illustrating functions of a document comparison support device according to a second embodiment. [Figure 10] 10 is a flowchart illustrating a process of a document comparison support device according to a second embodiment. [Figure 11] FIG. 11 is a first diagram showing a display example of the second embodiment. [Figure 12] FIG. 13 is a second diagram showing a display example of the second embodiment. [Figure 13] FIG. 13 is a diagram illustrating functions of a document comparison support device according to a third embodiment. [Figure 14] 13 is a flowchart illustrating a process of a document comparison support device according to a third embodiment. [Figure 15] FIG. 13 is a diagram showing a display example of the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] First Embodiment The first embodiment will be described below with reference to the drawings. Fig. 1 is a diagram showing an example of a system configuration of a comparison support system according to the first embodiment.

[0009] The comparison support system 100 of this embodiment includes a document comparison support device 200 and a terminal device 300, and the document comparison support device 200 and the terminal device 300 are connected via a network.

[0010] The document comparison support device 200 of this embodiment includes a document storage unit 220 and a comparison support processing unit 230. A plurality of document data are stored in the document storage unit 220. The comparison support processing unit 230 supports the task of comparing the contents of the plurality of document data stored in the document storage unit 220.

[0011] Specifically, when multiple document data are selected from the document data stored in the document memory unit 220 on the terminal device 300, the document comparison support device 200 causes the comparison support processing unit 230 to display a comparison screen including the selected multiple document data on the terminal device 300.

[0012] Next, when an operation is performed to specify a portion of one document data to be used as a search key on the comparison screen, the comparison support processing unit 230 of the document comparison support device 200 searches the other document data for the specified portion. Then, the document comparison support device 200 displays on the comparison screen a page of the other document data that is most similar in content to the specified portion.

[0013] In this manner, in this embodiment, by simply specifying a portion of one of the multiple document data displayed on the comparison screen, a portion of the other document data that is similar in content to the specified portion is displayed alongside the specified portion.

[0014] Therefore, according to this embodiment, when comparing the contents, it is not necessary to create and input a search key in order to identify a portion in another document data that corresponds to a specified portion, and therefore, according to this embodiment, it is possible to reduce the workload when comparing the contents of multiple documents.

[0015] 1, the comparison support system 100 includes one terminal device 300, but the number of terminal devices 300 is not limited to one. The comparison support system 100 may include any number of terminal devices 300.

[0016] 1, a plurality of document data are selected in the terminal device 300, and the comparison screen is displayed on the terminal device 300, but this is not limiting. A plurality of document data may be selected in the document comparison support device 200, and the comparison screen may be displayed on a display device or the like connected to the document comparison support device 200.

[0017] 1, the document comparison support device 200 includes the document storage unit 220, but is not limited to this. The document storage unit 220 may be provided in whole or in part in an external device capable of communicating with the document comparison support device 200.

[0018] Furthermore, the document comparison support device 200 may be realized by a plurality of document comparison support devices. In other words, the function realized by the comparison support processing unit 230 of the document comparison support device 200 may be realized by a plurality of document comparison support devices.

[0019] The following describes the document comparison support device 200 of this embodiment. Fig. 2 is a diagram showing an example of the hardware configuration of the document comparison support device of the first embodiment.

[0020] The document comparison support device 200 of this embodiment is constructed by a computer and is an information processing device equipped with a CPU 201, a ROM 202, a RAM 203, a HD 204, a HDD (Hard Disk Drive) controller 205, a display 206, an external device connection I / F (Interface) 508, a network I / F 209, a data bus 210, a keyboard 211, a pointing device 212, a DVD-RW (Digital Versatile Disk Rewritable) drive 214, and a media I / F 216.

[0021] Of these, the CPU 201 controls the overall operation of the document comparison support device 200. The ROM 202 stores programs such as IPL used to drive the CPU 201. The RAM 203 is used as a work area for the CPU 201. The HD 204 stores various data such as programs. The HDD controller 205 controls reading and writing of various data from and to the HD 204 under the control of the CPU 201.

[0022] The display 206 displays various information such as a cursor, a menu, a window, characters, or an image. The external device connection I / F 208 is an interface for connecting various external devices. In this case, the external devices are, for example, a USB (Universal Serial Bus) memory or a printer. The network I / F 209 is an interface for data communication using a network. The data bus 210 is an address bus, a data bus, or the like for electrically connecting each component such as the CPU 201.

[0023] The keyboard 211 is a type of input means having a plurality of keys for inputting characters, numbers, various instructions, etc. The pointing device 212 is a type of input means for selecting and executing various instructions, selecting a processing target, moving a cursor, etc. The DVD-RW drive 214 controls reading and writing of various data from a DVD-RW 213 as an example of a removable recording medium. Note that this is not limited to DVD-RW, and may be DVD-R, etc. The media I / F 216 controls reading and writing (storing) of data from a recording medium 215 such as a flash memory.

[0024] Next, functions of the document comparison support device 200 of this embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram for explaining functions of the document comparison support device of the first embodiment.

[0025] The document storage unit 220 of this embodiment stores a plurality of document data. Specifically, the document storage unit 220 stores the document data as a set of pages. In other words, the document data is stored in the document storage unit 220 as a sequence of pages. Then, each page is stored as text, that is, as a sequence of character codes. The document storage unit 220 may be realized by, for example, the HD 204.

[0026] The comparison support processing unit 230 of this embodiment is realized, for example, by the CPU 201 reading and executing a comparison support program stored in the HD 204 or the like.

[0027] The comparison support processing unit 230 includes an input receiving unit 231 , a document data storage unit 232 , a display control unit 233 , and a page search unit 234 .

[0028] The input receiving unit 231 receives various inputs to the document comparison support device 200. Specifically, the input receiving unit 231 receives, for example, the selection of multiple document data to be compared, input of document data to be stored in the document storage unit 220, etc. In addition, the input receiving unit 231 receives, for example, the specification of a portion of the selected document data that will be a search key, an instruction to search document data using the search key, etc.

[0029] The document data storage unit 232 stores the input document data in the document storage unit 220. Specifically, when the document data is input, the document data storage unit 232 stores the document data as a sequence of pages in the document storage unit 220. Note that the document data may be input from outside the document comparison support device 200, for example.

[0030] When multiple document data are selected by the input receiving unit 231, the display control unit 233 displays a comparison screen including multiple document display fields in which each of the selected document data is displayed. The display control unit 233 also controls various displays on the comparison screen.

[0031] When a part serving as a search key is specified in one of the document data displayed on the comparison screen and an instruction to execute a search process is input, the page search unit 234 searches the other document data with the search key and outputs the result. In other words, the page search unit 234 is an example of a search unit that searches one document data for a part similar to a part specified in the other document data and displays the search result.

[0032] The specified portion may be any area including words, phrases, sentences, paragraphs, or multiple lines selected by the user that constitute the document. The search result from the other document data is a page.

[0033] Here, a search by the page search unit 234 of this embodiment will be described. In this embodiment, the part that is used as the search key is a page of one of the document data. The search process performed by the page search unit 234 is a process of searching for a page of the document data by the page that is used as the search key.

[0034] In the following description, among the multiple document data to be compared, the document data for which a part (page) that is to be the search key is specified may be called the first document data, and the document data searched for by the search key may be called the second document data. In other words, the second document data is the document data that is the subject of a search by the search key.

[0035] The page search unit 234 of this embodiment expresses the page specified by the search key in the first document data and each page included in the second document data to be searched as a vector. Next, the page search unit 234 calculates the similarity between the vector of the page specified by the search key and the vector of each page included in the second document data.

[0036] Then, the page search unit 234 displays, among the pages of the second document data, the page having the highest similarity to the vector of the page specified in the search key on the comparison screen as a search result.

[0037] In addition, the page search unit 234 identifies multiple pages from among the pages of the second document data, starting with the page with the second highest similarity to the vector of the page specified in the search key, and retains the number of identified pages as the search result.

[0038] The calculation of the similarity will be described below. The page search unit 234 of this embodiment divides the text data of each page into words to obtain index terms, and the weight added to each index term is set as an element of a vector for each page. The weight of an index term may be calculated based on, for example, the number of times the index term appears on a page.

[0039] Then, the page search unit 234 calculates the inner product between the vector of the page specified in the search key and the vector of each page included in the second document data, and regards this inner product as the degree of similarity.

[0040] The method of calculating the similarity between pages may be a method other than the above-mentioned method, and the above-mentioned method is only one example.

[0041] In addition, in this embodiment, when document data is stored in the document storage unit 220, vectors for each page included in the document data may be obtained and stored in the document storage unit 220 in association with the document data.

[0042] Next, the process of the document comparison support device 200 of this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart illustrating the process of the document comparison support device of the first embodiment.

[0043] In the document comparison support device 200 of this embodiment, the comparison support processing unit 230 accepts input of first document data and second document data via the input accepting unit 231, and stores the first document data and the second document data in the document memory unit 220 via the document data storage unit 232 (step S401).

[0044] Next, the comparison support processing unit 230 causes the display control unit 233 to display the selected first document data and second document data on the comparison screen of the terminal device 300 (step S402). The comparison screen of this embodiment includes a first document display field for displaying the first document data, and a second document display field for displaying the second document data. Details of the comparison screen will be described later.

[0045] Next, the comparison support processing unit 230 judges whether or not an operation for designating a part (page) to be used as a search key in the first document data has been accepted by the input accepting unit 231 (step S403). The operation for designating a part to be used as a search key may be, for example, an operation for changing the page displayed in the first document display area by a scroll operation, a page forward operation, or the like.

[0046] If the corresponding operation is not received in step S403, the comparison support processing unit 230 proceeds to step S405, which will be described later.

[0047] In step S403, when the corresponding operation is accepted, the comparison support processing unit 230 causes the display control unit 233 to display the specified page in the first document display field (step S404).

[0048] Next, the comparison support processing unit 230 determines whether or not a search request has been received through the input receiving unit 231 (step S405). Specifically, the input receiving unit 231 determines whether or not an instruction to execute a search process for searching second document data using the page displayed in the first document display field as a search key has been received.

[0049] If a search request is not received in step S405, the comparison support processing unit 230 returns to step S403.

[0050] In step S405, when a search request is accepted, the comparison support processing unit 230 causes the page search unit 234 to search the second document data using the specified page as a search key (step S406).

[0051] Next, the comparison support processing unit 230 causes the display control unit 233 to display the search results in the second document display area (step S407), and ends the process. The display of the search results will be described in detail later.

[0052] In the example of FIG. 4, the process of storing the first document data and the second document data in the document storage unit 220 in step S401 and the processes from step S402 onwards are consecutive processes, but this is not limited to this.

[0053] The first document data and the second document data may be stored in the document storage unit 220 in advance.

[0054] In addition, in this embodiment, when document data is stored in the document memory unit 220, the document data storage unit 232 may generate vectors for each page contained in the document data, associate them with the document data, and store them in the document memory unit 220.

[0055] In this case, when receiving a search request, the page search unit 234 may calculate the similarity between the vector of the specified page and the vector of each page included in the second document data that is associated with the second document data, and output search results according to the similarity.

[0056] In addition, in this embodiment, if the vectors of each page of the document data are not stored in the document storage unit 220, the page search unit 234 may obtain the vector of the specified page and the vectors of each page included in the second document data when receiving a search request.

[0057] Next, display examples will be described with reference to Fig. 5 to Fig. 7. The display examples shown in Fig. 5 to Fig. 7 will be described as examples of screens displayed on the display of the terminal device 300, but are not limited to this. The display examples described below may be displayed on a display device connected to the document comparison support device 200.

[0058] Fig. 5 is a first diagram showing a display example of the first embodiment. A screen 51 shown in Fig. 5 is an example of a menu screen for selecting processing by the comparison support processing unit 230. In this embodiment, when a comparison support program for realizing the comparison support processing unit 230 is started, the screen may be displayed on the terminal device 300 by the display control unit 233.

[0059] The screen 51 has operation components 52, 53, and 54. The operation component 52 is an operation component for storing document data in the document storage unit 220. In this embodiment, for example, when the operation component 52 is selected on the screen 51, the screen 51 may transition to a screen for selecting document data to be stored in the document storage unit 220.

[0060] The operation component 53 is an operation component for deleting document data stored in the document storage unit 220. In this embodiment, for example, when the operation component 53 is selected on the screen 51, the screen 51 may transition to a screen for selecting document data to be deleted from the document storage unit 220.

[0061] The operation component 54 is an operation component for transitioning the screen 51 to a selection screen for multiple document data to be displayed on the comparison screen. In this embodiment, when the operation component 54 is operated on the screen 51, the screen 51 transitions to a screen 61, which will be described later.

[0062] Fig. 6 is a second diagram showing a display example of the first embodiment. A screen 61 shown in Fig. 6 is an example of a selection screen for selecting multiple document data.

[0063] A list 62 of document data stored in the document storage unit 220 is displayed on a screen 61. In this embodiment, document data selected by a pointer 63 in the list 62 is referred to as first document data and second document data.

[0064] Specifically, in this embodiment, the document data selected first from the list 62 by the pointer 63 is set as the first document data, and the document data selected later is set as the second document data.

[0065] In the example of Fig. 6, "Document A" is selected in the list 62, and then "Document B" is selected by the pointer 63. Therefore, in the example of Fig. 6, document A becomes the first document data (document data for which a search key is specified), and document B becomes the second document data (document data searched for by the search key).

[0066] The method of determining the first document data and the second document data is not limited to the above-mentioned method. For example, the first document data and the second document data may be determined on a comparison screen after multiple document data are selected in the list 62.

[0067] Fig. 7 is a third diagram showing a display example of the first embodiment. A screen 71 shown in Fig. 7 is an example of a comparison screen for comparing the first document data and the second document data selected on the screen 61.

[0068] The screen 71 of this embodiment includes a document display field 72 in which a part of the first document data is displayed, and a document display field 73 in which a part of the second document data is displayed. The screen 71 also includes an operation component 74 for instructing execution of a search process using a specified search key.

[0069] 7, the document display field 72 displays document data of the area of ​​“Document A” selected as the first document data, which corresponds to the document display field 72. In other words, a part of Document A is displayed in the document display field 72.

[0070] Moreover, in the document display field 73, of the "Document B" selected as the second document data, document data of an area corresponding to the document display field 73 is displayed. In other words, a part of the document B is displayed in the document display field 73.

[0071] Also, an operation component 72-1 for specifying a page of the first document data to be displayed in the document display field 72 is displayed near the document display field 72. In this embodiment, the page of document A to be displayed in the document display field 72 is changed in response to an operation on the operation component 72-1.

[0072] An operation component 73-1 for specifying a page of the second document data to be displayed in the document display field 73 is displayed near the document display field 73. In this embodiment, the page of document B to be displayed in the document display field 73 is changed in response to an operation on the operation component 73-1.

[0073] In this embodiment, a page of document A to be displayed in document display field 72 is specified by operating operation component 72-1, and when operation component 74 is operated, the page of document A displayed in document display field 72 is specified as a search key to perform a page search of document B. Note that a page search refers to searching document data including multiple pages for a page that is a search key, and identifying a page whose content is similar to that of the page that is the search key.

[0074] Specifically, for example, when the operation component 74 is operated, the page search unit 234 may obtain a vector of document A displayed in the document display field 72 and calculate the similarity with each page of document B. In addition, at this time, when document B is selected as the second document data, the vector of each page contained in document B may be obtained in advance, or the vector of each page may be obtained after the operation component 74 is operated.

[0075] In addition, in this embodiment, when a search key is specified and a search instruction is given, the vector of the page set as the search key is obtained for document A selected as the first document data. Therefore, in this embodiment, only the text data of each page of document A is obtained, and it is not necessary to obtain the vector of each page.

[0076] In this manner, in this embodiment, for document data selected as the first document data, text data of each page is obtained from the document storage unit 220. Also, in this embodiment, for document data selected as the second document data, text data of each page and vectors of each page may be obtained from the document storage unit 220.

[0077] When the operation component 74 on the screen 71 is operated to perform a search process on the document B, the display control unit 233 causes the document display section 73 to display the search results.

[0078] Fig. 8A is a fourth diagram showing a display example according to the first embodiment. A screen 71A shown in Fig. 8 shows an example of a comparison screen on which search results are displayed.

[0079] The document display field 73 of the screen 71A displays the page of document B that has the highest similarity to the page of document A displayed in document display field 72. In other words, the document display field 73 displays the page of document B that has the most similar content to the page of document A displayed in document display field 72.

[0080] 8A, the document display field 73 displays a page of document B that contains words such as "OO", "XX", and "XXX" that are included in the page of document A displayed in document display field 72. In this embodiment, for example, in document display field 73, words that match words included in the page displayed in document display field 72 may be displayed with a highlight or the like.

[0081] In the example of Fig. 8A, "OO", "XX", and "XXX" included in the page displayed in the document display field 72 are present on the page displayed in the document display field 73. Therefore, in this embodiment, the words "OO", "XX", and "XXX" may be highlighted in the document display field 73.

[0082] In other words, in this embodiment, the display mode of words in the document data to be searched that match words contained in the page specified by the search key may be made different from the display mode of words that do not match words contained in the page specified by the search key.

[0083] In addition, since no search processing has been performed on screen 71 shown in FIG. 7, the pages of document B displayed in document display area 73 are displayed regardless of their degree of similarity with the pages of document A displayed in document display area 72.

[0084] In addition, in this embodiment, in a display column 75 arranged above the document display column 73, the page numbers (page numbers) identifying pages of document B whose similarity to the page specified in the search key is equal to or greater than a predetermined threshold are displayed in order of decreasing similarity.

[0085] In the example of Fig. 8A, the page number indicating the page with the second highest similarity is displayed at the left end of the display field 75, and the page numbers are displayed in order from the page number indicating the page with the highest similarity. Also, in the example of Fig. 8A, five page numbers are displayed in the display field 75, but the number of page numbers displayed in the display field 75 may be any number.

[0086] 8A, the page in document B that has the next highest similarity to the page specified in the search key after the page displayed in document display column 73 is page 90, and the page with the next highest similarity is page 105. Therefore, in display column 75, 90 is displayed at the left end and 105 is displayed next to it.

[0087] In this manner, in this embodiment, information identifying pages whose similarity to the page set as the search key is equal to or greater than a predetermined threshold is displayed as a search result. In other words, in this embodiment, the number of pages whose similarity to the search key is equal to or greater than a predetermined threshold is displayed in a list.

[0088] Therefore, according to this embodiment, a worker who is viewing the comparison screen and performing the comparison work can roughly understand where in the document to be searched the content similar to the page used as the search key is written.

[0089] For example, if the list of page numbers includes a page number indicating a portion that is significantly different from the other page numbers, this serves as information indicating the possibility of a typo in the relevant page number.

[0090] Also, in this embodiment, for example, when an operation to select the page number displayed in the display field 75 is accepted, the page of document B indicated by the selected page number may be displayed in the document display field 73. Specifically, in this embodiment, for example, when the page number "105" is selected in the display field 75, page 105 of document B may be displayed in the document display field 73.

[0091] In this manner, in this embodiment, a comparison screen is displayed in which a first document display area in which the first document data is displayed and a second document display area in which the second document data is displayed are arranged side by side. Also, in this embodiment, when a search request is received on the comparison screen using a portion (page) displayed in the first document display area as a search key, the page whose content is most similar to the search key is displayed in the second document display area as the search result.

[0092] Therefore, in this embodiment, there is no need to create a search key combination or enter a search key in order to identify the parts of the second document data that should be compared with the first document data, thereby reducing the burden of comparing documents.

[0093] In the example of Figure 8A, the first document data for which a search key is specified is displayed in document display field 72 located on the left side of the comparison screen, and the second document data to be searched is displayed in document display field 73 located on the right side of the comparison screen, but the arrangement of the document display fields is not limited to this.

[0094] The document display field 72 and the document display field 73 may be arranged left to right in reverse. Furthermore, the document display field 72 in which the first document data is displayed and the document display field 73 in which the second document data is displayed may be interchangeable or switchable on the comparison screen.

[0095] For example, on screen 71A, by swapping the positions of document display field 72 and document display field 73 using a drag-and-drop operation or the like, the second document data may become the document data for which a search key is specified, and the first document data may become the document data to be searched.

[0096] For example, on the screen 71A, an icon image or the like indicating that the page is a search key may be displayed in association with a document display field in which the page is displayed as a search key. Then, by selecting this icon image, the document data for which the search key is specified may be switched from the first document data to the second document data.

[0097] In addition, in the screen 71 and the screen 71A, the document display field 72 and the document display field 73 are arranged side by side, but the layout is not limited to this. For example, the document display field 72 and the document display field 73 may be arranged side by side up and down.

[0098] 8A may be stored by the document comparison support device 200. Specifically, the document comparison support device 200 may store information identifying the first document data, the page number identifying the page used as the search key, information identifying the second document data, and the page number identified as the search result in association with each other.

[0099] Fig. 8B is a fifth diagram showing a display example of the first embodiment. A screen 71B shown in Fig. 8B shows an example of a comparison screen when a plurality of second document data (document data to be searched) are selected.

[0100] The screen 71B has document display fields 73a and 73b. In each of the document display fields 73a and 73b, a plurality of document data selected as the second document data are displayed.

[0101] Further, in the document display field 73a and the document display field 73b, display fields 75a and 75b are displayed in association with each other, respectively.

[0102] In this way, the screen 71B can display the search results for multiple search target document data at once. In other words, the screen 71B can display a list of pages with the highest similarity for each of the multiple document data to the search key page. Therefore, when there are multiple document data to be compared with one document data, the comparison points in the multiple document data can be identified at once, and the load of the comparison work can be reduced.

[0103] Second Embodiment The second embodiment will be described below with reference to the drawings. The second embodiment differs from the first embodiment in that it has a function of performing a search by line after performing a search by page. Therefore, in the following description of the second embodiment, the differences from the first embodiment will be described, and the same reference numerals as in the description of the first embodiment will be given to components having the same functional configuration as the first embodiment, and the description thereof will be omitted.

[0104] 9 is a diagram for explaining the functions of a document comparison support device of the second embodiment. A document comparison support device 200A of this embodiment includes a document storage unit 220 and a comparison support processing unit 230A.

[0105] The comparison support processing unit 230A includes an input receiving unit 231, a document data storage unit 232, a display control unit 233, a page search unit 234, and a line search unit 235.

[0106] When the line search unit 235 receives a line specification on a page specified by the search key and receives an instruction to execute a search process, it searches for the specified line within the page of the second document data identified as the search result based on the search key.

[0107] That is, when the line search unit 235 receives a specification of a line within a page that is set as a search key, the line search unit 235 searches within the page of the second document data identified by the page search unit 234 using the specified line as the search key.

[0108] Fig. 10 is a flowchart for explaining the process of the document comparison support device of the second embodiment. The process from step S1001 to step S1007 in Fig. 10 is similar to the process from step S401 to step S407 in Fig. 4, so the explanation will be omitted.

[0109] Following step S1007, the comparison support processing unit 230A determines whether or not a row designation has been accepted on the page designated by the search key by the input accepting unit 231 (step S1008). If no row selection has been accepted in step S1008, the comparison support processing unit 230A ends the process.

[0110] In step S1008, if a line selection is accepted, the comparison support processing unit 230A causes the line search unit 235 to search for the page of the second document data identified by the search by the page search unit 234 using the selected line as a search key (step S1009).

[0111] Next, the comparison support processing unit 230A causes the display control unit 233 to display the search results by the line search unit 235 on the comparison screen (step S1010), and ends the process.

[0112] Next, a display example of this embodiment will be described with reference to Fig. 11. Fig. 11 is a first diagram showing a display example of the second embodiment. A screen 111 shown in Fig. 11 shows an example of a case where a row that is to be a search key is selected on the comparison screen.

[0113] The screen 111 has a document display field 72, a document display field 73, an operation component 74, and an operation component 76. The operation component 76 is an operation component for instructing the line search unit 235 to execute a line search.

[0114] In screen 111, document display field 72 displays the page of document A specified as the search key, and document display field 73 displays the page of document B that has the highest similarity to the search key.

[0115] Also, on the screen 111, in the document display section 72, the line "Also, OO contains XXX." is selected.

[0116] In this state, when the operation component 76 is operated, the line search unit 235 searches within the page displayed in the document display box 73 using the selected line as a search key.

[0117] The following describes the search performed by the line search unit 235. When a line is specified as a search key, the line search unit 235 of this embodiment obtains a vector for the specified line. The method for obtaining a line vector is the same as the method for obtaining a page vector.

[0118] Next, the line search unit 235 obtains a vector for each line included in the page displayed in the document display box 73 .

[0119] Next, the line search unit 235 calculates the inner product of the vector of the line specified in the search key and each of the vectors of the lines included in the page displayed in the document display box 73. Then, the line search unit 235 identifies the line with the largest inner product of the vectors as the line most similar to the search key, and sets this as the search result.

[0120] That is, the line search unit 235 performs the same search process on a line basis as the page search unit 234 performs on a page basis.

[0121] In this embodiment, when a line similar in content to the specified line is identified as a search result by the line search unit 235, the result is displayed in the document display field 73.

[0122] 12 is a second diagram showing a display example of the second embodiment. A screen 111A shown in FIG.

[0123] On screen 111A, in document display field 73, "XXX is included in XXX" is specified as the line most similar to the line used as the search key, and is highlighted.

[0124] In addition, in the search by the line search unit 235, a marker may be added to a line whose similarity is equal to or greater than a predetermined threshold value. Also, the color of the marker may be changed according to the level of similarity.

[0125] In other words, in this embodiment, in a page of the second document data identified by the page search unit 234, the display mode of a line whose similarity to the search key line is equal to or greater than a predetermined threshold may be made different from the display mode of a line whose similarity is less than the predetermined threshold.

[0126] In this embodiment, after pages with similar content are identified in the two documents to be compared (document A and document B), lines with similar content can be identified within each page.

[0127] In this embodiment, a line search is performed by selecting a line in the document display field 72 and operating the operation component 76, but the operating method for performing a line search is not limited to this.

[0128] For example, when an operation to select a line is received in the document display field 72, this operation may be received as an instruction to execute a line search using the selected line. In this case, simply by selecting a line, a highlight is added to lines similar to the selected line in the document display field 73, and there is no need to display the operation component 76.

[0129] In the present embodiment, a line in a page is used as a search key, but the search key when searching within a page is not limited to a line. The search key when searching within a page may be, for example, a paragraph or a section.

[0130] In this embodiment, the line search is performed after the page search unit 234 performs the page search, but the line search may be performed before the page search.

[0131] Third embodiment The third embodiment will be described below with reference to the drawings. The third embodiment differs from the first embodiment in that it has a function of weighting words in a page that serve as a search key. Therefore, in the description of the third embodiment, the differences from the first embodiment will be described, and the same reference numerals as those used in the description of the first embodiment will be given to components having the same functional configuration as the first embodiment, and the description thereof will be omitted.

[0132] 13 is a diagram for explaining the functions of a document comparison support device of the third embodiment. A document comparison support device 200B of this embodiment includes a document storage unit 220 and a comparison support processing unit 230B.

[0133] The comparison support processing unit 230B includes an input receiving unit 231, a document data storage unit 232, a display control unit 233, a page search unit 234A, and a keyword presence / absence determination unit 236.

[0134] The keyword presence / absence determining unit 236 determines whether or not a keyword to be weighted has been input on the comparison screen.

[0135] When keyword presence / absence determination unit 236 determines that a keyword to be weighted has been input, page search unit 234A finds a page vector based on the text data of the page specified in the search key and the input keyword, and performs a page search.

[0136] Fig. 14 is a flowchart for explaining the process of the document comparison support device of the third embodiment. The process from step S1401 to step S1405 in Fig. 14 is similar to the process from step S401 to step S405 in Fig. 4, so the explanation will be omitted.

[0137] In step S1405, when a search request is received, the comparison support processing unit 230B determines whether or not a keyword has been input in the keyword input field of the comparison screen by the keyword presence / absence determining unit 236 (step S1406). The keyword input field will be described in detail later.

[0138] If no keyword has been input in step S1406, the comparison support processing unit 230B proceeds to step S1407.

[0139] The processes in steps S1407 and S1408 in FIG. 4 are similar to those in steps S406 and S407 in FIG. 4, and therefore will not be described.

[0140] In step S1406, if a keyword has been input, page search unit 234A obtains a page vector from the text data of the page specified in the search key and the input keyword, searches the second document data (step S1409), and proceeds to step S108.

[0141] Fig. 15 is a diagram showing a display example of the third embodiment. A screen 151 shown in Fig. 15 is an example of a comparison screen having a keyword input field.

[0142] The screen 151 has a document display field 72 , a document display field 73 , an operation component 74 , and a keyword input field 76 .

[0143] The keyword input field 76 is an input field for inputting a word to be weighted among words contained in the page specified by the search key. Note that the word inputted into the keyword input field 76 is a word contained in the page specified by the search key.

[0144] In this embodiment, a word may be entered directly into the keyword input field 76, or a word selected on a page displayed in the document display field 72 may be automatically entered into the keyword input field 76.

[0145] When a word is input in the keyword input field 76, the page search unit 234A of this embodiment adds the text data of the word input in the keyword input field 76 to the text data of the page displayed in the document display field 72. Then, the page search unit 234A obtains a vector of the text data to which the word has been added.

[0146] In this embodiment, by adding text data of the word entered in the keyword input field 76 to the page specified as the search key, the frequency of occurrence of the word entered in the keyword input field 76 increases when determining the vector of the page. Therefore, the vector of the page serving as the search key is a vector in which a weight is added to the word entered in the keyword input field 76.

[0147] In this way, in this embodiment, a page search of the second document data can be performed by weighting the words contained in the page that is the search key, thereby enabling the worker performing the comparison work to obtain the detection results that he or she desires.

[0148] Each function of the above-described embodiments can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (digital signal processor), an FPGA (field programmable gate array), or a conventional circuit module designed to execute each function described above.

[0149] Additionally, the apparatus described in the embodiments includes a plurality of computing devices, such as a server cluster, configured to communicate with each other via any type of communication link, including a network, shared memory, etc., and may perform the processes disclosed herein.

[0150] Although the present invention has been described above based on the embodiments, the present invention is not limited to the requirements shown in the above embodiments. These points can be changed without departing from the spirit of the present invention, and can be appropriately determined according to the application form. [Explanation of symbols]

[0151] 100 Comparison Processing Support System 200, 200A, 200B Document comparison support device 220 Document Storage Unit 230, 230A, 230B Comparison support processing section 231 Input reception section 232 Document Data Storage Unit 233 Display control section 234 Page Search Section 235 Line Search Unit 236 Keyword presence / absence determination section 300 Terminal Equipment [Prior art documents] [Patent documents]

[0152] [Patent Document 1] Patent No. 6248625

Claims

1. displaying a screen including a first document display field in which the first document data is displayed and a second document display field in which the second document data is displayed; when a portion of the first document data to be displayed in the first document display field is designated, a portion of the second document data similar to the portion displayed in the first document display field is displayed in the second document display field; the portion to be displayed in the first document display field is a page included in the first document data, displaying, in the second document display field, a page that has the highest similarity to the specified page among the pages included in the second document data; The screen includes an input field into which a word is input, and when a word contained in the specified page is input into the input field, weighting the words on the specified page; a page similar to the weighted page in the second document data;

2. The document comparison support program of claim 1, further comprising: a process for displaying, in a position corresponding to the second document display field, a list of information identifying pages, among the pages included in the second document data, whose similarity is equal to or greater than a predetermined threshold value.

3. the information for identifying the page is a page number, 3. The document comparison support program according to claim 2, wherein the page numbers are displayed in the list in descending order of the degree of similarity.

4. a display control unit that displays a screen including a first document display field in which the first document data is displayed and a second document display field in which the second document data is displayed; a search unit that, when a portion of the first document data to be displayed in the first document display field is designated, displays, in the second document display field, a portion of the second document data that is similar to the portion displayed in the first document display field; the portion to be displayed in the first document display field is a page included in the first document data, The search unit is displaying, in the second document display field, a page that has the highest similarity to the specified page among the pages included in the second document data; The screen includes an input field into which a word is input, and when a word contained in the specified page is input into the input field, weighting the words on the specified page; a document comparison support device that identifies a page in the second document data that is similar to the weighted page;

5. A method for supporting document comparison by a computer, comprising: displaying a screen including a first document display field in which the first document data is displayed and a second document display field in which the second document data is displayed; when a portion of the first document data to be displayed in the first document display field is designated, a portion of the second document data similar to the portion displayed in the first document display field is displayed in the second document display field; the portion to be displayed in the first document display field is a page included in the first document data, displaying, in the second document display field, a page that has the highest similarity to the specified page among the pages included in the second document data; The screen includes an input field into which a word is input, and when a word contained in the specified page is input into the input field, weighting the words on the specified page; a page similar to the weighted page is identified in the second document data;

6. displaying a screen including a first document display field in which the first document data is displayed and a second document display field in which the second document data is displayed; When an arbitrary portion of the displayed first document data is designated, a portion of the displayed second document data that is similar to the designated portion is displayed in the second document display field; the portion to be displayed in the first document display field is a page included in the first document data, displaying, in the second document display field, a page that has the highest similarity to the specified page among the pages included in the second document data; The screen includes an input field into which a word is input, and when a word contained in the specified page is input into the input field, weighting the words on the specified page; a page similar to the weighted page in the second document data;

7. a display control unit that displays a screen including a first document display field in which the first document data is displayed and a second document display field in which the second document data is displayed; a search unit which, when an arbitrary portion of the displayed first document data is designated, displays a portion of the displayed second document data similar to the designated portion in the second document display field; the portion to be displayed in the first document display field is a page included in the first document data, The search unit is displaying, in the second document display field, a page that has the highest similarity to the specified page among the pages included in the second document data; The screen includes an input field into which a word is input, and when a word contained in the specified page is input into the input field, weighting the words on the specified page; a document comparison support device that identifies a page in the second document data that is similar to the weighted page;

Citation Information

Patent Citations

  • immunomodulatory

    JP1987048625A

  • Document data comparison method, document data comparison apparatus, and document data comparison program

    JP2015069393A

  • Electronic device and method

    JP2015094978A