A method and device for constructing a feature comparison library supporting semantic duplication and novelty checking

The construction of a semantic multi-dimensional index database through knowledge element analysis and semantic calculation solves the problem of insufficient deep semantic mining of texts in the existing technology, improves the accuracy and query efficiency of the comparison database, and achieves precise positioning and identification of text information. match.

CN118245564BActive Publication Date: 2024-10-11DOCUMENT & INFORMATION CENT OF CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410446552.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-11
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

The existing comparison library construction process relies on keyword matching and word frequency statistics, and lacks mining of the deep semantics of the text, resulting in low efficiency of information retrieval and comparison, inefficient indexing mechanism, and inability to accurately locate the information required by users.

Method used

It uses knowledge element analysis, keyword identification, feature vectorization, and semantic calculation to build a semantic multi-dimensional index database. Through the new multi-level duplication checking technology, it can realize the mining of deep semantics of text and the utilization of multi-level structures.

Benefits of technology

It improves the accuracy and query efficiency of the comparison database, can locate and match text information more accurately, and improves the accuracy and efficiency of information retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245564B_ABST
    Figure CN118245564B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for constructing a feature comparison library supporting semantic duplicate and novel check, and relates to the field related to artificial intelligence. The method comprises: importing a domain text library, parsing the domain text library using a knowledge element parsing module, and outputting multiple levels of knowledge elements; performing keyword recognition respectively, and outputting keyword feature vectors corresponding to each level of knowledge element; performing semantic calculations, and obtaining multiple semantic features corresponding to each level of knowledge element; constructing a semantic multidimensional index library; and performing multi-level duplicate and novel check on the first text to be checked using the semantic multidimensional index library. The method solves the technical problems of insufficient semantic mining, low data processing efficiency, and inefficient indexing mechanism in the construction and query of the existing comparison library, and achieves the technical effect of realizing the mining of the deep semantics of the text and the utilization of the multi-level structure, and improving the accuracy of the comparison library and the query efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to artificial intelligence related fields, and in particular to a method and device for constructing a feature comparison library that supports semantic duplication and novelty checking. Background Art

[0002] With the rapid development of information technology, the processing and utilization of text data has become an indispensable part of promoting the development of various industries, especially in the fields of information retrieval, text duplication detection, content recommendation, etc., the construction of comparison database plays a vital role. The existing comparison database construction process mainly relies on surface text processing methods such as keyword matching and word frequency statistics, lacking the mining of deep semantics of text, which may lead to misunderstandings or omissions in the subsequent information retrieval and comparison process. In addition, when querying information, traditional comparison databases usually need to traverse a large amount of text data. This traversal query method not only has a heavy computational burden, but also has low data processing efficiency. At the same time, when constructing the comparison database index, the existing technology often does not fully consider the multi-level nature of the text structure. This indiscriminate processing method leads to inefficient indexing mechanism and inability to accurately locate the information required by users.

[0003] In the current related technologies, there are technical problems in the construction and query of comparison libraries, such as insufficient semantic mining, inefficient data processing and inefficient indexing mechanism. Summary of the invention

[0004] The present application provides a method and device for constructing a feature comparison library that supports semantic duplicate and novelty checking, and adopts technical means such as knowledge meta-analysis, keyword recognition and feature vectorization, semantic computing, construction of a semantic multidimensional index library, and multi-level duplicate and novelty checking to achieve the technical effect of mining the deep semantics of the text and utilizing the multi-level structure, thereby improving the accuracy of the comparison library and the query efficiency.

[0005] The present application provides a method for constructing a feature comparison library that supports semantic duplication and novelty checking, including:

[0006] Importing a domain text library, parsing the domain text library using a knowledge element parsing module, and outputting multiple levels of knowledge elements;

[0007] Perform keyword recognition on the multiple levels of knowledge elements respectively, and output a keyword feature vector corresponding to each level of knowledge element;

[0008] Perform semantic calculation on the keyword feature vector corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors;

[0009] According to the multiple semantic features corresponding to each level of knowledge element, a semantic multidimensional index library is constructed, wherein the semantic multidimensional index library includes multiple index comparison libraries, and the multiple index comparison libraries correspond to the multiple levels of knowledge elements;

[0010] The semantic multidimensional index library is used to perform multi-level duplication and novelty checking on the first text to be checked.

[0011] In a possible implementation, the following processing is performed:

[0012] The multiple levels of knowledge elements include chapter knowledge elements, paragraph knowledge elements, sentence knowledge elements and term knowledge elements, and the constructed semantic multidimensional index library includes a chapter index comparison library, a paragraph index comparison library, a sentence index comparison library and a term index comparison library;

[0013] The chapter index comparison library and the paragraph index comparison library are indexed by a first semantic feature group, and the first semantic feature group includes a speech step label and a text vector;

[0014] The sentence index comparison library and the term index comparison library are indexed with a second semantic feature group, and the second semantic feature group includes scientific research entities and text vectors.

[0015] In a possible implementation, the speech step label is obtained and the following processing is performed:

[0016] Determine the speech step elements, extract the keyword feature vector corresponding to each level of knowledge element by using the speech step elements, and output the speech step label corresponding to each level of knowledge element.

[0017] In a possible implementation, the scientific research entity is obtained and the following processing is performed:

