CN114912448B - Text extension method, device, equipment and medium - Google Patents

Text extension method, device, equipment and medium Download PDF

Info

Publication number
CN114912448B
CN114912448B CN202210829003.0A CN202210829003A CN114912448B CN 114912448 B CN114912448 B CN 114912448B CN 202210829003 A CN202210829003 A CN 202210829003A CN 114912448 B CN114912448 B CN 114912448B
Authority
CN
China
Prior art keywords
text
target
expanded
expansion
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210829003.0A
Other languages
Chinese (zh)
Other versions
CN114912448A (en
Inventor
郭振华
徐聪
赵雅倩
范宝余
贾麒
刘璐
金良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Mass Institute Of Information Technology
Original Assignee
Shandong Mass Institute Of Information Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Mass Institute Of Information Technology filed Critical Shandong Mass Institute Of Information Technology
Priority to CN202210829003.0A priority Critical patent/CN114912448B/en
Publication of CN114912448A publication Critical patent/CN114912448A/en
Priority to PCT/CN2022/134086 priority patent/WO2024011813A1/en
Application granted granted Critical
Publication of CN114912448B publication Critical patent/CN114912448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The application discloses a text extension method, a text extension device, text extension equipment and a text extension medium, which relate to the field of short text extension, and the method comprises the following steps: determining a text to be expanded and determining a target noun in the text to be expanded; performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics; combining the target expansion entity and the target expansion semantics pairwise, and calculating a corresponding relevance score of each combination; inputting a combination of a text to be expanded and a correlation score meeting a first preset condition into a preset text generation model to obtain an expanded text; and evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output. The method can expand the short text into the long text with rich semantics and consistent emotion, and improves the accuracy of text expansion.

Description

Text extension method, device, equipment and medium
Technical Field
The present invention relates to the field of short text extension, and in particular, to a text extension method, apparatus, device, and medium.
Background
The purpose of the short text semantic expansion is to expand a short text with limited semantic information into a long text with richer semantic information, and the short text semantic expansion can be applied to various text rewriting tasks, automatic text generation tasks, data enhancement tasks, text classification tasks and other scenes. The existing short text expansion method mainly aims at expanding the feature words in the short text. For example, the microblog short text "friends of a whole family" may be expanded to long text "i am and my puppies pleasantly play with each day, we are always good friends" or "girlfriends" may be expanded to "i am and girlfriends, we are friends of a whole family".
Similar tasks to the short text extension are text extension, which mainly extends a small amount of text to a large amount of similar text with various patterns and semantic fidelity, and short text extension, which extends the limited semantic features of short text to more dimensions. The three tasks all belong to text enhancement tasks, and the main methods include manual labeling, word replacement, syntax trees, retranslation, neural networks and the like. The manual labeling method is a main way of early corpus expansion, and the expanded corpus has high quality, but has long working period and high cost. The word replacement method realizes the expansion of the text corpus by replacing non-core words in the text with synonyms, inserting and deleting virtual words, assisting words and other modes, and the mode is rapid and convenient, but the expanded text sentence pattern is single. The retroversion method is a text enhancement method which is used more in recent years, and constructs enhanced data of a source language in a mode of translating a source language into another language and translating a sentence of the obtained another language back to the source language; although the translation method can generate corpora of different sentence patterns, when the text contains spoken words, wrongly written words, or domain specialized words, the method easily causes semantic changes of the generated sentences. The syntax tree method mainly analyzes the syntactic dependency and semantic role of the text and changes sentence patterns through the compiled transformation rules.
Therefore, in the short text extension process, how to avoid the situation that the semantic change of the extended text is not rich enough and the semantic information is easy to change is a problem to be solved in the field.
Disclosure of Invention
In view of the above, the present invention provides a text extension method, apparatus, device and medium, which can extend a short text into a long text with rich semantics and consistent emotion. The specific scheme is as follows:
in a first aspect, the present application discloses a text extension method, including:
determining a text to be expanded, and determining a target noun from the text to be expanded;
performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics;
combining the target extended entities and the target extended semantics pairwise, and calculating a correlation score between the corresponding target extended entities and the target extended semantics in each combination;
inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model to obtain an expanded text output by the preset text generation model;
and evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output.
Optionally, the determining a target noun from the text to be expanded includes:
performing part-of-speech tagging on the text to be expanded by using a preset part-of-speech tagging tool to obtain the text to be expanded with part-of-speech tags;
and determining a word group with a part-of-speech tag as a part-of-speech of the noun from the text to be expanded with the part-of-speech tag as a target noun.
Optionally, the performing part-of-speech tagging on the text to be expanded by using a preset part-of-speech tagging tool to obtain the text to be expanded with a part-of-speech tag includes:
and performing part-of-speech tagging on the text to be expanded by utilizing stanza to obtain the text to be expanded with part-of-speech tags.
Optionally, the determining a text to be expanded and determining a target noun from the text to be expanded includes:
determining a text to be expanded, and determining a target noun from the text to be expanded to generate a noun list;
correspondingly, the performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics includes:
and performing entity expansion and semantic expansion on the target nouns in the noun list to determine target expansion entities and target expansion semantics.
Optionally, after determining the target expansion entity and the target expansion semantics, the method further includes:
determining a superior-inferior relation list of the target noun by using a knowledge graph;
generating an entity extension list based on the context relationship list and the target extension entity;
and generating a semantic extension list based on the upper and lower relation list and the target extension semantics.
Optionally, the determining the top-bottom relation list of the target noun by using the knowledge graph includes:
and searching the upper and lower relation of the target noun by using a searching interface of the conceptNet to determine an upper and lower relation list of the target noun.
Optionally, the generating an entity extension list based on the context list and the target extension entity, and generating a semantic extension list based on the context list and the target extension semantic, includes:
extracting tail entities with a preset first relationship in the upper and lower relationship list to form an entity extension list;
and extracting tail entities with the relationship of a preset second relationship in the upper and lower relationship list to form a semantic expansion list.
Optionally, before determining the text to be expanded and determining the target noun from the text to be expanded, the method further includes:
collecting texts from a preset social platform, and classifying the texts into short texts and long texts by using a preset classification rule;
correspondingly, the determining the text to be expanded includes:
and determining the short text as the text to be expanded.
Optionally, before pairwise combining the target extended entity and the target extended semantic, and calculating a correlation score between the corresponding target extended entity and the target extended semantic in each combination, the method further includes:
performing part-of-speech tagging on the long text by using a preset part-of-speech tagging tool to obtain the long text with part-of-speech tags, and then determining the part-of-speech tags as word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags;
and determining verb phrases and noun phrases in the same long text as phrases with correlation, and inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model.
Optionally, the pairwise combining the target extended entity and the target extended semantic, and calculating a correlation score between the corresponding target extended entity and the target extended semantic in each combination includes:
combining the target expansion entity and the target expansion semantics pairwise and inputting the combination into the trained model;
and acquiring a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination of the output of the trained model.
Optionally, the inputting the combination of the text to be expanded and the relevance score meeting the first preset condition into a preset text generation model includes:
determining the relevance scores of all combinations of the target expansion entities and the target expansion semantics, and sequencing all combinations according to the relevance scores;
respectively determining the combination of the relevance scores corresponding to each target extension entity, wherein the scores of the relevance scores are sorted into a front preset number group;
and sorting the scores corresponding to each target expansion entity into a combination of a front preset number group and the text to be expanded, and inputting the combination and the text to be expanded into a preset text generation model.
Optionally, the inputting a combination of the text to be expanded and the relevance score meeting a first preset condition into a preset text generation model includes:
splicing the text to be expanded and the combination of which the correlation score meets a first preset condition by using a preset splicing method to generate a spliced sequence;
and inputting the spliced sequence into a preset text generation model.
In a second aspect, the present application discloses a text extension apparatus, comprising:
the target noun determining module is used for determining a text to be expanded and determining a target noun from the text to be expanded;
the entity semantic expansion module is used for performing entity expansion and semantic expansion on the target nouns so as to determine a target expansion entity and target expansion semantics;
the entity semantic combination module is used for combining the target expansion entities and the target expansion semantics in pairs and calculating the correlation score between the corresponding target expansion entities and the target expansion semantics in each combination;
the text expansion module is used for inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain an expanded text output by the preset text generation model;
and the target expanded text output module is used for evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining an expanded text of which the semantic similarity meets a preset similarity condition from the expanded text to be used as the target expanded text for output.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the text extension method as described above.
In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein the computer program realizes the steps of the text extension method disclosed in the foregoing when being executed by a processor.
According to the method, firstly, a text to be expanded is determined, a target noun is determined from the text to be expanded, entity expansion and semantic expansion are carried out on the target noun to determine a target expansion entity and a target expansion semantic, the target expansion entity and the target expansion semantic are combined in pairs, a correlation score between the target expansion entity and the target expansion semantic in each combination is calculated, the combination of the text to be expanded and the correlation score meeting a first preset condition is input into a preset text generation model to obtain an expanded text output by the preset text generation model, the semantic similarity between the expanded text and the text to be expanded is evaluated by using a preset text semantic similarity evaluation model, and the expanded text of which the semantic similarity meets the preset similarity condition is determined from the expanded text and is output as the target expanded text. Therefore, the method and the device realize the accurate expansion of the short text to be expanded by utilizing the entity expansion and the semantic expansion, and also utilize the preset text generation model and the preset text semantic similarity evaluation model to evaluate the text generation and text similarity, thereby improving the efficiency of text expansion, solving the problems of insufficient semantic richness and semantic change during the short text expansion, ensuring the semantic richness, simultaneously ensuring the semantic consistency and improving the accuracy of text expansion.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a text extension method provided in the present application;
FIG. 2 is a flowchart of a specific text extension method provided in the present application;
FIG. 3 is a schematic flow chart of a method provided herein;
FIG. 4 is a flowchart of a specific text extension method provided in the present application;
FIG. 5 is a system framework diagram provided herein;
FIG. 6 is a schematic structural diagram of a text expansion apparatus according to the present application;
fig. 7 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, in the short text extension process, the semantic change of the extended text is not rich enough, and the semantic information is easy to change. In the application, the short text can be expanded into the long text with rich semantics and consistent emotion, the consistency of the semantics can be ensured while the rich semantics are ensured, and the accuracy of text expansion is further improved.
The embodiment of the invention discloses a text extension method, which is described with reference to FIG. 1 and comprises the following steps:
step S11: determining a text to be expanded, and determining a target noun from the text to be expanded.
In this embodiment, after the text T to be expanded is determined, the target is determined from the text T to be expandedA noun. Wherein the determining of the target noun from the text to be expanded comprises: performing part-of-speech tagging on the text to be expanded by using a preset part-of-speech tagging tool to obtain the text to be expanded with part-of-speech tags; and determining a word group with a part-of-speech tag as a part-of-speech of the noun from the text to be expanded with the part-of-speech tag as a target noun. In a specific embodiment, a part-of-speech tagging tool stanza may be used to perform part-of-speech analysis on the text T to be expanded, and extract all nouns labeled as NN or NNP as target nouns
Figure DEST_PATH_IMAGE001
The determining a text to be expanded and determining a target noun from the text to be expanded includes: determining a text to be expanded, and determining a target noun from the text to be expanded to generate a noun list; correspondingly, the performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics includes: and performing entity expansion and semantic expansion on the target nouns in the noun list to determine target expansion entities and target expansion semantics. It can be understood that the target nouns determined from the text to be expanded can be stored in the noun list, and accordingly, when the target nouns are expanded, the target nouns can be extracted from the noun list and then expanded.
Step S12: and performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics.
In this step, the target noun is expanded in two aspects of entity expansion and semantic expansion. In some embodiments, if the target noun is "friend," the target expanded entities that may be generated are: pets, dogs, girls, buddies, acquaintances; the target extension semantics that may be generated are: chat, rely on, play games.
Step S13: and combining the target extended entities and the target extended semantics pairwise, and calculating a correlation score between the corresponding target extended entities and the target extended semantics in each combination.
In this embodiment, the target extended entities and the target extended semantics are combined pairwise, and a relevance score between the target extended entities and the target extended semantics in each combination is calculated. In some embodiments, a relevance score for each group may be calculated using a trained artificial intelligence model.
In this embodiment, after calculating the relevance score between the corresponding target expansion entity and the target expansion semantic in each combination, the method may further include: and sorting the relevance scores in a descending order, and selecting the preset top N groups as a splicing sequence of a next input preset text generation model.
Step S14: and inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain an expanded text output by the preset text generation model.
The step of inputting the combination of the text to be expanded and the relevance score meeting a first preset condition into a preset text generation model comprises the following steps: splicing the text to be expanded and the combination of which the correlation score meets a first preset condition by using a preset splicing method to generate a spliced sequence; and inputting the spliced sequence into a preset text generation model. It can be understood that, in this embodiment, the text to be expanded is spliced with the combination obtained in the previous step to generate a spliced sequence, and then the spliced sequence is input into the text generation model that has been pre-trained to obtain a long text that is generated by the model and has richer semantics, that is, the expanded text. In some embodiments, the predetermined text generation model includes, but is not limited to, a GPT3 model (i.e., generated Pre-trained Transformer 3, auto-regressive language model).
Step S15: and evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output.
After the expanded text generated by the preset text generation model is obtained, the semantic similarity between the expanded text and the text to be expanded can be calculated through the preset text semantic similarity evaluation model, and then N expanded texts before sequencing can be selected as the finally output long text, wherein N is a positive integer and can be set or changed at will according to the requirements of users. In some specific embodiments, the preset text Semantic similarity evaluation Model includes, but is not limited to, a DSSM (Deep Structured Semantic Model) Model.
In the embodiment, a text to be expanded is determined, a target noun is determined from the text to be expanded, entity expansion and semantic expansion are performed on the target noun to determine a target expansion entity and a target expansion semantic, the target expansion entity and the target expansion semantic are combined in pairs, a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination is calculated, the combination of the text to be expanded and the correlation score meeting a first preset condition is input into a preset text generation model to obtain an expanded text output by the preset text generation model, the semantic similarity between the expanded text and the text to be expanded is evaluated by using a preset text semantic similarity evaluation model, and the expanded text with the semantic similarity meeting the preset similarity condition is determined from the expanded text and is output as the target expanded text. Therefore, the method and the device realize the accurate expansion of the short text to be expanded by utilizing the entity expansion and the semantic expansion, and also utilize the preset text generation model and the preset text semantic similarity evaluation model to evaluate the text generation and text similarity, thereby improving the efficiency of text expansion, solving the problems of insufficient semantic richness and semantic change during the short text expansion, ensuring the semantic richness, simultaneously ensuring the semantic consistency and improving the accuracy of text expansion.
Fig. 2 is a flowchart of a specific text extension method provided in an embodiment of the present application. Referring to fig. 2, the method includes:
step S21: determining a text to be expanded, performing part-of-speech tagging on the text to be expanded by using stanza to obtain the text to be expanded with part-of-speech tags, and then determining a word group with the part-of-speech tags as noun parts-of-speech from the text to be expanded with the part-of-speech tags as a target noun.
In some embodiments of this embodiment, a part-of-speech tagging tool stanza may be used to tag the part-of-speech of the text to be expanded.
Step S22: and performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics.
For a more specific processing procedure of step S22, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S23: and determining a superior-inferior relation list of the target noun by using a knowledge graph, generating an entity expansion list based on the superior-inferior relation list and the target expansion entity, and generating a semantic expansion list based on the superior-inferior relation list and the target expansion semantics.
The determining the upper and lower relation list of the target noun by using the knowledge graph comprises the following steps: and searching the upper and lower relation of the target noun by using a searching interface of the conceptNet to determine an upper and lower relation list of the target noun.
The generating an entity extension list based on the context list and the target extension entity and generating a semantic extension list based on the context list and the target extension semantics comprises: extracting tail entities with the relationship of a preset first relationship in the upper and lower relationship list to form an entity expansion list; and extracting tail entities with the relationship of a preset second relationship in the upper and lower relationship list to form a semantic expansion list.
In this embodiment, each noun in the noun list may pass through the search API of ConceptNet (i.e. Application progress)an application programming Interface) to obtain a list of upper and lower relations of all nouns, and then extracting tail entities of five Types of relations of "is a subclaves of (about.)", "Types of (.)", "Parts of (.)", "Symbols of (.)", "is a type of (.)) in the list of upper and lower relations to form an entity extension list
Figure 867794DEST_PATH_IMAGE002
For example, the entities of the "friends" meeting the five relations in the concept map are { pets, dogs, girlfrients, buddies, intimate friends, kittens \8230 }; it is also necessary to extract "topics of", "is able of", "ings moved by", "Location of", "ways" (wanted), "is moved by" (driven), "Things that make you want," "cause of" (cause), "tickets you wan \8230;" (let you want to do) the tail entities and relations of eight types of relations constitute the semantic extension list
Figure DEST_PATH_IMAGE003
For example, the semantics of "friends" in the concept graph that meet the above eight relationships are { "chat", "rely on", "play" \8230; }.
Step S24: and combining the target extended entities and the target extended semantics pairwise, and calculating a correlation score between the corresponding target extended entities and the target extended semantics in each combination.
For a more specific processing procedure of step S24, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S25: and inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model to obtain an expanded text output by the preset text generation model.
For a more specific processing procedure of step S25, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S26: and evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output.
For a more specific processing procedure of step S26, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Fig. 3 is a schematic flow chart of a method provided in this embodiment, first, entity expansion and semantic expansion are performed on a target noun by using concept net, then, correlation between the expanded entity and the expanded semantic is calculated, a combination with a correlation score satisfying a first preset condition is input into a preset text generation model to generate a long text, then, a text similarity model is used to score the output long text, and sorting is performed according to the score to finally determine the output displayed long text.
In the embodiment, a text to be expanded is determined, part-of-speech tagging is performed on the text to be expanded by using stanza to obtain the text to be expanded with part-of-speech tags, and then a phrase with the part-of-speech tags as noun parts-of-speech is determined from the text to be expanded with the part-of-speech tags to be used as a target noun. And then, performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics. And then, determining a superior-inferior relation list of the target noun by using a knowledge graph, generating an entity expansion list based on the superior-inferior relation list and the target expansion entity, and generating a semantic expansion list based on the superior-inferior relation list and the target expansion semantic. And combining the target extended entities and the target extended semantics pairwise, and calculating a correlation score between the corresponding target extended entities and the target extended semantics in each combination. And inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain an expanded text output by the preset text generation model. And finally, evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output. In this embodiment, a context list of a target noun is determined by a knowledge graph, an entity expansion list is generated based on the context list and the target expansion entity, and a semantic expansion list is generated based on the context list and the target expansion semantics. The method for extracting the related entities and semantics by using the concept map as the candidate extension and scoring the finally generated long text by using the semantic relevance evaluation model can ensure the semantic and emotion consistency of the extended long text and improve the accuracy of text extension.
Fig. 4 is a flowchart of a specific text expansion method provided in an embodiment of the present application. Referring to fig. 4, the method includes:
step S31: collecting texts from a preset social platform, classifying the texts into short texts and long texts by using a preset classification rule, determining the short texts as texts to be expanded, and determining target nouns from the texts to be expanded.
In this embodiment, texts may be collected in a preset social platform, a text with a chinese character length of 10 or less is defined as a short text, a text with a chinese character length of 10 or more is defined as a long text, then the short text is used as a text to be expanded, and a target noun is determined from the text to be expanded. In this embodiment, the preset social platform includes, but is not limited to, a microblog.
Step S32: and performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics.
For a more specific processing procedure of step S32, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S33: and performing part-of-speech tagging on the long text by using a preset part-of-speech tagging tool to obtain the long text with part-of-speech tags, and then determining the part-of-speech tags as word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags.
In this embodiment, a preset part-of-speech tagging tool may be used to perform part-of-speech tagging on the long text to obtain the long text with part-of-speech tags, and then determine that the part-of-speech tags are word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags.
Step S34: and determining verb phrases and noun phrases in the same long text as phrases with correlation, and inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model.
In this embodiment, the correlation between verbs and nouns appearing in the same text may be determined as 1, otherwise, the correlation is 0, and then the phrase with correlation is input into a BERT (i.e., a pre-trained language Representation model) model as training data to be trained, so as to obtain a correlation calculation model
Figure 50514DEST_PATH_IMAGE004
Step S35: and combining the target extension entities and the target extension semantics in pairs and inputting the combinations into the trained model, and acquiring a correlation score between the corresponding target extension entities and the target extension semantics in each combination output by the trained model.
In this step, the target extension entity and the target extension semantics can be input into the trained correlation calculation model in a pairwise combination manner
Figure 862874DEST_PATH_IMAGE004
And obtaining the correlation calculation model
Figure 54821DEST_PATH_IMAGE004
And outputting a correlation score between the target expansion entity and the target expansion semantics in each combination.
Step S36: and inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain an expanded text output by the preset text generation model.
The step of inputting the combination of the text to be expanded and the relevance score meeting a first preset condition into a preset text generation model comprises the following steps: determining the relevance scores of all combinations of the target expansion entities and the target expansion semantics, and sequencing all combinations according to the relevance scores; respectively determining the combination of the relevance scores corresponding to each target extension entity, wherein the scores are sorted into a front preset number group; and sorting the scores corresponding to each target expansion entity into a combination of a preset number group and the text to be expanded, and inputting the combination and the text to be expanded into a preset text generation model.
In some embodiments, all the relevance scores corresponding to the same target extension entity may be sorted, and a combination of top ten relevance scores may be selected
Figure DEST_PATH_IMAGE005
And splicing the text to be expanded to obtain a spliced sequence
Figure 256477DEST_PATH_IMAGE006
And inputting the spliced sequence into a preset text generation model GPT-3 to obtain an output long text T \768. It can be understood that the preset number in this step can be optionally set and changed according to the user requirement.
Step S37: and evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output.
In the step, the text T to be expanded and the expanded text T \768generatedin the step S36 can be input into a text similarity calculation model DSSM model to obtain the similarity score of the text to be expanded and each expanded text to date, and then the front preset number of texts to be expanded can be selected as the final target expanded text for output. It can be understood that the preset number in this step can be set and changed at will by the user.
Fig. 5 is a system framework diagram provided in this embodiment, in which a preset language representation model is trained by using a long text, and a correlation score between a target expansion entity of a text to be expanded and a target expansion semantic is evaluated by using the trained model. Firstly, part-of-speech tagging of nouns and verbs is carried out on an acquired long text, after the relevance between the verbs and the nouns is determined, a preset model is trained, and a trained relevance model is acquired
Figure 610098DEST_PATH_IMAGE004
. After the short text is obtained, an entity set containing target nouns is determined, then entity expansion and semantic expansion are carried out on the target nouns based on a conceptual diagram in a knowledge graph technology, and the entity expansion and the semantic expansion are input into the correlation model
Figure 172404DEST_PATH_IMAGE004
After the scores are sorted, the sorted entity semantic combinations are input into a preset text generation model GPT3, then a long text output by the GPT3 is obtained, finally, a DSSM model is used for carrying out similarity sorting on the text to be expanded and the long text output by the GPT3, and finally, the long text at the top 5 of the sorting is determined.
In this embodiment, a text is collected from a preset social platform, the text is classified into a short text and a long text by using a preset classification rule, then the short text is determined as a text to be expanded, a target noun is determined from the text to be expanded, and entity expansion and semantic expansion are performed on the target noun to determine a target expansion entity and target expansion semantics. And then, performing part-of-speech tagging on the long text by using a preset part-of-speech tagging tool to obtain the long text with part-of-speech tags, and then determining that the part-of-speech tags are word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags. And then determining verb phrases and noun phrases in the same long text as phrases with correlation, and inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model. And then combining the target extension entities and the target extension semantics in pairs and inputting the combinations into the trained model, and acquiring the correlation score between the corresponding target extension entities and the target extension semantics in each combination output by the trained model. And finally, inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain the expanded text output by the preset text generation model. By the text extension method provided by the embodiment, the long text acquired from the preset social platform can be used for training the preset language representation model, and the trained model is used for evaluating the relevance score between the target extension entity of the text to be extended and the target extension semantics, so that the applicability of the method is improved. In addition, in the process of expanding the short text, the consistency of semantics can be ensured while ensuring rich semantics, and the accuracy of text expansion is improved.
Referring to fig. 6, an embodiment of the present application discloses a text extension apparatus, which may specifically include:
the target noun determining module 11 is configured to determine a text to be expanded, and determine a target noun from the text to be expanded;
an entity semantic expansion module 12, configured to perform entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics;
an entity semantic combination module 13, configured to combine the target extended entity and the target extended semantic two by two, and calculate a relevance score between the corresponding target extended entity and the target extended semantic in each combination;
the text expansion module 14 is configured to input a combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model, so as to obtain an expanded text output by the preset text generation model;
and the target expanded text output module 15 is configured to evaluate the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determine an expanded text with a semantic similarity meeting a preset similarity condition from the expanded text, and output the expanded text as a target expanded text.
According to the method, firstly, a text to be expanded is determined, a target noun is determined from the text to be expanded, entity expansion and semantic expansion are carried out on the target noun to determine a target expansion entity and a target expansion semantic, the target expansion entity and the target expansion semantic are combined in pairs, a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination is calculated, the combination of the text to be expanded and the correlation score meeting a first preset condition is input into a preset text generation model to obtain an expanded text output by the preset text generation model, the semantic similarity between the expanded text and the text to be expanded is evaluated by using a preset text semantic similarity evaluation model, and the expanded text of which the semantic similarity meets the preset similar condition is determined from the expanded text and is output as the target expanded text. Therefore, the method and the device realize the accurate expansion of the short text to be expanded by utilizing the entity expansion and the semantic expansion, and also utilize the preset text generation model and the preset text semantic similarity evaluation model to evaluate the text generation and text similarity, thereby improving the efficiency of text expansion, solving the problems of insufficient semantic richness and semantic change during the short text expansion, ensuring the semantic richness, ensuring the semantic consistency and improving the accuracy of text expansion.
In some embodiments, the target noun determination module 11 may include:
the first part-of-speech tagging unit is used for performing part-of-speech tagging on the text to be expanded by using a preset part-of-speech tagging tool so as to acquire the text to be expanded with part-of-speech tags;
and the target noun extracting unit is used for determining a word group with a part-of-speech tag as a noun part-of-speech from the text to be expanded with the part-of-speech tag as a target noun.
In some embodiments, the first part-of-speech tagging unit includes:
and the part-of-speech tagging tool application unit is used for performing part-of-speech tagging on the text to be expanded by using stanza so as to obtain the text to be expanded with part-of-speech tags.
In some embodiments, the target noun determination module 11 includes:
the noun list generating unit is used for determining a text to be expanded and determining a target noun from the text to be expanded so as to generate a noun list;
correspondingly, the entity semantic extension module 12 includes:
and the entity semantic expansion unit is used for performing entity expansion and semantic expansion on the target nouns in the noun list so as to determine target expansion entities and target expansion semantics.
In some specific embodiments, the text expansion apparatus further includes:
the list determining unit is used for determining a superior-inferior relation list of the target nouns by using a knowledge graph;
a first list generating unit, configured to generate an entity extension list based on the context relationship list and the target extension entity;
and the second list generating unit is used for generating a semantic extended list based on the upper and lower relation list and the target extended semantics.
In some embodiments, the list determining unit includes:
and the noun retrieval unit is used for retrieving the superior and inferior relations of the target nouns by using a retrieval interface of the ConceptNet so as to determine a superior and inferior relation list of the target nouns.
In some specific embodiments, the first list generating unit and the second list generating unit include:
a first tail entity extracting unit, configured to extract a tail entity whose relationship in the upper and lower relationship list is a preset first relationship, so as to form an entity extension list;
and the second tail entity extraction unit is used for extracting tail entities with preset second relations in the upper and lower relation lists so as to form a semantic expansion list.
In some specific embodiments, the text expansion apparatus further includes:
the system comprises a text collection unit, a text classification unit and a text classification unit, wherein the text collection unit is used for collecting texts from a preset social platform and classifying the texts into short texts and long texts by using a preset classification rule;
accordingly, the target noun determination module 11 includes:
and the short text determining unit is used for determining the short text as the text to be expanded.
In some specific embodiments, the text expansion apparatus further includes:
the long text labeling unit is used for performing part-of-speech labeling on the long text by using a preset part-of-speech labeling tool to obtain the long text with part-of-speech labels, and then determining the part-of-speech labels as word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech labels;
and the model training unit is used for determining verb phrases and noun phrases in the same long text as phrases with correlation, inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model.
In some specific embodiments, the text expansion apparatus further includes:
combining the target expansion entity and the target expansion semantics pairwise and inputting the combination into the trained model;
and acquiring a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination of the output of the trained model.
In some specific embodiments, the entity semantic combination module 13 further includes:
the first text input unit is used for combining and inputting the target expansion entity and the target expansion semantic into the trained model;
and the score output unit is used for acquiring a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination of the output of the model after training.
In some specific embodiments, the text extension module 14 includes:
the score sorting unit is used for determining the relevance scores of all combinations of the target expansion entities and the target expansion semantics and sorting all the combinations according to the relevance scores;
the combination determining unit is used for respectively determining the combination of the relevance scores corresponding to each target extension entity, wherein the scores of the relevance scores are sorted into a preset number group;
and the second text input unit is used for sorting the scores corresponding to each target expansion entity into a combination of a preset number group and inputting the text to be expanded into a preset text generation model.
In some specific embodiments, the text extension module 14 includes:
the sequence splicing unit is used for splicing the text to be expanded and the combination with the correlation score meeting a first preset condition by using a preset splicing method so as to generate a spliced sequence;
and the sequence input unit is used for inputting the spliced sequence into a preset text generation model.
Further, an electronic device is also disclosed in the embodiments of the present application, fig. 7 is a block diagram of the electronic device 20 shown in the exemplary embodiments, and the content in the diagram cannot be considered as any limitation to the scope of the application.
Fig. 7 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a display screen 24, an input output interface 25, a communication interface 26, and a communication bus 27. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the text extension method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may be specifically an electronic computer.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 26 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, the resources stored thereon may include an operating system 221, a computer program 222, virtual machine data 223, and the like, and the virtual machine data 223 may include various data. The storage means may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, netware, unix, linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the text extension method disclosed by any of the foregoing embodiments and executed by the electronic device 20.
Further, the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium includes a Random Access Memory (RAM), a Memory, a Read-Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk, or an optical disk, or any other form of storage medium known in the art. Wherein the computer program when executed by a processor implements the text extension method of the preceding disclosure. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The text extension method, apparatus, device, and storage medium provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A text extension method, comprising:
determining a text to be expanded, and determining a target noun from the text to be expanded;
performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics;
combining the target extended entities and the target extended semantics pairwise, and calculating a correlation score between the corresponding target extended entities and the target extended semantics in each combination;
inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model to obtain an expanded text output by the preset text generation model;
evaluating the semantic similarity between the expanded text and the text to be expanded by using a preset text semantic similarity evaluation model, and determining the expanded text of which the semantic similarity meets a preset similarity condition from the expanded text as a target expanded text to be output;
before determining the text to be expanded and determining the target noun from the text to be expanded, the method further includes: collecting texts from a preset social platform, and classifying the texts into short texts and long texts by using a preset classification rule; correspondingly, the determining the text to be expanded includes: determining the short text as a text to be expanded;
before combining the target extended entity and the target extended semantic meaning pairwise and calculating a correlation score between the corresponding target extended entity and the target extended semantic meaning in each combination, the method further includes: performing part-of-speech tagging on the long text by using a preset part-of-speech tagging tool to obtain the long text with part-of-speech tags, and then determining the part-of-speech tags as word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags; determining verb phrases and noun phrases in the same long text as phrases with correlation, inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model;
and, said combining said target extended entity and said target extended semantics two by two, and calculating a relevance score between the corresponding target extended entity and said target extended semantics in each combination, comprises: combining the target expansion entity and the target expansion semantics pairwise and inputting the combination into the trained model; and acquiring a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination of the output of the trained model.
2. The text expansion method of claim 1, wherein the determining a target noun from the text to be expanded comprises:
performing part-of-speech tagging on the text to be expanded by using a preset part-of-speech tagging tool to obtain the text to be expanded with part-of-speech tags;
and determining a word group with a part-of-speech tag as a part-of-speech of the noun from the text to be expanded with the part-of-speech tag as a target noun.
3. The text extension method of claim 2, wherein the obtaining of the text to be extended with part-of-speech tags by performing part-of-speech tagging on the text to be extended by using a preset part-of-speech tagging tool comprises:
and performing part-of-speech tagging on the text to be expanded by utilizing stanza to obtain the text to be expanded with part-of-speech tags.
4. The text expansion method of claim 1, wherein the determining a text to be expanded and determining a target noun from the text to be expanded comprises:
determining a text to be expanded, and determining a target noun from the text to be expanded to generate a noun list;
correspondingly, the performing entity expansion and semantic expansion on the target noun to determine a target expansion entity and target expansion semantics includes:
and performing entity expansion and semantic expansion on the target nouns in the noun list to determine target expansion entities and target expansion semantics.
5. The text extension method of claim 4, wherein after determining the target extension entity and the target extension semantics, further comprising:
determining a list of superior-subordinate relationships of the target nouns by using a knowledge graph;
generating an entity extension list based on the superior-inferior relation list and the target extension entity;
and generating a semantic extension list based on the upper and lower relation list and the target extension semantics.
6. The text expansion method of claim 5, wherein the determining the list of top-bottom relations of the target noun by using the knowledge graph comprises:
and searching the upper and lower relation of the target noun by using a searching interface of the conceptNet to determine an upper and lower relation list of the target noun.
7. The text expansion method of claim 5, wherein the generating an entity expansion list based on the context list and the target expansion entity and generating a semantic expansion list based on the context list and the target expansion semantics comprises:
extracting tail entities with the relationship of a preset first relationship in the upper and lower relationship list to form an entity expansion list;
and extracting tail entities with the relationship of a preset second relationship in the upper and lower relationship list to form a semantic expansion list.
8. The text expansion method according to claim 1, wherein the inputting of the combination of the text to be expanded and the relevance score satisfying a first preset condition into a preset text generation model comprises:
determining the relevance scores of all combinations of the target expansion entities and the target expansion semantics, and sequencing all combinations according to the relevance scores;
respectively determining the combination of the relevance scores corresponding to each target extension entity, wherein the scores are sorted into a front preset number group;
and sorting the scores corresponding to each target expansion entity into a combination of a front preset number group and the text to be expanded, and inputting the combination and the text to be expanded into a preset text generation model.
9. The text expansion method according to any one of claims 1 to 8, wherein the inputting of the combination of the text to be expanded and the relevance score satisfying a first preset condition into a preset text generation model comprises:
splicing the text to be expanded and the combination of which the correlation score meets a first preset condition by using a preset splicing method to generate a spliced sequence;
and inputting the spliced sequence into a preset text generation model.
10. A text extension apparatus, comprising:
the target noun determining module is used for determining a text to be expanded and determining a target noun from the text to be expanded;
the entity semantic expansion module is used for performing entity expansion and semantic expansion on the target nouns so as to determine a target expansion entity and target expansion semantics;
the entity semantic combination module is used for combining the target expansion entities and the target expansion semantics in pairs and calculating the correlation score between the corresponding target expansion entities and the target expansion semantics in each combination;
the text expansion module is used for inputting the combination of the text to be expanded and the correlation score meeting a first preset condition into a preset text generation model so as to obtain an expanded text output by the preset text generation model;
the target expanded text output module is used for evaluating the semantic similarity between the expanded text and the text to be expanded by utilizing a preset text semantic similarity evaluation model, and determining an expanded text of which the semantic similarity meets a preset similarity condition from the expanded text to be used as a target expanded text for output;
the text extension device is further used for collecting texts from a preset social platform and classifying the texts into short texts and long texts by using a preset classification rule; correspondingly, the target noun determination module is specifically configured to determine the short text as a text to be expanded;
the text extension device is further configured to perform part-of-speech tagging on the long text by using a preset part-of-speech tagging tool to obtain the long text with part-of-speech tags, and then determine that the part-of-speech tags are word groups of verb parts-of-speech and noun parts-of-speech from the long text with part-of-speech tags; determining verb phrases and noun phrases in the same long text as phrases with correlation, inputting the phrases with correlation as training data into a preset language representation model for training to obtain a trained model;
the entity semantic combination module is used for combining and inputting the target expansion entity and the target expansion semantic into the trained model; and acquiring a correlation score between the corresponding target expansion entity and the target expansion semantic in each combination of the output of the trained model.
11. An electronic device comprising a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the text extension method of any of claims 1 to 9.
12. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the text extension method of any one of claims 1 to 9.
CN202210829003.0A 2022-07-15 2022-07-15 Text extension method, device, equipment and medium Active CN114912448B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210829003.0A CN114912448B (en) 2022-07-15 2022-07-15 Text extension method, device, equipment and medium
PCT/CN2022/134086 WO2024011813A1 (en) 2022-07-15 2022-11-24 Text expansion method and apparatus, device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210829003.0A CN114912448B (en) 2022-07-15 2022-07-15 Text extension method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114912448A CN114912448A (en) 2022-08-16
CN114912448B true CN114912448B (en) 2022-12-09

