Sentence evaluation device, sentence evaluation method, and program

The sentence evaluation device addresses the challenge of identifying and correcting duplicate or redundant sentences by setting criteria, performing morphological analysis, and calculating overlap scores to facilitate sentence refinement.

JP7550964B2Active Publication Date: 2024-09-13MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023512596
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-08
Publication Date
2024-09-13
Estimated Expiration
2041-04-08

AI Technical Summary

Technical Problem

Conventional document editing devices can identify low readability in documents but fail to extract and address duplicate or redundant sentences effectively.

Method used

A sentence evaluation device and method that utilizes a judgment criterion setting unit to assign points for sentence duplication and redundancy, performing morphological analysis to decompose sentences, compare structures, and calculate overlap scores to identify and extract duplicate or redundant sentences.

Benefits of technology

Enables the extraction and refinement of duplicate or redundant sentences by assigning scores, facilitating effective sentence elaboration and correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007550964000001
    Figure 0007550964000001
  • Figure 0007550964000002
    Figure 0007550964000002
  • Figure 0007550964000004
    Figure 0007550964000004
Patent Text Reader

Abstract

A sentence evaluation device (1) comprises a determination criterion setting unit (110), a data acquisition unit (120), an analysis unit (130), and a revision process unit (150). The determination criterion setting unit (110) sets, as a repetition criterion, a criterion for giving a score in accordance with the degree of repetition of a sentence. The data acquisition unit (120) acquires document data from a document storage unit. The analysis unit (130) analyzes the document data acquired by the data acquisition unit (120), gives, as a degree of repetition and on the basis of the repetition criterion, a score to a sentence included in the document data, and extracts, as a repetition sentence, a sentence to which the degree of repetition has been given. The revision process unit (150) presents the repetition sentence which has been extracted by the analysis unit (130) and the degree of repetition which has been given to the repetition sentence.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a sentence evaluation device, a sentence evaluation method, and a program. [Background technology]

[0002] Patent document 1 describes a document editing device in which a memory unit stores a reference value for evaluating the readability of a document and an editing process for improving readability, and the editing processing unit counts the number of kanji, hiragana, etc. characters in the document using a character counting means, evaluates the readability of the document against the evaluation reference value, extracts parts with low readability using an extraction means while selecting a corresponding editing process, improves the readability of the extracted document using a readability improvement means, and adjusts the extracted part and the parts before and after it using a document creation means. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 5-274306 Summary of the Invention [Problem to be solved by the invention]

[0004] According to the document editing device described in Patent Document 1, it is possible to extract parts of a document that have low readability, and adjust the extracted parts and the parts before and after them. On the other hand, even if a sentence has high readability, if the sentence is duplicated or redundant, the sentence may need to be revised. Conventional technologies can judge the readability of each sentence, but have the problem of being unable to extract duplicate sentences or redundant expressions in a document file.

[0005] The present disclosure has been made in consideration of such problems, and aims to provide a sentence evaluation device, a sentence evaluation method, and a program that can extract duplicate or redundant sentences by assigning scores to sentences, thereby facilitating revision. [Means for solving the problem]

[0006] In order to achieve the above object, the sentence evaluation device according to the present disclosure includes a judgment criterion setting unit, a data acquisition unit, an analysis unit, and a revision processing unit. The judgment criterion setting unit sets a criterion for assigning points according to the degree of overlap of sentences as an overlap criterion. The data acquisition unit acquires document data from the document storage unit. The analysis unit analyzes the document data acquired by the data acquisition unit, assigns points to sentences included in the document data as overlapping degrees based on the overlap criterion, and extracts the sentences to which the overlapping degrees have been assigned as overlapping sentences. The revision processing unit presents the overlapping sentences extracted by the analysis unit and the overlapping degrees assigned to the overlapping sentences. The analysis unit performs morphological analysis on the document data acquired by the data acquisition unit, breaks down complex and compound sentences into simple sentences, compares the source simple sentence with the target simple sentence, calculates structural overlap points for each sentence structure based on an overlap criterion, and multiplies the structural overlap points for each sentence structure to calculate the degree of overlap between the source simple sentence and the target simple sentence. Effect of the Invention