[0018] Extracting keyword feature vectors corresponding to each level of knowledge element using the trained bidirectional transformer model, and outputting the scientific research entity;

[0019] Among them, the bidirectional transformer model includes a first task network layer and a second task network layer. The first task network layer is used to perform scientific research entity prediction training on the keyword feature vectors corresponding to each level of knowledge element, and the second task network layer is used to perform continuity prediction on the keyword feature vectors corresponding to each level of knowledge element and analyze the continuity between two knowledge elements at the same level.

[0020] In a possible implementation, the text vector is obtained and the following processing is performed:

[0021] Establish a high-dimensional vector mapping space with semantic dimension, semantic relevance and semantic interpretability;

[0022] The keyword feature vector corresponding to each level of knowledge element is input into the high-dimensional vector mapping space for high-dimensional mapping, and the text vector corresponding to each level of knowledge element is output according to the result of the high-dimensional mapping.

[0023] In a possible implementation, the semantic multidimensional index library is used to perform multi-level duplicate and novelty checking on the first text to be checked, and the following processing is performed:

[0024] Acquire the domain features of the first text to be searched;

[0025] Matching is performed from the semantic multidimensional index library according to the domain features, and outputting a semantic multidimensional index library based on the matching domain of the first text to be searched;

[0026] The semantic multidimensional index library of the matching field is used to perform multi-level duplication and novelty checking on the first text to be checked.

[0027] In a possible implementation, the semantic multidimensional index library of the matching field is used to perform multi-level duplicate and novelty checking on the first text to be checked, and the following processing is performed:

[0028] Extracting a text vector of the first text to be searched;

[0029] Based on the text vector of the first to-be-searched text, multi-level similarity recognition is performed in a semantic multi-dimensional index library of a matching field, and a multi-level similarity index is output;

[0030] According to the multi-level similarity index, the duplicate checking and novelty checking results are output.

[0031] The present application also provides a feature comparison library construction device supporting semantic duplication and novelty checking, comprising:

[0032] A plurality of hierarchical knowledge element output modules, wherein the plurality of hierarchical knowledge element output modules are used to import a domain text library, parse the domain text library using a knowledge element parsing module, and output a plurality of hierarchical knowledge elements;

[0033] A keyword feature vector output module, the keyword feature vector output module is used to perform keyword recognition on the multiple levels of knowledge elements respectively, and output a keyword feature vector corresponding to each level of knowledge element;

[0034] Multiple semantic feature acquisition modules, which are used to perform semantic calculations on keyword feature vectors corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors;

[0035] A semantic multidimensional index library construction module, wherein the semantic multidimensional index library construction module is used to construct a semantic multidimensional index library according to a plurality of semantic features corresponding to each level of knowledge element, wherein the semantic multidimensional index library includes a plurality of index comparison libraries, and the plurality of index comparison libraries correspond to the plurality of levels of knowledge elements;

[0036] A multi-level duplicate and novelty checking module is used to perform a multi-level duplicate and novelty checking on the first text to be checked by using the semantic multidimensional index library.

[0037] The present application also provides an electronic device, including:

[0038] A memory for storing executable instructions;

[0039] The processor is used to implement a method for constructing a feature comparison library that supports semantic duplication and novelty checking when executing the executable instructions stored in the memory.

[0040] The present application also provides a computer-readable storage medium, comprising:

[0041] A computer program is stored thereon, which, when executed by a processor, implements a method for constructing a feature comparison library that supports semantic duplication and novelty checking.

[0042] The present application proposes a method and device for constructing a feature comparison library that supports semantic duplicate and novelty checking. First, a domain text library is imported, and the domain text library is parsed using a knowledge element parsing module to output multiple levels of knowledge elements. Then, keyword recognition is performed on the multiple levels of knowledge elements respectively, and a keyword feature vector corresponding to each level of knowledge element is output. Then, semantic calculation is performed on the keyword feature vector corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors. Then, according to the multiple semantic features corresponding to each level of knowledge element, a semantic multidimensional index library is constructed, wherein the semantic multidimensional index library includes multiple index comparison libraries, and the multiple index comparison libraries correspond to multiple levels of knowledge elements. Finally, the semantic multidimensional index library is used to perform multi-level duplicate and novelty checking on the first text to be checked, thereby achieving the technical effect of realizing the mining of deep semantics of the text and the utilization of multi-level structures, and improving the accuracy of the comparison library and the query efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the device according to the embodiment of the present application. It should be understood that the previous or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0044] Figure 1 A flowchart of a method for constructing a feature comparison library supporting semantic duplicate and novelty checking provided in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the structure of a feature comparison library construction device supporting semantic duplicate and novelty checking provided in an embodiment of the present application;

[0046] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0048] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0049] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0050] The present application embodiment provides a method for constructing a feature comparison library that supports semantic duplication and novelty checking, such as Figure 1 As shown, the method includes:

