Information processing device, information processing method, and information processing program
By generating queries to assess the contribution of words in vocabulary data, the method addresses inefficiencies in machine learning models, improving accuracy and efficiency in specific domains by reducing unnecessary vocabulary.
Patent Information
- Application Number
- JP2021038868
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-11
- Publication Date
- 2024-08-16
- Estimated Expiration
- 2041-03-11
AI Technical Summary
Existing machine learning models face inefficiencies when adapting to specific domains with small datasets, as they often include unnecessary vocabulary that can lead to erroneous recognition due to unused words in the training process.
A method to estimate unnecessary words from vocabulary data by creating queries that mask common words in natural language data, using a masked language model to assess the contribution of these words to inference, and adjusting the vocabulary based on corpus data specific to the user's domain.
This approach allows for improved learning efficiency and accurate recognition by reducing unnecessary vocabulary, minimizing errors, and enhancing the model's performance in specific domains.
Smart Images

Figure 0007535464000005 
Figure 0007535464000011 
Figure 0007535464000018
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing device, an information processing method, and an information processing program for processing information. [Background technology]
[0002] Machine learning models that analyze large amounts of sentence or text data written in natural language and stored in formats such as speech and text (referred to as "natural language data") are highly versatile. For example, by adapting a large-scale analysis model created from widely collected natural language data to a relatively small amount of natural language data collected from a specific domain according to a user's purpose, a highly accurate analysis model for natural language data in a specific domain can be created from a relatively small amount of data.
[0003] On the other hand, in large-scale analytical models created from such widely collected natural language data, general-purpose vocabulary data is also created to replace natural language data with numerical values that can be processed electronically. The vocabulary data may contain words that are not used in the specific domain to which the analytical model created by the user is applied. If unused words are registered in the vocabulary data, it will not only result in excess data capacity, but will also have a negative impact on the analysis results, such as causing misrecognition.
[0004] Patent Document 1 discloses a method, device, and computer-readable storage medium for selecting a vocabulary table. The method for selecting a vocabulary table disclosed in Patent Document 1 trains a preliminary training model using a first vocabulary table, updates model parameters and vocabulary weights during the training process, and after the training is completed, selects vocabulary in the first vocabulary table using the obtained vocabulary weights of the target vocabulary to obtain a second vocabulary table for training a target neural network model. Since the second vocabulary table contains more high-value vocabulary, when the target neural network model is trained using the second vocabulary table, the training efficiency of the model can be improved, the training time can be reduced, and the accuracy of the trained model can be improved. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-008836 A Summary of the Invention [Problem to be solved by the invention]
[0006] In the technology disclosed in Patent Document 1, the weights of the vocabulary that is included in the first vocabulary table but not included in the natural language data used to train the preliminary training model are not updated. Therefore, there is a high probability that the vocabulary will not be selected when creating the second vocabulary table. In particular, when creating an analysis model for a specific domain from a small amount of natural language data, there is a problem when there are words that are frequently used in the domain but not used in the natural language data collected by the user.
[0007] One object of the present disclosure is to enable appropriate estimation of unnecessary words from vocabulary data. [Means for solving the problem]
[0008] An information processing device according to one aspect of the invention disclosed in the present application is an information processing device having a processor that executes a program and a storage device that stores the program, the information processing device storing vocabulary data including a plurality of words. and is accessible to a computer that, when a query constituting a character string is input, estimates to what extent the lexical data and a second word included in the query contribute to an inference about a first word masked in the query, the storage device stores corpus data including sentences of natural language data; The processor, a first acquisition process for acquiring the vocabulary data from the computer; a first setting process for selecting a word that is also included in a sentence of natural language data included in the corpus data from the vocabulary data acquired by the first acquisition process and setting the selected word as the first word; and a first setting process for extracting a sentence of natural language data including the first word set by the first setting process from the corpus data as a query-derived sentence. A selection process for selecting a query-derived sentence and a query-derived sentence selected by the selection process. a second setting process for selecting a word other than the first word from the list and setting the other word as a replacement target word into which the second word can be inserted; and a query-derived sentence in which the other word has been set as the replacement target word by the second setting process and the first word has been masked, as the query. Generate No. 1 The present invention is characterized by executing a generation process. Effect of the Invention
[0009] According to the representative embodiment of the present invention, it is possible to appropriately infer unnecessary words from vocabulary data. Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is an explanatory diagram showing an example of creating a query. [Diagram 2] FIG. 2 is a block diagram of the natural language analysis system according to the first embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating an example of a hardware configuration of a computer. [Figure 4] FIG. 4 is an explanatory diagram illustrating an example of vocabulary data. [Diagram 5] FIG. 5 is a flowchart of an example of a query generation process performed by the query generating unit according to the first embodiment. [Figure 6A] FIG. 6A is an explanatory diagram of an example of a query display screen according to the first embodiment. [Figure 6B] FIG. 6B is a diagram illustrating another example of the query display screen according to the first embodiment. [Figure 7] FIG. 7 is a block diagram of a natural language analysis system according to the second embodiment. [Figure 8] FIG. 8 is a flowchart illustrating an example of a procedure for a recognition result acquisition process performed by the acquisition unit. [Figure 9] FIG. 9 is an explanatory diagram showing an example of a setting screen for setting acquisition conditions by the acquisition unit. [Figure 10] FIG. 10 is a diagram of an example of acquired data according to the second embodiment. [Figure 11A] FIG. 11A is a diagram illustrating an example of a query display screen according to the second embodiment. [Figure 11B] FIG. 11B is an explanatory diagram of another example of the query display screen according to the second embodiment. [Figure 12] FIG. 12 is a block diagram of a natural language analysis system according to the third embodiment. [Figure 13] FIG. 13 is a flowchart of an example of a query generation process performed by the query generating unit according to the third embodiment. [Figure 14] FIG. 14 is a diagram of an example of acquired data according to the third embodiment. [Figure 15A] FIG. 15A is an explanatory diagram of an example of a query display screen according to the third embodiment. [Figure 15B] FIG. 15B is an explanatory diagram of another example of the query display screen according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS EXAMPLES
[0011] A user wants to download corpus data of a specific domain that the user owns and vocabulary data of a publicly available large-scale NLP model to reduce the size of the vocabulary data and improve learning efficiency. However, since the vocabulary data contains words that are unnecessary for the specific domain, the user wants to delete words in the vocabulary data. If unnecessary words for the user are deleted from the vocabulary data based on the frequency of occurrence of words in the corpus data, necessary words will also be deleted, resulting in unknown word processing (morphological analysis of words that do not exist in the corpus data). In the first embodiment, an example of creating a query to suppress the occurrence of such unknown word processing and improve learning efficiency will be shown.
[0012] <Query creation example> Fig. 1 is an explanatory diagram showing an example of creating a query. Fig. 1 shows an example of creating a query 120 to be input to a huge NLP (Natural Language Processing) model 140 having vocabulary data 150. The huge NLP model 140 performs morphological analysis, syntactic analysis, semantic analysis, and contextual analysis using vocabulary data 150 including a huge amount of diverse words. When the query 120 is input, the huge NLP model 140 estimates words that are unnecessary for the user of the corpus data 100 from the vocabulary data 150.
[0013] The corpus data 100 is natural language data collected from a specific domain according to a user's purpose. The specific domain is a field in which the user uses natural language data. For example, if the specific domain is the medical field, the corpus data 100 is natural language data including medical terms. The amount of natural language data in the corpus data 100 is less than the amount of natural language data input to the large NLP model 140 (i.e., the source of the vocabulary data 150). The corpus data 100 is stored, for example, in the form of speech or text data.
[0014] The query-derived sentence 110 is natural language data from which the query 120 is created, and is selected from the corpus data 100. In FIG. 1, "Tobacco is a plant that did not originally exist in Japan." is selected as the query-derived sentence 110. Here, "tobacco" (word 111) among the words included in the query-derived sentence 110 is considered to be word C that is included in the corpus data 100 but not included in the vocabulary data 150, as shown in a relationship diagram 160 between the vocabulary data 150 and the corpus data 100 at the bottom of FIG. 1. "Plant" (word 112) is considered to be common word B that is included in both the vocabulary data 150 and the corpus data 100, as shown in the relationship diagram 160.
[0015] Query 120 is created from query-derived sentence 110. In query 120, word B is masked and replaced with MASK 122. Furthermore, words 121 such as “first base”, “Takizawa”, “treatment”, etc. are selected from vocabulary data 150 and inserted in place of word C. As shown in relationship diagram 160, word 121 is word A that is included in vocabulary data 150 but not included in corpus data 100.
[0016] When the query 120 thus created is input to the giant NLP model 140, the giant NLP model 140 measures the degree to which the word A contributes to inference about the common word B replaced by the MASK 122. If the contribution degree, which is the measurement result, is equal to or less than a threshold value, the giant NLP model 140 infers that the word A is an unwanted word for the user.
[0017] In this way, instead of inferring unnecessary words for the user from vocabulary data 150 based on the frequency of occurrence of common words B and words C in corpus data 100, unnecessary words for the user can be inferred from vocabulary data 150 by extracting information from the giant NLP model 140, taking into consideration that the information is contained in vocabulary data 150 outside corpus data 100, i.e., that the giant NLP model 140 has already learned some information.
[0018] <Natural Language Analysis System> 2 is a block diagram of a natural language analysis system according to Example 1. A natural language analysis system 200 includes computers 201-1 and 201-2 and a terminal 202. The computers 201-1 and 201-2 and the terminal 202 are connected to a network 203. The network 203 enables data transmission and reception via a wired or wireless line.
[0019] The computer 201-1 is a computer that receives natural language data as input and outputs an analysis result. The computer 201-2 is an information processing device that generates a query 120 that infers unnecessary words from vocabulary data 150. Hereinafter, when there is no need to distinguish between the computers 201-1 and 201-2, they may be collectively referred to as the computer 201. The terminal 202 is a computer operated by a user.
[0020] 3 is a block diagram showing an example of a hardware configuration of a computer. The computer 300 (computer 201 and terminal 202) has a processor 301, a storage device 302, an input device 303, an output device 304, and a communication interface (communication IF) 305. The processor 301, the storage device 302, the input device 303, the output device 304, and the communication IF 305 are connected by a bus 306. The processor 301 controls the computer 300. The storage device 302 is a working area for the processor 301. The storage device 302 is a non-transient or temporary recording medium that stores various programs and data. Examples of the storage device 302 include a ROM (Read Only Memory), a RAM (Random Access Memory), a HDD (Hard Disk Drive), and a flash memory. The input device 303 inputs data. Examples of the input device 303 include a keyboard, a mouse, a touch panel, a numeric keypad, a scanner, and a microphone. The output device 304 outputs data. Examples of the output device 304 include a display, a printer, and a speaker. The communication IF 305 connects to the network 203 and transmits and receives data.
[0021] Returning to Fig. 2, the computer 201-1 has a data analysis unit 210. The data analysis unit 210 is the large NLP model 140 in Fig. 1, and specifically, for example, is realized by causing the processor 301 to execute a program stored in the storage device 302 using the vocabulary data 150 stored in the storage device 302 shown in Fig. 2.
[0022] The data analysis unit 210 has vocabulary data 150, a morphological analysis unit 211, and an information analysis unit 212. The vocabulary data 150 is correspondence table data for converting the natural language data input to the data analysis unit 210 into numerical values so that the data can be handled by a software program.
[0023] 4 is an explanatory diagram showing an example of vocabulary data 150. A word ID 401, which is an individual identification number, is assigned to a word 402, which is a unit element constituting natural language data.
[0024] The words 402 do not necessarily have to be included in the natural language data, and may be special symbols added during the analysis by the data analysis unit 210. In addition, when the data analysis unit 210 uses voice as input data, the words 402 are waveform patterns corresponding to the voice.
[0025] 2, the morphological analysis unit 211 analyzes the natural language data input to the data analysis unit 210 and separates it into unit elements of words 402 of the vocabulary data 150. In addition, at this time, the data analysis unit 210 may perform preprocessing, which is generally performed in the field of natural language processing, such as adding special symbols useful for the analysis by the data analysis unit 210, transforming inflected verbs into their original forms, and replacing them with synonyms, before or after the morphological analysis by the morphological analysis unit 211.
[0026] In addition, when the data analysis unit 210 uses voice as input data, the data analysis unit 210 may perform preprocessing, which is commonly performed in the field of voice recognition, such as noise removal and text conversion by voice recognition, before or after the morphological analysis by the morphological analysis unit 211 is performed.
[0027] The morphological analysis unit 211 separates the natural language data input to the data analysis unit 210 by morphological analysis, and converts it into numerical values or strings thereof for electronic processing, such as word IDs 401 and attribute values 403, with reference to the vocabulary data 150. The morphological analysis unit 211 transmits the word IDs 401 and attribute values 403 to the information analysis unit 212.
[0028] In addition, the words 402, which are units separated by the morphological analysis unit 211, may be meaningful words or units formed by linking these words together, or may be meaningless units that are mechanically created based on the frequency of occurrence in external data.
[0029] The information analysis unit 212 receives as input the word ID 401 and attribute value 403 into which the natural language data input to the data analysis unit 210 has been converted, and outputs the analysis results. Specifically, for example, if the data analysis unit 210 has a function for executing topic classification of the natural language data, the information analysis unit 212 can output the classification results. Also, if the data analysis unit 210 has a function for recognizing speech and outputting an operation command to other software, the information analysis unit 212 can output the operation command.
[0030] The computer 201-2 has corpus data 100, a query generation unit 221, and an output information generation unit 222. The corpus data 100 is stored in a storage device 302. Specifically, the query generation unit 221 and the output information generation unit 222 are realized by, for example, causing the processor 301 to execute a program stored in the storage device 302.
[0031] <Query generation process> 5 is a flowchart showing an example of a query generation process procedure by the query generation unit 221 according to the first embodiment. The query generation unit 221 acquires the vocabulary data 150 and the corpus data 100 (step S501). Next, the query generation unit 221 selects one or more words 402 from among the words 402 in the vocabulary data 150 that are also included in the natural language data of the corpus data 100, and sets the selected words 402 as a common language B (step S502).
[0032] Next, the query generation unit 221 selects one or more sentences including the common word B selected in step S502 from the corpus data 100, and sets them as the query-derived sentences 110 (step S503). The query generation unit 221 can select the query-derived sentences 110 based on, for example, the length of the sentence or the frequency of occurrence of the common word B in the corpus data 100. Specifically, the query generation unit 221 selects, for example, a sentence with a predetermined number of characters or a sentence including the common word B that appears at a predetermined frequency or more as the query-derived sentence 110.
[0033] Next, the query generation unit 221 selects one or more words C ("tobacco" in the example of FIG. 1) from among the words contained in the query-derived sentence 110 selected in step S503, excluding the common word B, and sets them as replacement target words 611 (step S504).
[0034] Furthermore, the query generation unit 221 processes the query derived sentence 110, and the data analysis unit 210 creates the query 120 in which recognition of common word B included in the query derived sentence 110 is attempted (step S505).
[0035] Here, processing means, for example, if the data analysis unit 210 has a function of inputting natural language data in which some words are masked and extracting words 402 that have a high likelihood of being the masked words, then by masking the common word B in the query-derived sentence 110, a query 120 is created that attempts to recognize common word B.
[0036] Furthermore, if the data analysis unit 210 has a function of recognizing speech and outputting an operation command to other software, the query generation unit 221 creates a query 120 that attempts to recognize common language B by adding noise to the waveform pattern of common language B in the speech of the query-derived sentence 110. Note that the query generation unit 221 only needs to specify the common language B to be processed, and the data analysis unit 210 may process the common language B specified as the processing target.
[0037] The query generation unit 221 transmits the query 120 created in step S505 to the output information generation unit 222 and ends the process (step S506). Alternatively, the query generation unit 221 may store the query 120 in the storage device 302 and transmit it to the terminal 202 in response to a command from the user.
[0038] <Query display screen example> 6A is an explanatory diagram showing an example of a query display screen according to the first embodiment. The query display screen 600A is displayed on the terminal 202 based on information generated by the output information generating unit 222. The query display screen 600A has a query display field 601 and a query derived sentence display field 602. The query display field 601 displays the query 120 received from the query generating unit 221. The MASK 122 in the query 120 is data substituted for the common word B in the query derived sentence 110 in step S505.
[0039] Furthermore, the word 111 indicating "tobacco" in the query 120 selected as the word C in step S504 is replaced with the replacement target word 611. The replacement target word 611 indicates that the word A in the vocabulary data 150 can be inserted. Note that the query generation unit 221 only needs to specify the word C to be replaced, and the data analysis unit 210 may replace the word C specified as the replacement target with the replacement target word 611.
[0040] The query-derived sentence display field 602 displays the query-derived sentence 110 that was processed when the query 120 was created by the query generation unit 221. By comparing the query 120 with the query-derived sentence 110, the user can visually recognize which words have been replaced with the MASK 122 and which words have been replaced with the replacement target words 611.
[0041] 6B is an explanatory diagram showing another example of the query display screen according to the first embodiment. The query display screen 600B is also displayed on the terminal 202 based on information generated by the output information generating unit 222. The query display screen 600B displays the query 120 received from the query generating unit 221 on the command line. In addition, the query-derived sentence 110 that was processed when the query 120 was generated by the query generating unit 221 is displayed on the command line.
[0042] In addition, when the query 120 and the query-derived sentence 110 are voice data, the query generation unit 221 may convert them into text data by voice recognition and display them on the terminal 202 as shown in FIG. 6A or 6B, or may display icons capable of playing each of the query 120 and the query-derived sentence 110 on the query display screen 600A of FIG. 6A.
[0043] The terminal 202 displays the vocabulary data 150 in response to a user operation. The user operates the input device 303 to insert a word 402 in the vocabulary data 150 into the replacement target word 611 in the query 120 displayed in the query display field 601. The terminal 202 transmits the query 120 in which the word 402 has been inserted into the replacement target word 611 to the data analysis unit 210. As a result, the data analysis unit 210 attempts to recognize common word B in the query 120.
[0044] Specifically, for example, the data analysis unit 210 measures the degree to which the word A contributes to inference about the common word B replaced by MASK 122, using a MASKED LANGUAGE MODEL that infers the common word B replaced by MASK 122. If the contribution degree, which is the measurement result, is equal to or less than a threshold value, the data analysis unit 210 infers that the word A is an unnecessary word for the user, and deletes the word A from the vocabulary data 150.
[0045] Even if there is a word that is used in a specific domain in which corpus data 100 was collected according to the user's purpose but is not used in corpus data 100, data analysis unit 210 can appropriately infer unnecessary words from vocabulary data 150 from the viewpoint of whether the word may affect the recognition of common word B in query 120, which is a word used in the specific domain.
[0046] In addition, the data analysis unit 210 can use so-called explainable AI (eXplainable AI) as a recognition process for the common language B to measure the extent to which word A contributes to inference about the common language B replaced by MASK 122.
[0047] In this way, according to the first embodiment, it is possible to present to the user the query 120 that can appropriately identify unnecessary words for the user in the corpus data 100 from the vocabulary data 150. Therefore, the user can understand that the word A is a candidate unnecessary word in the context of the query 120. EXAMPLES
[0048] In the second embodiment, a word A in the vocabulary data 150 is inserted into the query 120 created in the first embodiment, and the query is input to the data analysis unit 210. As a result, information useful for determining whether or not to delete the word A in the vocabulary data 150 is provided based on the output data from the data analysis unit 210. In the second embodiment, differences from the first embodiment will be mainly described, and therefore the same components as those in the first embodiment are denoted by the same reference numerals and description thereof will be omitted.
[0049] 7 is a block diagram of a natural language analysis system 700 according to the second embodiment. In the second embodiment, the computer 201-2 includes an acquisition unit 721 and acquired data 722 in addition to the corpus data 100, the query generation unit 221, and the output information generation unit 222.
[0050] 8 is a flowchart showing an example of a procedure for acquiring a recognition result by the acquiring unit 721. The acquiring unit 721 acquires the query 120 created by the query generating unit 221 (step S801). The acquiring unit 721 also acquires the vocabulary data 150 and the corpus data 100 (step S802).
[0051] Next, the acquiring unit 721 acquires, from among the words 402 in the vocabulary data 150, a word A that is not included in the corpus data 100, sets it as an unnecessary word candidate, and creates a group of unnecessary word candidates consisting of the unnecessary word candidates A (step S803). Note that the acquiring unit 721 may set all of the words A that are not included in the corpus data 100, from among the words 402, as unnecessary word candidates, or may sample an appropriate ratio based on a predetermined value or a value input from a setting screen 900 described later, and set them as unnecessary word candidates.
[0052] Next, the acquiring unit 721 repeats the processes of steps S805 and S806 while updating the unnecessary word candidate A selected from the unnecessary word candidate group created in step S803 (step S804).
[0053] Specifically, for example, the acquisition unit 721 causes the query generation unit 221 to insert word A ("first base" as an example in FIG. 1) into the replacement target word 611 of the query 120, and acquires the substitution query 120 created by the query generation unit 221 (step S850).
[0054] Next, the acquiring unit 721 inputs the assignment query 120 to the data analyzing unit 210, receives the recognition result (for example, the contribution degree) for the common word B in the assignment query 120 output by the data analyzing unit 210, and stores it in the acquired data 722.
[0055] After updating the unnecessary word candidate A, the acquiring unit 721 transmits the acquired data 722 created in step S806 to the output information generating unit 222, and ends the process.
[0056] 9 is an explanatory diagram showing an example of a setting screen for acquisition conditions by the acquisition unit 721. The setting screen 900 is displayed on the terminal 202 and accepts input from a user regarding the acquisition condition setting. The query generation unit 221 and the acquisition unit 721 execute processing based on the acquisition condition setting.
[0057] The setting screen 900 includes some or all of a query task selection field 910 , a metrics selection field 920 , a non-required word candidate group setting field 930 , and a query number setting field 940 .
[0058] The query task selection field 910 has two radio buttons 911 and 912 for clearly selecting a processing method for processing the query-derived sentence 110 to create a query. The radio button 911 is a button for selecting processing by a Masked Language Model. The radio button 912 is a button for selecting processing by speech recognition.
[0059] When the radio button 911 is selected, the query generation unit 221 generates a query 120 from the text data in the corpus data 100, and replaces the common word B in the query 120 ("Shokubutsu" in FIGS. 1 and 6A) with a MASK 122.
[0060] When radio button 912 is selected, the query generation unit 221 generates a query 120 from the speech data in the corpus data 100, and adds noise to the speech pattern of common word B ("plant" in FIGS. 1 and 6A) in the query 120.
[0061] The metrics selection field 920 has check boxes 921-924 for receiving settings of acquisition criteria when the acquisition unit 721 acquires the recognition result for the common word B in the assignment query 120 for each unnecessary word candidate A in step S806. A black box indicates that the check box is selected.
[0062] Check box 921 is a check box for selecting acquisition of a likelihood indicating the likelihood of a masked common word B for unnecessary word candidate A. When likelihood is selected by check box 921, acquisition unit 721 acquires from data analysis unit 210 the likelihood of common word B calculated by data analysis unit 210 as a metric value for each unnecessary word candidate A.
[0063] The checkbox 922 is a checkbox for selecting measurement of noise robustness of the query 120 when the query 120 is voice data. When measurement of noise robustness is selected by the checkbox 922, the acquiring unit 721 instructs the query generation unit 221 to add noise to the voice pattern of the common language B of the substitution query 120. Then, the query generation unit 221 adds noise to the voice pattern of the common language B up to the limit at which the common language B can be voice recognized. The acquiring unit 721 acquires the intensity of the noise added to the voice pattern of the common language B from the query generation unit 221 as a metrics value.
[0064] Check box 923 is a check box for selecting acquisition of attention between unnecessary word candidate A and masked common word B. When attention is selected by check box 923, acquisition unit 721 acquires from data analysis unit 210 the attention calculated by data analysis unit 210 for each unnecessary word candidate A. Attention is the degree of association between unnecessary word candidate A and common word B, and takes a value between 0 and 1. A larger attention value indicates a higher degree of association between unnecessary word candidate A and common word B.
[0065] Also, it is possible to specify an appropriate range for attention using a pull-down menu 925. This makes it possible to set an exception process for excluding unnecessary word candidates A that are outside the appropriate range and that will cause attention to be obtained.
[0066] Check box 924 is a check box for selecting to obtain an XAI contribution degree, which indicates the degree to which unnecessary word candidate A contributes to inference about common word B replaced by MASK 122, using explainable AI (XAI). When the XAI contribution degree is selected by check box 924, acquisition unit 721 obtains, from data analysis unit 210, the XAI contribution degree of unnecessary word candidate A calculated by data analysis unit 210, as a metric value. A larger XAI contribution degree indicates a higher degree to which unnecessary word candidate A contributes to inference about common word B replaced by MASK 122.
[0067] Also, it is possible to specify an appropriate range for the XAI contribution degree by using a pull-down menu 926. This makes it possible to set an exception process for excluding unnecessary word candidates A having an XAI contribution degree outside the range from the acquisition target.
[0068] The unnecessary word candidate group setting field 930 has radio buttons 931 to 933 for receiving settings when the acquiring unit 721 creates the unnecessary word candidate group in step S803. The radio button 931 is a checkbox for setting all of the words A in the vocabulary data 150 that are not included in the corpus data 100 to the unnecessary word candidate group.
[0069] The radio buttons 932 and 931 are check boxes for setting any ratio of words A in the vocabulary data 150 that are not included in the corpus data 100 to the unnecessary word candidate group.
[0070] Radio button 933 is a checkbox for selecting unnecessary word candidate A from a user dictionary. The user dictionary is a dictionary of words unique to the user that is different from the corpus data 100. The unnecessary word candidate A selected from the user dictionary is uploaded to the data analysis unit 210 by a user operation.
[0071] The query count setting field 940 has radio buttons 941 and 942 for receiving the setting of the number of times to repeat the process in which the query generation unit 221 creates the query 120 and the acquisition unit 721 acquires the recognition result for the common word B in the substitution query 120 for each unnecessary word candidate A.
[0072] Radio button 941 is a radio button for selecting the number of repetitions that can be arbitrarily input by the user. Radio button 942 is a radio button for selecting the requested number of unnecessary words that can be arbitrarily input by the user. The requested number of unnecessary words is the number of words to be identified as unnecessary words. As a result, the query generation unit 221 creates the query 120 while changing the common word B or the query derived sentence 110 until the number of unnecessary words that meets a certain criterion becomes the requested number of unnecessary words.
[0073] The user makes settings in the query task selection field 910, metrics selection field 920, unnecessary word candidate group setting field 930, and number of queries setting field 940, and presses the Save button 950, so that the selection conditions in the query task selection field 910, metrics selection field 920, unnecessary word candidate group setting field 930, and number of queries setting field 940 are applied to processing by the query generation unit 221 or the acquisition unit 721.
[0074] Also, the GUI (Graphical User Interface) shown in the setting screen 900 in Fig. 9 is an example, and is not limited to this. Also, the user does not necessarily need to set all the setting items, and there is no prevention of the settings being automatically determined by an appropriate method.
[0075] 10 is an explanatory diagram illustrating an example of acquired data 722 according to the second embodiment. The acquiring unit 721 acquires a recognition result for a common word B in the assignment query 120 for each unnecessary word candidate A from the data analyzing unit 210, and stores the recognition result as a metrics value in the acquired data 722. The acquired data 722 has fields including an unnecessary word candidate ID 1001, an unnecessary word candidate 1002, and a metrics value 1003 (likelihood 1031, noise level 1032, attention 1033, and XAI contribution degree 1034).
[0076] The unnecessary word candidate ID 1001 has, as a value, identification information that uniquely identifies the unnecessary word candidate A. The value of the unnecessary word candidate ID 1001 may be the value of the word ID 401. The unnecessary word candidate 1002 has, as a value, the unnecessary word candidate A described above.
[0077] The likelihood 1031 has, as the metrics value 1003, the likelihood obtained from the data analysis unit 210 when the check box 921 is selected in the metrics selection field 920, for each unnecessary word candidate A. The noise level 1032 has, as the metrics value 1003, the noise level of noise with the common word B masked, obtained from the data analysis unit 210 when the check box 922 is selected in the metrics selection field 920, for each unnecessary word candidate A.
[0078] The attention 1033 has, as the metrics value 1003, the attention obtained from the data analysis unit 210 when the check box 923 is selected in the metrics selection field 920, for each unnecessary word candidate A. The XAI contribution degree 1034 has, as the metrics value 1003, the XAI contribution degree obtained from the data analysis unit 210 when the check box 924 is selected in the metrics selection field 920, for each unnecessary word candidate 1002(A).
[0079] In addition, the acquisition unit 721 may normalize the likelihood 1031, noise level 1032, attention 1033, and XAI contribution 1034, and calculate statistical values (e.g., total value, average value, median value, maximum value, or minimum value) of the normalized likelihood 1031, noise level 1032, attention 1033, and XAI contribution 1034 for each unnecessary word candidate 1002(A), and store them in the acquired data 722.
[0080] 11A is an explanatory diagram showing an example of a query display screen according to Example 2. A query display screen 1100A has a query display field 601 and a query origin sentence display field 602, as well as an unnecessary word candidate display field 1103 and a bulk delete button 1104.
[0081] The unnecessary word candidates 1002(A) of the acquired data 722 are displayed in the unnecessary word candidate display field 1103. The terminal 202 may display all of the acquired data 722, or may display a portion of the results sorted using the metrics values 1003 of the acquired data 722 or statistical values calculated therefrom. In this case, the terminal 202 may not need to display the metrics values 1003. The terminal 202 may also display, in the unnecessary word candidate display field 1103, the total number of displayed unnecessary word candidates 1002(A), the metrics values 1003, or statistical values calculated therefrom.
[0082] When the user presses the all delete button 1104, the output information generating unit 222 deletes the unnecessary word candidates 1002(A) displayed in the unnecessary word candidate display field 1103 from the vocabulary data 150 all at once.
[0083] 11B is an explanatory diagram showing another example of the query display screen according to the second embodiment. In the query display screen 1100B, unnecessary word candidates 1002(A) are displayed on a command line in addition to the query 120 or the query-derived sentence 110. The output information generating unit 222 can receive an instruction on the command line as to whether or not to delete the displayed unnecessary word candidates 1002(A) from the vocabulary data 150 all at once.
[0084] Furthermore, the output information generating unit 222 may store the query 120, the query derived sentence 110, or a part or all of the acquired data 722 received from the query generating unit 221 in the storage device 302, and transmit the query 120, the query derived sentence 110, or a part or all of the acquired data 722 to the terminal 202 in a format that can be displayed on the terminal 202 in response to a command from a user. The output information generating unit 222 may also receive a command from the terminal 202 to delete all of the unnecessary word candidates 1002(A) in the acquired data 722 stored in the storage device 302 from the vocabulary data 150 at once. When the query 120 is voice data, the output information generating unit 222 may generate a voice file for each assignment query 120 in which the unnecessary word candidate 1002(A) is inserted into the replacement target word 611.
[0085] The user refers to the information displayed in the unnecessary word candidate display field 1103 to determine whether or not to delete the unnecessary word candidate 1002(A) in the vocabulary data 150. As a result, even if there is a word that may be used in a specific domain in which the corpus data 100 is collected according to the user's purpose but is not used in the corpus data 100, the data analysis unit 210 can appropriately infer the unnecessary word with fewer steps from the viewpoint of whether it may affect the recognition of the common word B in the query 120, which is a word used in the specific domain. EXAMPLES
[0086] In Example 3, in addition to Examples 1 and 2, an example is shown in which useful information is provided for determining whether or not to specify unnecessary words from the words in the vocabulary data 150 and overwrite them with words that are useful for data analysis, such as those that frequently appear in a specific domain in which the corpus data 100 was collected according to the user's purpose. Note that in Example 3, differences from Examples 1 and 2 will be mainly described, so that the same components as those in Examples 1 and 2 are denoted by the same reference numerals and description thereof will be omitted.
[0087] 12 is a block diagram of a natural language analysis system according to Example 3. In a natural language analysis system 1200 according to Example 3, a computer 201-2 has additional word list data 1210 in addition to the corpus data 100, the query generation unit 221, the output information generation unit 222, the acquisition unit 721, and the acquired data 722.
[0088] The added word list data 1210 is data that lists pairs of added words and added word IDs that uniquely identify the added words. An added word is, for example, a word that appears frequently in a specific domain in which the corpus data 100 is collected according to a user's purpose, and thus is considered to be useful for data analysis by the data analysis unit 210 if it is included in the vocabulary data 150. The user may directly create the added word list data 1210, or the computer 201-2 may refer to the corpus data 100 or the vocabulary data 150 and extract frequent words that appear at a predetermined frequency or higher as added words.
[0089] 13 is a flowchart illustrating an example of a query generation process procedure by the query generation unit 221 according to the embodiment 3. The query generation unit 221 acquires the vocabulary data 150, the corpus data 100, and the added word list data 1210 (step S1301).
[0090] Next, the query generating unit 221 selects one or more additional words to be used in creating the query 120 from the added word list data 1210, and sets them as query added words (step S1302).
[0091] Next, the query generating unit 221 selects one or more words from among the words 402 in the vocabulary data 150 that are also included in the natural language data of the corpus data 100, and sets them as common language B (step S502).
[0092] Next, the query generation unit 221 selects one or more sentences including both the common word B selected in step S502 and the query additional word selected in step S1302 from the corpus data 100, and sets these as the query derived sentences 110.
[0093] Next, the query generation unit 221 selects the query additional term in the query derived sentence 110 selected in step S1303, and sets it as the replacement target term 611 (step S1304).
[0094] Furthermore, the query generation unit 221 processes the query-derived sentence 110, and the data analysis unit 210 creates the query 120 for attempting to recognize common word B contained in the query-derived sentence 110 (step S505).
[0095] Next, the query generating unit 221 transmits the query 120 created in step S505 to the output information generating unit 222 and the acquiring unit 721, and ends the process (step S1306). Alternatively, the query generating unit 221 may store the query 120 in the storage device 302 and transmit it to the terminal 202 in response to a command from the user.
[0096] 14 is an explanatory diagram illustrating an example of the acquired data 722 according to the embodiment 3. In the embodiment 3, the acquired data 722 has, as fields, an unnecessary word candidate ID 1001, an unnecessary word candidate 1002, and a metric value 1003 (likelihood 1031, noise level 1032, attention 1033, and XAI contribution degree 1034), as well as an additional word ID 1401 and an additional word 1402.
[0097] As shown in FIG. 8, the acquisition unit 721 acquires the recognition results for the common word B in the assignment query 120 for each unnecessary word candidate A from the data analysis unit 210, and stores them in the acquired data 722 as an added word ID 1401 and an added word 1402 in order to identify which query added word in the query-derived sentence 110 was the replacement target word 611 replaced with the unnecessary word candidate A when the assignment query 120 was created.
[0098] 15A is an explanatory diagram showing an example of a query display screen according to Example 3. A query display screen 1500A can include an overwrite target candidate display field 1501 and a batch overwrite button 1502 in addition to a query display field 601 and a query origin sentence display field 602.
[0099] The unnecessary word candidates 1002 of the acquired data 722 are displayed as overwrite candidates in the overwrite candidate display field 1501. Also, the overwrite candidate display field 1501 displays additional words 1402 corresponding to the unnecessary word candidates 1002 that have become overwrite candidates.
[0100] The terminal 202 may display all of the acquired data 722, or may display a portion of the results sorted using the metrics values 1003 of the acquired data 722 or statistical values calculated therefrom. In this case, the terminal 202 does not need to display the metrics values 1003. The terminal 202 may also display, in the negligible word candidate display field 1103, the total number of displayed negligible word candidates 1002, the metrics values 1003, or statistical values calculated therefrom.
[0101] When the user presses the all overwrite button 1502 , the output information generating unit 222 overwrites the unnecessary word candidates 1002 displayed in the overwrite candidate display field 1501 with the corresponding added words 1402 in the vocabulary data 150 at once.
[0102] 15B is an explanatory diagram showing another example of the query display screen according to the embodiment 3. In the query display screen 1500B in the embodiment 3, in addition to the query 120 or the query-derived sentence 110, unnecessary word candidates 1002 that are candidates to be overwritten and corresponding added words 1402 are displayed on the command line.
[0103] Furthermore, the output information generating unit 222 may store the query 120, the query derived sentence 110, or a part or all of the acquired data 722 received from the query generating unit 221 in the storage device 302, and transmit the query 120, the query derived sentence 110, or the acquired data 722, in a format that can be displayed on the terminal 202, to the terminal 202 in response to a command from the user. Furthermore, the output information generating unit 222 may receive a command from the terminal 202 on the command line to collectively overwrite the unnecessary word candidates 1002 in the acquired data 722 stored in the storage device 302 with the corresponding additional words 1402 in the vocabulary data 150. Note that when the query 120 is voice data, the output information generating unit 222 may generate a voice file for each assignment query 120 in which the unnecessary word candidates 1002 are inserted into the replacement target words 611.
[0104] By combining the added word 1402 and the unnecessary word candidate 1002, acquiring the recognition result for the common word B in the assignment query, and storing it in the acquired data 722, the user can acquire an acquired value related to the recognition result for the common word B in the assignment query when the unnecessary word candidate 1002 in the word 402 in the vocabulary data 150 is overwritten with the added word 1402 based on the information displayed in the overwrite candidate display field 1501, and can obtain information regarding whether or not the overwrite process is possible from the acquired value for each added word 1402.
[0105] The user refers to the information displayed in the overwrite candidate display field 1501 to determine whether or not to overwrite the unnecessary words in the vocabulary data 150 with the additional words. As a result, even if there is a word that may be used in a specific domain in which the corpus data 100 is collected according to the user's purpose but is not used in the corpus data 100, the data analysis unit 210 can appropriately estimate the unnecessary words from the viewpoint of whether overwriting with the additional words 1402 that are considered to be useful for data analysis by the data analysis unit 210 if included in the vocabulary data 150 may affect recognition of common words B in the query 120, which are words used in the specific domain.
[0106] The information processing devices according to the above-mentioned first to third embodiments can also be configured as follows (1) to (16).
[0107] (1) An information processing device (computer 201-2) having a processor 301 that executes a program and a storage device 302 that stores the program is capable of accessing vocabulary data 150 including a plurality of words that are speech or text, and the processor 301 executes a selection process for selecting from the natural language data (corpus data 100) a query-derived sentence 110 including a common word B that is common to both the natural language data (corpus data 100) that is speech or text and the vocabulary data 150, and a generation process for generating a query 120 from the query-derived sentences 110 selected by the selection process, in which the common word B is used as an inference target and a specific word C that is not included in the vocabulary data 150 is set as a replacement target word 611 that can be replaced with a word in the vocabulary data 150.
[0108] (2) In the information processing device of (1) above, in the generating process, the processor 301 generates an assignment query 120 in which the replacement target word 611 is replaced with a word in the vocabulary data 150.
[0109] (3) In the information processing device of (1) above, the processor 301 executes a first output process of outputting the query 120 generated by the generation process in a viewable or reproducible manner.
[0110] (4) In the information processing device of (1) above, the processor 301 executes a second output process of outputting the query 120 generated by the generation process to a computer 201-1 that attempts recognition of the common language B.
[0111] (5) In the information processing device of (4) above, the processor 301 executes an acquisition process for acquiring a recognition result by the computer 201-1 as a result of outputting the query 120 to the computer 201-1 by the second output process.
[0112] (6) In the information processing apparatus of (5) above, in the acquisition process, the processor 301 acquires unnecessary word candidates 1002 from the vocabulary data 150 based on the recognition result.
[0113] (7) In the information processing device of (6) above, in the generation process, the processor 301 generates the query 120 by replacing the replacement target word 611 with a different word A in the vocabulary data 150 until the number of the unnecessary word candidates 1002 reaches a predetermined number.
[0114] (8) In the information processing device of (6) above, in the generating process, the processor 301 generates the query 120 for each different query derived sentence 110 until the number of the unnecessary word candidates 1002 reaches a predetermined number.
[0115] (9) In the information processing device of (6) above, the processor 301 executes a third output process of visually outputting the unnecessary word candidates 1002 acquired by the acquisition process.
[0116] (10) An information processing device as described in (1) above, which is capable of accessing additional word list data 1210 including one or more additional words 1402 that can be added to the vocabulary data 150, and in the selection process, the processor 301 selects from the natural language data (corpus data 100) a query-derived sentence 110 including a common word B common to the natural language data (corpus data 100) and the vocabulary data 150 and the additional word 1402, and in the generation process, the processor 301 generates a query 120 in which the common word B from the query-derived sentence 110 is used as an inference target and the additional word 1402 is set as a replacement target word 611 that can be replaced with word A in the vocabulary data 150.
[0117] (11) In the information processing device according to (10), in the generating process, a substitution query 120 is generated in which the replacement target word 611 is replaced with a word in the vocabulary data 150.
[0118] (12) In the information processing device of (10) above, the processor 301 executes a fourth output process of outputting the query 120 generated by the generation process to a computer 201-1 that attempts recognition of the common language B.
[0119] (13) In the information processing device of (12) above, the processor 301 executes an acquisition process for acquiring a recognition result by the computer 201-1 as a result of outputting the query 120 to the computer in the fourth output process.
[0120] (14) In the information processing apparatus of (13) above, in the acquisition process, the processor 301 acquires unnecessary word candidates 1002 from the vocabulary data 150 based on the recognition result.
[0121] (15) In the information processing device of (14), the processor 301 executes a sixth output process of visibly outputting the unnecessary word candidate 1002 and the added word 1402 acquired by the acquisition process.
[0122] (16) In the information processing device according to (15), in the sixth output process, the processor 301 outputs the unnecessary word candidate 1002 in the vocabulary data 150 so as to be operable to overwrite the added word 1402.
[0123] The present invention is not limited to the above-described embodiments, and includes various modified examples and equivalent configurations within the spirit of the appended claims. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those having all of the configurations described. Also, a part of the configuration of one embodiment may be replaced with a configuration of another embodiment. Also, a configuration of another embodiment may be added to a configuration of one embodiment. Also, a part of the configuration of each embodiment may be added to, deleted from, or replaced with another configuration.
[0124] Furthermore, each of the aforementioned configurations, functions, processing units, processing means, etc. may be realized in hardware, for example by designing some or all of them as an integrated circuit, or may be realized in software by a processor interpreting and executing a program that realizes each function.
[0125] Information such as programs, tables, files, etc. that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or in a recording medium such as an IC (Integrated Circuit) card, an SD card, or a DVD (Digital Versatile Disc).
[0126] In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and do not necessarily show all the control lines and information lines that are necessary for implementation. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]
[0127] B Common language 100 Corpus Data 110 Query-derived sentences 120 Queries, assignment queries 150 Vocabulary Data 200, 700, 1200 Natural Language Analysis System 201 Calculator 202 Terminal 210 Data Analysis Department 211 Morphological analysis section 212 Information Analysis Department 221 Query Generation Unit 222 Output information generation unit 301 Processor 302 Storage Devices 611 Replacement target words 721 Acquisition Department 1002 Unnecessary word candidates 1210 Additional Word List Data 1402 additional words
Claims
1. An information processing device having a processor that executes a program and a storage device that stores the program, a computer is accessible to store vocabulary data including a plurality of words, and when a query constituting a character string is input, estimates to what extent a second word included in the vocabulary data and the query contribute to an inference about a first masked word in the query; the storage device stores corpus data including sentences of natural language data; The processor, a first acquisition process for acquiring the vocabulary data from the computer; a first setting process for selecting a word that is also included in a sentence of natural language data included in the corpus data from the vocabulary data acquired by the first acquisition process, and setting the selected word as the first word; a selection process of selecting, as a query-derived sentence, a sentence of natural language data including the first word set by the first setting process from the corpus data; a second setting process of selecting a word other than the first word from the query-derived sentence selected by the selection process, and setting the other word as a replacement target word into which the second word can be inserted; a first generation process for generating, as the query, the query-derived sentence in which the other word is set as the replacement target word by the second setting process and the first word is masked; 2. An information processing device comprising:
2. 2. The information processing device according to claim 1, The processor, An information processing apparatus comprising: a first output process for outputting the query generated by the first generation process in a viewable or reproducible manner.
3. 2. The information processing device according to claim 1, The processor, 2. An information processing apparatus comprising: a processor for executing a second output process for outputting the query generated by the first generation process to the computer.
4. An information processing device according to claim 3, The processor, The information processing device is characterized in that, as a result of outputting the query to the computer by the second output process, a second acquisition process is executed to acquire an estimation result in which the computer estimates the extent to which the second word contributes to an inference about the masked first word in the query.
5. 5. The information processing device according to claim 4, In the second acquisition process, the processor acquires unnecessary word candidates from the vocabulary data based on the estimation result.
23. An information processing apparatus comprising:
6. 6. The information processing device according to claim 5, The processor, an information processing apparatus that executes a second generation process of regenerating the query by replacing the replacement target word with a different word in the vocabulary data until the number of the unnecessary word candidates reaches a predetermined number.
7. 7. The information processing device according to claim 6, In the second generation process, the processor regenerates the query for each different query derived sentence until the number of unnecessary word candidates reaches a predetermined number.
23. An information processing apparatus comprising:
8. An information processing device according to claim 7, The processor, The information processing apparatus further comprises a third output process for outputting the unnecessary word candidates acquired by the second acquisition process in a visibly recognizable manner.
9. An information processing device according to claim 1, the storage device stores additional word list data including one or more additional words related to the corpus data or the vocabulary data; In the first setting process, the processor selects the additional word used in generating the query from additional word list data and sets the selected additional word as a query additional word; In the selection process, the processor selects, from the corpus data, a sentence of natural language data including the first term and the query additional term set by the first setting process as a query-derived sentence; In the second setting process, the processor selects the query additional word from the query derived sentence selected by the selection process, and sets the query additional word as a replacement target word into which the second word can be inserted.
23. An information processing apparatus comprising:
10. An information processing device according to claim 9, The processor, An information processing apparatus comprising: a fourth output process for outputting the query generated by the first generation process in a viewable or reproducible manner.
11. An information processing device according to claim 9, The processor, 5. The information processing apparatus according to claim 1, further comprising: a fifth output process for outputting the query generated by the first generation process to the computer.
12. An information processing device according to claim 11, The processor, An information processing device characterized in that a third acquisition process is executed to acquire an estimation result in which the computer estimates the extent to which the second word contributes to an inference about the masked first word in the query as a result of outputting the query to the computer by the fifth output process.
13. The information processing device according to claim 12, In the third acquisition process, the processor acquires unnecessary word candidates from the vocabulary data based on the estimation result.
23. An information processing apparatus comprising:
14. The information processing device according to claim 13, The processor, The information processing apparatus executes a fifth output process of visibly outputting the unnecessary word candidates acquired by the third acquisition process and the query additional words.
15. The information processing device according to claim 14, In the fifth output process, the processor outputs the unnecessary word candidate in the vocabulary data in such a manner that the unnecessary word candidate can be overwritten onto the query additional word.
23. An information processing apparatus comprising:
16. An information processing method executed by an information processing device having a processor that executes a program and a storage device that stores the program, comprising: the information processing device is accessible to a computer that stores vocabulary data including a plurality of words, and that, when a query constituting a character string is input, estimates to what extent the vocabulary data and a second word included in the query contribute to an inference about a masked first word in the query; the storage device stores corpus data including sentences of natural language data; The processor, a first acquisition process for acquiring the vocabulary data from the computer; a first setting process for selecting a word that is also included in a sentence of natural language data included in the corpus data from the vocabulary data acquired by the first acquisition process, and setting the selected word as the first word; a selection process of selecting, as a query-derived sentence, a sentence of natural language data including the first word set by the first setting process from the corpus data; a second setting process of selecting a word other than the first word from the query-derived sentence selected by the selection process, and setting the other word as a replacement target word into which the second word can be inserted; a first generation process for generating, as the query, the query-derived sentence in which the other word is set as the replacement target word by the second setting process and the first word is masked; 2. An information processing method comprising:
17. An information processing program to be executed by a processor of an information processing device accessible to a computer that stores vocabulary data including a plurality of words and that, when a query constituting a character string is input, estimates to what extent a second word included in the vocabulary data and the query contribute to an inference about a masked first word in the query, The information processing device stores corpus data including sentences of natural language data; The processor, a first acquisition process for acquiring the vocabulary data from the computer; a first setting process for selecting a word that is also included in a sentence of natural language data included in the corpus data from the vocabulary data acquired by the first acquisition process, and setting the selected word as the first word; a selection process of selecting, as a query-derived sentence, a sentence of natural language data including the first word set by the first setting process from the corpus data; a second setting process of selecting a word other than the first word from the query-derived sentence selected by the selection process, and setting the other word as a replacement target word into which the second word can be inserted; a first generation process for generating, as the query, the query-derived sentence in which the other word is set as the replacement target word by the second setting process and the first word is masked; An information processing program characterized by causing the program to execute the above steps.
Citation Information
Patent Citations
Dictionary-language model compression method, device therefor, and program
JP2014098760A
Method and apparatus for selecting vocabulary table, and computer-readable storage medium
JP2020008836A