[0007] According to the present disclosure, it is possible to provide a sentence evaluation device, a sentence evaluation method, and a program that can extract duplicate or redundant sentences by assigning scores to sentences, thereby facilitating revision. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a block diagram showing a configuration of a sentence evaluation device according to an embodiment. [Diagram 2] FIG. 13 is a diagram showing an overlapping point table output by a judgment criterion setting unit according to an embodiment. [Diagram 3] FIG. 13 is a diagram showing a redundancy point table output by a judgment criterion setting unit according to an embodiment. [Figure 4] FIG. 13 is a diagram showing a sentence structure analysis result output by an analysis unit according to an embodiment. [Diagram 5] FIG. 13 is a diagram showing an overlap table output by an analysis unit according to an embodiment. [Figure 6] FIG. 1 is a block diagram showing a hardware configuration of a sentence evaluation device according to an embodiment. [Figure 7] A flowchart showing a sentence evaluation process executed by the sentence evaluation device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A sentence evaluation device 1 according to an embodiment of the present disclosure will be described with reference to Figs. 1 to 7. In the figures, identical or corresponding parts are denoted by the same reference numerals. The sentence evaluation device 1 according to the embodiment is a device that extracts overlapping or redundant expressions contained in a sentence and supports a user in revising the sentence.

[0010] Fig. 1 is a block diagram showing a configuration of a sentence evaluation device 1 according to an embodiment. As shown in Fig. 1, the sentence evaluation device 1 includes a criterion setting unit 110 for setting a criterion for extracting overlapping sentences and redundant expressions, a data acquisition unit 120 for acquiring document data from a document file, an analysis unit 130 for extracting overlapping sentences or redundant expressions that are candidates for correction from sentences included in the document data by converting them into scores, an analysis information storage unit 140 for storing analysis information output by the analysis unit 130, a revision processing unit 150 for providing a user with information necessary for correcting a sentence and storing the sentence corrected by the user, a document storage unit 160 for storing a plurality of document files, a criterion storage unit 170 for storing a criterion for converting the degree of overlap and the degree of redundancy into a score, an analysis information storage unit 180 for storing analysis information including the degree of overlap and the degree of redundancy, and an interface unit 190 for presenting information to a user and accepting an input from the user.

[0011] The criterion setting unit 110 sets criteria for extracting overlapping sentences and redundant expressions. The criterion setting unit 110 outputs overlapping criteria, which are criteria for scoring the overlapping degree of the comparison source and comparison target, as the criterion for extracting overlapping sentences, as overlapping score table 310 and stores it in the criterion storage unit 170. The criterion setting unit 110 outputs redundancy criteria, which are criteria for scoring redundant expressions, as redundancy score table 320 as the criterion for extracting redundant expressions, and stores it in the criterion storage unit 170.

[0012] Fig. 2 is a diagram showing the overlap score table 310 output by the judgment criteria setting unit 110. As shown in Fig. 2, the overlap score table 310 includes the overlap judgment results and a score for each judgment result. In the example of Fig. 2, the overlap score table 310 indicates that a score of 1.0 is assigned when the comparison source and comparison target are judged to be the same or synonymous, 0.9 is assigned when they are judged to be similar, 0.5 is assigned when it is judged that only one of them exists, and 0.0 is assigned when they are judged to be different.

[0013] Fig. 3 is a diagram showing a redundancy score table 320 output by the judgment criterion setting unit 110. As shown in Fig. 3, the redundancy score table 320 includes redundant expressions, concise expressions corresponding to the redundant expressions, and redundancy degrees which are scores for each redundant expression.

[0014] In Figure 3, the concise expression "¥1" indicates the string surrounded by "¥(" and "¥)" in the redundant expression part. "[^...]" in the redundant expression part indicates that it matches strings other than those indicated by .... "+" in the redundant expression part indicates a string that contains the character specified before the + repeated one or more times and satisfies the repetition condition. "[^,.]" in the redundant expression part indicates characters other than punctuation marks.

[0015] In the example of the first row in FIG. 3, the redundancy score table 320 includes "want to be able to do it" as a redundant expression, "do" as a corresponding concise expression, and "0.8" as the redundancy level.