[0051] Step S100, importing a domain text library, parsing the domain text library using a knowledge element parsing module, and outputting multiple levels of knowledge elements. Specifically, the domain text library refers to a text file library in a specific field, such as academic papers, patent documents, technical reports, etc. The collected text file collection in a specific field is imported into the device, and the imported text is preprocessed, such as removing noise, unifying the format, etc., and the domain text library is parsed using a knowledge element parsing module, wherein the knowledge element parsing module is a tool or component specifically used to extract and parse different levels of knowledge elements from text, and the knowledge element parsing module parses each text in the domain text library, including the removal of irrelevant characters, punctuation marks, stop words, text segmentation, part-of-speech tagging, etc. in the preprocessing stage, and named entity recognition, syntactic analysis, semantic role labeling, etc. in the knowledge element extraction stage, and different knowledge elements are extracted through the processing and recognition of the knowledge element parsing module, including terms, concepts, entities, relationships, events, etc. According to the importance and relevance of the extracted knowledge elements, the knowledge elements are organized into multiple levels based on their granularity, degree of abstraction or logical structure. For example, the topic-level knowledge elements contain the main concepts of the entire text, and the sub-topic-level knowledge elements further refine the main concepts.

[0052] Step S200, keyword recognition is performed on the multiple hierarchical knowledge elements respectively, and the keyword feature vector corresponding to each hierarchical knowledge element is output. Specifically, according to the domain characteristics and text type, keyword recognition algorithms, such as TF-IDF (term frequency-inverse document frequency), TextRank, and keyword extraction methods based on deep learning, are used to extract keywords from multiple hierarchical knowledge elements respectively, and keywords that can represent each level and content are extracted. For example, keywords that can reflect the theme and content of the full text, keywords that reflect the theme and content of the chapter, keywords that reflect the theme and content of the paragraph, and keywords that reflect the theme and content of the sentence are extracted respectively. In order to reflect the importance of keywords in each level, weight calculation can be performed on the keywords. The keywords extracted from each hierarchical knowledge element and their weights (if any) are combined into a keyword feature vector. For knowledge elements of different levels, the length and dimension of the keyword feature vector may be different due to differences in the number and distribution of keywords.

[0053] Step S300, perform semantic calculation on the keyword feature vector corresponding to each level of knowledge element, and obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors. Specifically, initialize the semantic calculation model, the semantic calculation model is obtained through training based on deep learning, natural language processing or knowledge graph, input the keyword feature vector corresponding to each level of knowledge element into the semantic calculation model, the semantic calculation model encodes these keyword feature vectors, and converts the keyword feature vectors into high-level semantic representations. Using the semantic representation output by the semantic computing model, combined with the domain-specific speech step label library or rules, identify and extract the speech step labels corresponding to each level of knowledge element. The speech step labels are used to identify the functions and roles of different parts in the text (such as introduction, method, conclusion, etc.); using named entity recognition technology or domain-specific entity recognition methods, extract scientific research entities from the semantic representation of the semantic computing model. The scientific research entities refer to nouns or phrases related to scientific research that appear in the text, such as names of people, names of institutions, technical terms, etc.; using the last hidden state of the deep learning model (such as BERT, RoBERTa, etc.) as the representation of the text vector, or generating a text vector by aggregating or encoding the keyword feature vector, the text vector is a continuous numerical representation of the content of the entire level of knowledge element, which can capture the overall semantic information. The extracted speech step labels, scientific research entities and text vectors are used as multiple semantic features corresponding to each level of knowledge element.

[0054] In a possible implementation, the speech step label is obtained, and step S300 further includes step S310, determining speech step elements, extracting the keyword feature vector corresponding to each hierarchical knowledge element with the speech step elements, and outputting the speech step label corresponding to each hierarchical knowledge element. Specifically, speech step elements refer to keywords or phrases that can identify different speech step types in the text. Speech step elements are domain-specific terms, common speech step identifiers or phrases, etc. According to domain knowledge and text characteristics, a set of speech step element lists suitable for the current task is defined. The defined speech step elements are organized into a dictionary form using a hash table, a tree structure or other data structure. For the keyword feature vector corresponding to each hierarchical knowledge element, the keywords in the keyword feature vector are traversed, matched with the speech step element dictionary, and the keywords matching the speech step elements are identified, and these keywords are extracted as speech step element instances in the hierarchical knowledge element. According to the extracted speech step element instances, combined with domain knowledge and text structure, the corresponding speech step label is determined for each hierarchical knowledge element. The speech step label can be one or more, which is used to identify the role and function of the hierarchical knowledge element in the text. The determined speech step labels are associated with the corresponding hierarchical knowledge elements, and the speech step labels corresponding to each hierarchical knowledge element are output. This implementation method uses a method based on keyword and speech step element matching to obtain speech step labels, which can better adapt to the characteristics of different fields and achieve the technical effect of improving accuracy, interpretability and flexibility while maintaining high processing efficiency.