Family

ID=82771900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210829003.0A Active CN114912448B (en) 2022-07-15 2022-07-15 Text extension method, device, equipment and medium

Country Status (2)

Country Link
CN (1) CN114912448B (en)
WO (1) WO2024011813A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114912448B (en) * 2022-07-15 2022-12-09 山东海量信息技术研究院 Text extension method, device, equipment and medium
CN115964487A (en) * 2022-12-22 2023-04-14 南阳理工学院 Thesis label supplementing method and device based on natural language and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180026A (en) * 2017-05-02 2017-09-19 苏州大学 The event phrase learning method and device of a kind of word-based embedded Semantic mapping
CN109271514A (en) * 2018-09-14 2019-01-25 华南师范大学 Generation method, classification method, device and the storage medium of short text disaggregated model
CN112487827A (en) * 2020-12-28 2021-03-12 科大讯飞华南人工智能研究院(广州)有限公司 Question answering method, electronic equipment and storage device
CN112651235A (en) * 2020-12-24 2021-04-13 北京搜狗科技发展有限公司 Poetry generation method and related device
CN113392647A (en) * 2020-11-25 2021-09-14 腾讯科技(深圳)有限公司 Corpus generation method, related device, computer equipment and storage medium
CN114580436A (en) * 2022-03-02 2022-06-03 重庆邮电大学 Social user theme analysis method and system based on semantics and word expansion

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567290B (en) * 2010-12-30 2015-01-14 百度在线网络技术(北京)有限公司 Method, device and equipment for expanding short text to be processed
IN2014CH01007A (en) * 2014-02-27 2015-09-04 Accenture Global Services Ltd
WO2016117920A1 (en) * 2015-01-20 2016-07-28 한국과학기술원 Knowledge represention expansion method and apparatus
US10157220B2 (en) * 2015-07-23 2018-12-18 International Business Machines Corporation Context sensitive query expansion
JP6531025B2 (en) * 2015-10-19 2019-06-12 日本電信電話株式会社 Word expansion device, classification device, machine learning device, method, and program
KR102630668B1 (en) * 2016-12-06 2024-01-30 한국전자통신연구원 System and method for expanding input text automatically
CN110222707A (en) * 2019-04-28 2019-09-10 平安科技(深圳)有限公司 A kind of text data Enhancement Method and device, electronic equipment
CN111930891B (en) * 2020-07-31 2024-02-02 中国平安人寿保险股份有限公司 Knowledge graph-based search text expansion method and related device
CN114385791A (en) * 2022-01-14 2022-04-22 平安科技(深圳)有限公司 Text expansion method, device, equipment and storage medium based on artificial intelligence
CN114912448B (en) * 2022-07-15 2022-12-09 山东海量信息技术研究院 Text extension method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180026A (en) * 2017-05-02 2017-09-19 苏州大学 The event phrase learning method and device of a kind of word-based embedded Semantic mapping
CN109271514A (en) * 2018-09-14 2019-01-25 华南师范大学 Generation method, classification method, device and the storage medium of short text disaggregated model
CN113392647A (en) * 2020-11-25 2021-09-14 腾讯科技(深圳)有限公司 Corpus generation method, related device, computer equipment and storage medium
CN112651235A (en) * 2020-12-24 2021-04-13 北京搜狗科技发展有限公司 Poetry generation method and related device
CN112487827A (en) * 2020-12-28 2021-03-12 科大讯飞华南人工智能研究院(广州)有限公司 Question answering method, electronic equipment and storage device
CN114580436A (en) * 2022-03-02 2022-06-03 重庆邮电大学 Social user theme analysis method and system based on semantics and word expansion