[0016] In the example of the fifth line, the redundancy score table 320 includes "about ¥([^,.]+¥)" as a redundant expression, "about ¥1" as a corresponding concise expression, and "1.0" as a redundancy level. For example, the sentence "A is about 70 cm" corresponds to the redundant expression of this example. On the other hand, the sentence "A is about 70 cm, B is about 90 cm" does not correspond to the redundant expression of this example because there is a punctuation mark between "about" and "degree."

[0017] Returning to Figure 1, the judgment criteria setting unit 110 queries the user as to whether or not to change the judgment criteria for extracting sentence duplications and redundant expressions, and if the user makes an input to change the judgment criteria, the duplication score table 310 and redundancy score table 320 stored in the criteria memory unit 170 are changed in accordance with the user's input.

[0018] Methods by which the judgment criteria setting unit 110 sets the overlap criteria and redundancy criteria include, but are not limited to, obtaining the overlap criteria and redundancy criteria from an external recording medium, obtaining the overlap criteria and redundancy criteria from user input, and generating the overlap criteria and redundancy criteria by machine learning.

[0019] The data acquisition unit 120 selects a document file to be subjected to the sentence evaluation process in response to a user's input from among the multiple document files stored in the document storage unit 160. The data acquisition unit 120 acquires the document data of the selected document file as data to be processed.

[0020] The analysis unit 130 extracts sentences from the processing target data acquired by the data acquisition unit 120, and extracts duplicate sentences or redundant expressions that are candidates for correction by converting them into scores.

[0021] The process of extracting duplicated sentences and scoring them by the analysis unit 130 will be described. The analysis unit 130 extracts sentences from the processing target data acquired by the data acquisition unit 120, performs morphological analysis on the extracted sentences, and breaks down complex and compound sentences into simple sentences. The analysis unit 130 extracts the simple sentences obtained by breaking down the sentences into sentence structures including subjects, predicates, and modifiers in accordance with grammar, and outputs the results of the extraction as sentence structure analysis result 330.

[0022] Fig. 4 is a diagram showing a sentence structure analysis result 330 output by the analysis unit 130. As shown in Fig. 4, the analysis unit 130 outputs, as the sentence structure analysis result 330, a sentence number, a sentence, a simple sentence number, a position within a document, and a sentence structure.

[0023] The sentences are sentences included in the data to be processed. The sentence numbers are numbers assigned to the sentences included in the data to be processed, and sentence 1, sentence 2, ..., sentence n, ... (n: natural number) are output.

[0024] Simple sentences are obtained by decomposing sentences included in the data to be processed. Simple sentence numbers are numbers assigned to each simple sentence, and simple sentence 1, simple sentence 2, simple sentence 3, ..., simple sentence m, ... (m: natural number) are output. In the example of Figure 4, sentence 2 "Mr. A went to the park, and Mr. B went fishing" is decomposed, and simple sentence 2 "Mr. A went to the park" and simple sentence 3 "Mr. B went fishing" are obtained.

[0025] The document position is a value indicating the starting position of each simple sentence in the data to be processed, and includes "Line" indicating the starting line number of the simple sentence in the data to be processed, and "Column" indicating the starting character number. In the example of Figure 4, the document position of simple sentence 2 is "Line.2, Column.4", which indicates that simple sentence 2 starts from the fourth character of the second line of the data to be processed.

[0026] The sentence structure shows the results of extracting a single sentence according to grammar, into sentence structures including subjects, predicates, and modifiers. In the example in Figure 4, "Mr. A" is extracted as the subject, "went" as the predicate, and "park" as the modifier.

[0027] The analysis unit 130 analyzes all sentences included in the data to be processed, and outputs all simple sentences included in the data to be processed as sentence structure analysis results 330. Then, for all combinations of simple sentences, it compares each sentence structure in the simple sentence and calculates a structural overlap point based on an overlap point table 310 stored in the reference storage unit 170. The structural overlap point is a value indicating the degree of overlap between the comparison source simple sentence and the comparison target simple sentence in terms of sentence structure, including subject, predicate, and post-embellishment.

[0028] The analysis unit 130 calculates the overlapping degree of the comparison source simple sentence and the comparison target simple sentence by multiplying the structural overlapping points of each sentence structure of the comparison source simple sentence and the comparison target simple sentence for all combinations of simple sentences. The structural overlapping degree is a value indicating the degree of overlap between the comparison source simple sentence and the comparison target simple sentence. The more the contents of the comparison source simple sentence and the comparison target simple sentence match, the closer the overlapping degree is to 1.0, and the more the contents of the comparison source simple sentence and the comparison target simple sentence differ, the closer the overlapping degree is to 0.0.