[0055] In a possible implementation, the scientific research entity is obtained, and step S300 further includes step S320, using the trained bidirectional transformer model to extract the keyword feature vector corresponding to each level of knowledge element, and output the scientific research entity. Specifically, a pre-trained bidirectional transformer model (such as BERT or a similar model) is loaded, and the keyword feature vector corresponding to each level of knowledge element is subjected to necessary preprocessing, such as removing stop words, stem extraction, etc. The preprocessed keyword feature vector is input into the bidirectional transformer model, and the bidirectional transformer model uses its internal self-attention mechanism to encode the keyword feature vector and generate a context-related representation. The encoded representation is decoded through the entity recognition layer (such as a conditional random field CRF layer or a softmax layer) in the bidirectional transformer model, and the recognition result of the scientific research entity is output. Step S330, wherein the bidirectional transformer model includes a first task network layer and a second task network layer, wherein the first task network layer is used to perform scientific research entity prediction training on the keyword feature vectors corresponding to each level of knowledge element, and the second task network layer is used to perform continuity prediction on the keyword feature vectors corresponding to each level of knowledge element, and analyze the continuity between two knowledge elements of the same level. Specifically, the first task network layer is used to perform prediction training on scientific research entities, receive preprocessed keyword feature vectors as input, encode these keyword feature vectors using the self-attention mechanism of the bidirectional transformer model, generate context-related representations, and then decode these encoded representations through the entity recognition layer to output the recognition results of the scientific research entities. During the training process, the first task network layer uses labeled scientific research entity data to optimize model parameters so that the model can more accurately identify scientific research entities in the text. The second task network layer is used to analyze the continuity between knowledge elements at the same level. Continuity refers to the logical association, semantic relevance or other forms of continuity of knowledge elements in the text. According to the characteristics of scientific research texts and task requirements, the continuity measurement index is defined. The continuity measurement index can be based on the similarity of text content, the closeness of semantic relations, etc. The second task network layer also receives the preprocessed keyword feature vector as input and encodes it using a bidirectional transformer model. The encoded representation is further processed by a specific network structure (such as a fully connected layer or a recurrent neural network) to capture the association pattern between knowledge elements, and finally outputs the result of continuity prediction. The result of continuity prediction can be a continuous score, category label or other form of representation. This implementation method realizes the collaborative learning of the two tasks of scientific research entity prediction and continuity prediction by introducing the first task network layer and the second task network layer, enriches the information content of semantic features, helps to more accurately identify similar or related text content, and achieves the technical effect of improving the accuracy and effectiveness of the semantic multidimensional index library.

[0056] In a possible implementation, the text vector is obtained, and step S300 further includes step S340, which establishes a high-dimensional vector mapping space with semantic dimensions, semantic relevance, and semantic interpretability. Specifically, the semantic dimension refers to the dimension or attribute that represents the semantic features of the text, which is used to capture the key information in the text and make the text representation in the vector space distinctive and comparable. According to domain knowledge and text characteristics, a set of dimensions that can fully express the semantics of the text is determined, such as themes, emotions, entities, etc. The semantic dimension determines the complexity and representation ability of the text vector; the semantic relevance describes the semantic connection or similarity between different texts or text fragments, which is used to capture the intrinsic connection between texts and enable the vector space to reflect the actual structure and relationship of text data; the semantic interpretability refers to the ability of the text vector representation to intuitively reflect the semantic information of the text. Establishing a high-dimensional vector mapping space based on semantic dimension, semantic relevance and semantic interpretability is to construct a vector space that can reflect the semantic features of the text. In this space, each text is represented as a vector, each dimension of the vector corresponds to a semantic feature, and the relevance between the vectors reflects the semantic connection between the texts. At the same time, this vector representation also has good interpretability and can intuitively reflect the semantic information of the text. Step S350, input the keyword feature vector corresponding to each level of knowledge element into the high-dimensional vector mapping space for high-dimensional mapping, and output the text vector corresponding to each level of knowledge element according to the result of the high-dimensional mapping. Specifically, the keyword feature vector corresponding to each level of knowledge element is preprocessed as necessary, such as standardization, normalization, etc., so that the keyword feature vector can adapt to the requirements of the high-dimensional vector mapping space, and the preprocessed keyword feature vector is input into the high-dimensional vector mapping space, and the mapping mechanism of the high-dimensional vector mapping space is used to convert the preprocessed keyword feature vector into a high-dimensional vector through mathematical operations and model reasoning, and the high-dimensional vector obtained after mapping is output as the text vector corresponding to each level of knowledge element. This implementation method uses a high-dimensional vector mapping space based on semantic dimensions, semantic relevance, and semantic interpretability to obtain text vectors, which fully captures the semantic information of the text, reflects the intrinsic connections between texts, improves the interpretability of text processing results, and achieves the technical effect of accurately expressing the semantic information of the text, providing strong support for the construction of a semantic multidimensional index library and duplicate and novelty checking operations.

[0057] Step S400, according to the multiple semantic features corresponding to each level of knowledge element, a semantic multidimensional index library is constructed, wherein the semantic multidimensional index library includes multiple index comparison libraries, and the multiple index comparison libraries correspond to the multiple level of knowledge elements. Specifically, according to the type and quantity of semantic features, the structure of the semantic multidimensional index library is determined, such as a tree structure, a hash table, an inverted index or other data structure suitable for multidimensional data indexing. For each level of knowledge element, according to its corresponding multiple semantic features (such as speech step labels, scientific research entities, text vectors, etc.), a corresponding index comparison library is constructed, each index comparison library contains an identifier (such as ID) that can uniquely identify the level of knowledge element and the semantic feature information associated with it, the semantic feature is encoded, and the encoded semantic feature is stored in the corresponding index comparison library to ensure that the level of knowledge elements with the same or similar semantic features can be quickly located. Use pointers, links or other data structures to establish index associations between knowledge elements of different levels in the semantic multidimensional index library, so that in the process of checking for duplicates and novelties, knowledge elements can be compared and matched across levels to find potential similarities or correlations. The constructed semantic multidimensional index library is optimized by using compression algorithms to reduce the index size and caching mechanisms to accelerate common queries, thereby improving query speed and comparison efficiency. In addition, the semantic multidimensional index library is regularly updated and maintained according to actual conditions to adapt to new data changes and query requirements.

