Check item generation device, check item generation method, and program
The confirmation item generation device addresses the limitation of predetermined sentence structures by analyzing specification structures and calculating similarity indices to generate comprehensive confirmation items for product specifications, ensuring completeness and quality.
Patent Information
- Application Number
- JP2020133456
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-08-06
AI Technical Summary
Existing specification verification devices are limited to generating confirmation items with a predetermined sentence structure, leading to the possibility of omitting necessary items in product specifications.
A confirmation item generation device that analyzes the structure of product specifications, generates sentences using tabular or bulleted parts, calculates a similarity index between accumulated and processed sentences, and extracts confirmation items based on this index to ensure consistency across different sentence structures.
Generates confirmation items for product specifications without being limited to a predetermined sentence structure, ensuring completeness and quality by utilizing accumulated data to prevent item omission.
Smart Images

Figure 0007555215000002 
Figure 0007555215000007 
Figure 0007555215000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a check item generation device, a check item generation method, and a program. [Background technology]
[0002] There is known a technique for identifying contradictions in a product specification by linguistically analyzing the text of the product specification. For example, a specification verification device described in Patent Document 1 performs morphological analysis on a requirement specification written in natural language to break it down into words and parts of speech, and obtains clauses including at least one word and syntax data representing dependency relationships between the clauses by dependency analysis. Next, the specification verification device analyzes the syntax data according to specification analysis rules to generate semantic expression data including items related to a verb, a subject for the verb, an object for the verb, and a precondition that must be satisfied before an action determined by the verb and the object is performed, for each clause including a verb word. The specification verification device then checks the semantic expression data to detect defective items in the semantic expression data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2014-81680 A Summary of the Invention [Problem to be solved by the invention]
[0004] The specification verification device described in Patent Document 1 generates semantic expression data of the specification by analyzing the syntax data obtained from the requirement specification according to the specification analysis rules. Therefore, when the specification verification device described in Patent Document 1 is used to generate check items of the product specification, there is a problem that only check items with a predetermined sentence structure indicated by the specification analysis rules can be generated, and there is a possibility that items necessary for checking the product specification may be missed.
[0005] The present disclosure is intended to solve the above-mentioned problems, and aims to provide a check item generation device, a check item generation method, and a program that are capable of generating check items for product specifications without being limited to a predetermined sentence structure. [Means for solving the problem]
[0006] The check item generation device according to the present disclosure analyzes the structure of a product specification. Using the results, specification Determine which parts of a table or list are in A structural analysis section for Determined by the structural analysis department specification Part To Use contained words, strings or sentences And, Corresponding to the part Generates text related to product specifications Then, a sentence is generated for the specification to be processed that includes the generated sentence. a sentence generating unit for generating a sentence corresponding to a check item in accumulated data in which check items of the product specifications are accumulated; Generated by the text generator Processing target specifications Second I of A similarity analysis unit that acquires a sentence and calculates a similarity index that quantifies the degree of similarity between the two sentences, and extracts from the accumulated data based on the similarity index. The sentences corresponding to the confirmation items and the sentences about the processing target specification generated by the sentence generation unit are Check items Each processing string representing the conditions and the results for the conditions Using the above, the specification to be processed About and an item generating unit that generates confirmation items. Effect of the Invention
[0007] According to the present disclosure, a similarity index between a sentence corresponding to a check item in accumulated data in which product check items are accumulated and a sentence generated based on the structure of a specification to be processed is calculated, and check items are generated from the specification to be processed using the product check items extracted from the accumulated data based on the similarity index. Among the accumulated product check items, check items similar to the sentence generated based on the structure of the specification to be processed are used in the process of generating check items from the specification to be processed. In this way, the check item generation device according to the present disclosure can generate check items for product specifications without being limited to a predetermined sentence structure. Furthermore, by using check items extracted from the accumulated data, the quality of the check items can be made constant, and it is possible to prevent items necessary for checking the product specifications from being omitted. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing a configuration of a check item generation device according to a first embodiment. [Diagram 2] 4 is a flowchart showing a check item generating method according to the first embodiment. [Diagram 3] FIG. 13 is a diagram illustrating an example of a target product description rule. [Figure 4] FIG. 13 is a diagram showing an overview of a process for replacing words included in a sentence with a processing character string. [Diagram 5] FIG. 13 is a diagram showing an example of a sentence corresponding to a confirmation item in the stored data. [Figure 6] FIG. 13 is a diagram showing an example of a sentence generated from a processing target specification. [Figure 7] FIG. 1 shows an overview of similar analysis. [Figure 8] FIG. 13 is a diagram showing an overview of a process of replacing a word with a processing character string representing a condition, and a process of replacing a word with a processing character string representing a result. [Figure 9] FIG. 13 is a diagram showing an overview of a process for generating check items from sentences corresponding to check items in stored data. [Figure 10] FIG. 13 is a diagram showing an overview of a process for generating check items from a sentence of a specification to be processed. [Figure 11] FIG. 11A is a block diagram showing a hardware configuration for realizing the functions of the check item generation device of embodiment 1, and FIG. 11B is a block diagram showing a hardware configuration for executing software for realizing the functions of the check item generation device of embodiment 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Embodiment 1 FIG. 1 is a block diagram showing a configuration of a check item generation device 1 according to a first embodiment. The check item generation device 1 generates check items of the product specifications from specification data 2 indicating the specification to be processed, using accumulated data 3 of check items of the product specifications. The specification data 2 is data indicating the specification to be processed for which check items of the product specifications have not been generated. The accumulated data 3 is data in which check items that have a track record of ensuring the quality of products in product development are accumulated. For example, the check item generation device 1 extracts from the accumulated data 3 check items corresponding to sentences similar to sentences generated based on the structure of the specification to be processed, and generates check items of the product specifications from the specification to be processed using the extracted check items. For example, the check item generation device 1 displays the generated check items on a display device 4.
[0010] 1, the check item generation device 1 includes a structure analysis unit 11, a sentence generation unit 12, a similarity analysis unit 13, and an item generation unit 14. The structure analysis unit 11 defines the structure of a product specification by analyzing the structure of the specification. For example, the structure analysis unit 11 reads out specification data 2 indicating the specification to be processed, and analyzes the structure of the specification to be processed. The specification structure may be, for example, a table structure or a bullet-list structure.
[0011] The sentence generation unit 12 replaces words included in a sentence with processing strings according to target product description rules that associate words related to product specifications with processing strings. A processing string is a string that expresses the meaning of a word. For example, words such as "register", "memory", "signal", "bit" and "buffer" have the meaning of resources that define product specifications. The processing string corresponding to these is, for example, "$resource$". In other words, a word whose meaning is resource is replaced with a common processing string "$resource$" that expresses the same meaning.
[0012] Moreover, a processing string corresponding to a word whose meaning is a resource name, such as "A signal", is "$resource name$". That is, words whose meaning is the same as a resource name are replaced with, for example, a common processing string "$resource name$" expressing the same meaning. The sentence generation unit 12 replaces words included in sentences generated from the target specification according to the target product description rules with processing strings corresponding to the meanings, and replaces symbols included in sentences corresponding to confirmation items in the stored data 3 with processing strings corresponding to the meanings.
[0013] Furthermore, the sentence generation unit 12 generates sentences related to the product specifications based on the structure of the specification to be processed. For example, when a table is included in the structure of the specification to be processed, the sentence generation unit 12 generates sentences related to the product specifications using words included in the table. Also, when a plurality of sentences are listed in the structure of the specification to be processed and the sentences in the list are related to each other, the sentence generation unit 12 generates sentences related to the product specifications by combining the related sentences.
[0014] The similarity analysis unit 13 acquires a sentence corresponding to a check item in the stored data 3 and a sentence generated based on the structure of the specification to be processed, and calculates a similarity index that quantifies the degree of similarity between the two. For example, the similarity analysis unit 13 calculates the ratio of the number of words whose meanings match in both sentences, in a sentence corresponding to a check item in the stored data 3 and in which words have been replaced with character strings for processing, and in a sentence generated from the specification to be processed and in which words have been replaced with character strings for processing, to the total number of words in each sentence, and calculates the average value of the ratios in each sentence as the similarity index between the two sentences.
[0015] The item generation unit 14 generates check items from the target specification using check items of the product extracted from the stored data 3 based on the similarity index. For example, the item generation unit 14 replaces a processing string corresponding to a condition of a check item in a sentence in which words have been replaced with processing strings with a processing string representing the condition, and replaces a processing string corresponding to a result of the condition with the processing string representing the result. Then, the item generation unit 14 generates check items using the processing strings representing the conditions and results in the sentence corresponding to the check items in the stored data 3 and the sentence generated based on the structure of the target specification.
[0016] FIG. 2 is a flowchart showing the check item generating method according to the first embodiment. First, the structure analysis unit 11 acquires specification data 2 indicating a specification to be processed, and analyzes the structure of the specification to be processed (step ST1) using the acquired specification data 2. The structure of the specification may be, for example, a table structure or a list structure.
[0017] Next, the sentence generation unit 12 generates sentences related to the product specifications based on the structure of the specification to be processed (step ST2). For example, when the structure of the specification to be processed includes a table, the sentence generation unit 12 generates sentences related to the product specifications using words included in the table. Also, when the specification to be processed includes items and the items have relationships between each other, the sentence generation unit 12 generates sentences related to the product specifications by combining the individual related sentences.
[0018] The sentence generating unit 12 replaces words included in sentences generated from the target specification to be processed with processing character strings corresponding to their meanings according to the target product description rules, and replaces symbols included in sentences corresponding to check items in the stored data 3 with processing character strings corresponding to their meanings. Fig. 3 is a diagram showing an example of the target product description rules 12A. The target product description rules 12A are rules that describe the correspondence between words related to the product specifications and processing character strings expressing the meanings of the words, and further describe words indicating the conditions of the check items and words indicating the results for these conditions.
[0019] In the target product description rule 12A shown in Fig. 3, words such as "register", "memory", "signal", "bit" and "buffer" have the connotation of resources that define the product specifications, so the processing strings corresponding to these words are "$resource$". A word that consists of "alphanumeric characters" followed by the string "resource" corresponds to a processing string representing a "resource name".
[0020] Resource attributes include the conditions and results of a check item. Words having the semantics of specifying a "condition" are, for example, "state," "if," or "when." When any of these words are detected in a sentence, the resource name and value written before the detected word are words indicating a "condition." Words having the semantics of specifying a "result" are, for example, "configure," "operation," "transfer," "request," "select," or "become." When any of these words are detected in a sentence, the resource name and value written before the detected word are words indicating a "result."
[0021] 4 is a diagram showing an overview of the process of replacing words included in sentence C1 with a character string for processing. The sentence generation unit 12 replaces the words included in sentence C1, "The B register becomes 2 when the A signal is 1," with a character string for processing, according to the target product description rule 12A. The words "register" and "signal" included in sentence C1 are replaced with "$resource$" according to the target product description rule 12A. As a result, sentence C2 is generated.
[0022] The sentence generation unit 12 replaces "B$resource$" with "$resource name$" because "B" in the part "B$resource$" is an "alphanumeric character" indicating a resource name, and replaces "B$resource$" with "$resource name$" because "A" in the part "A$resource$" is an "alphanumeric character" indicating a resource name. As a result, sentence C3 is generated. Furthermore, "1" and "2" in sentence C3 have numerical meanings, so the processing character string corresponding to "1" and "2" is "$value$". The sentence generation unit 12 replaces "1" and "2" in sentence C3 with "$value$". As a result, sentence C4 is generated.
[0023] In Fig. 2, the similarity analysis unit 13 obtains a sentence corresponding to a check item in the stored data 3 and a sentence generated based on the structure of the specification to be processed, and calculates a similarity index between the two sentences (step ST3). Fig. 5 is a diagram showing an example of a sentence corresponding to a check item in the stored data 3. Fig. 6 is a diagram showing an example of a sentence generated from the specification to be processed. The sentence generation unit 12 generates sentences C4a and C4b in which words are replaced with character strings for processing, as shown in Figs. 5 and 6, and outputs them to the similarity analysis unit 13.
[0024] In order to analyze only the words contained in sentence C4a, the similar analysis unit 13 divides sentence C4a into words and particles and generates sentence C5a from which the particles have been removed, as shown in Fig. 5. Similarly, in order to analyze only the words contained in sentence C4b, the similar analysis unit 13 divides sentence C4b into words and particles and generates sentence C6a from which the particles have been removed, as shown in Fig. 6.
[0025] FIG. 7 is a diagram showing an overview of similar analysis. As shown in FIG. 7, the similar analysis unit 13 calculates the number of matching words by comparing the words included in the sentence C5a and the words included in the sentence C6a in order from the beginning of the sentence. The sentence C5a consists of "$resource name$", "$resource name$", "$value$", "when", "$value$" and "becomes", and the sentence C6a consists of "$resource name$", "$value$", "when", "$resource name$", "$value$" and "becomes". The number of matching words between the sentences C5a and C6a is "5".
[0026] Next, the similarity analysis unit 13 calculates the ratio Ia of the words in the sentence C5a that match the words in the sentence C6a, calculates the ratio Ib of the words in the sentence C6a that match the words in the sentence C5a, and calculates the average of these ratios as the similarity index I. In FIG. 7, the number of words in the sentence C5a is 6, and the number of words that match the words in the sentence C6a is 5, so the ratio Ia is 5 / 6=0.8333. The number of words in the sentence C6a is 6, and the number of words that match the words in the sentence C5a is 5, so the ratio Ib is 5 / 6=0.8333. Therefore, the similarity index I is (0.8333+0.8333) / 2=0.8333.
[0027] The sentence generation unit 12 and the similarity analysis unit 13 execute the processes from step ST2 to step ST3 for sentences corresponding to all check items in the stored data 3. This calculates a similarity index I between the sentences corresponding to each check item in the stored data 3 and the sentences generated from the target specification.
[0028] 2, the item generation unit 14 generates check items from the target specification using check items of the product extracted from the stored data 3 based on the similarity index (step ST4). For example, the item generation unit 14 extracts from the stored data 3 check items having the largest similarity index I between the check items stored in the stored data 3 and the text generated from the target specification. The item generation unit 14 may also extract from the stored data 3 check items having a similarity index equal to or greater than a certain threshold.
[0029] The item generating unit 14 replaces a processing string corresponding to a condition of the sentence with a processing string representing the condition, and replaces a processing string corresponding to a result of the condition with the processing string representing the result, according to the target product description rules 12A. This replacement process is performed on the sentence extracted from the accumulated data 3 based on the similarity index I, and on the sentence generated from the target specification. Both sentences are sentences in which words have been replaced with processing strings.
[0030] FIG. 8 is a diagram showing an overview of a process of replacing a word with a processing character string representing a condition and a process of replacing a word with a processing character string representing a result. The item generating unit 14 replaces a word having a conditional meaning in a sentence C4, "$resource name$ becomes $value$ when $resource name$ is $value$," with a processing character string representing a condition, according to the target product description rule 12A. For example, the word "time" included in the sentence C4 is determined to be a word having a meaning of specifying a condition according to the target product description rule 12A, and the "resource name" written before the word "time" is replaced with "$condition$," which is a processing character string representing a condition, and the "value" written before the word "time" is replaced with "$condition value$," which is a processing character string representing a condition. In this way, the sentence C7 is generated.
[0031] Next, the item generating unit 14 replaces the word having the meaning of result in the sentence C7, "$resource name$ becomes $value$ when $condition$ is $condition value$," with a processing character string representing the result, according to the target product description rule 12A. For example, the word "become" included in the sentence C7 is determined to be a word having the meaning of specifying a result according to the target product description rule 12A, and the "resource name" written before the word "become" is replaced with "$result$," which is a processing character string representing the result, and the "value" written before the word "become" is replaced with "$result value$," which is a processing character string representing the result. In this way, the sentence C8 is generated.
[0032] Fig. 9 is a diagram showing an outline of a process for generating check items from sentences corresponding to check matters in the stored data 3. Fig. 10 is a diagram showing an outline of a process for generating check items from sentences in the specification to be processed. The item generating unit 14 uses sentence C5a extracted from the stored data 3 based on the similarity index I and from which particles have been removed, to generate check items C13 from sentence C6a generated from the specification to be processed and from which particles have been removed.
[0033] 9, the item generating unit 14 replaces the pair of "$resource name$" and "$value$" written before the word "if" that has the meaning of specifying a condition in the sentence C5a with a processing character string that represents the condition. "$resource name$" is replaced with "$condition$", and "$value$" is replaced with "$condition value$". Note that when multiple "$resource names$" and "$values$" are written before a word that has the meaning of specifying a condition, pairs are set so that there is no duplication of "$resource names$" or "$values$".
[0034] Furthermore, as shown by the arrow in Fig. 9, the item generating unit 14 replaces the pair of "$resource name$" and "$value$" written before the word "become" having the meaning of specifying a result in the sentence C5a with a processing character string representing the result. "$resource name$" is replaced with "$result$", and "$value$" is replaced with "$result value$". In this way, the sentence C9a is generated. Note that if multiple "$resource name$" and "$value$" are written before the word having the meaning of specifying a result, the pairs are set so that there is no duplication of "$resource name$" or "$value$".
[0035] The format C10 of the check item extracted from the stored data 3 consists of a condition and a result, where the condition is defined by a pair of processing character strings "$condition$" and "$condition value$", and the result is defined by a pair of processing character strings "$result$" and "$result value$". The item generation unit 14 sets the word and number corresponding to the "condition" pair and the word and number corresponding to the "result" pair in the text C11 before it is converted into the text C5a into the format C10. This generates the check item C12. The check item C12 is "Condition: register (X) = 5, Result: register (Y) = 3".
[0036] The sentences corresponding to the check items extracted from the stored data 3 and the sentences generated from the target specifications are similar to each other. For this reason, the process of generating the check items C13 from the target specifications can use the condition and result relationships and the format C10 similar to those in FIG. 9. For example, as shown by the arrow in FIG. 10, the item generating unit 14 replaces the pair of "$resource name$" and "$value$" described before the word "time" that has the meaning of specifying a condition in the sentence C6a with a processing character string that represents the condition. "$resource name$" is replaced with "$condition$", and "$value$" is replaced with "$condition value$". Note that, when multiple "$resource names$" and "$values$" are described before the word that has the meaning of specifying a condition, the pairs are set so that there is no duplication of "$resource names$" or "$values$".
[0037] Furthermore, as shown by the arrow in Fig. 10, the item generating unit 14 replaces the pair of "$resource name$" and "$value$" written before the word "become", which is a word having the meaning of specifying a result, in the sentence C6a with a processing character string representing the result. "$resource name$" is replaced with "$result$", and "$value$" is replaced with "$result value$". In this way, the sentence C7a is generated. Note that if multiple "$resource name$" and "$value$" are written before the word having the meaning of specifying a result, the pairs are set so that there is no duplication of "$resource name$" or "$value$".
[0038] Sentence C1 is a sentence before being converted into sentence C6a, and is a sentence generated from the specification to be processed. The item generation unit 14 sets the words and numerical values corresponding to the pair of "$condition$" and "$condition value$" in sentence C1, and the words and numerical values corresponding to the pair of "$result$" and "$result value$" in sentence C1, to the format C10 shown in FIG. 9. This generates check item C13. Check item C13 is "Condition: signal (A) = 1, Result: register (B) = 2". In this way, the check item generation device 1 is capable of generating check items of product specifications without being limited to a predetermined sentence structure.
[0039] The hardware configuration for realizing the functions of the check item creation device 1 is as follows. Fig. 11A is a block diagram showing a hardware configuration for realizing the functions of the check item generation device 1. Fig. 11B is a block diagram showing a hardware configuration for executing software for realizing the functions of the check item generation device 1. In Figs. 11A and 11B, an input interface 100 is an interface that relays specification data 2 and accumulated data 3 input to the check item generation device 1. An output interface 101 is an interface that relays reference information that is output to a display device 4.
[0040] The functions of the structure analysis unit 11, sentence generation unit 12, similarity analysis unit 13, and item generation unit 14 provided in the check item generation device 1 are realized by processing circuits. That is, the check item generation device 1 includes a processing circuit for executing the processes from step ST1 to step ST4 shown in Fig. 2. The processing circuit may be dedicated hardware, or may be a CPU (Central Processing Unit) that executes a program stored in a memory.
[0041] 11A, the processing circuit 102 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination of these. The functions of the structure analysis unit 11, the sentence generation unit 12, the similarity analysis unit 13, and the item generation unit 14 provided in the confirmation item generation device 1 may be realized by separate processing circuits, or these functions may be realized together by a single processing circuit.
[0042] 11B, the functions of the structure analysis unit 11, sentence generation unit 12, similarity analysis unit 13, and item generation unit 14 included in the confirmation item generation device 1 are realized by software, firmware, or a combination of software and firmware. The software or firmware is written as a program and stored in the memory 104.
[0043] The processor 103 reads out and executes the programs stored in the memory 104 to realize the functions of the structure analysis unit 11, the sentence generation unit 12, the similarity analysis unit 13, and the item generation unit 14 included in the check item generation device 1. For example, the check item generation device 1 includes a memory 104 that stores a program that, when executed by the processor 103, results in the processing of steps ST1 to ST4 shown in FIG. 2 being executed. These programs cause a computer to execute the procedures or methods of the structure analysis unit 11, the sentence generation unit 12, the similarity analysis unit 13, and the item generation unit 14. The memory 104 may be a computer-readable storage medium that stores programs for causing a computer to function as the structure analysis unit 11, the sentence generation unit 12, the similarity analysis unit 13, and the item generation unit 14.
[0044] Memory 104 may be, for example, a non-volatile or volatile semiconductor memory such as a Random Access Memory (RAM), a Read Only Memory (ROM), a flash memory, an Erasable Programmable Read Only Memory (EPROM), an Electrically-EPROM (EEPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, a DVD, etc.
[0045] Some of the functions of the structure analysis unit 11, sentence generation unit 12, similar thing analysis unit 13 and item generation unit 14 provided in the confirmation item generation device 1 may be realized by dedicated hardware, and the remaining parts may be realized by software or firmware. For example, the structure analysis unit 11 has its functions realized by a processing circuit 102 which is dedicated hardware, and the sentence generation unit 12, similar thing analysis unit 13 and item generation unit 14 have their functions realized by a processor 103 reading and executing a program stored in a memory 104. In this way, the processing circuit can realize the above functions by hardware, software, firmware or a combination of these.
[0046] As described above, the check item generation device 1 according to the first embodiment calculates a similarity index between a sentence corresponding to a check item in the stored data 3 in which product check items are stored and a sentence generated based on the structure of the specification to be processed, and generates check items for the specification to be processed using the product check items extracted from the stored data 3 based on the similarity index. This allows the check item generation device 1 to generate check items for product specifications without being limited to a predetermined sentence structure. Furthermore, by determining reference information from the stored data 3, the quality of the check items is stabilized, and it is possible to prevent omission of items necessary for checking the product specifications.
[0047] Any of the components of the embodiments may be modified or omitted. [Explanation of symbols]
[0048] 1 Check item generation device, 2 Specification data, 3 Accumulated data, 4 Display device, 11 Structure analysis section, 12 Sentence generation section, 12A Target product description rule, 13 Similarity analysis section, 14 Item generation section, 100 Input interface, 101 Output interface, 102 Processing circuit, 103 Processor, 104 Memory.
Claims
1. a structure analysis unit that uses a result of analyzing the structure of a product specification to identify a portion of the specification that is in a table format or a bulleted format; a sentence generation unit that uses a word, character string, or sentence included in the portion of the specification determined by the structure analysis unit to generate a sentence related to the product specification corresponding to the portion, and generates a sentence for the specification to be processed that includes the generated sentence; a similarity analysis unit that acquires a sentence corresponding to a check item in accumulated data in which check items of a product specification are accumulated, and a sentence about the specification to be processed generated by the sentence generation unit, and calculates a similarity index that quantifies the degree of similarity between the two; an item generation unit that generates check items for the target specification by using processing character strings that represent conditions of check items and results for the check items in a sentence corresponding to the check items extracted from the stored data based on the similarity index and a sentence for the target specification generated by the sentence generation unit; A confirmation item generating device comprising:
2. the sentence generation unit replaces words included in the generated sentence with processing character strings in accordance with target product description rules in which words related to product specifications are associated with processing character strings that represent the meanings of the words; The similarity analysis unit calculates a similarity index between a sentence in which a word included in a sentence corresponding to a confirmation item of the product specification extracted from the accumulated data is replaced with the processing character string, and a sentence in which a word included in a sentence generated for the processing target specification is replaced with the processing character string.
2. The confirmation item generating device according to claim 1, further comprising:
3. The item generating unit Identifying a word having a meaning of specifying a condition of a check item from a sentence in which a word included in the sentence generated for the specification to be processed is replaced with the processing character string in accordance with the target product description rule, and replacing the processing character string having a dependency relationship corresponding to the identified word with the processing character string expressing the condition; identifying a word having a meaning that specifies the result for the condition from a sentence in which a word included in the sentence generated for the specification to be processed has been replaced with the processing character string in accordance with the target product description rule, and replacing the processing character string in which a dependency relation corresponds to the identified word with the processing character string that indicates the result; generating a check item by setting the processing character string representing the condition and the result in a format of the check item extracted from the stored data; 3. The confirmation item generating device according to claim 2, further comprising:
4. A structure analysis unit uses a result of analyzing the structure of a product specification to determine whether a part of the specification is in a table format or a bulleted format; a sentence generating unit generating a sentence related to the product specification corresponding to the portion by using a word, character string or sentence included in the portion of the specification determined by the structure analysis unit, and generating a sentence for the specification to be processed including the generated sentence; A similarity analysis unit acquires a sentence corresponding to a check item in the accumulated data in which the check items of the product specifications are accumulated, and a sentence about the specification to be processed generated by the sentence generation unit, and calculates a similarity index that quantifies the degree of similarity between the two sentences; an item generation unit step in which an item generation unit generates a check item for the processing target specification by using each processing character string representing a condition of the check item and a result for the condition in a sentence corresponding to the check item extracted from the accumulated data based on the similarity index and a sentence for the processing target specification generated by the sentence generation unit; A confirmation item generating method comprising:
5. Computer, a structure analysis unit that uses a result of analyzing the structure of a product specification to determine a portion of the specification that is in a table format or a bulleted format; a sentence generation unit that uses a word, character string, or sentence included in the portion of the specification determined by the structure analysis unit to generate a sentence related to the product specification corresponding to the portion, and generates a sentence for the specification to be processed that includes the generated sentence; a similarity analysis unit that acquires a sentence corresponding to a check item in accumulated data in which check items of a product specification are accumulated, and a sentence about the specification to be processed generated by the sentence generation unit, and calculates a similarity index that quantifies the degree of similarity between the sentences; an item generation unit that generates check items for the specification to be processed by using processing character strings that represent conditions for check items and results for the conditions in a sentence corresponding to the check items extracted from the stored data based on the similarity index and a sentence for the specification to be processed generated by the sentence generation unit; A program to function as a
Citation Information
Patent Citations
Expression conversion method and expression conversion device
JP2004164672A
Document creation support device
JP2007026418A
Specification verification device, method therefor, and program
JP2014081680A
