Information processing device
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- FRAIM CO LTD
- Filing Date
- 2025-12-26
- Publication Date
- 2026-04-24
AI Technical Summary
Conventional techniques for aligning bullet points and paragraph numbers in documents are inadequate in providing user convenience during document creation and editing.
An information processing device that controls the positioning of unit sentences based on hierarchical attributes and orders, using detection and recognition mechanisms to automatically align and renumber sentences according to their hierarchical level and order, and adjusts attributes and orders of related sentences when positions change.
Improves the convenience of document creation and editing by automatically aligning and renumbering sentences, reducing the need for manual corrections and enhancing editing efficiency.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an information processing device. [Background technology]
[0002] When creating or editing a document using an information processing device such as a word processor, it is conventionally known to set bullet points and paragraph numbers in any paragraph in the document. To improve the convenience of these functions, a technique has been proposed that aligns the attributes of bullet points and paragraphs by searching for indent information of previously set bullet points, and reflects the settings of the required paragraphs (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2004-348353 Summary of the Invention [Problem to be solved by the invention]
[0004] However, it cannot be said that the conventional techniques including those disclosed in Patent Document 1 have been able to fully meet the needs of users.
[0005] The present invention has been made in view of the above circumstances, and has as its object to improve convenience in creating and editing documents. [Means for solving the problem]
[0006] In order to achieve the above object, an information processing device according to one aspect of the present invention comprises: An information processing device controls the positioning of each of one or more unit sentences in accordance with a hierarchical attribute and an order within a hierarchical level defined for each of the one or more unit sentences, where the unit sentence is a predetermined sentence composed of a plurality of characters arranged in a fixed direction in one or more rows, a detection means for detecting a hierarchical attribute and an order within a hierarchical layer based on a current arrangement position of a target unit sentence to be processed among the one or more unit sentences; a change recognition means for recognizing the changed position of the target unit sentence when the position of the target unit sentence is changed; a first attribute changing means for changing at least one of a hierarchical attribute and an order within a hierarchical layer of the target sentence according to the changed position of the target sentence; a second attribute changing means for changing at least one of the hierarchical attribute and the order within the hierarchical layer for each of one or more other unit sentences that require a change of at least one of the hierarchical attribute and the order within the hierarchical layer in accordance with the movement of the target unit sentence; Equipped with. [Effects of the Invention]
[0007] According to the present invention, it is possible to improve convenience in creating and editing documents. [Brief explanation of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating an outline of the configuration of an information processing system according to an embodiment of the present invention. [Figure 2] 2 is a block diagram showing a hardware configuration of a server in the information processing system of FIG. 1. FIG. [Figure 3] 2 is a functional block diagram showing an example of the functional configuration of a server in the information processing system of FIG. 1. [Figure 4] 4 is a diagram showing an example of information stored in an appearance pattern DB of the server of FIG. 3. FIG. [Figure 5] 4 is a diagram showing an example of information stored in a symbol DB of the server of FIG. 3. FIG. [Figure 6]4 is a diagram showing an example of information stored in a hierarchical DB of the server of FIG. 3. FIG. [Figure 7] FIG. 4 is a transition diagram showing the automatic sorting process operation of one or more unit sentences in the server of FIG. 3. [Figure 8] This is a diagram showing a document (original text) with messed up indentation. [Figure 9] FIG. 9 is a diagram showing the state in which the document in FIG. 8 is automatically aligned. [Figure 10] 10 is a flowchart illustrating an indentation process operation when editing a document in the server of the information processing system according to the embodiment. [Figure 11] 10A and 10B are diagrams showing screen transitions when certain unit sentences are replaced while editing document data. [Figure 12] FIG. 10 is a diagram showing a unit sentence when a user performs an indentation operation on the unit sentence of item "3." while editing document data. [Figure 13] FIG. 10 is a diagram showing unit sentences automatically aligned by indentation. [Figure 14] FIG. 10 is a diagram showing a unit sentence that has been indented when a line break operation is performed on the unit sentence of the item "1." after the indentation operation. [Figure 15] 10 is a diagram showing a unit sentence when a user performs an indent operation on the unit sentence of item "3." while editing document data. FIG. [Figure 16] FIG. 10 is a diagram showing an example in which a user moves one or more unit sentences in groups while editing document data. [Figure 17] FIG. 10 is a diagram showing a document setting screen for indentation processing. [Figure 18] FIG. 10 is a diagram showing unit sentences aligned after indentation correction processing. [Figure 19] 10A and 10B are diagrams for explaining indent correction processing when a document file is downloaded. [Figure 20] 10A and 10B are diagrams illustrating an example of indent correction processing when a PDF file is converted into another PDF file in a server. [Figure 21]10A and 10B are diagrams illustrating an example of indent correction processing when a PDF file is converted into a Word file in a server. [Figure 22] 10A and 10B are diagrams illustrating an example of indent correction processing when a Word file is converted into a PDF file in a server. [Figure 23] FIG. 10 is a diagram illustrating a pinning function of a server. [Figure 24] FIG. 24 illustrates the principle of the pinning function of FIG. 23. [Figure 25] 10A and 10B are diagrams illustrating an operation of creating new document data by performing indent correction processing when importing from an existing file in a server. DETAILED DESCRIPTION OF THE INVENTION
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an outline of the configuration of an information processing system according to one embodiment of the present invention. The information processing system shown in FIG. 1 is configured by connecting a server 1 and a terminal 2 to each other via a predetermined network N such as the Internet. The server 1 cooperates with the operation of the terminal 2 to execute various processes.
[0010] Here, the details of the various processing functions executed by the server in the information processing system of FIG. 1 will be described with reference to FIG. FIG. 2 is a block diagram showing the hardware configuration of a server in the information processing system of FIG. The server 1 shown in Figure 2 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a bus 14, an input / output interface 15, an output unit 16, an input unit 17, a memory unit 18, a communication unit 19, and a drive 20.
[0011] The CPU 11 executes various processes according to a program recorded in the ROM 12 or a program loaded from the storage unit 18 into the RAM 13 . The RAM 13 also stores data and the like necessary for the CPU 11 to execute various processes.
[0012] The CPU 11, ROM 12, and RAM 13 are connected to one another via a bus 14. An input / output interface 15 is also connected to this bus 14. An output unit 16, an input unit 17, a memory unit 18, a communication unit 19, and a drive 20 are connected to the input / output interface 15.
[0013] The output unit 16 is composed of a display, a speaker, etc., and outputs various information as images and sounds. The input unit 17 is composed of a keyboard, a mouse, etc., and is used to input various information.
[0014] The storage unit 18 is configured with a hard disk, a DRAM (Dynamic Random Access Memory), etc., and stores various data. The communication unit 19 communicates with other devices (such as the terminal 2 in the example of FIG. 1) via a network N including the Internet.
[0015] Removable media 21, such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory, is appropriately loaded into the drive 20. A program read from the removable media 21 by the drive 20 is installed in the storage unit 18 as needed. Furthermore, the removable medium 21 can also store various data stored in the storage unit 18 in the same manner as the storage unit 18.
[0016] Although not shown, if the information processing system of FIG. 1 is a personal computer, smartphone, tablet terminal, or the like that has the terminal 2 as one embodiment built in or connected thereto, it has the hardware configuration shown in FIG.
[0017] Hereinafter, the functions of various processes executed by the server 1 of FIG. 2 will be described in detail with reference to FIG. FIG. 3 is a functional block diagram illustrating an example of a functional configuration of a server in the information processing system of FIG.
[0018] In one area of the storage unit 18 (FIG. 2) of the server 1 shown in FIG. 3, a document DB 300, an appearance pattern DB 400, a symbolization DB 500, a hierarchy DB 600, and a pin information DB 700 are provided.
[0019] The document DB 300 stores document data uploaded from the terminal 2 or document data to be downloaded to the terminal 2.
[0020] As shown in FIG. 4, the appearance pattern DB 400 stores appearance patterns (for example, "1" or "a") and appearance pattern identifiers that identify each of the appearance patterns in association with each other.
[0021] For example, if the appearance pattern identifier is "A", the appearance pattern is written in Arabic numeral order, such as 1, 2, 3, .... If the appearance pattern identifier is "B", the appearance pattern is written in alphabetical order, such as a, b, c, .... If the appearance pattern identifier is "C", the appearance pattern is written in hiragana order, a, i, u, .... If the appearance pattern identifier is "D", the appearance pattern is written in katakana order, a, i, u, .... If the appearance pattern identifier is "E", the appearance pattern is written in katakana in the order I, RO, HA, . . . In this way, the appearance pattern DB 400 of the storage unit 18 stores the appearance patterns of characters included in the item numbers in association with appearance pattern identifiers that identify the respective appearance patterns.
[0022] 5, characters and the symbols into which they are converted are stored in association with each other in the symbolization DB 500. For the initial character string extracted from the document data, the characters before and after the characters used in the appearance pattern of the characters included in the item number (for example, the numbers 1 and 2, or the letters a and b) are symbolized.
[0023] Here, the characters used in the appearance pattern of the characters included in the item number are, for example, the characters used in the appearance pattern of the appearance pattern DB 400 in Fig. 4. Symbolization is performed according to the conversion rules of this symbolization DB 500. For example, for "Article 1", "Article" is converted to "α" and "Article" is converted to "β", so "Article 1" is converted to "α1β". For example, for "Term 1", "Article" is converted to "α" and "Term" is converted to "γ", so "Term 1" is converted to "α1γ". For example, for "(a)", "(" is converted to "δ" and ")" is converted to "ε", so "(a)" is converted to "δaε".
[0024] As shown in Figure 6, the hierarchical DB 600 stores a hierarchical list including hierarchical attributes and the order within the hierarchy detected from the data of the entire document consisting of one or more unit sentences, where each unit sentence is a specific sentence consisting of multiple characters arranged in a certain direction in one or more rows. The hierarchical attributes are defined such that the topmost first level is "article," the second level is "paragraph," and the third level is "item." In the indentation process, the default setting is to move each unit sentence to the right by a predetermined number of spaces (for example, one space) depending on the level of each sentence. The number of spaces can be changed. In this specification, indentation includes both the meaning of inserting a space at the beginning of a line of text to push the first character to the right and moving the unit sentence by one sentence (indentation), and the meaning of pushing the beginning of a line of text to the left and moving the unit sentence by one sentence (outdentation). The hierarchical list is generated from the hierarchical attributes and the order within the hierarchy. If it is the first sentence of "Article 1" in the first level, the hierarchical list will be "1", if it is the first sentence of "Clause 1" in the second level that is subordinate to "Article 1", the hierarchical list will be "1.1", if it is the first sentence of "Item 1" in the third level that is subordinate to "Clause 1" that is subordinate to "Article 1", the hierarchical list will be "1.1.1", etc. In other words, a hierarchical list is a list of the hierarchical structure of unit sentences (the subordinate relationship to higher levels). In this hierarchical DB 600, the hierarchical list identifies the hierarchical attribute (article, paragraph, item, etc.) and order within the hierarchy (for example, for an "article", it is 1st, 2nd, 3rd, etc.) for each of one or more unit sentences, so the placement position of each of one or more unit sentences can be controlled.
[0025] The pin information DB 700 stores keywords searched by the search unit 123, unit sentences containing the keywords or item information at the beginning of the unit sentences, and one or more other unit sentences or item information at the beginning of the unit sentences that are subordinate to the unit sentences, in association with each other.
[0026] Server 1 controls the placement position of each of one or more unit sentences for the sentence to be processed (for example, the entire sentence of a document such as a contract) according to the hierarchical attributes (for example, article, paragraph, item, etc.) defined for each of the one or more unit sentences and the order within the hierarchy (for example, 1st, 2nd, 3rd, etc. for an article).
[0027] A unit sentence is the smallest unit of a sentence divided to the extent that it does not seem unnatural in actual language, and may consist of multiple sentences. It refers to the string of characters that continues from the beginning of the sentence until the line break occurs after a period (.). In this context, a unit sentence is a sentence that serves as a unit of processing, such as moving the placement position (for example, a sentence defined as an article, paragraph, or item). The sentence to be processed is composed of multiple characters arranged in one or more columns in a certain direction. Here, a character is something that has a character code assigned as data. A sentence is something that consists of multiple characters and is separated by periods (.). A paragraph is something that consists of one or more sentences. A fixed direction refers to, for example, horizontal or vertical writing. One or more columns refers to, for example, one or more lines if written horizontally, or one or more columns if written vertically.
[0028] In the CPU 11 of the server 1, a document management unit 111, an indentation processing unit 112, and a pinning unit 113 function when processing a document.
[0029] The document management unit 111 manages document files (document data) such as contracts. It manages the text data of the entire document data. The document management unit 111 receives document data received from, for example, the terminal 2 via the communication unit 19 and stores it in the document DB 300. In response to a request from the terminal 2, the document management unit 111 reads the requested document data from the document DB 300 and downloads it to the terminal 2. The document management unit 111 includes a document editing unit 121 , a document setting unit 122 , and a search unit 123 . The document editing unit 121 displays an editing screen, reads out document data to be displayed and edited from the document DB 300, displays the data on the editing screen, and enables the user to edit the document data through editing operations.
[0030] The document setting unit 122 displays a setting screen and allows the user to perform various settings for the document data through setting operations.
[0031] The search unit 123 displays a search screen, searches for document data in the document DB 300, sentence data and items included in the document data, etc. based on keywords, etc. input on the search screen, and displays the search results on the search screen.
[0032] If the correspondence between the item information at the beginning of a unit sentence (Article 1, Article 2, etc., Paragraph 1, Paragraph 2, etc., Item 1, Item 2, etc.) contained in the sentence data to be processed and the placement position of the indented unit sentence is disturbed, the indent processing unit 112 performs an automatic alignment process that automatically aligns the beginning position (hierarchical position) of the unit sentence based on the dependency rules between the unit sentences using a specified trigger. The specified trigger may be, for example, when the format button is pressed on the editing screen of the document data, when a download operation is performed on a document file searched from the document BD300, or when a document file is uploaded from the terminal 2 to the server 1.
[0033] Furthermore, when one or more unit sentences are replaced or the like in an editing operation of document data, the indentation processor 112 executes a renumbering process for the item information within a group including the one or more unit sentences.
[0034] Furthermore, when the placement position of a unit sentence included in the sentence data is changed (moved) due to an editing operation on the sentence data, etc., and the subordinate relationship, including the indentation, between the unit sentence included in the sentence data and other unit sentences is disrupted, the indent processing unit 112 executes a reassignment process to automatically reassign the item information for each unit sentence based on the placement position of the unit sentence after the change.
[0035] The indent processing unit 112 includes an indent setting unit 131 , a layer detection unit 132 , a change recognition unit 133 , a first attribute change unit 134 , a second attribute change unit 135 , and an item information change unit 136 . The indent setting unit 131 displays a document setting screen 233 (see FIG. 17) and sets definition information related to indents by selecting or inputting values into setting items on the document setting screen 233. For example, the definition information can include white space display, list, start number, left indent width, indent, width, etc.
[0036] The hierarchy detection unit 132 detects the hierarchy attribute (e.g., article, paragraph, item, etc.) and the order within the hierarchy (e.g., 1st, 2nd, 3rd, etc. for an article) based on the current placement position of a unit sentence of interest that is to be focused on as a processing target among one or more unit sentences. Specifically, the hierarchy detection unit 132 detects the hierarchy attributes and placement positions of each unit sentence contained in the document being edited, generates a hierarchy list consisting of the hierarchy attributes and placement positions, and stores it in the attribute DB 600 as shown in Figure 6.
[0037] For example, in the document data shown in FIG. 12, the unit sentence "Article 2" is generated with a hierarchical attribute of "Article (first hierarchical level)", an order within the hierarchical level of "none", and a hierarchical list of "2". In addition, the unit sentence "(1)" of "Article 2" is generated with a hierarchy attribute of "item (second hierarchy)", an order in the hierarchy of "first", and a hierarchy list of "2.1". Furthermore, for the unit sentence "(2)" of "Article 2", the hierarchy attribute is generated as "item (second hierarchy)", the order in the hierarchy is generated as "second", and the hierarchy list is generated as "2.2". Furthermore, if the unit sentence is "1." in "(2)" of "Article 2," the hierarchy attribute will be "No. (third hierarchy)," the order within the hierarchy will be "first," and the hierarchy list will be "2.2.1." Similarly, the hierarchical attributes and the order within the hierarchical level are detected, and hierarchical lists such as "2.2.2" to "2.2.6" are generated.
[0038] When the position of the target unit sentence is changed, the change recognition unit 133 recognizes the changed position. Specifically, if the unit sentence at sentence position "1.2" is moved one space to the left (indented), the hierarchical attribute becomes "Article (first hierarchical level)", and the change recognition unit 133 recognizes the placement position of the target unit sentence as "2", the second at the same hierarchical level as "Article 1".
[0039] The first attribute changing unit 134 changes at least one of the hierarchical attribute and the order within the hierarchical layer of the target unit sentence according to the changed arrangement position "2" of the target unit sentence.
[0040] More specifically, the first attribute change unit 134 changes the position of the target unit sentence after the change in position in accordance with the sentence dependency rules. Here, the dependent rules include the indentation rules, and are the following rules (1) and (2). (1) A lower level that is subordinate to a higher level is indicated by combining the number of the higher level with the number of the lower level. The placement position of the next lower level is +1. The indentation rule for changing sentences is that a lower level that is subordinate to a higher level is indented a specified space from the paragraph of the higher level. (2) Within the same hierarchy, the placement position of the next lower level is increased by +1. Indentation rules for changing sentences are such that within the same hierarchy, the starting positions of the beginnings of sentences must match. If the changed placement position of the target unit sentence is "2", the first attribute change unit 134 accordingly changes the hierarchical attribute of the target unit sentence to "article (first hierarchical level)" and the order within the hierarchy to "none".
[0041] The second attribute change unit 135 changes at least one of the hierarchical attribute and the order within the hierarchical layer for each of one or more other unit sentences that require a change in at least one of the hierarchical attribute and the order within the hierarchical layer in accordance with the movement of the target unit sentence. Specifically, since the position of the changed unit sentence has become "2", the one or more other unit sentences that need to be changed are, in this example, the unit sentences whose position before the change is lower than "1.2" and whose position is "1.3" or later, and the unit sentences whose position after the change is lower than the position "2" of the target unit sentence and whose position is "1.3" or later. For this reason, the second attribute change unit 135 changes the hierarchical attribute and the order within the hierarchical layer of the unit sentence to be changed in accordance with the sentence dependency rules. As a result, the unit sentence whose position before the change was "1.3" is changed to "2.1" with its hierarchical attribute changed to "No. (third hierarchical level)" and its order in the hierarchy changed to "No. 1" so that it is subordinate to the changed position of the focused unit sentence, "2."
[0042] The item information change unit 136 updates the item information at the beginning of the target unit sentence, the placement positions of one or more other unit sentences, and the item information at the beginning of one or more other unit sentences based on the hierarchical attributes and order within the hierarchy of the changed target unit sentence. Specifically, a unit sentence whose position after the change is "2" will be changed to "Article 2." A unit sentence whose position has been changed to "2.1" will be changed to "Clause 1" which is subordinate to "Article 2." An item information change unit 136 assigns item information to the beginning of each of the target unit sentence and the other unit sentences based on at least one of the hierarchical attribute and the order in the hierarchy that are changed in accordance with the operation of replacing the target unit sentence with the other unit sentences. The item information change unit 136 reassigns the item information at the beginning of the attention unit sentence and the item information at the beginning of other unit sentences subordinate to the attention unit sentence based on the hierarchical attributes and order within the hierarchy of the attention unit sentence that are changed by a minus indent operation or a plus indent operation on the attention unit sentence.
[0043] When a character string that is hit many times in a search is marked, the pinning unit 113 pins the character string. Specifically, the pinning unit 113 links the keyword searched by the search unit 123, a unit sentence containing the keyword or item information at the beginning of the unit sentence, and one or more other unit sentences subordinate to the unit sentence or item information at the beginning of the unit sentence, and stores them in the pin information DB 700.
[0044] The automatic alignment processing operation of the indent processing unit in the server 1 of the information processing system of the embodiment will be described below with reference to Figures 7 to 9. Figure 7 is a transition diagram showing the automatic alignment processing operation of one or more unit sentences in the server. Figure 8 is a diagram showing a document (original text) with a disordered indentation. Figure 9 is a diagram showing the state after the document of Figure 8 has been automatically aligned.
[0045] 7, it is assumed that in step S11, the indentation is disordered when document data (original text) consisting of one or more unit sentences is displayed on the editing screen of the reading terminal 2. For ease of understanding, only the items of each unit sentence are shown in the figure. The indentation processor 112 extracts the initial character string of a sentence (for example, "Article 1," "Clause 1," "No. 1," "(1)," "1.", etc.) from the data of one or more unit sentences containing item numbers. Here, for example, the initial character string may be the character string up to the first space detected.
[0046] Next, in step S12, the indentation processor 112 encodes the characters before and after the characters (for example, the numbers 1 and 2, or the letters a and b) used in the appearance pattern of the characters included in the item number for the initial character string extracted from the data of the unit sentence. The encoding is performed in accordance with the correspondence between characters and symbols (character and symbol replacement rules) in the encoding DB 500 of FIG.
[0047] As a result, for example, for "Article 1", "Article" is converted to "α" and "Article" is converted to "β", so "Article 1" is converted to "α1β". Also, for example, for "Term 1", "Article" is converted to "α" and "Term" is converted to "γ", so "Term 1" is converted to "α1γ". Also, for example, for "(a)", "(" is converted to "δ" and ")" is converted to "ε", so "Term 1" is converted to "δaε".
[0048] In this way, the indentation processor 112 converts the characters before and after the occurrence of the appearance pattern into symbols according to a predetermined rule, among the character strings included in the document data containing the item numbers. Note that the characters to be converted into symbols may be only those before or only those after the occurrence of the appearance pattern.
[0049] Next, in step S13, the indentation processor 112 converts the characters used in the appearance pattern into an appearance pattern identifier. For example, for "α1β", the "1" is converted to "A", so "α1β" is converted to "αAβ". For example, for "δaε", the "a" is converted to "B", so "δaε" is converted to "δBε".
[0050] In this way, in data of a document (e.g., a contract, a rule, etc.) containing an item number, each time a character (e.g., "1") contained in the beginning of a sentence (e.g., "Article 1") matches a character contained in an appearance pattern (e.g., "1, 2, 3, ...") stored in the appearance pattern DB400, the indent processing unit 112 converts the character (e.g., "1") into an appearance pattern identifier (e.g., "A") associated with the appearance pattern in the appearance pattern DB400.
[0051] Next, in step S14, the indentation processor 112 aligns the converted character strings that match to the same indentation. For example, if the indentation of the converted character string that first appears is considered to be correct, for example, for "αAβ", the indentation of "αAβ" that first appears in the first line is considered to be correct, and the indentation of "αAβ" in the fourth and fifth lines is aligned to the indentation of "αAβ" in the first line. In this way, when the indent processing unit 112 aligns character strings whose converted leading parts are identical to each other to the same indent, it adjusts each character in the converted leading part to match the position where the character string first appeared.
[0052] As another example, the number of characters to be indented for the same converted character string may be determined by majority vote. Specifically, for example, for "αAβ", the indentation on the first line is 0 characters, and the indentation on "αAβ" on the fourth and fifth lines is 2 characters, so the indentation on "αAβ" is set to 2 characters since it is most common for the indentation to be 2 characters. In this way, when aligning character strings whose initial parts after the conversion are identical to each other to the same indent, the indent processing unit 112 may adjust each character in the initial part after the conversion to match the indent that is most popular by majority vote.
[0053] Next, in step S15, for each identical character string, the indent processing unit 112 sequentially extracts characters from the occurrence pattern corresponding to the occurrence pattern identifier contained in the character string, and replaces the occurrence pattern identifier contained in the character string with characters that are extracted in the same order as the order in which the character string appears, in the order in which the character string appears. For example, for "αAβ", the indent processor 112 replaces the appearance pattern identifier "A" in the first line (i.e., the first occurrence) of "αAβ" with the first character "1" of the appearance pattern to generate "α1β". The indent processor 112 replaces the appearance pattern identifier "A" in the next occurrence of "αAβ" on the fourth line (that is, the second occurrence) with the second character "2" in the occurrence pattern, to generate "α2β". The indent processor 112 replaces the appearance pattern identifier "A" in the next occurrence of "αAβ" on the fifth line (i.e., the third occurrence) with the third character "3" in the occurrence pattern, to generate "α3β".
[0054] In this way, for each identical string of characters that match each other, the indent processing unit 112 replaces the occurrence pattern identifier contained in the string with characters taken out in order from the multiple characters contained in the occurrence pattern that corresponds to the occurrence pattern identifier contained in the string. As a result, even if the number or letter of the original clause number is incorrect, the clause number can be renumbered to the correct number or letter by replacing it in order with characters extracted in order from the multiple characters contained in the appearance pattern.
[0055] Finally, in step S16, the indent processing unit 112 refers to the encoding DB500 and restores the symbols before and after the characters used in the appearance pattern to characters. For example, for "αAβ", the character restoration means 266 restores "α" to "Article" and "β" to "Clause" in "α1β", thereby restoring "α1β" to "Article 1". Other character strings are restored similarly. In this way, the indent processing unit 112 restores the symbols converted after the conversion and adjustment to the original characters. As a result, since indents are added after converting the characters before and after the appearance pattern appears, the processing during indent addition is simplified, and the processing can be performed efficiently. Note that the characters to be converted into symbols may be only before or only after the appearance pattern appears.
[0056] As a result, in a document file such as a confidentiality agreement as shown in FIG. 8, even if the indent positions 80 to 87 of the unit sentences in the hierarchy below the unit sentence of the item number (2) in the second layer, for example, are disordered, as shown in FIG. 9, the indents are automatically aligned, and the item numbers (1), (2) in the second layer of the unit sentence and the position 91 at the beginning of the sentence, and the start position of the item numbers 1.2.3... in the third layer and the position 92 at the beginning of the sentence are aligned in a column for each layer, making the whole document easy to view and read.
[0057] Note that in the function of this indent processing unit 112, the full-width / half-width of numbers, parentheses, etc. of the item numbers (item information) are unified. Also, for the cited parts, the full-width / half-width of numbers, parentheses, etc. are similarly unified. Furthermore, automatic alignment processing is also executed for lines without numbers (lists) such as "Article 3" in the example sentence.
[0058] Next, referring to FIG. 10, the indent processing operation during document editing in the server 1 of the information processing system according to the embodiment will be described. FIG. 10 is a flowchart showing the indent processing operation during document editing in the server 1 in the information processing system according to the embodiment. When a user accesses the server 1 on the terminal 2, opens a document file stored in the document DB 300 on the editing screen, and performs editing work on the text data, in step S21, the hierarchy detection unit 132 on the server 1 detects the hierarchical attributes and order within the hierarchy based on the current placement position of a target unit sentence that should be focused on as a processing target among one or more unit sentences included in the document data. In step S22, if the layout position of the target unit sentence has been changed, the change recognition unit 133 recognizes the layout position after the change. In step S23, the first attribute changing unit 134 changes at least one of the hierarchical attribute and the order within the hierarchical layer of the first target unit sentence according to the changed arrangement position of the target unit sentence. In step S24, the second attribute change unit 135 changes at least one of the hierarchical attribute and the order within the hierarchy for each of one or more other unit sentences that require a change in at least one of the hierarchical attribute and the order within the hierarchy in accordance with the movement of the target unit sentence.
[0059] According to the operation of this server 1, the hierarchical attribute and order within the hierarchy of the focused unit sentence are detected based on the current placement position, and if the placement position of the focused unit sentence is changed by an editing operation or the like, the changed placement position is recognized, and the hierarchical attribute and order within the hierarchy of the focused unit sentence are changed according to the changed placement position, and the hierarchical attribute and order within the hierarchy of each of one or more other unit sentences that need to be changed in accordance with the movement of the focused unit sentence are also changed.Therefore, even if the placement position of the focused unit sentence is changed, the placement positions, item names, item numbers, etc. of the focused unit sentence and other related unit sentences can be automatically corrected to match the change in placement. As a result, it is no longer necessary for the user to perform an operation to correct sentences other than the target sentence, thereby improving the efficiency of document editing work.
[0060] Next, the renumbering process operation in the server 1 of the information processing system of the embodiment will be described with reference to Fig. 11. Fig. 11 is a diagram showing the transition of the screen when certain unit sentences are replaced while editing document data. 11, document data 201 is displayed on document editing screen 200, and while editing a unit sentence included in document data 201, unit sentence editing screen 203 is displayed below row 202 of items "4.", "5.", and "6." at the third level, and group 204 of two rows of items "7." and "8." is added. Then, as indicated by arrow Y, editing screen 203 is moved, for example, between the rows of items "3." and "4.", and the order of the items is rearranged so that group 204 is inserted. In this update operation, the item names (item numbers) at the beginning of the rows in group 204 are automatically renumbered and updated to "4." and "5.". In this update operation, the item names (item numbers) of rows at any other levels of the rearranged rows are also renumbered to make them consistent. For example, the row 202 with items "4.", "5.", and "6." on the left document editing screen 200 before the swapping is renumbered to "6.", "7.", and "8." on the right document editing screen 200 after the swapping.
[0061] 12 to 14, an automatic renumbering process will be described when an indentation operation is performed on a certain unit sentence during editing of document data in the server 1 of the information processing system of the embodiment. Fig. 12 is a diagram showing a unit sentence when a user indents the unit sentence of item "3." while editing document data. Fig. 13 is a diagram showing unit sentences automatically aligned by the indentation. Fig. 14 is a diagram showing unit sentences indented when a line break is performed on the line of item "1." after the indentation.
[0062] As shown in FIG. 12, it is assumed that while editing a unit sentence of some document data, the heads of the lines of the items "1." to "6." in the third layer are aligned in a row. Here, if the user indents (adds indentation to) the line of item "3." in the direction of arrow P, the item number of that item 211 is renumbered (changed) from "3." to "1." as shown in Figure 13, and the item numbers of each line of item 212, which in Figure 12 had item numbers "4.", "5.", and "6.", are renumbered (changed) to "3.", "4.", and "5." Then, when a line break operation is performed on the unit sentence of item 211 with the renumbered item number "1." after the indentation operation, the indentation is processed in its hierarchical order, so that, as shown in Figure 14, a new item 213 with item number "2.", an item 214 with item number "3.", etc. are generated directly below item 211 with item number "1."
[0063] According to this example, when a user is editing document data and performs an indentation operation on the line of, for example, item "3." in the third level, the item name of item 211 at the beginning of the indented line is automatically renumbered from "3." in Figure 12 to "1.", which is below "2." in Figure 13, and the item names of items 212 subordinate to that item 211 are automatically renumbered from "4.", "5.", and "6." to "3.", "4.", and "5." This allows the user to perform the next task without having to renumber the item numbers and names, thereby improving work efficiency.
[0064] An automatic renumbering process when a unit sentence is indented while editing document data in the server 1 of the information processing system of the embodiment will be described with reference to Figures 12 and 15. Figure 15 is a diagram showing a unit sentence when a unit sentence in the "3." item is indented while the user is editing document data. As shown in FIG. 12, it is assumed that while editing a portion of unit sentences of document data, the heads of the lines of the items "1." to "6." in the third layer are aligned in a row. Here, if the user moves the line of item 211 "3." in the direction of arrow Q (reducing the indent), as shown in Figure 15, the item number of that item 211 is renumbered (changed) from "3." to "(3)" above, and the item numbers of each line of item 212, which in Figure 12 had item numbers "4.", "5.", and "6.", are renumbered (changed) to "1.", "2.", and "3." below "(3)" in Figure 15.
[0065] According to this example, when a user is editing document data and performs an indent operation on the line of, for example, item "3." in the third hierarchical level, the item name of item 211 at the beginning of the indented line is automatically renumbered from "3." in Figure 12 to "(3)" in the upper hierarchical level in Figure 15, and the item names of items 212 subordinate to that item 211 are automatically renumbered from "4.", "5.", and "6." to "1.", "2.", and "3." in the lower hierarchical level of item "(3)". This allows the user to perform the next task without having to renumber the item numbers and names, thereby improving work efficiency.
[0066] An example in which a user moves one or more unit sentences in groups while editing document data in the server 1 of the information processing system of the embodiment will be described with reference to FIG. FIG. 16 is a diagram showing an example in which a user moves one or more unit sentences in groups while editing document data. As shown in FIG. 16, when a user displays document data 201 on document editing screen 200 and moves one or more unit sentences contained in document data 201 as a group while editing the document data 201, by selecting a specific range of unit sentences by drag-and-drop operation, the range becomes the target for editing the unit sentences, and editing screen 203 is displayed.
[0067] On this editing screen 203, it is possible to change the breaks between unit sentences, move a specific range of lines into groups, renumber the lines by group, and then automatically update the items in the lines below the group. In addition to sorting by group as in this example, it is also possible to sort by row. Rows can also be moved to other row groups. In all cases, numbering is performed automatically and items are organized. Row groups are used when searching for similar groups or when moving a group of units.
[0068] The format of indentation processing in the server 1 of the information processing system of the embodiment will be described with reference to Fig. 17 and Fig. 18. Fig. 17 is a diagram showing a document setting screen for indentation processing. Fig. 18 is a diagram showing unit sentences aligned after indentation correction processing.
[0069] On the document editing screen 200 shown in FIG. 17, if a user is editing document data and finds a location 231 in a unit sentence where the indent is broken, by clicking the setting button 232, the indent setting unit 131 will display the document setting screen 233.
[0070] The document setting screen 233 is provided with a button to disable or turn off the white space display setting, a list setting field for setting a list of items, a setting field for the start number, left indent width, indentation, setting field for the indent width, and a format button 234, etc., and various settings can be made when performing indent processing as desired. In addition to the settings shown here, uniform settings such as half-width can also be made.
[0071] By setting desired values on this document setting screen 233 and operating the format button 234, indent correction processing can be performed collectively for a group of one or more unit sentences.
[0072] As a result, the indentation correction process is performed on the broken indentation portion 231 in the unit sentence in FIG. 17, and the unit sentences are aligned into a group 235 of unit sentences with aligned item numbers for each layer, as shown in FIG.
[0073] Indent correction processing when a document file is downloaded in the server of the information processing system of the embodiment will be described with reference to Fig. 19. Fig. 19 is a diagram for explaining indent correction processing when a document file is downloaded.
[0074] When the terminal 2 accesses the server 1 and downloads a document file managed by the server 1 to the terminal 2, a pop-up screen 241 for downloading the document file is displayed, as shown in FIG. The pop-up screen 241 is provided with icons 242 and 243 of document files to be downloaded, and download buttons 244 and 245 for the respective files.
[0075] In this case, the user clicks on the download buttons 244 and 245 of the desired file on the pop-up screen 241, and the download of the document file from the server 1 to the terminal 2 is started. At this time, in the server 1, when the document management unit 111 reads the document file to be downloaded from the document DB 300, triggered by clicking the download buttons 244, 245, if the indent setting unit 131 has been set to perform automatic processing during download, the document management unit 111 passes the read document file to the indent processing unit 112, which then performs indent processing on the document file, returns it to the document management unit 111, and downloads it to the terminal 2. As a result, when the downloaded document file is opened on the document editing screen 200 in the terminal 2, the document data 201 is displayed with the indented portions 246 aligned.
[0076] An example of indent processing during file conversion in a server of an information processing system according to an embodiment will be described with reference to Figs. 20 to 22. Fig. 20 is a diagram showing an example of indent correction processing when a PDF format file is converted into another PDF format file in a server. Fig. 21 is a diagram showing an example of indent correction processing when a PDF format file is converted into a Word format file in a server. Fig. 22 is a diagram showing an example of indent correction processing when a Word format file is converted into a PDF format file in a server. Word is a registered trademark.
[0077] As shown in Figure 20, in this server 1, when converting a PDF format file to another PDF format file, the indent processing unit 112 performs indent processing on the text data of the PDF file, thereby enabling indent correction (alignment and renumbering) to be performed simultaneously with the file format conversion.
[0078] 21, in the server 1, when a PDF file is converted into another format, such as Word format, the indentation processor 112 performs indentation processing on the text data of the PDF file, and then converts the file into Word format, etc. This allows indentation alignment and renumbering to be performed simultaneously with the file format conversion.
[0079] 22, in the server 1, when converting a Word file into another format, such as a PDF file (PDF file), the indentation processor 112 performs indentation processing on the text data of the Word file, and then converts the file into a PDF file. This allows indentation alignment and renumbering to be performed simultaneously with the file format conversion.
[0080] The pinning function in the server of the information processing system of the embodiment will be described with reference to Fig. 23 and Fig. 24. Fig. 23 is a diagram for explaining the pinning function of the server. Fig. 24 is a diagram showing the principle of the pinning function of Fig. 23. In the server 1, when a user searches for document data, the user can search for document files by searching for keywords on a screen 261 (FIG. 23) displayed by the search unit 123 (see FIG. 3).
[0081] The screen 261 is provided with a display field 262 for displaying searched or pinned document data, and pinned icons 263 for similar clauses. When the user clicks on the pin icon 263 while the screen 261 is displayed, a similar clause display field 264 is displayed next to the display field 262 .
[0082] The similar clause display column 264 displays the unit sentence of a clause previously searched by keyword search and the first item information (clause name) of the unit sentence, as well as one or more other unit sentences related to the unit sentence and the first item information (clause name) of the unit sentence, which are read from the pin information DB 700 by the pinning unit 113 and displayed.
[0083] The one or more other unit sentences related to the unit sentence include unit sentences at a higher level and unit sentences at a lower level that are linked to the target unit sentence. By clicking on a desired document field from those displayed in the similar clause display field 264, the text data is displayed in the display field 262.
[0084] In FIG. 23, for example, when a clause name "Article 1" is pinned, a part of a unit sentence containing the clause "Article 1" is displayed in the similar clause display field 264. By providing the pinning section 113 and pinning in this way, it is possible to instantly find frequently used documents by selecting the pinned icon 263 without having to search for the document by keyword search or the like.
[0085] For example, as shown in Figure 24, by manually linking clause A to clauses A, B, and C that are found in a search for clause X, the attributes of clause X can be inferred based on clauses a, d, e, and f that are linked to clause A. As a result, documents can be verified by comparing them with similar documents. It also saves the effort of searching for frequently used documents. In other words, it makes it possible to "find frequently used documents without searching." Clauses can be pinned manually, or clauses found based on frequently used keywords in searches can be pinned automatically. Since you always pin similar clauses, you can pin similar groups of clauses.
[0086] An operation of creating document data by importing from an existing file in the server of the information processing system of the embodiment will be described with reference to Fig. 25. Fig. 25 is a diagram showing an operation of creating new document data by performing indent correction processing when importing from an existing file in the server.
[0087] As shown in FIG. 25, a server 1 publishes a web page 271 for correcting the indentation of a target file, for example, a document file, on a network N such as the Internet. Web page 271 has a new creation icon 272, an icon 273 for importing an existing file, a check box 274 next to icon 273, and an area 275 where the target file can be moved by drag and drop.
[0088] On this web page 271, by dragging and dropping a target file into area 275, the server 1 processes the file, and the processed file is downloaded to the user's terminal 2.
[0089] If this web page 271 is a page for executing a process to convert the format of a file into a desired format, for example, the file format is converted by dragging and dropping the target file into area 275 .
[0090] When the check box 274 is checked, automatic formatting is performed on the server 1. The automatic formatting process includes the above-mentioned list creation and indentation correction processes. If the check box 274 is not checked, the target file is directly imported into the server 1. The target file format is, for example, docx / doc / PDF / text.
[0091] Note that the example shown here is merely an example, and other formats are also possible. Also, while a web page (file conversion site) has been used as an example here, this mechanism may also be implemented as an add-on (modularized application software for expanding functionality) for document creation and editing software such as Word, or for a web browser.
[0092] Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and modifications, improvements, etc. within the scope of achieving the object of the present invention are included in the present invention.
[0093] Furthermore, for example, the above-described series of processes can be executed by hardware or software. In other words, the functional configuration of FIG. 3 is merely an example and is not particularly limited. That is, it is sufficient if the management system has the function of executing the above-described series of processes as a whole, and the functional blocks and databases used to realize these functions are not limited to the example of Figure 3. Furthermore, the locations of the functional blocks and databases are not particularly limited to those of Figure 3 and may be arbitrary. For example, the functional blocks and databases of the server may be transferred to a user terminal or the like. Conversely, the functional blocks of the user terminal may be transferred to a server or the like. Furthermore, one functional block and database may be configured as a single piece of hardware, a single piece of software, or a combination thereof.
[0094] When a series of processes is executed by software, the programs that make up the software are installed into a computer or the like from a network or a recording medium. The computer may be a computer built on dedicated hardware. The computer may also be a computer capable of executing various functions by installing various programs, such as a server, a general-purpose smartphone, or a personal computer.
[0095] The recording medium containing such a program may be composed of not only a removable medium (not shown) that is distributed separately from the device main body in order to provide the program to users, etc., but also a recording medium that is provided to users, etc. in a state where it is pre-installed in the device main body.
[0096] In this specification, the steps describing the program to be recorded on the recording medium include not only processes that are performed in chronological order, but also processes that are not necessarily performed in chronological order but are performed in parallel or individually. In addition, in this specification, the term "system" refers to an overall device that is made up of a plurality of devices, a plurality of means, etc.
[0097] In the above embodiment, a hierarchical list (hierarchical list) is expressed using numbers and periods, such as "1.2.3," but other expressions, such as "1-2-3" or "123," may also be used. In the above embodiment, one sentence is called a "unit sentence", but if the sentence does not have multiple lines, it may be called a "line". In the above embodiment, the amount of movement of a unit sentence that is moved by an indent operation is set to one space by default, but the amount of movement of a unit sentence is not limited to one space.
[0098] In other words, the management device to which the present invention is applied is sufficient as long as it has the following configuration, and can take on a variety of different embodiments.
[0099] That is, an information processing device to which the present invention is applied (for example, the server 1 in FIG. 3) In an information processing device (such as server 1 in FIG. 3 ), a predetermined sentence consisting of a plurality of characters arranged in a fixed direction in one or more rows is defined as a unit sentence, and for a sentence to be processed (such as the entire sentence of a contract) consisting of one or more unit sentences, the position of each of the one or more unit sentences is controlled according to a hierarchical attribute (such as article, paragraph, item, etc.) and an order within the hierarchy (such as first, second, third, etc. for an article), a detection means (such as the layer detection unit 132 in FIG. 3) for detecting a layer attribute and a layer order based on a current layout position of a target unit sentence that is to be processed among the one or more unit sentences; When the position of the target unit sentence is changed, a change recognition means (for example, the change recognition unit 133 in FIG. 3) for recognizing the changed position; a first attribute changing means (for example, the first attribute changing unit 134 in FIG. 3) for changing at least one of the hierarchical attribute and the order within the hierarchical layer of the attention unit sentence according to the arrangement position after the change of the attention unit sentence; a second attribute change unit (e.g., the second attribute change unit 135 in FIG. 3) for changing at least one of the hierarchical attribute and the order within the hierarchical layer for each of one or more other unit sentences that require a change in at least one of the hierarchical attribute and the order within the hierarchical layer in accordance with the movement of the target unit sentence; Equipped with. With this configuration, when the position of a unit sentence of interest is changed, the new position is recognized, and at least one of the hierarchical attributes and the order within the hierarchy of the unit sentence of interest and other unit sentences related to this unit sentence of interest is changed according to the new position, so that even if a unit sentence is moved in the document to be processed, the beginning of each unit sentence (hierarchy) and the order (number) are correctly aligned. As a result, convenience in creating and editing documents can be improved. an updating means (e.g., the item information changing unit 136 in FIG. 3 ) for updating the item information at the beginning of the target unit sentence, the position of the one or more other unit sentences, and the item information at the beginning of the one or more other unit sentences based on the changed hierarchical attribute and the order within the hierarchical level; Further provided are: This updates the item information at the beginning of the focused unit sentence and the item information at the beginning of one or more other unit sentences, so the user does not need to correct the item information of other unit sentences than the focused unit sentence, and can proceed with the next task, improving work efficiency. The update means assigning head item information to the target unit sentence and the other unit sentences based on at least one of the hierarchical attribute and the order within the hierarchical layer, which are changed in accordance with the operation of replacing the target unit sentence with the other unit sentences; As a result, when the unit sentence of interest is replaced with another unit sentence, the item numbers of unit sentences other than the replaced unit sentence are also corrected all at once, so the user does not need to correct the item information of the other unit sentences other than the replaced unit sentence, and can proceed with the next work, improving work efficiency. The update means reassigning the item information at the beginning of the attention unit sentence and the item information at the beginning of the other unit sentences subordinate to the attention unit sentence based on the hierarchical attribute and the order within the hierarchy of the attention unit sentence that are changed by an indent (negative indent) or indent (positive indent) operation on the attention unit sentence; As a result, when a user performs an indentation (negative indentation) or indentation (positive indentation) operation on a line while editing a unit sentence of interest, the items on the line operated on and related items are renumbered all at once, allowing the user to proceed to the next task without having to perform an operation to correct the item numbers, thereby improving work efficiency. (Pinning feature) The information processing device (for example, the server 1 in FIG. 3) A search means (e.g., the search unit 123 in FIG. 3) for searching the sentence to be processed by keyword; a pinning means (e.g., pinning unit 113 in FIG. 3 ) for linking and storing the keyword searched for by the search means, the unit sentence containing the keyword or the item information at the beginning of the unit sentence, and one or more other unit sentences subordinate to the unit sentence or the item information at the beginning of the unit sentence; Further provided are: By providing a pinning means (such as pinning section 113 in FIG. 3) and pinning documents in this way, you can instantly find frequently used documents by selecting the pinned document without having to search for the document using a keyword search or the like. [Explanation of symbols]
[0100] 1 Server, 2 Terminal, 11 CPU, 300 Document DB, 400 Appearance pattern DB, 500 Symbolization DB, 600 Hierarchical list DB, 700 Pin information DB, 111 Document management unit, 112 Indent processing unit, 113 Pinning unit, 121 Document editing unit, 122 Document setting unit, 123 Search unit, 131 Indent setting unit, 132 Hierarchical detection unit, 133 Change recognition unit, 134 First attribute change unit, 135 Second attribute change unit, 136 Item information change unit
Claims
1. An information processing device that controls the placement position of one or more predetermined sentences, each of which is composed of one or more of the above-mentioned sentences, according to the hierarchical attributes and hierarchical order of each of the above-mentioned sentences, with respect to a document to be processed composed of one or more of the above-mentioned sentences, wherein each of the above-mentioned sentences is composed of a predetermined sentence in which multiple characters are arranged in a certain direction and in one or more rows, If the correspondence between the string at the beginning of a unit sentence included in the document to be processed and the placement position of the indented unit sentence is disrupted, the system includes a sorting means that performs a sorting process to adjust the placement position of the unit sentences based on dependency rules between unit sentences, triggered by a predetermined trigger. The alignment means is, An extraction means for extracting the string from the beginning portion of the unit sentence data, which includes the item number in the beginning portion; Symbolization means that converts at least one of the characters in the leading part of the string that is located before or after the item number into a first symbol in a form corresponding to the characters used in the appearance pattern for the item number, An indentation adjustment means for aligning strings whose patterns match those of the first symbol among the multiple strings in the leading portion after conversion to the same indentation, A restoration means for restoring the converted first symbol back to the original character, Includes, The first symbol is obtained by converting the characters representing the hierarchical attribute into a specific symbol. Information processing device.
2. The symbolization means further converts the item number into a second symbol in a form corresponding to the characters used in the appearance pattern for the item number, The indentation adjustment means is A renumbering means that arranges a plurality of unit sentences, each containing the string whose pattern matches the first symbol, in the order within the hierarchy, and replaces each of the second symbols contained in each of the plurality of unit sentences with the item number in the order within the hierarchy. The information processing apparatus according to claim 1, further comprising:
3. The predetermined trigger is at least one of the following: when the format button is pressed on the document data editing screen, when a document file download operation is performed, when a document file upload operation is performed, and when the format of a document file is converted. The information processing apparatus according to claim 1.
4. An information processing method is performed by an information processing device that controls the placement position of one or more predetermined sentences, each of which is composed of one or more predetermined sentences, with respect to a document to be processed, which is composed of one or more of these predetermined sentences, each of which is composed of one or more predetermined sentences, according to the hierarchical attributes and hierarchical order defined for each of the one or more predetermined sentences. If the correspondence between the string at the beginning of a unit sentence included in the document to be processed and the placement position of the indented unit sentence is disrupted, the process includes a sorting step in which a sorting process is executed based on the dependency rules between unit sentences by a predetermined trigger, thereby aligning the placement positions of the unit sentences. The aforementioned alignment step is, Extraction step of extracting the string from the beginning portion of the unit sentence data which includes the item number in the beginning portion, A symbolization step in which at least one of the characters located before or after the item number in the preceding part of the string is converted into a first symbol in a form corresponding to the characters used in the appearance pattern for the item number, An indentation adjustment step in which, among the multiple strings in the leading portion after conversion, the strings whose patterns match the first symbol are aligned to the same indentation, A restoration step of restoring the converted first symbol back to the original character, Includes, The first symbol is obtained by converting the characters representing the hierarchical attribute into a specific symbol. Information processing methods.
5. A predetermined text is defined as a unit text, and for a text to be processed, which is composed of one or more of these unit texts, a computer controls the placement position of each of the one or more unit texts according to the hierarchical attributes and hierarchical order defined for each of the one or more unit texts. If the correspondence between the initial part of a unit sentence in the document to be processed and the placement position of the indented unit sentence is disrupted, a sorting step is performed by a predetermined trigger to sort the unit sentences based on the dependency rules between them. The control process including this is executed, As the aforementioned alignment step, Extraction step of extracting the string from the beginning portion of the unit sentence data which includes the item number in the beginning portion, A symbolization step in which the characters before and after the item number in the string of characters in the leading part are converted into a first symbol in a form corresponding to the characters used in the appearance pattern for the item number, An indentation adjustment step in which, among the multiple strings in the leading portion after conversion, the strings whose patterns match the first symbol are aligned to the same indentation, A restoration step of restoring the converted first symbol back to the original character, The control process including this is executed, The first symbol is obtained by converting the characters representing the hierarchical attribute into a specific symbol. program.