[0058] In a possible implementation, step S400 further includes step S410, wherein the multiple hierarchical knowledge elements include chapter knowledge elements, paragraph knowledge elements, sentence knowledge elements, and term knowledge elements, and the constructed semantic multidimensional index library includes a chapter index comparison library, a paragraph index comparison library, a sentence index comparison library, and a term index comparison library; step S420, wherein the chapter index comparison library and the paragraph index comparison library are indexed with a first semantic feature group, and the first semantic feature group includes a speech step label and a text vector. Specifically, for the chapter knowledge element and the paragraph knowledge element, the corresponding speech step label and text vector are extracted as the first semantic feature group, and the chapter index comparison library and the paragraph index comparison library are constructed using the extracted first semantic feature group, and the chapter index comparison library associates the chapter knowledge element with its corresponding speech step label and text vector, and the paragraph index comparison library associates the paragraph knowledge element with its corresponding speech step label and text vector. Step S430, the sentence index comparison library and the term index comparison library are indexed with a second semantic feature group, and the second semantic feature group includes scientific research entities and text vectors. Specifically, for sentence knowledge elements and term knowledge elements, their corresponding scientific research entities and text vectors are extracted as the second semantic feature group, and the extracted second semantic feature group is used to construct a sentence index comparison library and a term index comparison library. The sentence index comparison library associates sentence knowledge elements with their corresponding scientific research entities and text vectors, and the term index comparison library associates term knowledge elements with their corresponding scientific research entities and text vectors. In this implementation, for high-level knowledge elements such as chapters and paragraphs, the introduction of speech step labels as one of the index features helps to semantically classify and distinguish them, thereby supporting higher-level text analysis and understanding. For low-level knowledge elements such as sentences and terms, the introduction of scientific research entities as one of the index features can effectively locate and understand this information in the text. Whether for high-level or low-level knowledge elements, text vectors are one of the index features. Text vectors enable operations such as comparison, clustering and search of texts in numerical space, thereby supporting various text analysis tasks. Therefore, the semantic multidimensional index library constructed through the above steps not only takes into account the multi-level structure of the text, but also utilizes rich semantic features, achieving the technical effect of providing accurate and efficient support for subsequent duplicate and novelty checking operations.

[0059] Step S500, using the semantic multidimensional index library to perform multi-level duplicate and novelty checking on the first text to be checked. Specifically, the first text to be checked is imported into the device for hierarchical division and keyword recognition, and the parsing process is similar to steps S100 and S200, the first text to be checked is decomposed into corresponding hierarchical knowledge elements, and the keyword feature vector is extracted. The keyword feature vector obtained by parsing is semantically calculated to extract multiple semantic features of the first text to be checked, including speech step labels, scientific research entities and text vectors. Create a duplicate and novelty checking task in the device, and configure relevant parameters according to actual needs, such as duplicate checking thresholds, novelty checking strategies, etc. According to the hierarchical structure of the first text to be checked, the index comparison library of the corresponding level is obtained from the semantic multidimensional index library, and the semantic features of the first text to be checked are used to perform a level-by-level comparison operation in the index comparison library. During the comparison process, cosine similarity, Euclidean distance and other measurement methods can be used to calculate the similarity between the first text to be checked and the features in the index comparison library. According to the comparison results, the text content similar to or repeated with the first text to be checked is identified, and the text whose similarity exceeds the preset threshold is regarded as a duplicate or similar text, and is output as the result of the duplicate check and novelty check. The results of the duplicate check and novelty check are organized into a report form, including a list of similar or repeated texts, similarity scores, citations and other information. The report can be presented in a visual way, which is convenient for users to quickly understand the results of the duplicate check and novelty check. The embodiment of the present application adopts technical means such as knowledge element analysis, keyword recognition and feature vectorization, semantic computing, construction of a semantic multidimensional index library, and multi-level duplicate check and novelty check, so as to achieve the mining of the deep semantics of the text and the utilization of the multi-level structure, and improve the accuracy of the comparison library and the technical effect of query efficiency.