[0029] Fig. 5 is a diagram showing an overlapping degree table 340 output by the analysis unit 130. As shown in Fig. 5, the analysis unit 130 outputs an overlapping degree table 340 including the simple sentence number of the comparison source simple sentence, the simple sentence number of the comparison target simple sentence, the structural overlapping points for each structure, and the overlapping degree. In the example of Fig. 5, the comparison source is simple sentence 1, and the comparison target is all the simple sentences other than simple sentence 1 among the simple sentences obtained by decomposing the sentences included in the data to be processed.

[0030] An example will be described in which simple sentence 1 and simple sentence 2 are compared. Comparing simple sentence 1 "I went to school" and simple sentence 2 "Mr. A went to the park" shown in Figure 4, the subject of simple sentence 1 is "I" and the subject of simple sentence 2 is "Mr. A", so they correspond to "different" in the score table shown in Figure 2, and the subject structure score is 0.0 as shown in Figure 5. Similarly, the predicate of simple sentence 1 and simple sentence 2 is both "went", so they correspond to "same / synonymous" in the score table, and the predicate structure score is 1.0. Similarly, the modifier of simple sentence 1 is "school" and the modifier of simple sentence 2 is "park", so they correspond to "different" in the score table, and the modifier structure score is 0.0.

[0031] The analysis unit 130 multiplies the structure points of the comparison source simple sentence 1 and the comparison target simple sentence 2, and calculates the value obtained as the overlap between the comparison source simple sentence 1 and the comparison target simple sentence 2. As shown in Fig. 5, the overlap between the simple sentence 1 and the simple sentence 2 is 0.0 x 1.0 x 0.0 = 0.0.

[0032] The analysis unit 130 extracts, as overlapping sentences, combinations of a comparison source simple sentence and a comparison target simple sentence that have been assigned an overlapping degree greater than 0.0, and outputs the extracted overlapping sentences and the overlapping degrees assigned to the overlapping sentences.

[0033] The process of extracting redundant expressions and converting them into scores by the analysis unit 130 will be described. The analysis unit 130 extracts sentences from the processing target data acquired by the data acquisition unit 120. The analysis unit 130 extracts expressions that match redundant expressions included in the redundant score table 320 stored in the reference storage unit 170 from the sentences extracted from the processing target data as redundant sentences.

[0034] The analysis unit 130 obtains from the redundancy score table 320 a concise expression corresponding to the redundant sentence extracted from the sentence and a redundancy degree, and outputs the redundant sentence extracted from the sentence, the concise expression obtained from the redundancy score table 320, and the redundancy degree obtained from the redundancy score table 320.

[0035] The analysis information saving unit 140 stores the overlap between the comparison source simple sentence and the comparison target simple sentence output by the analysis unit 130 as an overlap analysis result in the analysis information storage unit 180. The analysis information saving unit 140 stores the redundant expressions, concise expressions, and redundancy output by the analysis unit 130 in the analysis information storage unit 180 as redundancy analysis results.

[0036] The revision processing unit 150 provides the user with information necessary to correct sentences, and stores the sentences corrected by the user who received the information in the document storage unit 160. The revision processing unit 150 obtains the overlapping analysis results stored by the analysis information storage unit 140 from the analysis information storage unit 180 and the document file from the document storage unit 160, and presents information indicating the overlapping sentences and the overlapping degrees to the user via the interface unit 190 as candidates for correction.

[0037] The revision processing unit 150 obtains the redundancy analysis results stored by the analysis information saving unit 140 from the analysis information storage unit 180 and the document file from the document storage unit 160, and presents to the user via the interface unit 190 information indicating sentences containing redundant expressions, corresponding sentences containing concise expressions, and redundancy as candidates for correction.

[0038] The user checks the candidates for correction presented by the interface unit 190, and inputs the thresholds at which the user determines that correction is necessary for the score of 0.0-1.0 indicating the degree of overlap and the score of 0.0-1.0 indicating the degree of redundancy as the overlap threshold and the redundancy threshold, respectively, via the interface unit 190.

