The entire disclosure of Japanese Patent Application No. 2018-233261, filed on Dec. 13, 2018, is incorporated herein by reference in its entirety.
The present invention relates to a document processing device and a document processing program.
Companies are required to efficiently prepare and confirm daily reports, weekly reports, and other periodic reports. For example, business reports from subordinates to superiors are regularly performed in the form of daily reports or weekly reports, in many cases.
The report includes details such as the progress of initiatives for issues and the occurrence of problems, and reports on the same issues and problems multiple times using a PDCA (Plan, Do, Check, Act) cycle, and the like. For example, for one issue, in a case where it is not possible to solve a problem in a single reporting period, the subordinate reports the progress to the supervisor multiple times. In this case, the report may not include the previously reported content, and the supervisor needs to memorize the previous reported content.
However, in a case where a supervisor has a plurality of subordinates, it is normally difficult for the supervisor to memorize the contents of the previous reports of the plurality of subordinates over a long period of time. For example, it is assumed that a subordinate reports to a supervisor that a project has 4 digested work units (total work unit is 5), in this weekly report. On the other hand, the supervisor can read this weekly report and immediately grasp that 4 of 5 work units in total have been digested. However, in a case where the supervisor does not memorize the work units which have been digested last week, the supervisor does not know the number of digested work units from the last week to this week. In such a case, the supervisor needs to make inquiries to the subordinate or to check the previous report, and this takes time and effort. In addition, the subordinate may forget the previous reported content even though the supervisor performs an inquiry to the subordinate. Thus, it is also necessary to check the previous report, and this takes time and effort. In a case where the supervisor checks the previous report of the subordinate, the supervisor searches for the content similar to the content reported in this weekly report, from the previous report.
Regarding this, for example, a technology of comparing the paragraphs of one document of two specific documents with the paragraphs or chapters of the other document to calculate similarity is disclosed in Japanese Patent Application Laid-Open No. 2015-219799.
However, in the technology disclosed in Japanese Patent Application Laid-Open No. 2015-219799, similarity of the paragraph or the chapter between the two specific documents is calculated. Thus, it is not considered that a part similar to a part selected by a user in one document is searched from the other document.
The present invention has been made in view of the above circumstances, and an object thereof is to provide a document processing device and a document processing program in which it is possible to search for a part similar to a part selected by a user in one document from another document mutually related to the above document.
To achieve at least one of the above-mentioned objects, according to an aspect of the present invention, a document processing device reflecting one aspect of the present invention comprises a storage unit that stores a plurality of documents related to each other, a selection unit that causes a user to select a part of a content of a first document among the plurality of documents stored in the storage unit, a searching unit that searches for a part similar to the selected part of the content of the first document, from documents other than the first document among the plurality of documents, and a notification unit that performs a notification of a first part which has been found by the searching unit and is similar to the selected part of the content of the first document.
To achieve at least one of the above-mentioned objects, according to another aspect of the present invention, a document processing program reflecting another aspect of the present invention causes a document processing device to execute a procedure (a) of causing a user to select a part of a content of a first document registered in the document processing device, a procedure (b) of searching for a part similar to the selected part of the content of the first document from documents other than the first document among a plurality of documents which are registered in the document processing device and relate to each other, and a procedure (c) of performing a notification of a first part which has been found in the procedure (b) and is similar to the selected part of the content of the first document.
The advantages and features provided by one or more embodiments of the invention will become more fully understood from the detailed description given hereinbelow and the appended drawings which are given by way of illustration only, and thus are not intended as a definition of the limits of the present invention.
Hereinafter, one or more embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the disclosed embodiments.
<Document Processing System 100>
As illustrated in
The network 101 includes a LAN (Local Area Network) in which network devices including the user terminals 200A and 200B and the document processing device 300 are connected to each other, or a WAN (Wide Area Network) in which the LANs are connected to each other by a dedicated line, and the like.
<User Terminals 200A, 200B>
As illustrated in
The input unit 210 receives an input of a user and transmits the input to the control unit 240. The input unit 210 includes, for example, a keyboard, a pointing device such as a mouse, a touch panel display, and the like, and receives character input, position information input, various settings, various instructions, and the like from a user.
The output unit 220 includes, for example, a display, and displays various pieces of information such as a screen for receiving a user input, various setting screens, a document editing screen, and processing results. The output unit 220 can also include a speaker and the like.
The communication unit 230 includes a communication interface, and transmits and receives data to and from the document processing device 300.
The control unit 240 includes an auxiliary storage unit 241, a CPU (Central Processing Unit) 242, and a memory 243. The CPU 242 realizes various functions by executing an OS (Operating System) and various kinds of application software. The application software includes a word processing application, a spreadsheet application, a drawing application, and the like. The OS and various kinds of application software are stored in the auxiliary storage unit 241.
The memory 243 includes a RAM (Random access memory) and a ROM (Read Only Memory). The application software is loaded from the auxiliary storage unit 241 onto the RAM when executed by the CPU 242. Processing results and calculation results by the CPU 242 are stored in the RAM. Various parameters and the like required when the OS is executed are stored in the ROM.
It is assumed below that a user B (for example, a supervisor) of the user terminal 200B confirms a report (document) created by the user A (for example, a subordinate) on the user terminal 200A. The user A creates a report using application software on the user terminal 200A, and transmits the report to the document processing device 300. The user B operates the user terminal 200B to confirm the report stored in the document processing device 300.
<Document Processing Device 300>
The document processing device 300 is a computer or a server, and has an input unit, an output unit, a communication unit, and a control unit, similar to the user terminals 200A and 200B. The control unit includes an auxiliary storage unit, a CPU, and a memory. Since the components have the same configuration as that of the user terminals 200A and 200B, description thereof will be omitted. The document processing device 300 may be an information terminal equivalent to the user terminals 200A and 200B, for example, a personal computer.
The storage unit 310 stores a plurality of documents. As will be described later, some of the plurality of documents relate to each other, such as, for example, a past weekly report and a this weekly report.
For example, the user A creates a report using a document creation application or the like on the user terminal 200A, and transmits the report to the document processing device 300. The data of the transmitted report is stored in the storage unit 310. In this specification, transmitting a report created by a user to the document processing device 300 and storing the report in the storage unit 310 is referred to as “registration” below.
The storage unit 310 accumulates documents such as reports of a plurality of users including the user A every day. The document management form in the storage unit 310 may be a form in which each user manages a document name and a folder name, or may be a form in which documents of all user are centrally managed by dedicated file management software. A series of reports such as daily reports and weekly reports, which relate to each other may be managed so that a part of the file name is shared. Further, the document processing device 300 may have a recording file in the storage unit 310. The recording file is used for associating and recording documents related to each other.
The selection unit 320 causes the user B to select a part of the content of a specific report among a plurality of registered documents, for example. The specific report is a report that needs to be confirmed by the user B, and may be designated by the user B, or may be designated by the user A or another user. The part of the content may mean, for example, one or more sentences or sections. The selection unit 320 causes the display of the user terminal 200B to display a specific report and urges the user B to select a part of the specific report, which needs to be confirmed.
The searching unit 330 searches for a part similar to the part of the content from documents other than the specific report among the plurality of registered documents. The searching unit 330 includes a title determination unit 331, a title searching unit 332, and a body searching unit 333. Details of the components will be described later.
The notification unit 340 performs a notification of a part which has been found by the searching unit 330 and is similar to the part of the content. More specifically, the notification unit 340 performs the notification, for example, in a manner that the notification unit 340 transmits the found part similar to the part of the content to the user terminal 200B and causes the found part to be displayed in the display of the user terminal 200B.
<Document Processing Method>
An outline of a document processing method performed by the document processing device 300 will be described below with reference to
Firstly, a user is caused to select a part of the content of a report (step S101). For example, the user B operates the user terminal 200B and designates a first report (first document) that needs to be confirmed. The selection unit 320 reads the data of the designated first report from the storage unit 310 and transmits the data to the user terminal 200B. As illustrated in
Then, a part similar to the confirmation sentence 403 is searched for (step S102). The searching unit 330 searches for a part similar to the selected confirmation sentence 403 in a second report (second document) being a document related to the first report 402 from documents other than the first report 402 among the registered documents. A specific example of a searching method will be described later.
Then, a notification of the part similar to the confirmation sentence 403 is performed (step S103). The notification unit 340 performs the notification by causing the display of the user terminal 200B to display the part (first part) of the second report, which is similar to the selected confirmation sentence 403. If necessary, the notification of the part similar to the confirmation sentence 403 can be performed by sound with a speaker.
As described above, according to the flowchart illustrated in
Next, an example of a method for searching for a part similar to the confirmation sentence 403 will be described with reference to
In Example 1, it is presumed that the content of the report includes a body and a title to which the body belongs. The body contains at least one sentence or section. It is assumed that the confirmation sentence 403 is selected from the body of the first report 402.
The document processing device 300 determines a title to which the confirmation sentence 403 of the first report 402 belongs, and searches for a title similar to the determined title from the second report. The second report may be, for example, the most recent report of previous reports. Furthermore, the document processing device 300 searches for a part (first part) similar to the confirmation sentence 403 of the first report 402, from the body belonging to the title found in the second report. In Example 1, for example, the first report 402 is this weekly report, and the second report is the previous weekly report. A more specific procedure of the searching method in Example 1 is as follows.
As illustrated in
Then, each of the first and second reports 402 and 404 is divided into a title and a body (step S202). As illustrated in
Then, a title to which the confirmation sentence 403 of the first report 402 belongs is determined (step S203). The title determination unit 331 selects the title to which the confirmation sentence 403 belongs (corresponding to the confirmation sentence 403) from the first and second titles 410 and 412 obtained by performing syntactic analysis on the first report 402. For example, in a case of the example illustrated in
Then, a title similar to the title to which the confirmation sentence 403 belongs is searched from the second report 404 (step S204). The title searching unit 332 calculates title similarity between the first title 410, and each of the third and fourth titles 420 and 422 included in the second report 404. The title searching unit 332 sets a title in which the calculated title similarity exceeds a predetermined threshold among the third and fourth titles 420 and 422 to be a title similar to the first title 410.
The title similarity can be calculated by (number of title characters−distance)/number of title characters. The number of title characters is, for example, the number of characters of the first title 410. The distance is, for example, the Levenshtein distance between the first title 410, and the third title 420 or the fourth title 422. The predetermined threshold may be 80%, for example.
For example, as illustrated in
Then, a sentence similar to the confirmation sentence 403 is determined from the body belonging to the similar title (step S205). For example, it is considered that, in a case where the user A creates the first report 402 based on the second report 404, that is, the user A partially edits the second report 404 to reflect the work progress, there is no large difference between the bodies of the first and the second reports 402 and 404. In the present embodiment, the body searching unit 333 calculates body similarity between the confirmation sentence 403, and each sentence included in the third body 421 belonging to the third title (similar title) 420. The body similarity can be calculated by (number of body characters-distance)/number of body characters. Here, since the number of body characters and the distance are defined in the similar manner to the number of title characters and the distance, detailed description thereof will be omitted. The body searching unit 333 sets a sentence (referred to as “determination sentence” below) in the third body 421, in which the body similarity exceeds a predetermined threshold, to be a body similar to the confirmation sentence 403.
For example, as illustrated in
In the above example, a case where the first and second reports 402 and 404 are the reports of the current week and the previous week is described. However, the example is not limited to such a case, and the second report 404 may be a report before the previous week. Even in a case where the sentence similar to the confirmation sentence 403 in this weekly report is not found from the previous weekly report or in a case where such a sentence is found, the searching unit 330 can search for the sentence similar to the confirmation sentence 403 from a report before two weeks from the previous week.
Next, another example of the method of searching for a part similar to the confirmation sentence 403 will be described with reference to
In Example 1, the case where a sentence similar to the confirmation sentence 403 of the first report 402 is searched in reports before the second report 404 earlier than the first report 402 has been described. In Example 2, a case where a sentence similar to the determination sentence 424 of the second report 404 is searched in a third report before the second report 404 in addition to the searching in Example 1 will be described. In Example 2, the first report 402 is this weekly report, the second report 404 is the report for the previous week (one week ago), and the third report is a report for a week before two weeks.
As illustrated in
Then, each of the first and third reports is divided into a title and a body (step S302). The searching unit 330 performs syntactic analysis on the first to third reports, and divides each of the first to third reports into at least one title and a body belonging to the title. The body contains at least one sentence or section. In a case where searching is performed in the fourth to the n-th reports before the third report, dividing into a title and a body is performed to the n-th report in the similar manner.
Then, a title to which the confirmation sentence 403 of the first report 402 belongs is determined (step S303). The title determination unit 331 determines the title to which the confirmation sentence 403 belongs, from at least one title obtained by performing syntactic analysis on the first report 402.
Then, a title (similar title) similar to the title to which the confirmation sentence 403 belongs is searched from the second report 404 (step S304). The title searching unit 332 calculates the title similarity between the first title 410 to which the confirmation sentence 403 belongs, and the third and fourth titles 420 and 422 included in the second report 404. The title searching unit 332 sets the title of the second report 404, in which the title similarity exceeds a predetermined threshold, to be a similar title similar to the first title 410. In the example illustrated in
Then, a sentence similar to the confirmation sentence 403 is determined from a body belonging to the similar title and is stored (step S305). The body searching unit 333 calculates the body similarity between the confirmation sentence 403, and each sentence included in the third body 421 belonging to the third title (similar title) 420. The body searching unit 333 stores the sentence in which the body similarity exceeds a predetermined threshold, as a determination sentence. In the example illustrated in
Then, a title similar to the similar title of the second report 404 is searched from the third report (step S306). The title searching unit 332 calculates the title similarity between the similar title (third title 420) of the second report 404, and a fifth title 430 and a sixth title 432 included in the third report (see
Then, a sentence similar to the determination sentence 424 of the second report 404 is determined from the body belonging to the similar title of the third report 425, and is stored (step S307). The body searching unit 333 calculates the body similarity between the determination sentence 424 of the second report 404 and each sentence included in the body belonging to the similar title of the third report 425. The body searching unit 333 stores the sentence in which the body similarity exceeds a predetermined threshold, as the determination sentence. In the example illustrated in
As described above, in Example 2, the confirmation sentence 403 of the first report 402 and the determination sentence 424 of the second report 404 are in a similar relation, and the determination sentence 424 of the second report 404 and the determination sentence 434 of the third report 425 are in a similar relation. Further, it is considered that the similarity between the confirmation sentence 403 and the determination sentence 434 is not as large as the similarity between the confirmation sentence 403 and the determination sentence 424, but has some degrees. For example, in a case where the user A creates a report for the previous week based on the report for a week before two weeks, and creates a report for the current week based on the report for the previous week, it is considered that there is no large difference between bodies of the reports for the week before two weeks and for the previous week. However, this weekly report has been edited twice from the report for a week before two weeks by the user A, and thus it is considered that a difference between the bodies is large. In the present embodiment, assuming such a case, a sentence similar to the report in comparison to the previous report (for example, the report of the previous week) is also set to be the determination sentence and is stored in the storage unit 310. Thus, the user B can also refer to the sentence similar to the confirmation sentence 403 in a report in the past such as a week before two weeks.
As described above, according to the process illustrated in
A method of displaying the determination sentence with a pop-up window in Example 3 will be described with reference to
As illustrated in
As illustrated in
Further, as illustrated in
The determination sentence 434 of the third report 425 may be also displayed in addition to the determination sentence 424 of the second report 404.
As illustrated in
The searching unit 330 can also search for a part similar to the confirmation sentence 403 in a report newer than the first report 402 including the confirmation sentence 403. In a case where it is not possible for the searching unit 330 to find a part similar to the confirmation sentence 403, the notification unit 340 can cause a message indicating that it is not possible to find the similar part to be displayed, for example, in a pop-up window. A possibility that the reason that it is not possible to find the part similar to the confirmation sentence 403 is that the report content of the confirmation sentence 403 is subsequently resolved, and it is not required to be described in the report is high. As illustrated in
The document processing device 300 in the present embodiment described above exhibits the following effects.
A part similar to the confirmation sentence 403 of the first report 402 is searched for in other documents which are stored in the storage unit 310 and are related to the first report 402. A notification of the determination sentence 424 which has been found by searching and is similar to the confirmation sentence 403 is performed. Therefore, the portion similar to the part selected by the user B in the content of the first report 402 can be searched from the other documents.
The present invention is not limited to only the above-described embodiment, and various modifications can be made within the scope of the claims
For example, the means and method for performing various processes in the document processing device 300 according to the above-described embodiment can be realized by either a dedicated hardware circuit or a programmed computer. The program may be provided, for example, by a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), or may be provided online via a network such as the Internet. In this case, the program recorded in the computer-readable recording medium is usually transferred to and stored in a storage unit such as a hard disk. The program may be provided as single application software, or may be embedded in the device software as one function of the document processing device 300.
Although embodiments of the present invention have been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and not limitation, the scope of the present invention should be interpreted by terns of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2018-233261 | Dec 2018 | JP | national |