[0060] In a possible implementation, step S500 further includes step S510, obtaining the domain features of the first text to be checked. Specifically, the first text to be checked is parsed, and key information such as keywords, terms, sentences, etc. are extracted. According to the extracted key information, combined with the domain knowledge base or classification model, the field or subject to which the first text to be checked belongs is determined. The domain features can be subject classification, research direction, application field, etc. Step S520, matching is performed from the semantic multidimensional index library according to the domain features, and the semantic multidimensional index library based on the matching field of the first text to be checked is output. Specifically, according to the domain features determined in step S510, the semantic multidimensional index library of the matching field of the first text to be checked is screened out from the constructed semantic multidimensional index library, and the semantic multidimensional index libraries of these matching fields contain texts and semantic features related to the field of the first text to be checked. Step S530, the semantic multidimensional index library of the matching field is used to perform multi-level duplicate and novelty checking on the first text to be checked. Specifically, the hierarchical structure of the first text to be checked is parsed, and it is divided into different hierarchical knowledge elements, such as chapters, paragraphs, sentences, etc. For each hierarchical knowledge element, its corresponding semantic features, such as scientific research entities, speech step labels, text vectors, etc., are extracted, and the hierarchical knowledge elements and semantic features of the first text to be checked are compared and matched with the contents in the semantic multidimensional index library of the matching field using the semantic multidimensional index library of the matching field, and multi-level duplicate and novelty checking operations are realized by calculating similarity, finding duplicate content, etc., and according to the results of the comparison and matching, the text content similar to or repeated with the first text to be checked, as well as the relevant matching degree and detailed information are output. This implementation method selects a matching semantic multidimensional index library according to the field characteristics of the first text to be checked, and uses the semantic multidimensional index library of the matching field to perform multi-level duplicate and novelty checking operations, so that the operation can not only perform more refined analysis and comparison for a specific field, but also achieve the technical effect of improving the accuracy of duplicate and novelty checking.

[0061] In a possible implementation, step S530 further includes step S531, extracting the text vector of the first text to be checked. Specifically, the first text to be checked is preprocessed, such as word segmentation, stop word removal, etc., and the first text to be checked is converted into a text vector using a trained text vectorization model. Step S532, multi-level similarity recognition is performed based on the text vector of the first text to be checked in the semantic multidimensional index library of the matching field, and a multi-level similarity index is output. Specifically, the text vector of the first text to be checked is calculated for similarity with the text vector in the semantic multidimensional index library of the matching field. The semantic multidimensional index library of the matching field contains knowledge elements of different levels, and similarity recognition is performed at multiple levels at the same time, such as chapter level, paragraph level, sentence level, and term level. According to the similarity calculation results, the existing texts with similarity to the first text to be checked are identified at which levels, and a similarity index is generated. The similarity index can be a numerical value indicating the degree of similarity, or a classification label indicating the level of similarity (such as high similarity, medium similarity, low similarity, etc.). The similarity indexes calculated at different levels between the first text to be checked and the existing knowledge elements are combined to form the multi-level similarity index, which contains the similarity values ​​or classification labels of knowledge elements at different levels. Step S533, output the duplicate search and novelty search results according to the multi-level similarity index. Specifically, according to the calculated multi-level similarity index, the similarity between the first text to be checked and the existing knowledge elements in the semantic multidimensional index library of the matching field at each level is judged, including comparing whether the similarity value exceeds the set threshold, or whether the classification label indicates a higher similarity. According to the analysis results of the similarity index, the results of the duplicate and novel check are determined. If the similarity between the first text to be checked and the existing knowledge element at a certain level exceeds the set threshold, it is considered that the first text to be checked has repeated or similar content at this level. If the similarity at all levels does not exceed the threshold, it is considered that the first text to be checked is new or semantically dissimilar to the existing knowledge element. Finally, the results of the duplicate and novel check are output in an appropriate manner, and the output results include the specific numerical value or classification label of the similarity index, as well as the corresponding hierarchical information. For example, the result of "at the chapter level, the similarity between the first text to be checked and the existing knowledge element A is 85%, which is a high similarity; at the sentence level, the similarity between the first text to be checked and the existing knowledge element B is 60%, which is a moderate similarity; no similar content is found at other levels" can be output. This implementation method uses a multi-level similarity recognition method to perform duplicate and novel check, which can more comprehensively and accurately judge the repetition or novelty of the first text to be checked, meet the needs of different levels, and achieve the technical effect of improving the accuracy of duplicate and novel check, and improving efficiency and flexibility.

[0062] In the above, refer to Figure 1A method for constructing a feature comparison library supporting semantic duplicate and novel checking according to an embodiment of the present invention is described in detail. Figure 2 A device for constructing a feature comparison library that supports semantic duplicate and novelty checking according to an embodiment of the present invention is described.

[0063] A feature comparison library construction device supporting semantic duplicate and novelty checking according to an embodiment of the present invention is used to solve the technical problems of insufficient semantic mining, low data processing efficiency and inefficient indexing mechanism in the existing comparison library construction and query, so as to achieve the technical effect of realizing the mining of deep semantics of text and the utilization of multi-level structure, improving the accuracy of the comparison library and query efficiency. A feature comparison library construction device supporting semantic duplicate and novelty checking includes: a plurality of hierarchical knowledge element output modules 10, a keyword feature vector output module 20, a plurality of semantic feature acquisition modules 30, a semantic multidimensional index library construction module 40, and a multi-level duplicate and novelty checking module 50.

[0064] The multiple-level knowledge element output module 10 is used to import a domain text library, parse the domain text library using the knowledge element parsing module, and output multiple-level knowledge elements;

[0065] The keyword feature vector output module 20 is used to perform keyword recognition on the multiple levels of knowledge elements respectively, and output the keyword feature vector corresponding to each level of knowledge element;

[0066] The multiple semantic feature acquisition modules 30 are used to perform semantic calculations on the keyword feature vectors corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors;

[0067] The semantic multidimensional index library construction module 40 is used to construct a semantic multidimensional index library according to multiple semantic features corresponding to each level of knowledge element, wherein the semantic multidimensional index library includes multiple index comparison libraries, and the multiple index comparison libraries correspond to the multiple levels of knowledge elements;