[0039] The revision processing unit 150 acquires the overlap threshold and redundancy threshold input by the user via the interface unit 190, and determines that those of the candidates for correction whose overlapping degree is equal to or greater than the overlap threshold are overlapping sentences between the source and target sentences, and presents the overlapping sentences to the user as correction targets via the interface unit 190.

[0040] The revision processing unit 150 acquires the threshold value input by the user via the interface unit 190, determines that those of the candidates for correction whose redundancy is equal to or greater than the redundancy threshold are sentences containing redundant expressions, and presents the sentences containing redundant expressions as candidates for correction to the user via the interface unit 190.

[0041] The user checks the presented correction target and corrects the correction target included in the data to be processed via the interface unit 190. Examples of the method of correcting the correction target may include, but are not limited to, deleting duplicated wording and changing at least one of the duplicated wording, and deleting and changing redundant expressions.

[0042] When the revision processing unit 150 receives an input indicating a correction to be made by the user to the correction target, the revision processing unit 150 reflects the correction content input by the user in the document data.

[0043] The revision processing unit 150 inquires of the user via the interface unit 190 as to whether or not to store the corrected processing target data in the document storage unit 160. When the user inputs an instruction to store the data via the interface unit 190, the revision processing unit 150 stores the corrected processing target data in the document storage unit 160.

[0044] The document storage unit 160 is a storage unit that stores a plurality of document files.

[0045] The criterion storage unit 170 is a storage unit that stores an overlap score table 310 shown in FIG. 2, which is a criterion for scoring the degree of overlap, and a redundancy score table 320 shown in FIG. 3, which is a criterion for scoring the degree of redundancy.

[0046] The interface unit 190 is connected to the judgment criteria setting unit 110 and the revision processing unit 150, and presents information to the user and accepts input from the user.

[0047] The analysis information storage unit 180 stores the overlap between the comparison source simple sentence and the comparison target simple sentence output by the analysis unit 130 as an overlap analysis result, and stores the redundant expressions, concise expressions, and redundancy output by the analysis unit 130 as redundancy analysis results.

[0048] A description will now be given of the hardware configuration of the sentence evaluation device 1. The sentence evaluation device 1 is a computer that executes a program to perform processing.

[0049] Fig. 6 is a block diagram showing a hardware configuration of a sentence evaluation device 1 according to an embodiment. As shown in Fig. 6, the sentence evaluation device 1 includes a processing device 210 that executes a program, a memory 220 that expands the program, a storage device 230 that stores the program and files, and an interface device 240 that presents information to a user and accepts input from the user. The processing device 210, the memory 220, the storage device 230, and the interface device 240 are connected to each other via a bus.

[0050] The processing device 210 reads out a program stored in the storage device 230, expands it in the memory 220, and executes it, thereby functioning as the judgment criteria setting unit 110, the data acquisition unit 120, the analysis unit 130, the analysis information storage unit 140, and the revision processing unit 150. The processing device 210 is a processing device that may include a CPU (Central Processing Unit), but is not limited to this.

[0051] The memory 220 is a storage device in which programs or data are deployed. The memory 220 is a non-volatile or volatile storage element including a random access memory (RAM) or a flash memory, but is not limited to this.

[0052] The storage device 230 stores programs and data, and thereby functions as a document storage unit 160, a reference storage unit 170, and an analysis information storage unit 180. The storage device 230 is a storage device including, but not limited to, an HDD (Hard Disk Drive) and an SSD (Solid State Drive).

[0053] The interface device 240 presents information to the user as video or audio, and receives input from the user by operating a key, button, or switch, thereby functioning as the interface unit 190. The interface device 240 may include, but is not limited to, a monitor, a touch panel, a speaker, a keyboard, a mouse, and a touch pad.

[0054] 7 is a flowchart showing the sentence evaluation process executed by the sentence evaluation device 1. The sentence evaluation process will be described with reference to the flowchart of FIG.

[0055] When the sentence evaluation process is started, the judgment criteria setting unit 110 of the sentence evaluation device 1 inquires of the user whether or not to change the judgment criteria for extracting overlapping and redundant expressions in sentences (step S101). If the user inputs an input not to change the judgment criteria (step S101: NO), the process proceeds to step S103.

