Document input support program and document editing system
The system addresses the issue of undefined terms by analyzing definition sections and inline terms, integrating their meanings, and providing pop-up displays, enhancing document clarity and accuracy.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-02-17
- Publication Date
- 2026-04-15
AI Technical Summary
Existing document processing systems fail to verify the validity of defined words extracted from documents, leading to potential inaccuracies in conveying meaning.
A system and method for analyzing definition sections and inline defined terms, integrating their meanings, and detecting undefined words, with pop-up displays for clarification.
Ensures the validity of defined terms is verified, improving the accuracy and clarity of document meaning by identifying and managing undefined terms.
Smart Images

Figure 0007846535000001 
Figure 0007846535000002 
Figure 0007846535000003
Abstract
Description
Technical Field
[0001] The present invention relates to a document input support program and a document editing system.
Background Art
[0002] Conventionally, there has been known a document processing apparatus in which a user edits document data (documents) using a word processor, word processing software, or the like. When describing a document in this way, the user may define the meaning of the word. This is to accurately convey the meaning of the document.
[0003] Patent Document 1 describes an invention in which morphological analysis is performed to divide words, and "definition attributes" are given to words corresponding to "~" extracted in a language pattern such as "~ means -".
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] According to the invention described in Patent Document 1, words described in a predetermined language pattern can be extracted as defined words. However, the case where the defined words extracted from the document are not valid is not considered. Therefore, an object of the present invention is to verify the validity of defined words extracted from a document.
Means for Solving the Problems
[0006] In order to achieve the above object, the present invention A procedure for analyzing a definition section described in a document, obtaining the string enclosed in brackets within that definition section as the definition word, and obtaining the string not enclosed in brackets after the obtained definition word as the meaning of that definition word. A procedure for analyzing text other than the definition section of the aforementioned document to obtain inline defined terms and their meanings, and for determining the words that indicate the scope in which the defined terms are valid, thereby identifying the scope of validity of the defined terms. A procedure for generating a unified set of definition words by taking the union of the definition words obtained from the definition section and the definition words obtained inline, A procedure for detecting the usage locations of definition words included in the aforementioned integrated definition word set within the document, and detecting definition words used outside the scope as undefined words. A procedure for displaying the meaning of a defined word in a pop-up window when the user detects that the mouse cursor is hovering over the aforementioned usage location for a predetermined period of time. It is a document input support program for causing a computer to execute.
[0007] The present invention A procedure for analyzing a definition section described in a document, obtaining the string enclosed in brackets within that definition section as the definition word, and obtaining the string not enclosed in brackets after the obtained definition word as the meaning of that definition word. A procedure for analyzing text other than the definition section of the aforementioned document to obtain inline defined terms and their meanings, and for determining the words that indicate the scope in which the defined terms are valid, thereby identifying the scope of validity of the defined terms. A procedure for generating a unified set of definition words by taking the union of the definition words obtained from the definition section and the definition words obtained inline, A procedure for detecting the usage locations of definition words included in the aforementioned integrated definition word set within the document, and detecting definition words used outside the scope as undefined words. A procedure for displaying the meaning of a defined word in a pop-up window when the user detects that the mouse cursor is hovering over the aforementioned usage location for a predetermined period of time. A document editing system characterized by comprising
Advantages of the Invention
[0008] [[ID=...]] According to the present invention, it becomes possible to verify the validity of defined terms extracted from a document.
Brief Description of the Drawings
[0009] [Figure 1] It is an explanatory diagram for explaining the main configuration of a computer according to this embodiment. [Figure 2] It is a block diagram of each functional unit. [Figure 3A] It is a flowchart showing the defined term analysis process. [Figure 3B] It is a flowchart showing the defined term analysis process. [Figure 4] It is a diagram showing defined terms described in-line, defined terms described in a definition section, and defined terms used in a document. [Figure 5] It is a diagram showing an unused term list screen. [Figure 6] It is a diagram showing an undefined term list screen. [Figure 7] It is a diagram showing a pop-up dialog of a defined term. [Figure 8] It is a configuration diagram of a document editing system including a terminal and a server.
Modes for Carrying Out the Invention
[0010] Hereinafter, embodiments for implementing the present invention will be described in detail with reference to the respective drawings. FIG. 1 is an explanatory diagram for explaining the main configuration of the computer according to the present embodiment. The computer 1 is, for example, a computer that functions as a document creation support device (word processor). The document creation support device has a document input support function. In the following description, the same components will be denoted by the same reference numerals and the description will be appropriately omitted.
[0011] The computer 1 includes a CPU (Central Processing Unit) 11, a storage unit 12, a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, an operation unit 15, and a display unit 16. The storage unit 12 stores a document editing program 121, a defined word analysis add-in 122, and a frequently used defined word list 123.
[0012] The CPU 11 is a central processing unit that executes the document editing program 121 and the defined word analysis add-in 122 stored in the storage unit 12.
[0013] The document editing program 121 is a program for executing procedures for document creation support and procedures for editing the document when executed by the CPU 11. That is, by starting the document editing program 121, the CPU 11 can open a window for editing a document.
[0014] The defined word analysis add-in 122 is a document input support program that realizes a function of detecting a defined word and determining its validity in a state where the document editing program 121 is started. The defined word analysis add-in 122 detects defined words from within the document. Note that the implementation destination for implementing the function of detecting a defined word and determining its validity is not limited to an add-in program. <00001The list of frequently occurring definition terms (123) is a list of definition terms that frequently appear in contracts and other similar documents. Note that the list of frequently occurring definition terms (123) may not consist of fixed nouns, but may also be written using regular expressions.
[0016] The CPU 11 implements each of the functional units shown in Figure 2 by executing the definition word analysis add-in 122. The processes performed by the CPU 11 will be described later using Figure 3.
[0017] The storage unit 12 is a large-capacity storage device, and is composed of, for example, a hard disk drive or flash memory. The storage unit 12 can also store document data that constitutes a document.
[0018] RAM14 is volatile memory and functions as a work area that temporarily stores various programs, input data, output data, and parameters that can be executed by the CPU11. ROM13 is non-volatile memory and stores things like the BIOS (Basic I / O System).
[0019] The operation unit 15 is comprised of a keyboard equipped with cursor keys, number input keys, and various function keys, and a pointing device such as a mouse. The operation unit 15 detects key press signals from the keyboard and operation signals from the mouse. The CPU 11 performs various processes based on the operation signals from the operation unit 15.
[0020] The display unit 16 is configured to include a monitor display such as an LCD (Liquid Crystal Display). The display unit 16 displays various screens based on display signals input from the CPU 11. Furthermore, the display unit 16 and the operation unit 15 can also employ touch panel displays.
[0021] The internal bus 17 is a combination of multiple signal lines that connect each component in computer 1 to one another.
[0022] Figure 2 is a block diagram of each functional unit. The CPU 11 of computer 1 implements the following functional units: the definition section analysis unit 111, the inline analysis unit 112, the integration unit 113, the external link unit 114, and the detection unit 115.
[0023] The definition section analysis unit 111 analyzes the definition section. A definition section refers to a section of a document, such as a clause, that lists all the terms defined in the document. For example, it may be the part of the clause title that says "Definition," or the part where the defined terms are listed in a table format.
[0024] In the case of a definition section whose title is "Definition," the definition section parser 111 determines that the string enclosed in quotation marks is the definition word when the subject of the sentence is enclosed in quotation marks, and determines that the part thereafter that is not enclosed in quotation marks is the meaning of the definition word. However, if the length of the string enclosed in quotation marks exceeds a predetermined value, or if the string enclosed in quotation marks contains punctuation marks, it is treated as not being a definition word.
[0025] For example, in the case of a definition section where the table title or item name is written as "definition," the definition section analysis unit 111 determines that strings enclosed in brackets in a specific column are definition words, and determines that strings not enclosed in brackets in subsequent columns are the meanings of the definition words.
[0026] The inline analysis unit 112 analyzes text outside of the definition section in which definition words are written inline. The inline analysis unit 112 sequentially analyzes the text outside of the definition section and identifies phrases that will be used again from here on, such as "(hereinafter referred to as "business days")", as well as quotation marks and the string "that", and identifies them as definition words.
[0027] Other variations include phrases such as (collectively referred to as "business days." The same applies hereafter.) The phrase "The same applies hereafter." can also be expressed as "The same applies hereafter," "The same applies below," "The same applies hereafter," "The same applies hereafter," or "The same applies hereafter."
[0028] The inline analysis unit 112 sets an upper limit on the length of defined words to prevent false detections. Furthermore, the inline analysis unit 112 analyzes defined words assuming that they do not contain characters such as quotation marks, punctuation marks, or line breaks.
[0029] The inline analysis unit 112 may determine a word that indicates the range in which the defined word is valid, such as (hereinafter referred to as "business days" in this chapter), and identify the range of the defined word. The inline analysis unit 112 then stores the surrounding strings in memory along with the defined word as the meaning that the defined word refers to.
[0030] Furthermore, when the inline analysis unit 112 extracts the meaning referring to the defined word, it extracts one or more sentences surrounding the definition. This is done by identifying the range of each set of parentheses, separating them with periods, and then extracting the sentences.
[0031] The integration unit 113 integrates the definition words obtained by the definition section analysis unit 111 from the definition section of the document and the definition words obtained by the inline analysis unit 112 from parts written inline in the document other than the definition section by taking the union of these definition words. This makes it possible to uniquely determine the use of definition words in the document. Note that the definition words obtained by the definition section analysis unit 111 from the definition section of the document and the definition words obtained by the inline analysis unit 112 from parts written inline in the document are managed separately.
[0032] The definition terms may also be declared in a file other than this document. The external link section 114 allows the user to link to the relevant file, thereby loading the definition terms from an external source. The detection unit 115 detects where the union of defined words obtained by the definition section analysis unit 111 from analyzing the definition section and defined words obtained by the inline analysis unit 112 from analyzing text outside the definition section is used in the document. The detection unit 115 further detects undefined words that are included in the frequently occurring defined word list 123 but are not defined as defined words. The detection unit 115 can also detect defined words that exist in the inline defined words but have been forgotten to be included in the definition section.
[0033] Furthermore, the detection unit 115 detects when the same definition word is defined multiple times in the definition section and displays a warning, and also displays a warning if a definition word obtained from text outside the definition section is defined again in another part of the text outside the definition section. This allows the user to organize duplicate definition words.
[0034] Furthermore, the detection unit 115 displays a warning if, in a document where a definition section does not exist, a definition word obtained from text outside the definition section is used before its definition location. This allows the user to set the definition location of a definition word to the earliest possible location where that definition word appears.
[0035] Figures 3A and 3B are flowcharts illustrating the definition word analysis process. First, the definition section analysis unit 111 retrieves the definition words from the definition section of the document (step S10). Here, the definition section refers to, for example, the definitions of terms shown in Article 1 - Definitions in Figure 4.
[0036] The inline analysis unit 112 retrieves definition words defined inline in the document from text other than the definition section of the document (step S11). Here, definition words defined inline in text other than the definition section of the document refer to terms shown in parentheses in the preamble of the contract in Figure 4, for example.
[0037] In step S12, the detection unit 115 determines whether a definition section exists. If a definition section exists (Yes), the integration unit 113 integrates the definition words defined inline in the text outside the definition section with the definition words defined in the definition section (step S13), and proceeds to the process in step S14. Here, integration means taking the union of the definition words in the text and the definition words in the table. If the determination in step S12 indicates that no definition section exists (No), the detection unit 115 proceeds to the process in step S16.
[0038] In step S14, the detection unit 115 displays a warning for definition words that are defined inline in text outside of the definition section and are not defined in the definition section. This allows the user to consolidate all definitions into the definition section, making the text easier to understand.
[0039] Furthermore, if the detection unit 115 detects and warns of the same definition word being defined multiple times in the document's definition section (step S15), it proceeds to step S18. This allows the user to consolidate definition words that have been incorrectly defined multiple times into a single definition.
[0040] In step S16, the detection unit 115 detects the use of a definition word obtained from text outside the definition section. The detection unit 115 displays a warning for definition words that were used before the definition section (step S17) and proceeds to step S18. In step S18, the detection unit 115 detects definition words obtained from text outside the definition section that are defined again in other parts of the text outside the definition section, and displays a warning for these detected definition words. This allows the user to consolidate definition words that have been mistakenly defined multiple times in text outside the definition section into a single definition.
[0041] In step S19, the detection unit 115 detects the use of the integrated definition words in this document and the definition words in the linked document. The detection unit 115 determines whether or not there are any unused definition words (step S20).
[0042] If the detection unit 115 finds any unused definition words (Yes), it records these unused definition words and proceeds to step S21. If the detection unit 115 finds no unused definition words (No), it proceeds to step S21. By displaying this record of unused definition words in a dialog box or the like, the user can recognize the definition portion of unnecessary definition words. Furthermore, the user can make the document more concise and easier to understand by deleting the definition portion of unnecessary definition words.
[0043] In step S22, if the detection unit 115 detects a frequently used defined word from the list 123 (see Figure 1) that is used in this document but is not defined as a defined word, it terminates the process shown in Figure 3. The process in step S22 prevents the user from using undefined terms, making the text easier to understand.
[0044] Figure 4 shows definition terms written inline, definition terms written in definition sections, and definition terms used in the document. Document window 2 is a window opened when CPU 11 executes document editing program 121, and it is currently displaying a specified contract file. The preamble to this contract is displayed at the top of document window 2, and the defined terms 20 are displayed inline.
[0045] In the middle of document window 2, Article 1 of the contract—Definitions—is written, and definition terms 21-26 are listed as paragraphs of Article 1. Here, Article 1 of the contract is the definitions section. At the bottom of document window 2, Article 2, Paragraph 2 of the contract is displayed, and the defining term "the Contractor" is used.
[0046] Figure 5 shows a list of unused terms. When a user selects a proofreading result from the definition analysis ribbon, the proofreading results window 3 is displayed. The proofreading results window 3 shows, in a table format, terms that have been defined but are not actually used (defined terms), their definition locations, and excerpts of the text before and after the relevant definition location. Exclude buttons 311 to 313 are located at the right end of each row. When a user clicks any of the exclusion buttons 311 to 313, that term is removed from the defined terms.
[0047] In Figure 5, the proofreading results window 3 displays the unused term button 31 and the undefined term button 32. In Figure 5, the unused term button 31 is highlighted, indicating that a list of unused terms is displayed. When the user clicks the undefined term button 32, the list of undefined terms shown in Figure 6 is displayed.
[0048] Figure 6 shows a list of undefined terms. The proofreading results window 3 displays, in a table format, terms that are actually used despite being undefined (defined terms), their usage, and excerpts of the text before and after the relevant usage. An exclude button 321 is located at the right end of each row. When a user clicks an exclude button 321, the column corresponding to the clicked exclude button is deleted, and the term "the contractor" is removed from the list of undefined terms.
[0049] At the bottom of the proofreading results window 3, there is a button 322 labeled "Set reference to definition term in another file". When a user clicks the "Set reference to definition term in another file" button 322 and specifies a reference to another file in which the definition term is defined, the definition term in the specified other file is treated as if it were defined in this file, and a pop-up display becomes available. In other words, definition terms can be defined in a file other than the one currently open. This eliminates the need to switch between this file and another file to view definition terms.
[0050] Figure 7 shows a pop-up dialog box 71 for defining terms. A pop-up dialog 71 is displayed at the top of document window 7. This pop-up dialog 71 appears when the user places the mouse cursor over a defined word for a predetermined amount of time (mouseover or hover). Here, we show the case where the user mousees over the defined word "this Agreement".
[0051] The popup dialog 71 displays a title indicating the defined term "this Agreement," the definition (meaning) of the defined term "this Agreement," a "Open in new window" button 72, and a "Check for other uses" button 73. When displaying the defined term "this Agreement" in the popup dialog 71, the surrounding text where "this Agreement" is defined is displayed. In this case, the defined term within the text is displayed in bold, colored, and underlined. This makes it easier for the user to identify where the defined term appears. In other words, when the detection unit 115 detects user input in a location where a defined term is used, it displays the meaning of that defined term in the popup dialog 71. This popup dialog 71 allows the user to easily confirm the definition (meaning) of a defined term.
[0052] The "Open in New Window" button 72 opens the location where the definition term is defined as a new document window. This allows the user to easily edit the definition (meaning) of the definition term.
[0053] The "Check Usage in Other Places" button 73 displays a list of other instances where this defined term is used. This allows users to verify the actual usage of the term and ensure consistency within this document.
[0054] Figure 8 is a diagram illustrating the configuration of a document editing system comprising terminal 5 and server 4. As shown in Figure 8, the document input support system is configured with a terminal 5 connected to a server 4 via a network 6. This server 4 is, for example, a cloud server located in a data center.
[0055] Terminal 5 comprises a browser 51, a display unit 52, and an operation unit 53. The browser 51 has the function of displaying information from the server 4 on the display unit 52 and transmitting operation information entered into the operation unit 53 to the server 4.
[0056] Server 4 is comprised of a definition section analysis unit 411, an inline analysis unit 412, an integration unit 413, an external link unit 414, and a detection unit 415. Each of these functional units operates in the same manner as the definition section analysis unit 111, the inline analysis unit 112, the integration unit 113, the external link unit 114, and the detection unit 115 shown in Figure 2. Thus, this embodiment is not limited to a program installed on a computer, but may also be realized by a combination of a server 4 on the cloud and a terminal 5.
[0057] (modified version) The present invention is not limited to the embodiments described above, and can be modified without departing from the spirit of the invention, for example, as follows (a) to (b).
[0058] (a) This system may use machine learning to extract the probability that each word in the text is a defined word. Each sentence (there are patterns of single sentences, paragraphs, and entire texts) may be input into this machine learning model to extract words that are likely to be defined words. If a word is likely to be a defined word but is not defined as a defined word in the document, this word may be displayed as an undefined word and an error message may be displayed.
[0059] (b) By saving definition words that appear in other documents (such as files that have been opened in the past) and collecting data, the system may make suggestions such as, "Documents that define definition word X also define definition word Y." Furthermore, the system may extract words that should be defined in this document by using the words defined in the current file to extract other words that should be defined, and then excluding words that do not appear in the main text. Such a recommendation engine could use an algorithm such as collaborative filtering. [Explanation of Symbols]
[0060] 1 Computer 11 CPU 12 Storage section 121 Document editing programs 122 Definition word analysis add-in 13 ROM 14 RAM 15 Control section 16 Display section 111 Definition Section Analysis Unit 112 Inline Analysis Unit 113 Integration Department 114 External Links 115 Detection unit 4 servers 411 Definition Section Analysis Unit 412 Inline Analysis Unit 413 Integration Department 414 External Links 415 Detection unit 5 devices 51 Browsers 52 Display section 53 Operation section 6 Network
Claims
1. A procedure for analyzing a definition section described in a document, obtaining a string enclosed in quotation marks within the definition section as a definition word, and obtaining the string not enclosed in quotation marks after the obtained definition word as the meaning of the definition word. A procedure for analyzing text other than the definition section of the aforementioned document to obtain inline defined terms and their meanings, and for determining the words that indicate the scope in which the defined terms are valid, thereby identifying the scope of validity of the defined terms. A procedure for generating a unified set of definition words by taking the union of the definition words obtained from the definition section and the definition words obtained inline, A procedure for detecting the usage locations of definition words included in the aforementioned integrated definition word set within the document, and detecting definition words used outside the scope as undefined words. A procedure for displaying the meaning of a defined word in a pop-up window when the user detects that the mouse cursor is hovering over the aforementioned usage location for a predetermined period of time. A document input assistance program that allows a computer to execute documents.
2. A procedure for reading definition words from a separate file based on a reference to a separate file specified by the user, and adding the definition words from the separate file to the integrated definition word set. A procedure for detecting the usage locations of defined words included in the aforementioned integrated defined word set in the aforementioned document and the aforementioned separate file, and for detecting defined words used outside the scope of the aforementioned scope as undefined words. A document input support program according to claim 1, which causes a computer to execute the following.
3. A procedure for analyzing text in the document other than the definition section to obtain a definition word defined inline based on descriptions containing the phrases "hereafter," "hereafter," and "hereafter," as well as quotation marks and the string "that which," obtaining the sentence preceding the definition word as the meaning of the definition word, and determining a word that indicates the scope in which the definition word is valid to identify the scope in which the definition word is valid. A document input support program according to claim 1, which causes a computer to execute the following.
4. If a definition word obtained from text other than the definition section could not be obtained from the definition section, a procedure to display a warning related to the definition word, A document input support program according to claim 1 for causing a computer to execute the following.
5. A procedure for displaying a warning when the same definition term is defined multiple times in the aforementioned definition section. A document input support program according to claim 1 for causing a computer to execute the following.
6. A procedure for displaying a warning when a defined term obtained from text other than the definition section is defined again in another part of text other than the definition section. A document input support program according to claim 1 for causing a computer to execute the following.
7. A procedure for displaying a warning when a defined word obtained from text other than the definition section is used before the definition section in a document where the aforementioned definition section does not exist. A document input support program according to claim 1 for causing a computer to execute
8. A procedure for detecting the location in the document where a defined word obtained from the definition section and / or other texts is described. A procedure for displaying the meaning of a defined term when user input is detected in a location where the aforementioned defined term is used. A document input support program according to claim 1 for causing a computer to execute the following.
9. A procedure for warning against undefined terms among the specified terms described in the aforementioned document that are not included in the definitions obtained from the definition section and / or other documents outside the definition section, A document input support program according to claim 1 for causing a computer to execute the following.
10. A definition section parser that parses a definition section described in a document, obtains a string enclosed in brackets as a definition word, and obtains the string thereafter as meaning, An inline analysis unit analyzes the text of the document other than the definition section to obtain the definition words defined inline and the meaning of those definition words, and determines words that indicate the scope in which the definition words are valid to identify the scope in which the definition words are valid. An integration unit generates a unified set of definition words by taking the union of the definition words obtained from the definition section and the definition words obtained inline, A detection unit that detects the usage locations of definition words included in the integrated definition word set in the document, detects definition words used outside the effective range as undefined words, and when it detects that the user has hovered the mouse cursor over the usage location for a predetermined period of time, displays the meaning of the definition word in a pop-up window. A document editing system characterized by comprising the following features.
Citation Information
Patent Citations
Automatic production system for term book
JP1990051765A
Index word managing device
JP1993189430A
Device and method for extracting document dependence
JP2004013745A
Electronic work manual creation system and electronic work manual creation program
JP2019192153A