Supercharge Your Innovation With Domain-Expert AI Agents!

Text chain generation method and device, equipment and medium

A text and phrase technology, applied in biological neural network models, instruments, marketing, etc., can solve problems such as limited vocabulary and words that do not conform to language logic

Active Publication Date: 2021-05-18
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing solutions, the phrase extraction method can only extract the words that exist in the existing text, and the vocabulary that can be obtained is still limited.
Moreover, the generated words based on the neural network model sometimes do not conform to the language logic, and model training is also required

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text chain generation method and device, equipment and medium
  • Text chain generation method and device, equipment and medium
  • Text chain generation method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 It shows a flow chart of a text chain generation method provided by Embodiment 1 of the present disclosure. This embodiment of the present disclosure is applicable to the situation where more phrase corpora are generated based on existing phrase corpus structures, and the method can be implemented by a text chain generation device , specifically, it can be implemented through software and / or hardware in the electronic device.

[0035] Such as figure 1 As shown, the text link generation method provided in the embodiment of the present disclosure includes the following steps:

[0036] S110. Select a phrase chain to be matched from the phrase chain set to match the initial phrase chain, and determine a maximum common subsequence between the phrase chain to be matched and the initial phrase chain.

[0037] Wherein, the phrase chain is defined as a text chain formed by taking each word in at least one phrase as a node and connecting them according to the word orde...

Embodiment 2

[0049] On the basis of the above-mentioned embodiment, this embodiment further optimizes the process of obtaining the final phrase chain, which belongs to the same inventive concept as the text chain generation method proposed in the above-mentioned embodiment, and the technical details not described in detail in this embodiment can be See above examples.

[0050] image 3 A flow chart of a method for generating a text link provided in Embodiment 2 of the present disclosure is shown. The method for generating a text link in the embodiment of the present disclosure includes the following steps:

[0051] S210. Add tags to the phrase chain text data in the phrase chain set.

[0052] In the set of phrase chains, there are phrase chains whose lengths are screened and meet the preset length. The words or phrases in a phrase chain all have part of speech, for example, noun, verb or adjective, etc. Before performing character string matching, the part of speech of each node in the ...

Embodiment 3

[0065] Figure 4 It shows a flow chart of a text chain generation method provided by Embodiment 3 of the present disclosure. The embodiment of the present disclosure describes the process of constructing phrases on the basis of the above-mentioned embodiments, and belongs to the same text chain generation method as proposed in the above-mentioned embodiments. For the inventive concept, technical details not exhaustively described in this embodiment can refer to the above embodiments.

[0066] like Figure 4 As shown, the text chain generation method includes the following steps:

[0067] S310. Add tags to the phrase chain text data in the phrase chain set.

[0068] In addition to adding part-of-speech tags, when preprocessing the phrase chains in the phrase chain set, a word tag can also be added to each node in the phrase chain to indicate the position of the node in the corresponding phrase chain. For example, to label the first node in a phrase chain as the start node, t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a text chain generation method and device, equipment and a medium, and the method comprises the steps: selecting a to-be-matched phrase chain from a phrase chain set, carrying out the matching of the to-be-matched phrase chain and an initial phrase chain, determining a maximum common subsequence between the to-be-matched phrase chain and the initial phrase chain, and taking the maximum common subsequence as a common node, adding words, except the maximum common subsequence, in the phrase chain to be matched into the initial phrase chain so as to update the initial phrase chain; taking the updated phrase chain as an initial phrase chain, and repeating the steps until all phrase chains in the phrase chain set are traversed; and establishing a connection between a node, which is not connected with any node, on the left side in each branch of the updated phrase chain and a preset public starting node, and establishing a connection between a node, which is not connected with any node, on the right side and a preset public termination node. According to the embodiment of the invention, the phrase set is integrated based on a grammatical structure recombination mode, so that more phrases can be quickly and efficiently generated.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer applications, and in particular to a method, device, device and medium for generating text links. Background technique [0002] In advertising or other fields, when the target item needs to be described, the corresponding text content will be searched from the copywriting database. In order to expand the phrase copy database, phrases are usually extracted from existing long related texts, or by training a neural network model, the model generates phrases to generate related phrases from the input text. However, in the existing solutions, the phrase extraction method can only extract words that exist in the existing text, and the vocabulary that can be obtained is still limited. Moreover, the generated words based on the neural network model sometimes do not conform to the language logic, and model training is required. Contents of the invention [0003] Embodiments of the present...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q30/02G06F40/289G06F40/30G06F16/332G06N3/04
CPCG06Q30/0276G06F40/289G06F40/30G06F16/332G06N3/04G06F40/211
Inventor 封江涛陈家泽周浩李磊
Owner BEIJING YOUZHUJU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More