[0056] When the user performs an input to change the judgment criteria (step S101: YES), the overlapping score table 310 and the redundant score table 320 stored in the criteria storage unit 170 are changed according to the user's input (step S102).

[0057] After changing the overlapping score table 310 and the redundant score table 320 in response to the user's input, the data acquiring unit 120 selects a document file from the multiple document files stored in the document storage unit 160 in response to the user's input (step S103).

[0058] When a document file is selected in response to a user's input, the data acquisition unit 120 acquires the document data of the selected document file as data to be processed (step S104).

[0059] When document data is acquired as data to be processed, the analysis unit 130 extracts sentences from the data to be processed acquired by the data acquisition unit 120, performs morphological analysis on the extracted sentences, and breaks down complex sentences and compound sentences into simple sentences (step S105).

[0060] After breaking down the complex sentences and compound sentences into simple sentences, the analysis unit 130 extracts the simple sentences obtained by breaking down the sentences into sentence structures each including a subject, a predicate, and a modifier in accordance with grammar (step S106).

[0061] After the simple sentences are divided into sentence structures, the analysis unit 130 compares all combinations of simple sentences with each sentence structure in the simple sentence, and calculates the structural overlap points based on the overlap point table 310 stored in the reference storage unit 170 (step S107).

[0062] After calculating the structural overlap points, the analysis unit 130 multiplies the structural overlap points for each sentence structure of the comparison source sentence and the comparison target sentence for all combinations of simple sentences, and outputs the value obtained as the overlap degree between the comparison source sentence and the comparison target sentence (step S108).

[0063] After calculating the degree of overlap, the analysis unit 130 extracts redundant expressions contained in the redundancy score table 320 stored in the reference storage unit 170 from the sentences extracted from the data to be processed (step S109).

[0064] When a redundant expression is extracted from a sentence, the analysis unit 130 obtains a concise expression corresponding to the redundant expression extracted from the sentence and a redundancy degree from the redundancy score table 320 and outputs them (step S110).

[0065] When the analysis unit 130 outputs the redundant expressions, concise expressions, and redundancy, the analysis information saving unit 140 stores the overlap between the comparison source simple sentence and the comparison target simple sentence output by the analysis unit 130 as the overlap analysis result in the analysis information memory unit 180 (step S111).

[0066] After storing the redundancy analysis result in the analysis information storage unit 180, the analysis information saving unit 140 stores the redundant expressions, concise expressions, and redundancy output by the analysis unit 130 in the analysis information storage unit 180 as redundancy analysis results (step S112).

[0067] When the analysis information storage unit 140 stores the redundancy analysis results in the analysis information memory unit 180, the revision processing unit 150 retrieves the overlap analysis results and redundancy analysis results stored by the analysis information storage unit 140 from the analysis information memory unit 180, and the document file from the document memory unit 160, and presents candidates for correction to the user via the interface unit 190 (step S113).

[0068] When the correction target candidates are presented, the revision processing unit 150 acquires the overlapping degree and redundancy degree thresholds input by the user via the interface unit 190 (step S114).

[0069] When the thresholds of the overlapping degree and the redundancy degree are acquired, the revision processing unit 150 presents, to the user, those candidates for correction whose overlapping degree is equal to or greater than the threshold and whose redundancy degree is equal to or greater than the threshold, as correction targets (step S115).

[0070] When the revision target is presented, the revision processing unit 150 judges whether or not an input indicating a revision of the revision target by the user has been received (step S116). If it is judged that the input has not been received (step S116: NO), the process proceeds to step S118.

[0071] If it is determined that the corrections have been accepted (step S116: YES), the revision processor 150 reflects the corrections input by the user in the document data (step S117).

[0072] After the corrections input by the user are reflected in the document data, the revision processor 150 inquires whether to save the corrected data to be processed in the document storage unit 160 (step S118). If the user does not input an instruction to save the data (step S118: NO), the sentence evaluation process ends.

[0073] If the user inputs an instruction to save (step S118: YES), the revision processor 150 saves the corrected processing target data in the document storage unit 160 (step S119), and ends the sentence evaluation process.

[0074] With the above configuration and by executing the sentence evaluation process, the sentence evaluation device 1 of the embodiment can extract duplicate or redundant sentences by assigning scores to sentences, thereby facilitating revision.

