Text generation method and device based on dynamic weight and storage medium
A dynamic weight, text technology, applied in text database clustering/classification, unstructured text data retrieval, instruments, etc., can solve problems such as single theme, inability to highlight news hotspots in real time, and lack of theme distribution.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] A text generation method based on dynamic weights, such as figure 1 As shown, the text generation method includes:
[0062] Step 10. Build a hot word thesaurus, which stores hot search words obtained every first preset time period and the hot search weight of each hot search word. The hot search weight of each hot search word is based on The frequency parameters of each hot search word and the construction time of each hot search word are generated;
[0063] Step 20, receiving any input text;
[0064] Step 30, extracting a plurality of subject words from any text;
[0065] Wherein, a plurality of subject words are extracted based on the LDA probability topic model;
[0066] Step 40, matching the subject words and the hot word thesaurus to obtain the hot search weight of each subject word;
[0067] Step 50, generating updated text according to the keywords containing the hot search weight.
[0068] Among them, such as figure 2 As shown, the frequency parameters ar...
Embodiment 2
[0124] An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, the dynamic weight-based text generation method described in Embodiment 1 is implemented .
[0125] Figure 7A schematic structural diagram of an electronic device provided in this embodiment. Figure 7 A block diagram of an exemplary electronic device 90 suitable for use in implementing embodiments of the invention is shown. Figure 7 The electronic device 90 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.
[0126] Such as Figure 7 As shown, electronic device 90 may take the form of a general-purpose computing device, which may be a server device, for example. Components of the electronic device 90 may include, but are not limited to: at least one processor 91 , at least one memory 92 , and a bus 93 connecting di...
Embodiment 3
[0134] A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the dynamic weight-based text generation method described in Embodiment 1 is implemented.
[0135] Wherein, the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.
[0136] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute The dynamic weight-based text generation method described in Embodiment 1.
[0137] Wherein, the program code for executing the present invention can be written in any combination of one or mo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com