[0068] The multi-level duplicate and novelty checking module 50 is used to perform multi-level duplicate and novelty checking on the first text to be checked by using the semantic multi-dimensional index library.

[0069] The specific configuration of the semantic multidimensional index library construction module 40 will be described in detail below. The semantic multidimensional index library construction module 40 may further include: a semantic multidimensional index library construction unit for the multiple levels of knowledge elements including chapter knowledge elements, paragraph knowledge elements, sentence knowledge elements and term knowledge elements, and the constructed semantic multidimensional index library includes a chapter index comparison library, a paragraph index comparison library, a sentence index comparison library and a term index comparison library, wherein the chapter index comparison library and the paragraph index comparison library are indexed with a first semantic feature group, the first semantic feature group includes speech step labels and text vectors, and the sentence index comparison library and the term index comparison library are indexed with a second semantic feature group, the second semantic feature group includes scientific research entities and text vectors.

[0070] The specific configuration of the multiple semantic feature acquisition modules 30 will be described in detail below. As described above, the speech step label is obtained, and the multiple semantic feature acquisition modules 30 may further include: a speech step label output unit is used to determine the speech step element, extract the keyword feature vector corresponding to each level of knowledge element with the speech step element, and output the speech step label corresponding to each level of knowledge element.

[0071] Among them, to obtain the scientific research entity, multiple semantic feature acquisition modules 30 may further include: a scientific research entity output unit is used to use the trained bidirectional transformer model to extract the keyword feature vector corresponding to each level of knowledge element, and output the scientific research entity, wherein the bidirectional transformer model includes a first task network layer and a second task network layer, the first task network layer is used to perform scientific research entity prediction training on the keyword feature vector corresponding to each level of knowledge element, and the second task network layer is used to perform continuity prediction on the keyword feature vector corresponding to each level of knowledge element, and analyze the continuity between two knowledge elements at the same level.

[0072] Among them, to obtain the text vector, multiple semantic feature acquisition modules 30 may further include: a high-dimensional vector mapping space establishment unit for establishing a high-dimensional vector mapping space with semantic dimensions, semantic relevance and semantic interpretability; a text vector output unit for inputting the keyword feature vector corresponding to each level of knowledge element into the high-dimensional vector mapping space for high-dimensional mapping, and outputting the text vector corresponding to each level of knowledge element according to the result of the high-dimensional mapping.

[0073] The specific configuration of the multi-level duplicate and novelty checking module 50 will be described in detail below. As described above, the multi-level duplicate and novelty checking module 50 can further include: a domain feature acquisition unit for acquiring domain features of the first text to be checked; a matching unit for matching from the semantic multi-dimensional index library according to the domain features, and outputting a semantic multi-dimensional index library based on the matching domain of the first text to be checked; and a multi-level duplicate and novelty checking unit for performing multi-level duplicate and novelty checking on the first text to be checked using the semantic multi-dimensional index library of the matching domain.

[0074] Among them, the first text to be checked is subjected to multi-level duplication and novelty checking using the semantic multidimensional index library of the matching field, and the multi-level duplication and novelty checking unit may further include: a text vector extraction subunit for extracting the text vector of the first text to be checked; a multi-level similarity recognition subunit for performing multi-level similarity recognition based on the text vector of the first text to be checked in the semantic multi-dimensional index library of the matching field, and outputting multi-level similarity indicators; a duplication and novelty checking result output subunit for outputting the duplication and novelty checking result according to the multi-level similarity indicators.

[0075] A feature comparison library construction device supporting semantic duplication and novelty checking provided by an embodiment of the present invention can execute a feature comparison library construction method supporting semantic duplication and novelty checking provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0076] Although the present application makes various references to certain modules in the device according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0077] Based on the foregoing embodiments, the embodiments of the present application further provide an electronic device and a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of the electronic device, it can implement the method described in any of the foregoing embodiments.

[0078] Figure 3 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, showing a block diagram of an exemplary electronic device suitable for implementing an implementation of the present invention. Figure 3The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. The electronic device is in the form of a general computing device, and its components may include but are not limited to an input device 301, a processor 302, a memory 303, and an output device 304. Among them, the processor 302 may be one or more; the memory 303 may include a computer-readable medium and at least one program product, and the program product has a set (at least one) of program modules, which are configured to perform the functions of each embodiment of the present application.

[0079] The memory 303 shown in the embodiment of the present invention may adopt any combination of one or more computer-readable media; the computer-readable storage medium may be, but is not limited to, an infrared, semiconductor system, device or component, or any combination of the above, for storing software programs, computer executable programs and modules, such as the program instructions / modules corresponding to a method for constructing a feature comparison library supporting semantic duplication and novelty checking in an embodiment of the present invention. The processor 302 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 303, thereby realizing the above-mentioned method for constructing a feature comparison library supporting semantic duplication and novelty checking.