Also Published As

Publication number Publication date
WO2024011813A1 (en) 2024-01-18
CN114912448A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US10642938B2 (en) Artificial intelligence based method and apparatus for constructing comment graph
Nguyen et al. Ms marco: A human-generated machine reading comprehension dataset
CN106649818B (en) Application search intention identification method and device, application search method and server
CN114912448B (en) Text extension method, device, equipment and medium
US10394829B2 (en) Content authoring
Bott et al. Can spanish be simpler? lexsis: Lexical simplification for spanish
KR100533810B1 (en) Semi-Automatic Construction Method for Knowledge of Encyclopedia Question Answering System
CN105975558B (en) Establish method, the automatic edit methods of sentence and the corresponding intrument of statement editing model
CN111475623A (en) Case information semantic retrieval method and device based on knowledge graph
WO2019100319A1 (en) Providing a response in a session
CN106503192A (en) Name entity recognition method and device based on artificial intelligence
JP2020191075A (en) Recommendation of web apis and associated endpoints
CN111104803B (en) Semantic understanding processing method, device, equipment and readable storage medium
JP2003196280A (en) Text generating method and text generating device
CN116227466B (en) Sentence generation method, device and equipment with similar semantic different expressions
CN115292457A (en) Knowledge question answering method and device, computer readable medium and electronic equipment
CN117149984B (en) Customization training method and device based on large model thinking chain
CN111178045A (en) Automatic construction method of non-supervised Chinese semantic concept dictionary based on field, electronic equipment and storage medium
CN106777080A (en) Short abstraction generating method, database building method and interactive method
CN106897274B (en) Cross-language comment replying method
CN111553138A (en) Auxiliary writing method and device for standardizing content structure document
Myles et al. Using information technology to support empirical SLA research.
US11869385B2 (en) Methods, systems, devices, and software for managing and conveying knowledge
CN110750632A (en) Improved Chinese ALICE intelligent question-answering method and system
Zhu et al. YUN111@ Dravidian-CodeMix-FIRE2020: Sentiment Analysis of Dravidian Code Mixed Text.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant