Compositional text evaluation device
The created sentence evaluation device uses a recurrent neural network-based encoder-decoder model to assess the appropriateness of translated sentences, addressing the lack of evaluation in existing systems and enhancing translation quality.
Patent Information
- Application Number
- JP2020135965
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-11
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2040-08-11
AI Technical Summary
Existing neural machine translation systems, such as those using encoder-decoder models, fail to evaluate the appropriateness of translated sentences created by users, lacking the ability to assess the quality of translations from one language to another.
A created sentence evaluation device that utilizes a recurrent neural network-based encoder-decoder model to evaluate word candidates in a second language by inputting sentences in a first language, assessing word likelihoods in a predetermined order, allowing for evaluation of translated sentences.
Enables the evaluation of translated sentences, providing feedback on their appropriateness and allowing for targeted corrections, thus improving the quality of translated texts.
Smart Images

Figure 0007575894000001 
Figure 0007575894000002 
Figure 0007575894000003
Abstract
Description
[Technical field]
[0001] One aspect of the present disclosure relates to a created text evaluation device that evaluates a text that is created by a user by translating a text in a first language into a second language. [Background technology]
[0002] Neural machine translation is known as a machine translation method that uses a neural network of an encoder-decoder model consisting of an encoder and a decoder. In the neural network of the encoder-decoder model, the encoder inputs a sentence in a first language (e.g., Japanese), and the decoder outputs a sentence in a second language (e.g., English) that corresponds to the sentence in the first language as a translation result.
[0003] For example, Patent Document 1 listed below discloses an automatic interpretation device including an encoder and a decoder configured with a neural network. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-5218 A Summary of the Invention [Problem to be solved by the invention]
[0005] The automatic interpretation device outputs a translation result of a sentence in a second language, "How do I get to Gangnam?", in response to a sentence in a first language, "How do I get to Gangnam Station?", input by a user. However, the automatic interpretation device cannot evaluate the appropriateness of a translation of a sentence in a second language, for example, a sentence that a user creates by translating the sentence in the first language.
[0006] It is therefore desirable to evaluate written texts produced in a given language. [Means for solving the problem]
[0007] A created sentence evaluation device according to one aspect of the present disclosure is a created sentence evaluation device that uses a recurrent neural network of an encoder-decoder model, in which an encoder inputs a sentence in a first language and a decoder sequentially outputs word candidates and the likelihoods of the word candidates of a sentence in a second language corresponding to the sentence in the first language in a predetermined word order that is different from the word order that goes from the first word to the last word of the sentence, and includes a decoder input unit that sequentially inputs words of the created sentence created in the second language in the predetermined word order to the decoder, an evaluation unit that evaluates the words of the created sentence based on the word candidates in the second language and the likelihoods of the word candidates output by the decoder based on the input by the decoder input unit, and an output unit that provides output based on the evaluation by the evaluation unit.
[0008] In this aspect, the words of a composition written in a second language can be evaluated, i.e., a composition written in a given language can be evaluated. Effect of the Invention
[0009] According to one aspect of the present disclosure, a written text created in a predetermined language can be evaluated. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating an example of a functional configuration of a written text evaluation device according to a first embodiment. [Diagram 2] FIG. 1 shows an example (part 1) of translation and evaluation. [Diagram 3] FIG. 13 is a diagram showing an example (part 2) of translation and evaluation. [Figure 4] 4 is a flowchart showing an example of a part of a process executed by the written writing evaluation device according to the first embodiment. [Diagram 5] FIG. 2 illustrates an example of an interface. [Figure 6] FIG. 11 is a diagram illustrating an example of a functional configuration of a written writing evaluation device according to a second embodiment. [Figure 7] FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer used in the written writing evaluation device according to the first and second embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings. In the description of the drawings, the same elements are given the same reference numerals, and duplicated descriptions will be omitted. In addition, the embodiments of the present disclosure (including the first and second embodiments) in the following description are specific examples of the present invention, and the present invention is not limited to these embodiments unless otherwise specified to limit the present invention.
[0012] [First embodiment] Fig. 1 is a diagram showing an example of a functional configuration (functional blocks) of a created text evaluation device 1 according to the first embodiment. As shown in Fig. 1, the created text evaluation device 1 includes a neural network unit 10, a bilingual corpus storage unit 11, a question text preparation unit 12, an encoder input unit 13, an output unit 14 (output unit), a created text input unit 15, a decoder input unit 16 (decoder input unit), and an evaluation unit 17 (evaluation unit). The neural network unit 10 includes an encoder unit 100 and a decoder unit 101.
[0013] The created text evaluation device 1 is a computer device that evaluates a created text, which is a text created by translating a text in a first language into a second language. The first language is, for example, Japanese, but may be any other language. The second language is a language different from the first language, for example, English, but may be any other language. The first language and the second language may be different regional dialects (for example, standard Japanese and Kansai dialect in Japan). The language is not limited to a natural language, and may be an artificial language and a formal language (computer program language), etc. The created text is intended to be created by a person such as a user of the created text evaluation device 1, but may be a text created by someone other than a person. Evaluation refers to determining the appropriateness (goodness / badness, suitability) of the created text as a translation, etc.
[0014] Each functional block of the created writing evaluation device 1 is assumed to function within the created writing evaluation device 1, but is not limited to this. For example, some of the functional blocks of the created writing evaluation device 1 may function in a computer device different from the created writing evaluation device 1 and connected to the created writing evaluation device 1 through a network while appropriately transmitting and receiving information to the created writing evaluation device 1. Also, some of the functional blocks of the created writing evaluation device 1 may be omitted, multiple functional blocks may be integrated into one functional block, or one functional block may be decomposed into multiple functional blocks.
[0015] Hereinafter, each functional block of the composed writing evaluation device 1 shown in FIG. 1 will be described.
[0016] The neural network unit 10 is a recurrent neural network (RNN) of an encoder-decoder model (also known as an encoder-decoder translation model or a sequence to sequence model) that is composed of an encoder unit 100 and a decoder unit 101. The neural network unit 10 is, for example, a recurrent neural network called a Long Short Term Memory (LSTM). The neural network unit 10 performs neural machine translation. Note that the neural network unit 10 may not be located within the created writing evaluation device 1, but may be located within another device that can access the created writing evaluation device 1 via a network.
[0017] The encoder unit 100 inputs a sentence in the first language and outputs vectors in the intermediate layer (hidden layer). More specifically, the encoder unit 100 divides the sentence in the first language into words using morphological analysis or the like, converts the word IDs corresponding to each word into word vectors (vectors in the input layer), and then inputs the sentence in order from the first word to the last word, and sequentially outputs vectors in the intermediate layer based on the input content up to that point (performing neural network calculations). The encoder unit 100 detects " <eos>" is input, the encoder unit 100 outputs (passes) the intermediate layer vector based on the input contents up to that point to the decoder unit 101. Conceptually, the encoder unit 100 can be said to perform a semantic analysis of the sentence in the first language and extract semantic expressions.
[0018] The decoder unit 101 inputs the intermediate layer vectors output from the encoder unit 100, and sequentially calculates and outputs the output layer vectors based on the intermediate layer vectors or based on the intermediate layer vectors and the words of the second language input to the decoder unit 101. The output layer vectors are, for example, information indicating a list of pairs of word candidates in the second language and the likelihoods of the word candidates. One example of the list is "(word candidate "I" and its likelihood "0.7", word candidate "We" and its likelihood "0.2", word candidate "You" and its likelihood "0.1")".
[0019] Here, the process of the decoder (hereinafter, referred to as the "general decoder") when performing neural machine translation in a recurrent neural network of a general encoder-decoder model will be described. The general decoder first inputs an intermediate layer vector output from the encoder, and outputs an output layer vector corresponding to the first word (initial word) of the sentence in the second language to be finally output based on the input intermediate layer vector. The general decoder then extracts the word with the highest likelihood from among the word candidates indicated by the output layer vector of the Nth word (N is an integer equal to or greater than 1), inputs the extracted word to its own decoder (the general decoder), and outputs the output layer vector of the (N+1)th word based on the input word and the intermediate layer vector used when outputting the output layer vector of the Nth word, repeating this process until the last word of the sentence in the second language. Conceptually, it can be said that the general decoder generates a sentence (in the second language different from the first language) from the semantic expression extracted by the encoder.
[0020] On the other hand, unlike a general decoder, the decoder unit 101 sequentially outputs word candidates of a sentence in a second language corresponding to a sentence in a first language and the likelihood of the word candidates in a predetermined word order different from a word order from the first word of the sentence to the last word of the sentence (the order adopted by a general decoder). The predetermined word order may be a word order from the last word of the sentence to the first word (reverse order). Specifically, when a sentence is composed of M words (M is an integer of 1 or more), the order is the Mth word, the (M-1)th word, the (M-2)th word, ..., the third word, the second word, and the first word. Alternatively, the predetermined word order may be a random order, or an order gradually moving toward the middle word of the sentence, such as the first word, the Mth word, the second word, the (M-1)th word, the third word, the (M-2)th word, the fourth word, ..., or any other order. In the embodiment of the present disclosure, the predetermined word order is the reverse order described above, but is not limited to this, and may be appropriately read as any order.
[0021] As described above, the composed sentence evaluation device 1 uses the neural network unit 10 of an encoder-decoder model in which the encoder unit 100 inputs a sentence in a first language, and the decoder unit 101 sequentially outputs word candidates of a sentence in a second language corresponding to the sentence in the first language and the likelihoods of the word candidates in reverse order (a predetermined word order different from the word order going from the first word to the last word of the sentence). Other functions of the decoder unit 101 will be described later.
[0022] The bilingual corpus storage unit 11 stores a bilingual corpus between a first language and a second language. A bilingual corpus is a corpus (database of sentences) in which sentences in different languages are compiled in a bilingual form, constructed for use as learning data for machine translation. The bilingual corpus storage unit 11 stores a reverse-order bilingual corpus, which is a bilingual corpus consisting of a pair of a sentence in a first language (any) and a sentence in a second language (translated from the first language) corresponding to the sentence in the first language in reverse order. For example, one example of the pair is a pair of a sentence in a first language (Japanese) "I like AI" and a sentence in a second language (English) in reverse order ". AI like I" (a normal sentence that is not reversed is "I like AI."). The neural network unit 10 may learn based on a reverse-order bilingual corpus (a corpus of a pair of a sentence in a first language and a sentence in a second language corresponding to the sentence in the first language in reverse order). The learning may be performed based on an instruction from an administrator of the written writing evaluation device 1, or may be performed periodically (for example, once a week).
[0023] The question sentence preparation unit 12 prepares question sentences, which are sentences in a first language to be presented to a user as questions. More specifically, the question sentence preparation unit 12 extracts sentences in the first language included in the reverse-order bilingual corpus stored by the bilingual corpus storage unit 11. The sentences in the first language to be extracted may be random or may be extracted according to a predetermined procedure. The question sentence preparation unit 12 may obtain the question sentences not from the reverse-order bilingual corpus stored by the bilingual corpus storage unit 11 but from a different means or device. The question sentence preparation unit 12 outputs the prepared question sentences to the encoder input unit 13 and the output unit 14.
[0024] The encoder input unit 13 inputs the question sentence output from the question sentence preparation unit 12 to the encoder unit 100 .
[0025] The output unit 14 outputs the question sentences output from the question sentence preparation unit 12. More specifically, the output unit 14 displays the question sentences to the user via an output device 1006 (e.g., a screen) described later. Other functions of the output unit 14 will be described later.
[0026] The created sentence input unit 15 inputs a created sentence created in the second language. More specifically, after the problem sentence is displayed to the user by the output unit 14, the created sentence input unit 15 inputs the created sentence, which is created by the user translating the displayed problem sentence into the second language, via the input device 1005 (e.g., a keyboard) described later. In other words, the created sentence may be a sentence created by the user translating a sentence in the first language input to the encoder unit 100 into the second language. In the embodiment of the present disclosure, the created sentence is assumed to be created by the user, but may be created by a person or device other than the user. The created sentence input unit 15 outputs the created sentence to the decoder input unit 16 and the evaluation unit 17.
[0027] The decoder input unit 16 sequentially inputs the words of the created sentence in reverse order to the decoder unit 101. More specifically, the decoder input unit 16 divides the created sentence output from the created sentence input unit 15 into words by morphological analysis or the like, converts the word IDs corresponding to each word into word vectors (vectors in the input layer), and inputs them to the decoder unit 101 in reverse order (from the last word to the first word of the created sentence).
[0028] Here, the decoder input unit 16 inputs the words of the created sentence in reverse order as described above to the decoder unit 101, instead of the word candidates outputted in reverse order by the decoder unit 101. In other words, the general decoder takes the word outputted from the general decoder (the word candidate with the highest likelihood) as its next input, but the decoder unit 101 of the created sentence evaluation device 1 takes the words of the created sentence as its input.
[0029] The process of the decoder unit 101 based on the input of the decoder input unit 16 will be specifically described. The decoder unit 101 first receives the intermediate layer vector output from the encoder unit 100, and outputs the output layer vector corresponding to the last word of the sentence in the second language to be finally output based on the input intermediate layer vector. Thereafter, the decoder unit 101 inputs the Pth word (P is an integer of 2 or more) of the created sentence input by the decoder input unit 16 to the decoder unit 101, and outputs the output layer vector corresponding to the (P-1)th word of the created sentence based on the input word and the intermediate layer vector used when outputting the previous output layer vector, repeating this process up to the first word (first word) of the created sentence.
[0030] When the encoder input unit 13 inputs the problem sentence to the encoder unit 100, the encoder unit 100 performs calculations and outputs an intermediate layer vector to the decoder unit 101, and the decoder unit 101 outputs an output layer vector corresponding to the last word of the second language sentence to be finally output based on the intermediate layer vector input, but subsequent processing is suspended until the words of the created sentence are input sequentially (in reverse order) from the decoder input unit 16.
[0031] The evaluation unit 17 evaluates (scores, assigns points to) the words of the created sentence based on the word candidates in the second language output by the decoder unit 101 based on the input by the decoder input unit 16 and the likelihood of the word candidates, and outputs the evaluation result to the output unit 14. The evaluation unit 17 may evaluate the next word in the created sentence in reverse order of the input word based on the word candidates in the second language output by the decoder unit 101 for an input word that is a word of the created sentence input by the decoder input unit 16 and the likelihood of the word candidates.
[0032] More specifically, first, the evaluation unit 17 acquires the word candidates of the second language output by the decoder unit 101 for the Pth word (input word) of the created sentence input by the decoder input unit 16 and the likelihood of the word candidates. Next, the evaluation unit 17 acquires the (P-1)th word, which is the next word in reverse order of the Pth word in the created sentence output from the created sentence input unit 15. Next, the evaluation unit 17 acquires the likelihood of the (P-1)th word, which is associated with the same word candidate as the (P-1)th word, among the acquired word candidates and the likelihood of the word candidates. Next, the evaluation unit 17 acquires the maximum likelihood (the likelihood of the word candidate most suitable as a translation) among the acquired word candidates and the likelihood of the word candidates. Next, the evaluation unit 17 calculates a value (likelihood ratio) obtained by dividing the likelihood of the acquired (P-1)th word by the acquired maximum likelihood as the evaluation value of the (P-1)th word of the created sentence. Next, the evaluation unit 17 outputs the calculated evaluation value to the output unit 14. Note that the calculation of the evaluation value is not limited to the above-mentioned division, and may be, for example, any calculation based on a comparison between the likelihood of the (P-1)th word and the maximum likelihood (or the likelihood obtained according to a predetermined criterion among the obtained word candidates and the likelihoods of the word candidates), or other calculation based on the likelihood.
[0033] The evaluation unit 17 may calculate an evaluation value of the created sentence (as a whole) based on the evaluation value of each word in the created sentence, and output the evaluation value to the output unit 14. For example, the evaluation unit 17 calculates an average evaluation value obtained by averaging the evaluation values of each word in the created sentence, as the evaluation value of the created sentence.
[0034] The evaluation unit 17 may output some or all of the acquired word candidates and the likelihoods of the word candidates to the output unit 14. For example, the evaluation unit 17 outputs to the output unit 14, among the acquired word candidates and the likelihoods of the word candidates, a word candidate whose likelihood is greater than a predetermined criterion or a word candidate whose likelihood is the largest.
[0035] The output unit 14 performs output based on the evaluation by the evaluation unit 17. More specifically, the output unit 14 performs output based on the evaluation result output from the evaluation unit 17. The output unit 14 may display (for each word) the evaluation value (score) of the word of the created sentence output from the evaluation unit 17. The output unit 14 may display the evaluation value (total score) of the created sentence (whole) output from the evaluation unit 17. The output unit 14 may display the word based on the evaluation value of the word of the created sentence output from the evaluation unit 17. For example, the output unit 14 changes the color, size, etc. of the word for a word whose evaluation value is lower than a predetermined standard. The output unit 14 may display a word candidate whose likelihood is higher than a predetermined standard or a word candidate whose likelihood is the highest, which is output from the evaluation unit 17, as another candidate for the word of the created sentence (the optimal word for each word). The output unit 14 may display one or more of the above-mentioned display methods in combination. For example, for a word whose evaluation value is lower than a predetermined standard, the output unit 14 may also display a word candidate with the highest likelihood as an alternative candidate. The output unit 14 may acquire and display a model answer to the question text by referring to the reverse-order bilingual corpus stored by the bilingual corpus storage unit 11. The output unit 14 acquires various information required for output from other functional blocks as appropriate. Also, some of the functions of the output unit 14 may be incorporated in the evaluation unit 17. That is, the evaluation unit 17 may perform the evaluation and directly output the evaluation result.
[0036] Figures 2 and 3 are diagrams showing an embodiment of translation and evaluation in the composed text evaluation device 1. Note that the example of the neural network unit 10 shown in Figures 2 and 3 should originally be shown in one figure, but due to size restrictions, approximately the left half of the example of the neural network unit 10 is shown in Figure 2, and approximately the right half of the example of the neural network unit 10 is shown in Figure 3.
[0037] In the embodiment shown in Figures 2 and 3, the question sentence "I like AI." is presented to the user, and an example of scoring (evaluation) is shown when the user creates the sentence "My favorite is AI." The model answer to the question sentence "I like AI." is "I like AI." As shown in Figure 2, first, when the question sentence "I like AI." is divided into words, it becomes "I," "wa," "AI," "ga," "suki," "desu," and "." These words are input to the encoder unit 100 in order (from the first word to the last word). After the word ".", "," which indicates the end of the sentence, is added. <eos>Enter the " symbol. <eos>When the " symbol is input, the neural network unit 10 starts outputting word candidates and the likelihoods of the word candidates from the decoder unit 101 (the output layer is assumed to calculate likelihoods using a Softmax function or the like).
[0038] Next, as shown in FIG. 3, the first word candidate output is ".", which has the highest likelihood. Since the last word of the sentence created by the user is also ".", they have the same likelihood (due to division of the same likelihood), so the score is "1.00". Next, the (last) word "." created by the user is input as an input to the decoder unit 101 (the sentence created by the user is input to the decoder unit 101 word by word in reverse order). Then, the word candidate output by the decoder unit 101 is "AI", which has the highest likelihood. Since the second-to-last word of the sentence created by the user is also "AI", they have the same likelihood, so the score is "1.00". Next, the (second-to-last) word "AI" created by the user is input as an input to the decoder unit 101. Then, the output of the decoder unit 101 shows that "like" has the highest likelihood, with a likelihood of "0.75". However, the word created by the user (next to "AI" in reverse order) is "is", and the likelihood of this word is "0.15". Therefore, the likelihood of "is" is divided by the likelihood of "like", giving "0.20" as the score (evaluation value) of "is". Next, "is" is input to the decoder unit 101 instead of "like". The output of the decoder unit 101 then is "favorite", which has the highest likelihood. As the word created by the user (the third from the last) is also "favorite", the score becomes "1.0". In this way, the scores are calculated for each word in sequence in reverse order.
[0039] FIG. 4 is a flowchart showing an example of a part of the process (the method for evaluating a created sentence) executed by the created sentence evaluation device 1. First, the encoder input unit 13 inputs (the words of) the question sentence into the input layer of the encoder unit 100 (step S1). Next, the encoder unit 100 converts the next input word into " <eos>" is determined (step S2), and the next input word is " <eos>If it is determined that the next input word is not " (S2: NO), the process returns to S1 for the next input word. <eos>If it is determined that the answer sentence is " (S2: YES), the decoder unit 101 then calculates the likelihood of the words (candidate words) of the answer sentence (sentence in the second language to be finally output) from the output layer using Softmax (step S3). Next, the evaluation unit 17 compares the words of the created sentence with the likelihood, and calculates the likelihood ratio as a word score (step S4). Next, the decoder unit 101 determines whether there is a next word in the reverse order of the created sentence (step S5), and if it is determined that there is a next word (S5: NO), the decoder input unit 16 inputs the word of the created sentence as the next input to the decoder unit 101 (step S6), and the process returns to S3. On the other hand, if it is determined that there is no next word (S5: YES), the evaluation unit 17 averages the word scores of each word and calculates a total score for the sentence (created sentence) (step S7). Next, the output unit 14 outputs the word score for each word and the total score of the created sentence (step S8).
[0040] FIG. 5 is a diagram showing an example (screen example) of the interface of the created sentence evaluation device 1. The interface shown in FIG. 5 presents a problem sentence in Japanese (first language) to a user, inputs a created sentence in English (second language) that the user has written in response to the problem sentence, and grades the created sentence. Reference symbol A indicates the problem sentence "That is, it is possible that the student's grade will improve." Reference symbol B indicates the created sentence "Because, there is a possibility that the student's grade will improve." that the user has input in the text box. Grading is performed when the user presses the "Grade" button indicated by reference symbol C. Note that information indicated by reference symbols D, E, F, and H described below is displayed after grading is performed.
[0041] Reference symbol D indicates the total score of the created text as a result of the grading, which is "8.21" out of a maximum of "10.00". Note that a character image corresponding to the total score may be displayed around reference symbol D. Reference symbol E indicates the created text in which a word (the word "Because" in FIG. 5) whose evaluation value is lower than a predetermined standard as a result of the grading is displayed in bold (or in a different color). Reference symbol F indicates a phrase (the phrase "In short" in FIG. 5) consisting of a word candidate with the highest likelihood as an alternative candidate for the word whose evaluation value is lower than the predetermined standard. When the user presses the "View Model Answer" button indicated by reference symbol G, a model answer to the problem text is displayed. Reference symbol H indicates the displayed model answer "In short, there is a possibility that the student's grade will improve."
[0042] Next, the effects of the written writing evaluation device 1 according to the first embodiment will be described.
[0043] According to the created sentence evaluation device 1, the decoder input unit 16 sequentially inputs the words of the created sentence created in the second language to the decoder unit 101 in reverse order, the evaluation unit 17 evaluates the words of the created sentence based on the word candidates in the second language and the likelihoods of the word candidates output by the decoder unit 101 based on the input by the decoder input unit 16, and the output unit 14 performs output based on the evaluation by the evaluation unit 17. More specifically, the evaluation unit 17 evaluates the next word in the created sentence in reverse order of the input word based on the word candidates in the second language and the likelihoods of the word candidates output by the decoder unit 101 for the input word that is the word of the created sentence input by the decoder input unit 16. This makes it possible to evaluate the words of the created sentence created in the second language. That is, it is possible to evaluate the created sentence created in a predetermined language. In addition, it is possible to evaluate the created sentence written by the user word by word.
[0044] Moreover, according to the created sentence evaluation device 1, the decoder input unit 16 inputs the words of the created sentence in reverse order to the decoder unit 101 in place of the word candidates output by the decoder unit 101 in sequence. This allows the encoder unit 100 to grasp the meaning of the question sentence while estimating the most suitable next word in reverse order for the word string of the created sentence created by the user. Also, since the next word is estimated in reverse order based on the words of the expression selected by the user while grasping the meaning of the question sentence, evaluation with a degree of freedom of expression is possible.
[0045] Moreover, according to the created text evaluation device 1, the created text is a text that is created by a user translating a text in a first language input to the encoder unit 100 into a second language. This makes it possible to evaluate the translation of a text in a second language into which a user has translated a text in a first language.
[0046] Moreover, according to the created sentence evaluation device 1, the neural network unit 10 is trained based on a corpus of pairs of sentences in a first language and sentences in a second language corresponding to the sentences in the first language in reverse order. As a result, by inputting a sentence in the first language to the encoder unit 100, the decoder unit 101 can sequentially output word candidates of a sentence in a second language corresponding to the sentence in the first language and the likelihoods of the word candidates in reverse order (from the last word to the first word of the sentence in the second language).
[0047] According to the created sentence evaluation device 1, the predetermined word order is a word order from the last word of the sentence to the first word. This allows evaluation (scoring, correction, etc.) to be performed not only from the beginning of the sentence but also from the end. If evaluation can be performed from the end of the sentence, it becomes possible to correct only the first part of a created sentence even if only the first part is incorrect (the evaluation value is lower than a predetermined standard).
[0048] A specific explanation will be given below. Generally, there are many sentences created in which only the beginning of the sentence is incorrect, but the latter half is correct. If the evaluation is performed word by word starting from the beginning of the sentence, the evaluation will be performed starting from the incorrect word at the beginning, and the user's created sentence (the latter half) will not be utilized. For example, if the question sentence is "In other words, it is possible that the student's grade will improve." and the user's created sentence is "Because, there is a possibility that the student's grade will improve.", the score will be "5.92" out of a maximum of "10.00", and the corrected sentence will be "This means that it can increase their academic performance." In this way, the user's created sentence is mostly correct except for the translation of "In other words," but the score is low and the corrected sentence has to be completely rewritten. In other words, the user corrects the entire sentence, even though only "Because" needs to be corrected.
[0049] On the other hand, when the above-mentioned created sentence is evaluated by the created sentence evaluation device 1, for example, the sentence after correction becomes "In short, there is a possibility that the student's grade will improve." In other words, since only the part "Because" is corrected, the user's answer is utilized.
[0050] Moreover, according to the created sentence evaluation device 1, the evaluation unit 17 and the output unit 14 display the evaluation values of the words of the created sentence, display the words based on the evaluation values of the words of the created sentence, display word candidates whose likelihood is greater than a predetermined standard or the word candidate with the maximum likelihood as alternative candidates for the words of the created sentence, and display the evaluation value of the created sentence based on the evaluation value of each word of the created sentence. This makes it possible to provide feedback learning to the user, such as giving advice to the user on how to perform a better translation, in addition to evaluation.
[0051] In the created sentence evaluation device 1, the created sentence input unit 15 may output each word of the created sentence to the decoder input unit 16 and the evaluation unit 17 in real time, without waiting for the user to finish inputting all words of the created sentence. Then, the output by the output unit 14 may be performed in real time every time an evaluation result is output from the evaluation unit 17. In this way, since the evaluation and optimal word at that time are displayed while the user is inputting the created sentence, it can serve as a learning tool with a high learning effect for the user, compared to when the evaluation and optimal word are displayed after a long time has passed since the user has finished inputting all the created sentence.
[0052] [Second embodiment] Fig. 6 is a diagram showing an example of a functional configuration (functional block) of a created text evaluation device 1A according to the second embodiment. As shown in Fig. 6, the created text evaluation device 1A includes a neural network unit 10, a neural network unit 10A, a bilingual corpus storage unit 11A, a question text preparation unit 12, an encoder input unit 13A, an output unit 14A (output unit), a created text input unit 15, a decoder input unit 16A (decoder input unit), an evaluation unit 17A (evaluation unit, additional evaluation unit), and a reception unit 18A (reception unit). The neural network unit 10 includes an encoder unit 100 and a decoder unit 101. The neural network unit 10A includes an encoder unit 100A and a decoder unit 101A.
[0053] In the following, the created writing evaluation device 1A will be described focusing on the main differences from the created writing evaluation device 1 according to the first embodiment, and descriptions of similar contents will be omitted as appropriate.
[0054] Neural network unit 10A, encoder unit 100A, and decoder unit 101A are almost the same as neural network unit 10, encoder unit 100, and decoder unit 101, respectively. The main difference is that decoder unit 101A, like a general decoder, sequentially outputs word candidates of a sentence in a second language corresponding to a sentence in a first language and the likelihoods of the word candidates in word order from the first word to the last word of the sentence (hereinafter referred to as "forward order").
[0055] The bilingual corpus storage unit 11A is almost the same as the bilingual corpus storage unit 11. The main difference is that the bilingual corpus storage unit 11A stores, in addition to the reverse-order bilingual corpus, a forward-order bilingual corpus, which is a bilingual corpus composed of pairs of (any) sentences in a first language and sentences (words in forward order) in a second language corresponding to the sentences in the first language (translated from the sentences in the first language). The above-mentioned neural network unit 10A may be trained based on the forward-order bilingual corpus.
[0056] The encoder input unit 13A is almost the same as the encoder input unit 13. The main difference is that the encoder input unit 13A further inputs the question sentence output from the question sentence preparation unit 12 to the encoder unit 100A.
[0057] The output section 14A will be described later.
[0058] The decoder input unit 16A is almost the same as the decoder input unit 16. The main difference is that the decoder input unit 16A sequentially inputs the words of the created sentence to the decoder unit 101A in normal order, and that instead of the word candidates sequentially output by the decoder unit 101A, the decoder input unit 16A sequentially inputs the words of the created sentence to the decoder unit 101A in normal order as described above.
[0059] The evaluation unit 17A is almost the same as the evaluation unit 17. The main difference is that the evaluation unit 17A evaluates (scores, converts points) the words of the created sentence based on the word candidates in the second language output by the decoder unit 101A based on the input by the decoder input unit 16A and the likelihood of the word candidates, and outputs the evaluation result to the output unit 14A, and evaluates the next word in the created sentence in forward order of the input words based on the word candidates in the second language output by the decoder unit 101A and the likelihood of the word candidates for the input words, which are words of the created sentence input by the decoder input unit 16A. That is, the evaluation unit 17A evaluates the words of the created sentence in forward order (word order going from the first word to the last word of the created sentence).
[0060] The reception unit 18A receives a user's selection of whether to perform output (hereinafter referred to as "reverse order output") based on evaluation by the evaluation unit 17A based on the output of the decoder unit 101 (hereinafter referred to as "reverse order evaluation"), or to perform output (hereinafter referred to as "normal order output") based on evaluation by the evaluation unit 17 based on the output of the decoder unit 101A (hereinafter referred to as "normal order evaluation"). For example, the output unit 14A displays radio buttons that allow the selection of either reverse order output or normal order output via the output device 1006 (e.g., a screen) described later, and when the user selects one of them, the reception unit 18A obtains selection information regarding the selection.
[0061] The output unit 14A is almost the same as the output unit 14. The main differences are that the output unit 14A performs output (forward order output) based on an evaluation (forward order evaluation) by the evaluation unit 17 based on the output of the decoder unit 101A, performs output based on a higher evaluation of the reverse order evaluation and the forward order evaluation, performs output based on the forward order evaluation when the reverse order evaluation does not satisfy a predetermined criterion, or performs output based on the reverse order evaluation when the forward order evaluation does not satisfy a predetermined criterion, and performs output (reverse order output or forward order output) according to a user selection (selection information) accepted by the acceptance unit 18A.
[0062] For example, the output unit 14A may output the sum or average of the evaluation value of the forward evaluation and the evaluation value of the reverse evaluation. For example, the output unit 14A may output the evaluation value of the reverse evaluation if the evaluation value of the reverse evaluation is higher than the evaluation value of the forward evaluation, or may output the evaluation value of the forward evaluation if the evaluation value of the reverse evaluation is lower than the evaluation value of the forward evaluation. For example, the output unit 14A may perform output based on the forward evaluation if a predetermined ratio or more of words having an evaluation value lower than a predetermined threshold are included behind the center of the created sentence in the reverse evaluation. For example, the output unit 14A may perform output based on the reverse evaluation if a predetermined ratio or more of words having an evaluation value lower than a predetermined threshold are included ahead of the center of the created sentence in the forward evaluation. For example, the output unit 14A may perform reverse order output when the selection of performing reverse order output is accepted by the acceptance unit 18A, and may perform forward order output when the selection of performing forward order output is accepted by the acceptance unit 18A.
[0063] Next, the effects of the written writing evaluation device 1A according to the second embodiment will be described.
[0064] According to the created sentence evaluation device 1A, the evaluation unit 17A evaluates the words of the created sentence in the correct order, which allows evaluation from the beginning of the created sentence.
[0065] In addition, according to the created writing evaluation device 1A, the output unit 14A performs output based on forward evaluation (in addition to reverse evaluation). This allows the forward evaluation to be reflected in the output result of the created writing evaluation device 1, making it possible to perform more accurate output.
[0066] In addition, according to the created sentence evaluation device 1A, the output unit 14A performs output based on the higher evaluation of the reverse order evaluation and the forward order evaluation. This allows for more accurate output and allows for output that makes the most of the created sentences created by the user.
[0067] In addition, according to the created sentence evaluation device 1A, the output unit 14A performs output based on the forward evaluation when the reverse evaluation does not satisfy a predetermined criterion, or performs output based on the reverse evaluation when the forward evaluation does not satisfy a predetermined criterion. This allows for more accurate output and makes it possible to perform output that makes the most of the created sentences created by the user.
[0068] Moreover, according to the created writing evaluation device 1A, the reception unit 18A receives a user's selection of whether to perform output based on reverse order evaluation or output based on forward order evaluation, and the output unit 14A performs output according to the user's selection received by the reception unit 18A. This improves user convenience.
[0069] As described above, the created writing evaluation device 1 or the created writing evaluation device 1A can be said to execute a method of correcting a sentence from the back in AI scoring of English composition. In other words, it enables scoring and correction not only from the beginning of a sentence but also from the back. If scoring and correction from the back of a sentence becomes possible, it becomes possible to correct only the front of an answer where only the front part is wrong. This makes it possible to make use of the user's answer. In the created writing evaluation device 1 or the created writing evaluation device 1A, for example, at the time of learning, a model (neural network unit 10) is generated that inputs the words of a correct sentence (English sentence) in reverse order and outputs the English sentence in reverse order. If the user's answer is input in reverse order to the model, scoring and correction from the back becomes possible.
[0070] The created writing evaluation device 1A can perform marking and correction by, for example, combining marking from the front and marking from the back. The created writing evaluation device 1A may perform marking from both the front and the back, and adopt the one with the higher score. The created writing evaluation device 1A may also try both forward correction and backward correction for correction, and correct the one with the higher reliability. The created writing evaluation device 1A may perform marking from the front, and if there are errors only in the front, perform marking and correction from the back, or may perform marking from the back, and if there are errors only in the back, perform marking and correction from the front. The created writing evaluation device 1A may also allow the user to select forward correction or backward correction. For example, if the user responds to the question, "That is, it has the potential to improve the student's grade," with "Because, there is a possibility that the student's grade will improve," the written text evaluation device 1A will give a score of "5.92" out of a total of "10.00" if it grades from the front, but will give a score of "7.00" out of a total of "10.00" if it grades from the back, meaning that the evaluation value is higher when graded from the back than when graded from the front.
[0071] As a modified example of the composition writing evaluation device 1 or the composition writing evaluation device 1A, the following composition writing marking and correction system is shown.
[0072] A text scoring and correction system which is a neural network of an encoder-decoder model, in which a sentence in a first language is input to the encoder and a sentence in a second language that is its translation is output from the decoder, and which is trained to output from the decoder a sentence with the word order of the second language sentence reversed. Using this trained model, a sentence in the first language is input to the encoder, and its translation into the second language is input to the decoder with the word order reversed, while the system scores the sentence by comparing the words output by the decoder with the words of the translation, and corrects them by replacing them with the words output by the decoder.
[0073] The writing marking and correction system is characterized in that it marks the writing with both a marking system which marks and corrects the writing from the front and a marking system which marks and corrects the writing from the back, and displays the marking result and correction result of the higher score.
[0074] The above-mentioned writing marking and correction system marks the writing from the front, and when there is an error only in the front of the writing, the writing is marked and corrected again by a marking system which marks and corrects the writing from the back, and the marking and correction results from the back are displayed.
[0075] The block diagrams used to explain the above embodiments show functional blocks. These functional blocks (components) are realized by any combination of at least one of hardware and software. The method of realizing each functional block is not particularly limited. That is, each functional block may be realized by using one device that is physically or logically combined, or may be realized by using two or more devices that are physically or logically separated and directly or indirectly connected (for example, by wire, wirelessly, etc.). The functional blocks may be realized by combining the one device or the multiple devices with software.
[0076] Functions include, but are not limited to, judgment, determination, judgment, calculation, computation, processing, derivation, investigation, search, confirmation, reception, transmission, output, access, resolution, selection, selection, establishment, comparison, assumption, expectation, consideration, broadcasting, notifying, communicating, forwarding, configuring, reconfiguring, allocation, mapping, assignment, etc. For example, a functional block (component) that performs the function of transmission is called a transmitting unit or a transmitter. In either case, as described above, there is no particular limitation on the method of realization.
[0077] For example, the created writing evaluation device 1 and the created writing evaluation device 1A in one embodiment of the present disclosure may function as a computer that performs processing of the writing evaluation method of the present disclosure. Fig. 7 is a diagram showing an example of the hardware configuration of the created writing evaluation device 1 and the created writing evaluation device 1A according to one embodiment of the present disclosure. The created writing evaluation device 1 and the created writing evaluation device 1A described above may be physically configured as a computer device including a processor 1001, a memory 1002, a storage 1003, a communication device 1004, an input device 1005, an output device 1006, a bus 1007, and the like.
[0078] In the following description, the term "apparatus" may be replaced with a circuit, a device, a unit, etc. The hardware configuration of the created writing evaluation apparatus 1 and the created writing evaluation apparatus 1A may be configured to include one or more of the devices shown in the figures, or may be configured to exclude some of the devices.
[0079] Each function in the created writing evaluation device 1 and the created writing evaluation device 1A is realized by loading a specified software (program) onto hardware such as a processor 1001 and a memory 1002, so that the processor 1001 performs calculations, controls communication via a communication device 1004, and controls at least one of the reading and writing of data in the memory 1002 and the storage 1003.
[0080] The processor 1001, for example, operates an operating system to control the entire computer. The processor 1001 may be configured by a central processing unit (CPU) including an interface with peripheral devices, a control device, an arithmetic unit, a register, etc. For example, the above-mentioned problem sentence preparation unit 12, the encoder input unit 13, the encoder input unit 13A, the output unit 14, the created sentence input unit 15, the decoder input unit 16, the decoder input unit 16A, the evaluation unit 17, the evaluation unit 17A, the reception unit 18A, etc. may be realized by the processor 1001.
[0081] Moreover, the processor 1001 reads out a program (program code), a software module, data, etc. from at least one of the storage 1003 and the communication device 1004 into the memory 1002, and executes various processes according to the programs. As the programs, a program that causes a computer to execute at least a part of the operations described in the above-mentioned embodiment is used. For example, the question text preparation unit 12, the encoder input unit 13, the encoder input unit 13A, the output unit 14, the created text input unit 15, the decoder input unit 16, the decoder input unit 16A, the evaluation unit 17, the evaluation unit 17A, and the reception unit 18A may be realized by a control program stored in the memory 1002 and operated in the processor 1001, and other functional blocks may be similarly realized. Although the above-mentioned various processes have been described as being executed by one processor 1001, they may be executed by two or more processors 1001 simultaneously or sequentially. The processor 1001 may be implemented by one or more chips. The programs may be transmitted from a network via a telecommunication line.
[0082] The memory 1002 is a computer-readable recording medium, and may be configured by at least one of, for example, a Read Only Memory (ROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), a Random Access Memory (RAM), etc. The memory 1002 may be called a register, a cache, a main memory (primary storage device), etc. The memory 1002 can store a program (program code), software modules, etc. that are executable to implement a wireless communication method according to an embodiment of the present disclosure.
[0083] Storage 1003 is a computer-readable recording medium, and may be composed of at least one of, for example, an optical disk such as a CD-ROM (Compact Disc ROM), a hard disk drive, a flexible disk, a magneto-optical disk (e.g., a compact disk, a digital versatile disk, a Blu-ray (registered trademark) disk), a smart card, a flash memory (e.g., a card, a stick, a key drive), a floppy (registered trademark) disk, a magnetic strip, and the like. Storage 1003 may be referred to as an auxiliary storage device. The above-mentioned storage medium may be, for example, a database, a server, or other suitable medium including at least one of memory 1002 and storage 1003.
[0084] The communication device 1004 is hardware (transmission / reception device) for performing communication between computers via at least one of a wired network and a wireless network, and is also called, for example, a network device, a network controller, a network card, a communication module, etc. The communication device 1004 may be configured to include a high-frequency switch, a duplexer, a filter, a frequency synthesizer, etc., in order to realize at least one of Frequency Division Duplex (FDD) and Time Division Duplex (TDD). For example, the above-mentioned output unit 14, output unit 14A, created text input unit 15, and reception unit 18A, etc., may be realized by the communication device 1004.
[0085] The input device 1005 is an input device (e.g., a keyboard, a mouse, a microphone, a switch, a button, a sensor, etc.) that accepts input from the outside. The output device 1006 is an output device (e.g., a display, a speaker, an LED lamp, etc.) that performs output to the outside. The input device 1005 and the output device 1006 may be integrated into one device (e.g., a touch panel).
[0086] In addition, each device such as the processor 1001 and the memory 1002 is connected by a bus 1007 for communicating information. The bus 1007 may be configured using a single bus, or may be configured using different buses between each device.
[0087] Furthermore, the created writing evaluation device 1 and the created writing evaluation device 1A may be configured to include hardware such as a microprocessor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), etc., and some or all of the functional blocks may be realized by the hardware. For example, the processor 1001 may be implemented using at least one of these pieces of hardware.
[0088] Notification of information is not limited to the aspects / embodiments described in this disclosure and may be performed using other methods.
[0089] Each aspect / embodiment described in the present disclosure may be applied to at least one of systems using LTE (Long Term Evolution), LTE-A (LTE-Advanced), SUPER 3G, IMT-Advanced, 4G (4th generation mobile communication system), 5G (5th generation mobile communication system), FRA (Future Radio Access), NR (new Radio), W-CDMA (registered trademark), GSM (registered trademark), CDMA2000, UMB (Ultra Mobile Broadband), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, UWB (Ultra-WideBand), Bluetooth (registered trademark), and other suitable systems, and next-generation systems extended based on these. In addition, a combination of multiple systems (e.g., a combination of at least one of LTE and LTE-A and 5G, etc.) may be applied.
[0090] The order of the steps, sequences, flow charts, etc. of each aspect / embodiment described in this disclosure may be changed unless inconsistent. For example, the methods described in this disclosure present elements of various steps using an example order, and are not limited to the particular order presented.
[0091] The input and output information may be stored in a specific location (e.g., memory) or may be managed using a management table. The input and output information may be overwritten, updated, or added to. The output information may be deleted. The input information may be transmitted to another device.
[0092] The determination may be based on a value represented by a single bit (0 or 1), a Boolean value (true or false), or a numerical comparison (e.g., comparison with a predetermined value).
[0093] Each aspect / embodiment described in this disclosure may be used alone, in combination, or switched according to execution. In addition, notification of specific information (e.g., notification that "X is the case") is not limited to being done explicitly, but may be done implicitly (e.g., not notifying the specific information).
[0094] Although the present disclosure has been described in detail above, it is clear to those skilled in the art that the present disclosure is not limited to the embodiments described in the present disclosure. The present disclosure can be implemented in modified and altered forms without departing from the spirit and scope of the present disclosure as defined by the claims. Therefore, the description of the present disclosure is intended to be illustrative and does not have any limiting meaning on the present disclosure.
[0095] Software shall be construed broadly to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, procedures, functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.
[0096] Additionally, software, instructions, information, etc. may be transmitted or received over a transmission medium. For example, if the software is transmitted from a website, server, or other remote source using wired and / or wireless technologies (such as coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL)), and / or wireless technologies (such as infrared, microwave, etc.), then these wired and / or wireless technologies are included within the definition of transmission media.
[0097] The information, signals, etc. described in this disclosure may be represented using any of a variety of different technologies. For example, the data, instructions, commands, information, signals, bits, symbols, chips, etc. that may be referred to throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, optical fields or photons, or any combination thereof.
[0098] In addition, terms explained in this disclosure and terms necessary for understanding this disclosure may be replaced with terms having the same or similar meanings.
[0099] As used in this disclosure, the terms "system" and "network" are used interchangeably.
[0100] In addition, the information, parameters, etc. described in the present disclosure may be represented using absolute values, may be represented using relative values from a predetermined value, or may be represented using other corresponding information. For example, a radio resource may be indicated by an index.
[0101] The names used for the above parameters are not limiting in any way, and furthermore, the formulas etc. using these parameters may differ from those explicitly disclosed in this disclosure.
[0102] As used in this disclosure, the terms "determining" and "determining" may encompass a wide variety of actions. "Determining" and "determining" may include, for example, judging, calculating, computing, processing, deriving, investigating, looking up, search, inquiry (e.g., searching in a table, database, or other data structure), ascertaining, and the like. "Determining" and "determining" may also include receiving (e.g., receiving information), transmitting (e.g., sending information), input, output, accessing (e.g., accessing data in a memory), and the like. In addition, "judgment" and "decision" can include considering resolving, selecting, choosing, establishing, comparing, etc., to be a "judgment" or "decision." In other words, "judgment" and "decision" can include considering some action to be a "judgment" or "decision." In addition, "judgment" can be interpreted as "assuming," "expecting," "considering," etc.
[0103] The terms "connected," "coupled," or any variation thereof, refer to any direct or indirect connection or coupling between two or more elements, and may include the presence of one or more intermediate elements between two elements that are "connected" or "coupled" to each other. The coupling or connection between elements may be physical, logical, or a combination thereof. For example, "connected" may be read as "access." As used in this disclosure, two elements may be considered to be "connected" or "coupled" to each other using at least one of one or more wires, cables, and printed electrical connections, as well as electromagnetic energy having wavelengths in the radio frequency range, microwave range, and optical (both visible and invisible) range, as some non-limiting and non-exhaustive examples.
[0104] As used in this disclosure, the phrase "based on" does not mean "based only on," unless expressly stated otherwise. In other words, the phrase "based on" means both "based only on" and "based at least on."
[0105] Any reference to an element using a designation such as "first," "second," etc., used in this disclosure does not generally limit the quantity or order of those elements. These designations may be used in this disclosure as a convenient method of distinguishing between two or more elements. Thus, a reference to a first and a second element does not imply that only two elements may be employed or that the first element must precede the second element in some way.
[0106] The "means" in the configuration of each of the above devices may be replaced with "part," "circuit," "device," etc.
[0107] When the terms "include," "including," and variations thereof are used in this disclosure, these terms are intended to be inclusive, similar to the term "comprising." Further, when used in this disclosure, the term "or" is not intended to be an exclusive or.
[0108] In this disclosure, where articles have been added due to translation, such as, for example, a, an, and the in English, the disclosure may include that the nouns following these articles are in the plural form.
[0109] In the present disclosure, the term "A and B are different" may mean "A and B are different from each other." The term may also mean "A and B are each different from C." Terms such as "separate" and "coupled" may also be interpreted in the same way as "different." [Explanation of symbols]
[0110] 1·1A...created text evaluation device, 10·10A...neural network section, 11·11A...parallel corpus storage section, 12...question text preparation section, 13·13A...encoder input section, 14·14A...output section, 15...created text input section, 16·16A...decoder input section, 17·17A...evaluation section, 18A...reception section, 100·100A...encoder section, 101·101A...decoder section.< / eos> < / eos> < / eos> < / eos> < / eos> < / eos>
Claims
1. A created sentence evaluation device using a recurrent neural network of an encoder-decoder model, in which an encoder inputs a sentence in a first language, and a decoder sequentially outputs word candidates of a sentence in a second language corresponding to the sentence in the first language and likelihoods of the word candidates in a predetermined word order different from a word order going from a first word to a last word of the sentence, an encoder input unit for inputting a sentence in a first language to the encoder; a decoder input unit that sequentially inputs, in the predetermined word order, words of a created sentence that is created in a second language and corresponds to the sentence in the first language input by the encoder input unit to the decoder; an evaluation unit that evaluates words of the created sentence based on word candidates in a second language output by the decoder based on an input by the decoder input unit and the likelihoods of the word candidates; an output unit that performs output based on the evaluation by the evaluation unit; A created writing evaluation device comprising:
2. the decoder input unit sequentially inputs words of the created sentence in the predetermined word order to the decoder instead of word candidates sequentially output by the decoder; The apparatus for evaluating a written composition according to claim 1 .
3. the evaluation unit evaluates a next word in the created sentence in the predetermined word order of the input word, based on word candidates in a second language output by the decoder for an input word that is a word of the created sentence input by the decoder input unit and likelihoods of the word candidates; The apparatus for evaluating a written text according to claim 1 or 2.
4. the created sentence is a sentence created by a user translating a sentence in a first language inputted by the encoder input unit into a second language; The apparatus for evaluating a written text according to any one of claims 1 to 3.
5. the recurrent neural network is trained based on a corpus of pairs of sentences in a first language and sentences in a second language corresponding to the sentences in the first language arranged in the predetermined word order; The apparatus for evaluating a written text according to any one of claims 1 to 4.
6. the predetermined word order is a word order from the last word of a sentence to the first word of the sentence, The apparatus for evaluating a written text according to any one of claims 1 to 5.
7. further comprising an additional evaluation unit for evaluating the words of the created sentence in a word order from the first word of the created sentence to the last word of the created sentence; The output unit performs an output further based on the evaluation by the additional evaluation unit. The apparatus for evaluating a written text according to any one of claims 1 to 6.
8. The output unit performs an output based on a higher evaluation of the evaluation by the evaluation unit and the evaluation by the additional evaluation unit. The apparatus for evaluating a written composition according to claim 7.
9. further comprising an additional evaluation unit for evaluating the words of the created sentence in a word order from the first word of the created sentence to the last word of the created sentence; The output unit performs an output based on the evaluation by the additional evaluation unit when the evaluation by the evaluation unit does not satisfy a predetermined criterion, or performs an output based on the evaluation by the evaluation unit when the evaluation by the additional evaluation unit does not satisfy a predetermined criterion. The apparatus for evaluating a written text according to any one of claims 1 to 6.
10. an additional evaluation unit that evaluates the words of the created sentence in a word order from the first word of the created sentence to the last word of the created sentence; a reception unit that receives a user's selection of whether to perform output based on the evaluation by the evaluation unit or to perform output based on the evaluation by the additional evaluation unit; Further equipped with The output unit performs output in accordance with the user's selection accepted by the acceptance unit. The apparatus for evaluating a written text according to any one of claims 1 to 6.
Citation Information
Patent Citations
Automatic interpretation method and apparatus
JP2018005218A
Text evaluation device and text evaluation method
WO2018131259A1
Created text evaluation device
WO2019225154A1