[0080] The above specific implementation manner does not constitute a limitation to the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application. In some cases, the actions or steps recorded in the present application can be performed in an order different from that in the embodiment and can still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A method for constructing a feature comparison library that supports semantic duplication and novelty checking. It is characterized in that The method comprises: Importing a domain text library, parsing the domain text library using a knowledge element parsing module, and outputting multiple levels of knowledge elements; Perform keyword recognition on the multiple levels of knowledge elements respectively, and output a keyword feature vector corresponding to each level of knowledge element; Perform semantic calculation on the keyword feature vector corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors; According to the multiple semantic features corresponding to each level of knowledge element, a semantic multidimensional index library is constructed, wherein the semantic multidimensional index library includes multiple index comparison libraries, and the multiple index comparison libraries correspond to the multiple levels of knowledge elements; Using the semantic multidimensional index library to perform multi-level duplication and novelty checking on the first text to be checked; Obtaining the scientific research entity, including: Extracting keyword feature vectors corresponding to each level of knowledge element using the trained bidirectional transformer model, and outputting the scientific research entity; The bidirectional transformer model includes a first task network layer and a second task network layer, wherein the first task network layer is used to perform scientific research entity prediction training on the keyword feature vector corresponding to each level of knowledge element, and the second task network layer is used to perform continuity prediction on the keyword feature vector corresponding to each level of knowledge element, and analyze the continuity between two knowledge elements at the same level; The multiple levels of knowledge elements include chapter knowledge elements, paragraph knowledge elements, sentence knowledge elements and term knowledge elements, and the constructed semantic multidimensional index library includes a chapter index comparison library, a paragraph index comparison library, a sentence index comparison library and a term index comparison library; The chapter index comparison library and the paragraph index comparison library are indexed by a first semantic feature group, and the first semantic feature group includes a speech step label and a text vector; The sentence index comparison library and the term index comparison library are indexed by a second semantic feature group, wherein the second semantic feature group includes scientific research entities and text vectors; Obtain the step label, including: Determine speech step elements, use the speech step elements to extract keyword feature vectors corresponding to each level of knowledge element, and output speech step labels corresponding to each level of knowledge element, wherein the speech step elements refer to keywords or phrases used to identify different speech step types in the text, and the speech step labels refer to keywords used to identify the functions and roles of different parts in the text.

2. A method for constructing a feature comparison library supporting semantic duplication and novelty checking as claimed in claim 1, It is characterized in that Obtaining the text vector includes: Establish a high-dimensional vector mapping space with semantic dimension, semantic relevance and semantic interpretability; The keyword feature vector corresponding to each level of knowledge element is input into the high-dimensional vector mapping space for high-dimensional mapping, and the text vector corresponding to each level of knowledge element is output according to the result of the high-dimensional mapping.

3. A method for constructing a feature comparison library supporting semantic duplication and novelty checking as claimed in claim 1, It is characterized in that Using the semantic multidimensional index library to perform multi-level duplicate and novelty checking on the first text to be checked includes: Acquiring the domain features of the first text to be searched; Matching is performed from the semantic multidimensional index library according to the domain features, and outputting a semantic multidimensional index library based on the matching domain of the first text to be searched; The semantic multidimensional index library of the matching field is used to perform multi-level duplication and novelty checking on the first text to be checked.

4. A method for constructing a feature comparison library supporting semantic duplicate and novel checking as claimed in claim 3, It is characterized in that The method of performing multi-level duplicate and novelty checking on the first text to be checked by using a semantic multi-dimensional index library of a matching field includes: Extracting a text vector of the first text to be searched; Based on the text vector of the first to-be-searched text, multi-level similarity recognition is performed in a semantic multi-dimensional index library of a matching field, and a multi-level similarity index is output; According to the multi-level similarity index, the duplicate checking and novelty checking results are output.

5. A feature comparison library construction device supporting semantic duplication and novelty checking, It is characterized in that The device is used to implement a method for constructing a feature comparison library supporting semantic duplicate and novelty checking according to any one of claims 1 to 4, and the device comprises: A plurality of hierarchical knowledge element output modules, wherein the plurality of hierarchical knowledge element output modules are used to import a domain text library, parse the domain text library using a knowledge element parsing module, and output a plurality of hierarchical knowledge elements; A keyword feature vector output module, the keyword feature vector output module is used to perform keyword recognition on the multiple levels of knowledge elements respectively, and output a keyword feature vector corresponding to each level of knowledge element; Multiple semantic feature acquisition modules, which are used to perform semantic calculations on keyword feature vectors corresponding to each level of knowledge element to obtain multiple semantic features corresponding to each level of knowledge element, wherein the multiple semantic features include speech step labels, scientific research entities and text vectors; A semantic multidimensional index library construction module, wherein the semantic multidimensional index library construction module is used to construct a semantic multidimensional index library according to a plurality of semantic features corresponding to each level of knowledge element, wherein the semantic multidimensional index library includes a plurality of index comparison libraries, and the plurality of index comparison libraries correspond to the plurality of levels of knowledge elements; A multi-level duplicate and novelty checking module is used to perform a multi-level duplicate and novelty checking on the first text to be checked by using the semantic multidimensional index library.

6. An electronic device, It is characterized in that The electronic device comprises: A memory for storing executable instructions; The processor is used to implement a feature comparison library construction method supporting semantic duplicate and novelty checking as described in any one of claims 1 to 4 when executing the executable instructions stored in the memory.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, a method for constructing a feature comparison library supporting semantic duplicate and novelty checking is implemented as described in any one of claims 1 to 4.