[0075] Even if the readability and quality of the sentence itself are high, if the sentence is written in duplicate, it is necessary to correct the duplicated portion. According to the sentence evaluation device 1 according to the embodiment, by breaking down the sentence into single sentences and comparing the single sentences with each other to score the duplicated portion, it is possible to extract the duplicated description regardless of the quality of the sentence itself and facilitate revision.

[0076] When extracting or correcting overlapping or redundant expressions, if parts that do not need to be corrected are excessively selected or parts that should be corrected are not selected, appropriate revision may not be possible. According to the sentence evaluation device 1 according to the embodiment, a threshold value is set for the overlapping degree or redundancy degree, so that only the parts that the user judges should be corrected can be appropriately corrected.

[0077] (Modification) The sentence evaluation device 1 has been described as extracting overlapping expressions and redundant expressions contained in a sentence, but this is not limited to this. Only one of overlapping expressions and redundant expressions may be extracted. That is, only one of the group of steps S105 to S108, and S111 in the flowchart of FIG. 7 and the group of steps S109, S110, and S112 may be executed.

[0078] Although the revision processing unit 150 has been described as acquiring the overlap threshold and the redundancy threshold input by the user via the interface unit 190, this is not limited to the above. The user may input only one threshold, and the revision processing unit 150 may acquire only one threshold. In other words, the overlap threshold and the redundancy threshold may be the same.

[0079] The revision processing unit 150 provides the user with information necessary for correcting a sentence, and the sentence corrected by the user who received the information is stored in the document storage unit 160, but this is not limited to the above. The revision processing unit 150 may correct a sentence and present the corrected sentence to the user. It may be possible to select whether the revision processing unit 150 corrects a sentence or whether the user corrects the sentence based on the information provided by the revision processing unit 150.

[0080] Although the storage device 230 stores programs and data to function as the document storage unit 160, the reference storage unit 170, and the analysis information storage unit 180, this is not limiting. A storage device external to the sentence evaluation device 1 may function as the document storage unit 160, the reference storage unit 170, and the analysis information storage unit 180. In other words, the sentence evaluation device 1 may not include some or all of the document storage unit 160, the reference storage unit 170, and the analysis information storage unit 180.

[0081] The overlap determination results and scores for each determination result in the overlap score table 310 shown in Figure 2, and the redundant expressions, concise expressions, and redundancy degrees in the redundancy score table 320 shown in Figure 3 are merely examples, and the expressions and scores are not limited to these.

[0082] The means and methods for performing various processes in the sentence evaluation device according to the embodiment can be realized by either a dedicated hardware circuit or a programmed computer. The above-mentioned program may be provided by a computer-readable recording medium including a flexible disk or a CD-ROM, or may be provided online via a network including the Internet. In this case, the program recorded on the computer-readable recording medium is usually transmitted to and stored in a storage unit including a hard disk. The above-mentioned program may be provided as a standalone application software, or may be incorporated into the software of the device as one of its functions.

[0083] Various embodiments and modifications of the present disclosure are possible without departing from the broad spirit and scope of the present disclosure. The above-described embodiments are for explaining the present disclosure and do not limit the scope of the present disclosure. That is, the scope of the present disclosure is indicated by the claims, not the embodiments. Various modifications made within the scope of the claims and the scope of the disclosure equivalent thereto are considered to be within the scope of the present disclosure. [Industrial Applicability]

[0084] The present disclosure can be used in a sentence evaluation device, a sentence evaluation method, and a program. [Explanation of symbols]

[0085] 1...sentence evaluation device, 110...judgment criteria setting unit, 120...data acquisition unit, 130...analysis unit, 140...analysis information storage unit, 150...revision processing unit, 160...document memory unit, 170...criteria memory unit, 180...analysis information memory unit, 190...interface unit, 210...processing device, 220...memory, 230...storage device, 240...interface device, 310...overlapping score table, 320...redundancy score table, 330...sentence structure analysis result, 340...overlapping degree table.

Claims

