Dictionary creation system, dictionary creation method and dictionary creation program
The dictionary creation system uses morphological analysis, importance evaluation, and deep learning to filter and extract technical terms, addressing the issue of mixing technical and common terms, resulting in a specialized and accurate dictionary.
Patent Information
- Application Number
- JP2023064858
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-12
AI Technical Summary
Existing methods for creating technical term dictionaries mix technical terms with common terms of high frequency, making it difficult to create a specialized dictionary focused on specific fields.
A dictionary creation system that employs a concatenation rule and a separation tool, such as SentencePiece, to extract and filter technical terms based on morphological analysis, importance evaluation, and polarity assignment, while using deep learning techniques like BERT for enhanced extraction.
The system efficiently creates a specialized dictionary by extracting and filtering technical terms, ensuring they are relevant to a specific field, reducing noise and improving the accuracy of term selection.
Smart Images

Figure 2024151487000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a dictionary creation system, a dictionary creation method, and a dictionary creation program for creating a dictionary that collects technical terms used in a specific field. [Background technology]
[0002] Technical terms are sometimes used in specific fields. Technology is being considered for collecting such technical terms to create a glossary (dictionary) (see, for example, Patent Document 1). The term dictionary creation device described in this patent document performs morphological analysis on a document. Next, based on the morphemes extracted from the document, parts of the document where nouns occur consecutively are obtained as term candidates. Next, the frequency of occurrence of the term candidates is calculated. A term dictionary is created based on the frequency of occurrence of the term candidates.
[0003] Furthermore, the emotional value of each word differs depending on the field and context. Technology to derive such values is also being considered (see, for example, Non-Patent Document 1). Technology to evaluate texts about financial markets using vocabulary-based sentiment analysis is also being considered (see, for example, Non-Patent Document 2). The technology described in this document acquires embedded representations of words using representation learning of a word dependency network, and then builds a polarity dictionary specialized for finance using the acquired embedded representations. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-26586 [Non-patent literature]
[0005] [Non-Patent Document 1] William L Hamilton, “Inducing Domain-Specific Sentiment Lexicons from Unlabeled Corpora”, [online], 2016, Cornell University, [Retrieved March 22, 2020], Internet<URL:https: / / arxiv.org / pdf / 1606.02820.pdf> [Non-Patent Document 2] Ryo Ito et al., “Constructing a Finance-specific Polarity Dictionary by Learning Representations in Networks”, [online], 2017, The Japanese Society for Artificial Intelligence, 2017 National Conference of the Japanese Society for Artificial Intelligence (31st), p.1-3 [Retrieved February 23, 2023], Internet <URL:https: / / www.jstage.jst.go.jp / article / pjsai / JSAI2017 / 0 / JSAI2017_2D3OS19a4 / _pdf / -char / ja> Summary of the Invention [Problem to be solved by the invention]
[0006] When extracting technical term candidates from documents using frequency of occurrence, not only technical terms but also general terms that appear frequently will be mixed in. In this case, it is not possible to create a dictionary that is limited to technical terms. [Means for solving the problem]
[0007] A dictionary creation system for solving the above problem includes a document storage unit that records a target document, and a control unit that extracts technical terms from the target document. The control unit executes a concatenation rule application process that applies concatenation rules to a morphological analysis result of the target document to extract a first term group, a word segmentation extraction process that extracts a second term group from the target document by a word segmentation process, and a process of creating a term dictionary based on the terms extracted in the concatenation rule application process and the word segmentation extraction process. Effect of the Invention
[0008] According to the present disclosure, a dictionary that collects technical terms used in a specific field can be efficiently created. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an explanatory diagram of a dictionary creation system according to an embodiment. [Diagram 2] FIG. 2 is an explanatory diagram of a hardware configuration of the embodiment. [Diagram 3] FIG. 2 is an explanatory diagram of a processing procedure according to an embodiment. [Figure 4] FIG. 2 is an explanatory diagram of a processing procedure according to an embodiment. [Diagram 5] FIG. 2 is an explanatory diagram of a processing procedure according to an embodiment. [Figure 6] FIG. 2 is an explanatory diagram of a processing procedure according to an embodiment. [Figure 7] FIG. 11 is an explanatory diagram of a processing procedure of another example. [Figure 8] FIG. 11 is an explanatory diagram of a processing procedure of another example. [Figure 9] FIG. 11 is an explanatory diagram of a processing procedure of another example. [Figure 10] FIG. 11 is an explanatory diagram of a processing procedure of another example. [Figure 11] FIG. 11 is an explanatory diagram of a processing procedure of another example. [Figure 12] FIG. 11 is an explanatory diagram of a processing procedure of another example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] An embodiment of a dictionary creation system, a dictionary creation method, and a dictionary creation program will be described with reference to Figures 1 to 6. In this embodiment, it is assumed that a dictionary is created that stores terms used in a specific business (for example, banking business).
[0011] As shown in FIG. 1, the dictionary creation system of this embodiment uses a user terminal 10, a support server 20, and a public document site 30. (Hardware configuration example) FIG. 2 shows an example of the hardware configuration of an information processing device H10 that functions as the user terminal 10, the support server 20, the public document site 30, and the like.
[0012] The information processing device H10 includes a communication device H11, an input device H12, a display device H13, a storage device H14, and a processor H 15. Note that this hardware configuration is an example, and the information processing device H10 may include other hardware.
[0013] The communication device H11 is an interface that establishes a communication path with another device and transmits and receives data, and is, for example, a network interface or a wireless interface.
[0014] The input device H12 is a device that accepts input from a user, etc., and is, for example, a mouse, a keyboard, etc. The display device H13 is, for example, a display or a touch panel that displays various information.
[0015] The storage device H14 is a storage device that stores data and various programs for executing various functions of the user terminal 10, the support server 20, and the public document site 30. Examples of the storage device H14 include a ROM, a RAM, and a hard disk.
[0016] The processor H15 uses the programs and data stored in the storage device H14 to control each process in the user terminal 10, the support server 20, and the public document site 30. Examples of the processor H15 include a CPU and an MPU. The processor H15 expands a program stored in a ROM or the like into a RAM and executes various processes corresponding to various processes. For example, when an application program in the user terminal 10 or the support server 20 is started, the processor H15 operates a process that executes each process described below.
[0017] The processor H15 is not limited to a processor that performs software processing for all the processes it executes. For example, the processor H15 may include a dedicated hardware circuit (e.g., an application specific integrated circuit (ASIC)) that performs hardware processing for at least a part of the processes it executes. That is, the processor H15 may be configured as follows:
[0018] (1) One or more processors operating according to a computer program (software) (2) One or more dedicated hardware circuits that perform at least some of the processes; or (3) A circuit that includes a combination of these. The processor includes a CPU and memory, such as RAM and ROM, that stores program codes or instructions configured to cause the CPU to execute processes. Memory, i.e., computer-readable media, includes any available media that can be accessed by a general-purpose or special-purpose computer.
[0019] (Functions of each information processing device) The functions of the user terminal 10, the support server 20, and the public document site 30 will be described with reference to FIG.
[0020] The user terminal 10 is a computer terminal used by a user who uses this system. The support server 20 is a computer system that performs natural language processing for creating a dictionary. The support server 20 includes a control unit 21, a document storage unit 22, and a dictionary storage unit .
[0021] The control unit 21 performs processes (including a management stage, a morpheme analysis stage, a segmentation processing stage, an importance evaluation stage, a polarity assignment stage, etc.) described below. By executing a dictionary creation program for this purpose, the control unit 21 functions as a management unit 211, a morpheme analysis unit 212, a segmentation processing unit 213, an importance evaluation unit 214, a polarity assignment unit 215, etc.
[0022] The management unit 211 executes a process for managing the morpheme analysis unit 212, the division processing unit 213, the importance evaluation unit 214, and the polarity assignment unit 215. The management unit 211 holds combination patterns of parts of speech that can become technical terms, that is, concatenation rules. The concatenation rules hold, as parameters, a threshold (frequency) for deleting unnecessary words and a threshold (frequency) for deleting excessively concatenated terms. For example, when concatenating the term "contract" with "exempt debt assumption contract" as a technical term candidate, the occurrence frequency of "exempt debt assumption" and "exempt debt assumption contract" is checked. If the occurrence frequency of "exempt debt assumption" decreases above the threshold of "exempt debt assumption contract" compared to the occurrence frequency of "exempt debt assumption", "exempt debt assumption contract" is not extracted as a technical term. The management unit 211 also holds an unnecessary word list. This unnecessary word list records words that are not technical terms, such as "our company, the concerned, this matter, each line, yes or no".
[0023] The morpheme analysis unit 212 executes a process of dividing a sentence into a string of morphemes (the smallest unit having meaning in a language) based on information such as the grammar of the sentence and the parts of speech of the words, and determining the parts of speech of each morpheme.
[0024] The division processing unit 213 executes a word segmentation process that divides a sentence into words (subwords) using a word segmentation tool. For example, "SentencePiece" is used as the word segmentation tool for the division processing unit 213. This "SentencePiece" performs word segmentation based on a group of characters that frequently appear consecutively, regardless of whether they are meaningful words. Specifically, first, the sentence is divided into words (subword segmentation), and the frequency of each word is calculated. Next, high-frequency words are treated as one vocabulary, and low-frequency words are divided into shorter vocabulary words. Then, the division is repeated until the number of vocabulary words reaches a number specified in advance. This "SentencePiece" holds the number of vocabulary words (size) of the vocabulary file as a parameter.
[0025] The importance evaluation unit 214 executes a process of evaluating the importance of each term contained in the target document. For example, a tf-idf value is used as the importance. Here, "tf (term frequency)" is a value that indicates the frequency of occurrence of each term contained in the target document. Also, "idf (inverse document frequency)" is a value that indicates how rarely a term exists in the target document. The tf-idf value is calculated by multiplying the tf value and the idf value.
[0026] The polarity assigning unit 215 executes a process of assigning polarity to the extracted technical term. The technology described in the above-mentioned non-patent document 1 can be used as the polarity assigning unit 215. The polarity assigning unit 215 calculates a vector for each technical term by natural language processing of the technical terms recorded in the dictionary storage unit 23. This polarity represents the characteristics of the word, and can be, for example, positive or negative.
[0027] The document storage unit 22 records target documents from which technical terms are to be extracted. These target documents are recorded in advance before the dictionary is created. These target documents include a plurality of sentences including technical terms. The document storage unit 22 records documents generated in a specific task, such as activity records in the specific task and records of responses to inquiries from customers.
[0028] Technical terms extracted from documents are recorded in the dictionary storage unit 23. These technical terms are recorded when the dictionary creation process is executed. Documents that are publicly available are stored by category on the public document site 30. A large amount of documents are stored in categories such as social categories, financial categories, etc.
[0029] (Outline of dictionary creation) Next, the outline of dictionary creation will be explained with reference to FIG. First, the control unit 21 of the support server 20 executes a term extraction process (concatenation rule application process) according to the concatenation rules (step S11). Specifically, the management unit 211 of the control unit 21 extracts technical terms according to the concatenation rules using morphemes generated by the morpheme analysis unit 212 from the target document recorded in the document storage unit 22. Then, the management unit 211 records the extracted technical terms in the dictionary storage unit 23. Details will be described later.
[0030] Next, the control unit 21 of the support server 20 executes a term extraction process (word segmentation extraction process) using a word segmentation tool (step S12). Specifically, the management unit 211 of the control unit 21 uses the division processing unit 213 and the importance evaluation unit 214 to extract technical terms from the target document recorded in the document storage unit 22 by word segmentation. Then, the management unit 211 records the extracted technical terms in the dictionary storage unit 23. Here, a first term extraction process using a word segmentation tool and a second term extraction process using a word segmentation tool are executed. Details will be described later.
[0031] Next, the control unit 21 of the support server 20 executes a polarity assignment process (step S13). Specifically, the management unit 211 of the control unit 21 uses the polarity assignment unit 215 to assign polarities to the technical terms recorded in the dictionary storage unit 23.
[0032] (Term extraction process using connection rules) Next, the term extraction process based on the concatenation rules will be described with reference to FIG. Here, the control unit 21 of the support server 20 executes a text input process (step S21). Specifically, the management unit 211 of the control unit 21 acquires, from the document storage unit 22, a text included in a document for creating a dictionary.
[0033] Next, the control unit 21 of the support server 20 executes a morpheme analysis process (step S22). Specifically, the management unit 211 of the control unit 21 breaks down the words included in the sentence into parts of speech using the morpheme analysis unit 212. The parts of speech include nouns (general, sa-hen connection, etc.), particles (attributive, case particles, parallel particles, etc.), verbs (independent, non-independent, etc.), etc.
[0034] For example, if we take the example of a sentence like "Please formulate a plan to meet interest rate GL and overall profitability benchmarks," it can be divided into the following:
[0035] [Table 1]
[0036] Next, the control unit 21 of the support server 20 executes extraction processing of technical term candidates according to the rules (step S23). Specifically, the management unit 211 of the control unit 21 extracts technical term candidates from the morpheme analysis results according to the concatenation rules. For example, as a combination pattern of parts of speech that can become technical terms, when nouns (general, sa-hen connection, etc.) are consecutive, they are extracted as technical terms. In addition, as concatenation methods, unconditional concatenation, front-back conditional concatenation, back-back conditional concatenation, etc. are used.
[0037] In unconditional concatenation, when a word corresponds to the part of speech type of unconditional concatenation, if any of the parts of speech types listed on the right are consecutive, they will be concatenated. For example, the following is used. Note that "*" means a noun with no specific classification. ['Noun','General','*'], ['Noun','Suffix','General'], ['Noun','Suffix,'Sa-hen connection'], ['Noun','Sa-hen connection','*'], ['Prefix','Noun connection','*'], ['Prefix','Number connection','*'], ['Verb','Independent','*'], ['Adjective','Independent','*']
[0038] In the case of conditional concatenation, when a word corresponds to the part of speech type of conditional concatenation, if any part of speech type of unconditional concatenation is adjacent to it, it will be concatenated. For example, in addition to ['noun', 'suffix', 'adjectival verb stem'], ['symbol', 'general', '*'], etc. are used.
[0039] In backward conditional concatenation, when a word corresponds to the part of speech type of backward conditional concatenation, if any part of speech type of unconditional concatenation is consecutive, it will be concatenated. For example, ['noun','adjectival verb stem','*'], ['noun','nai adjectival stem','*'], etc. are used. From the above example sentence, "interest rate GL" and "total profitability benchmark" are extracted as potential technical terms.
[0040] Next, the control unit 21 of the support server 20 executes a filtering process of the technical term candidates (step S24). Specifically, the management unit 211 of the control unit 21 performs, for example, a process of deleting unnecessary words, a process of dealing with excessively connected terms, and a process of excluding terms of other categories.
[0041] In the unnecessary word deletion process, the management unit 211 deletes unnecessary words included in the unnecessary word list from technical term candidates. In the process of dealing with excessively connected terms, the management unit 211 deletes excessively connected terms from technical term candidates using a "threshold (frequency) for deleting excessively connected terms."
[0042] In the process of excluding terms from other categories, the management unit 211 acquires documents from other categories other than the category of the specific business from the public document site 30. If the specific business is a finance category, for example, the manufacturing industry category is used as the other category. The management unit 211 acquires terms (other category terms) that appear frequently in sentences included in documents from other categories. Then, the management unit 211 excludes the other category terms from the technical term candidates. Then, the management unit 211 records the remaining technical term candidates in the dictionary storage unit 23 as technical terms.
[0043] (First extraction process of terms using a word segmentation tool) Next, the first term extraction process using the word segmentation tool will be described with reference to Fig. 5. In this first extraction process, the target document and the general document are mixed, and the word segmentation tool is applied.
[0044] Here, the control unit 21 of the support server 20 executes a text acquisition process (step S31). Specifically, the management unit 211 of the control unit 21 acquires the text of the target document recorded in the document storage unit 22 and the text of a general document acquired via the Internet. Here, text in the social category is acquired as a general document from the public document site 30.
[0045] Next, the control unit 21 of the support server 20 executes a word segmentation process (step S32). Specifically, the management unit 211 of the control unit 21 generates a first language model (SentencePiece model) and a first vocabulary file (Vocab file) by using a word segmentation tool for the document that is a mixture of the target document and the general document.
[0046] Next, the control unit 21 of the support server 20 executes a process of calculating the importance of each word included in the target document (step S33). Specifically, the management unit 211 of the control unit 21 calculates a tf-idf value (first importance) as the importance of each term included in the sentence of the target document.
[0047] Next, the control unit 21 of the support server 20 executes a process of calculating the importance of each word included in the general document (step S34). Specifically, the management unit 211 of the control unit 21 calculates the tf-idf value (second importance) of each term included in the sentence of the general document.
[0048] Next, the control unit 21 of the support server 20 executes a term matching process (step S35). Specifically, the management unit 211 of the control unit 21 compares the first importance and the second importance for each term commonly included in the target document and the general document.
[0049] Next, the control unit 21 of the support server 20 executes a technical term extraction process (step S36). Specifically, the management unit 211 of the control unit 21 extracts technical term candidates whose importance calculated from the sentences of the target document is greater than the importance calculated from the sentences of the general document by a reference value or more, as technical terms (first term group), and records them in the dictionary storage unit 23. Note that terms contained only in the target document are recorded as they are in the dictionary storage unit 23 as technical terms.
[0050] (Second term extraction process using a word segmentation tool) Next, the second term extraction process using the word segmentation tool will be described with reference to Fig. 6. In this second extraction process, the word segmentation tool is applied to the target document and the general document separately.
[0051] Here, the control unit 21 of the support server 20 executes a document acquisition process (step S41). Specifically, the management unit 211 of the control unit 21 acquires the target document recorded in the document storage unit 22 and the general document acquired via the Internet. Here, documents of all categories are acquired as general documents from the public document site 30.
[0052] Next, the control unit 21 of the support server 20 executes a word segmentation process for the target document (step S42). Specifically, the management unit 211 of the control unit 21 generates a second language model (SentencePiece model) and a second vocabulary file (Vocab file) by using a word segmentation tool for the sentences of the target document acquired from the document storage unit 22.
[0053] Next, the control unit 21 of the support server 20 executes a word segmentation process for the general document (step S43). Specifically, the management unit 211 of the control unit 21 uses a word segmentation tool for the sentence of the general document acquired from the public document site 30 to generate a third language model (SentencePiece model) and a third vocabulary file (Vocab file).
[0054] Next, the control unit 21 of the support server 20 executes a term matching process (step S44). Specifically, the management unit 211 of the control unit 21 compares the terms included in the second vocabulary file with the terms included in the third vocabulary file.
[0055] Next, the control unit 21 of the support server 20 executes a technical term extraction process (step S45). Specifically, the management unit 211 of the control unit 21 identifies terms that are included in the second vocabulary file but not included in the third vocabulary file as technical terms (fourth vocabulary file as the second term group) and records them in the dictionary storage unit 23.
[0056] According to this embodiment, the following effects can be obtained. (1) In this embodiment, the control unit 21 of the support server 20 executes a term extraction process using concatenation rules (step S11). Technical terms are often composed of compound words combining words, such as "debt repayment years" and "root mortgage." Therefore, by using concatenation rules, technical terms composed of compound words combining multiple words can be extracted.
[0057] (2) In this embodiment, the control unit 21 of the support server 20 executes a filtering process of technical term candidates (step S24). Here, unnecessary word deletion process, excessively connected term handling process, and other category term exclusion process are performed. The unnecessary word deletion process makes it possible to delete pre-set terms. Furthermore, the excessively connected term handling process may extract terms that are excessively connected according to the connection rules, but these can be deleted. Furthermore, the other category term exclusion process makes it possible to extract technical terms specialized in a specific field.
[0058] (3) In this embodiment, the control unit 21 of the support server 20 executes a term extraction process using a word segmentation tool (step S12). A word segmentation tool such as "SentencePiece" extracts a collection of characters that frequently appear consecutively, regardless of whether the words have meaning. This makes it possible to extract a character string that does not have an independent meaning as a technical term, even when "syndicate group" is abbreviated to "shi-dan."
[0059] (4) In this embodiment, the control unit 21 of the support server 20 executes a first extraction process of terms using a word segmentation tool. Technical terms are estimated to have high importance in a document. This makes it possible to extract technical terms according to the importance of words.
[0060] (5) In this embodiment, the control unit 21 of the support server 20 executes a second term extraction process using a word segmentation tool. Words that appear frequently in general documents are presumed not to be technical terms. This makes it possible to extract words that are only included in the target document as technical terms.
[0061] This embodiment can be modified as follows: This embodiment, the following embodiment, and the following modified examples can be combined with each other to the extent that there is no technical contradiction.
[0062] In the above embodiment, the control unit 21 of the support server 20 executes a term extraction process using a word segmentation tool (step S12). Here, a first term extraction process using a word segmentation tool and a second term extraction process using a word segmentation tool are executed. The term extraction process using the word segmentation tool is not limited to two types, and only one extraction process or the other extraction process may be used. In the above embodiment, the control unit 21 of the support server 20 executes a term extraction process using a word segmentation tool (step S12). Here, the parameters of the word segmentation tool may be adjusted according to the extraction status of words included in the dictionary. In this case, the word segmentation parameters are adjusted using the recall rate of technical terms extracted by the word segmentation tool. Here, the recall rate is the ratio of the number of technical terms that have been successfully extracted to the number of technical terms that should be extracted and are recorded in a predetermined reference dictionary.
[0063] (Parameter adjustment process) Next, the parameter adjustment process will be described with reference to FIG. Here, the control unit 21 of the support server 20 executes a process of calculating the recall rate (step S51). Specifically, the management unit 211 of the control unit 21 calculates the recall rate by comparing terms included in a reference dictionary created by a person with terms included in a dictionary generated using a target document.
[0064] Next, the control unit 21 of the support server 20 executes an evaluation process of the reproducibility (step S52). Specifically, the management unit 211 of the control unit 21 compares the reproducibility with a reference value. If the recall rate is lower than the reference value, the control unit 21 of the support server 20 executes a parameter adjustment process (step S53). Specifically, the management unit 211 of the control unit 21 adjusts at least one of the parameters of the word segmentation tool and the concatenation rule. The parameter of the word segmentation tool is the number of words (size) in the vocabulary file. The parameters of the concatenation rule are the threshold (frequency) for deleting unnecessary words, and the threshold (frequency) for deleting excessively concatenated terms.
[0065] In the above embodiment, a term extraction process (word segmentation extraction process) is executed using a word segmentation tool (step S12). Here, a first extraction process and a second extraction process are executed. Then, an unnecessary word deletion process is executed in each of the first extraction process and the second extraction process. Alternatively, the unnecessary word deletion process may be executed collectively in the first extraction process and the second extraction process. The third term extraction process using the word segmentation tool in this case will be described.
[0066] (The third extraction process of terms using a word segmentation tool) The third term extraction process using the word segmentation tool will be described with reference to FIG. Here, the control unit 21 of the support server 20 executes a process of generating a first vocabulary file in the first extraction process (step S61) and a process of generating a fourth vocabulary file in the second extraction process (step S62). In the first extraction process, the target document and the general document are mixed and the word segmentation tool is applied. In the second extraction process, the word segmentation tool is applied to the target document and the general document individually.
[0067] Next, the control unit 21 of the support server 20 executes a combining process (step S63). Specifically, the management unit 211 of the control unit 21 combines the terms included in the first vocabulary file and the terms included in the fourth vocabulary file to generate a fifth vocabulary file.
[0068] Next, the control unit 21 of the support server 20 executes an extraction process of technical term candidates according to the importance (step S64). Specifically, the management unit 211 of the control unit 21 calculates a tf-idf value as the importance of each term included in the fifth vocabulary file. The management unit 211 also calculates the importance of words included in general documents of the social category. Then, the management unit 211 compares the importance calculated from the target document with the importance calculated from the general document for each term. Next, the management unit 211 extracts technical term candidates whose importance calculated from the target document is greater than the importance calculated from the general document by a reference value or more. In this process, too, terms included only in the target document are recorded as technical terms in the dictionary storage unit 23 as they are.
[0069] Next, the control unit 21 of the support server 20 executes an unnecessary word deletion process using a word segmentation tool (step S65). Specifically, the management unit 211 of the control unit 21 generates a sixth language model (SentencePiece model) and a sixth vocabulary file (Vocab file) by using the word segmentation tool for the general document acquired from the public document site 30. Next, the management unit 211 compares the terms included in the fifth vocabulary file with the terms included in the sixth vocabulary file. Then, the management unit 211 identifies the terminology candidates extracted in step S64 that are not included in the sixth vocabulary file as technical terms. This makes it possible to narrow down technical terms by deleting unnecessary words contained in terms that were extracted separately in the first and second extraction processes using the word segmentation tool.
[0070] In the above embodiment, a term extraction process based on a concatenation rule (step S11) and a term extraction process based on a word segmentation tool (step S12) are executed. In addition to this, deep learning may be used. In this case, for example, the management unit 211 uses BERT (Bidirectional Encoder Representations from Transformers). This BERT uses a neural network called a transformer. The transformer interprets words by considering the surrounding context for both the input and output. This makes BERT bidirectional, and understands sentences while considering both the previous and following words. In this BERT, machine learning is performed by masking technical terms in the teacher sentence. Then, the management unit 211 adds the technical terms extracted by this BERT to the dictionary storage unit 23.
[0071] In the above embodiment, a term dictionary is created using a term extraction process based on concatenation rules (step S11) and a term extraction process based on a word segmentation tool (step S12). In addition, a thesaurus may be created using technical terms extracted by each process.
[0072] (Thesaurus generation process) Next, the thesaurus generation process will be described with reference to FIG. First, the control unit 21 of the support server 20 executes a vectorization process (step S71). Specifically, the management unit 211 of the control unit 21 calculates a distributed representation of each extracted technical term, thereby vectorizing each term.
[0073] Next, the control unit 21 of the support server 20 executes a grouping process of technical terms (step S72). Specifically, the management unit 211 of the control unit 21 uses the vectors of technical terms to form groups using technical terms whose vectors are included in a predetermined range, and extracts synonyms.
[0074] Next, the control unit 21 of the support server 20 executes a process of setting superordinate and subordinate concepts (step S73). Specifically, the management unit 211 of the control unit 21 calculates a centroid vector of each vector of the grouped technical terms. Then, the management unit 211 performs hierarchical organization by setting technical terms having vectors close to the centroid as superordinate concepts and technical terms having vectors far from the centroid vector as subordinate concepts.
[0075] Another thesaurus generation process will be described with reference to FIG. Here, the control unit 21 of the support server 20 executes a graph neural network generation process (step S81). Specifically, the management unit 211 of the control unit 21 generates a graph neural network (GNN) for the grouped technical terms. This GNN generates a network in which each of the technical terms included in the group is linked.
[0076] Next, the control unit 21 of the support server 20 executes a process of setting superordinate and subordinate concepts (step S82). Specifically, the management unit 211 of the control unit 21 specifies a term having a large number of links and located at a central node as a technical term of a superordinate concept, and specifies a technical term having a small number of links as a subordinate concept, thereby performing hierarchical organization.
[0077] In the above embodiment, the control unit 21 of the support server 20 executes a polarity assignment process (step S13). Using the technical term vector obtained during this polarity assignment, an unnecessary word deletion process may be executed to delete unnecessary words.
[0078] (Unnecessary word removal process) Next, the unnecessary word deletion process will be described with reference to FIG. Here, the control unit 21 of the support server 20 executes a clustering process (step S91). Specifically, the management unit 211 of the control unit 21 acquires a vector of the technical term used when assigning polarity. Then, the management unit 211 performs clustering using this vector.
[0079] Next, the control unit 21 of the support server 20 executes a process of deleting unnecessary words by clustering (step S92). Specifically, the management unit 211 of the control unit 21 distinguishes between clusters consisting of technical terms and clusters containing unnecessary words in the vector space. The clusters containing unnecessary words may be manually identified by outputting the terms contained in each cluster to the display device H13. Also, a cluster containing fewer terms than a reference value may be identified as a cluster of unnecessary words.
[0080] In this case, as shown in FIG. 12, in the vector space, the unnecessary word cluster C2 is deleted from the technical term cluster C1. Moreover, terms contained in a cluster that does not contain terms contained in a reference dictionary prepared in advance may be identified as unnecessary words. In addition, the control unit 21 of the support server 20 executes a process of deleting unnecessary words by an anomaly detection method (step S93). Specifically, the management unit 211 of the control unit 21 identifies terms that are separated from the cluster of technical terms by a predetermined distance or more, and deletes them as unnecessary words. In this case, as shown in FIG. 12, unnecessary words W1 that are far from the technical term cluster C1 in the vector space are deleted.
[0081] In the above embodiment, the control unit 21 of the support server 20 executes a filtering process of technical term candidates (step S24). In the process of excluding terms of other categories, if the specific business is set to the finance category, for example, the manufacturing industry category is used as the other category. The control unit 21 of the support server 20 also executes a text acquisition process (step S31). Here, text of the social category is acquired as a general document from the public document site 30. The other categories for the specific business are not limited to these. For example, a category that realizes an appropriate distance may be selected by calculating the distance between the center of the term (unnecessary word) group in each category of the public document site 30 and the center of the technical term group in the reference dictionary.
[0082] In the above embodiment, the control unit 21 of the support server 20 executes a term extraction process using concatenation rules (step S11). Here, the support server 20 may create concatenation rules. In this case, the essential terms to be extracted are set in advance. In this case, the control unit 21 of the support server 20 performs a morphological analysis of the essential terms to break them down into parts of speech. Then, the control unit 21 arranges the broken down parts of speech to generate concatenation rules to be used in the process of extracting technical term candidates (step S23). [Explanation of symbols]
[0083] 10...user terminal, 20...support server, 21...control unit, 211...management unit, 212...morpheme analysis unit, 213...segmentation processing unit, 214...importance evaluation unit, 215...polarity assignment unit, 22...document storage unit, 23...dictionary storage unit, 30...public document server.
Claims
1. A dictionary creation system comprising: a document storage unit that records a target document; and a control unit that extracts technical terms from the target document, The control unit: a concatenation rule application process for extracting a first term group by applying a concatenation rule to a result of the morphological analysis of the target document; a word segmentation extraction process for extracting a second term group from the target document by word segmentation; and creating a term dictionary based on the terms extracted in the concatenation rule application process and the word segmentation extraction process.
2. 2. The dictionary creation system according to claim 1, wherein the control unit extracts the first term group according to a combination pattern of parts of speech that may become technical terms in the concatenation rule application process.
3. 3. The dictionary creation system according to claim 1, wherein the control unit, in the concatenation rule application process, deletes technical term candidates in accordance with a decrease in frequency of occurrence when predetermined terms are concatenated.
4. 3. The dictionary creation system according to claim 1, wherein the control unit, in the concatenation rule application process, excludes terms contained in documents in a category different from that of the target document.
5. In the word segmentation extraction process, A first language model is generated by combining the target document and a general document to calculate the importance of words; Calculating a first importance of each word in the target document using the first language model; Calculating a second importance of each word in the general document using the first language model; The dictionary creation system described in claim 1, characterized in that the term dictionary is created using words extracted only from the target document and words that are common to the target document and general documents and whose first importance is higher than the second importance.
6. In the word segmentation extraction process, generating a second language model that calculates the importance of words using the target document; A third language model is generated using general documents to calculate the importance of words; The dictionary creation system according to claim 1, characterized in that the term dictionary is created by comparing words extracted from the target document using the second language model with words extracted from the general document using the third language model.
7. A method for creating a term dictionary using a dictionary creation system including a document storage unit that records a target document and a control unit that extracts technical terms from the target document, the method comprising: The control unit: a concatenation rule application process for extracting a first term group by applying a concatenation rule to a result of the morphological analysis of the target document; a word segmentation extraction process for extracting a second term group from the target document by word segmentation; and creating a term dictionary based on the terms extracted in the concatenation rule application process and the word segmentation extraction process.
8. A program for creating a term dictionary using a dictionary creation system including a document storage unit that records a target document and a control unit that extracts technical terms from the target document, the program comprising: The control unit, a concatenation rule application process for extracting a first term group by applying a concatenation rule to a result of the morphological analysis of the target document; a word segmentation extraction process for extracting a second term group from the target document by word segmentation; A dictionary creation program for functioning as a means for executing a process of creating a term dictionary based on the terms extracted in the concatenation rule application process and the word segmentation extraction process.
Citation Information
Patent Citations
Document processor
JP1997212492A
Method and system for generating dictionary to be used in natural language processing
JP2021051613A
Dictionary editing device, dictionary editing method, and dictionary editing program
JP2022074852A
Term dictionary creation device, term dictionary creation method, and program
JP2021026586A
Cited By
Information processing method, information processing device, and computer program
JP2026131590A