1. a judgment criterion setting unit that sets a criterion for assigning a score according to the degree of overlap of sentences as an overlap criterion; a data acquisition unit that acquires document data from a document storage unit; an analysis unit that analyzes the document data acquired by the data acquisition unit, assigns a score to each sentence included in the document data as a degree of overlap based on the overlap criterion, and extracts the sentence to which the degree of overlap has been assigned as an overlap sentence; a revision processing unit that presents the overlapped sentences extracted by the analysis unit and the overlapping degrees assigned to the overlapped sentences, the analysis unit performs a morphological analysis on the document data acquired by the data acquisition unit, breaks down complex sentences and compound sentences into simple sentences, compares the simple sentences of a comparison source with the simple sentences of a comparison target, calculates a structural overlap point for each sentence structure based on the overlap criterion, and multiplies the structural overlap points for each sentence structure to calculate the overlap degree between the simple sentences of the comparison source and the simple sentences of the comparison target. Sentence evaluation device.

2. the revision processing unit accepts an input of an overlap threshold indicating a threshold of the overlap, and presents the overlaps that exceed the overlap threshold among the overlaps, and the overlap sentences to which the overlaps that exceed the overlap threshold are assigned among the overlap sentences; The sentence evaluation device according to claim 1 .

3. the judgment criterion setting unit sets a criterion for assigning a score according to a degree of redundancy of a sentence as a redundancy criterion; the analysis unit assigns a score as a redundancy level to each sentence included in the document data based on the redundancy criterion, and extracts the sentence to which the redundancy level has been assigned as a redundant sentence; the revision processing unit presents the redundant sentences extracted by the analysis unit and the redundancy degrees assigned to the redundant sentences. The sentence evaluation device according to claim 1 or 2.

4. the redundancy criterion includes a redundant expression and a score corresponding to the redundant expression; the analysis unit assigns a score corresponding to the redundant expression included in the redundancy criterion as the redundancy degree to a sentence that matches the redundant expression included in the redundancy criterion from among sentences included in the document data; The sentence evaluation device according to claim 3.

5. the revision processing unit receives an input of a redundancy threshold indicating a threshold value of the redundancy, and presents the redundancy exceeding the redundancy threshold among the redundancy, and the redundant sentence to which the redundancy exceeding the redundancy threshold has been assigned among the redundant sentences; The sentence evaluation device according to claim 3 or 4.

6. an analysis information storage unit that stores the duplicated sentences extracted by the analysis unit, the multiplicity assigned to the duplicated sentences, the redundant sentences extracted by the analysis unit, and the redundancy assigned to the redundant sentences in an analysis information storage unit; A sentence evaluation device according to any one of claims 3 to 5.

7. the revision processing unit accepts an input for correcting the document data, corrects the document data, and stores the corrected document data in the document storage unit; A sentence evaluation device according to any one of claims 1 to 6.

8. A sentence evaluation device comprising: A standard for assigning points according to the degree of overlap between sentences is set as the overlap criterion. Acquire document data, performing a morphological analysis on the acquired document data to break down complex and compound sentences into simple sentences, comparing the simple sentences of a comparison source with the simple sentences of a comparison target to calculate a structural overlap point for each sentence structure based on the overlap criterion, multiplying the structural overlap points for each sentence structure to calculate an overlap between the simple sentences of the comparison source and the simple sentences of the comparison target, assigning the overlap points to sentences included in the document data, and extracting the sentences to which the overlap points have been assigned as overlapping sentences; presenting the extracted overlapping sentences and the overlapping degrees assigned to the overlapping sentences; Sentence evaluation methods.

9. On the computer, Set a standard for assigning points according to the degree of overlap of sentences as the overlap criterion, Acquire document data, performing a morphological analysis on the acquired document data, decomposing complex sentences and compound sentences into simple sentences, comparing the simple sentences of a comparison source with the simple sentences of a comparison target to calculate a structural overlap point for each sentence structure based on the overlap criterion, multiplying the structural overlap points for each sentence structure to calculate an overlap between the simple sentences of the comparison source and the simple sentences of the comparison target, assigning the overlap points to sentences included in the document data, and extracting the sentences to which the overlap points have been assigned as overlapping sentences; presenting the extracted overlapping sentences and the overlapping degrees assigned to the overlapping sentences; program.

Citation Information

Patent Citations

  • System for evaluating document quality

    JP1989220063A

  • Document editing device

    JP1993274306A

  • Revision support system and program

    JP2013218611A