Text style migration technology-based character beautifying method

A style and text technology, applied in the field of description extension, can solve the problems of single, unable to meet the needs of users' daily writing or creation, fixed sentence pattern and style, and achieve the effect of improving accuracy and solving adaptive problems.

Pending Publication Date: 2021-11-09
北京海纳数聚科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the sentence structure and style of the text generated by the neural network currently used are very fixed and single, which cannot meet the needs of users' daily writing or creation

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 style migration technology-based character beautifying method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] like figure 1 As shown, the text beautification method based on the text style transfer technology includes the following steps:

[0024] S1: Obtain the first input text of the user, extract the keywords in the first input text, and classify the keywords by tags;

[0025] The label types include noun labels and adjective labels. The noun labels are divided into characters, animals, plants, weather, geography, history, etc., and the adjective labels are divided into multiple sets of different severity from negative to positive. Each grade contains multiple adjectives, and adjectives are assigned to different adjective grades according to their weights. For example, assuming that there are 6 levels of negative direction, the adjective "sinful" belongs to the sixth level of the highest severity, and the adjective "naughty" belongs to the lowest level of severity.

[0026] S2: Obtain the second input text of the style requirement input by the user, and determine the topic...

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 invention provides a text style migration technology-based character beautifying method, which comprises the following steps of S1, acquiring a first input text of a user, extracting keywords in the first input text, and performing label classification on the keywords; S2, obtaining a second input text of the style requirement input by the user, and judging a theme to which the style requirement belongs through the language model; S3, extracting and describing a plurality of corpus texts conforming to the same style theme through the language model, and performing sorting processing; S4, according to the label type to which the description main body belongs, introducing a related description main body with close relevance, and according to a corpus text with the related description main body, extracting and taking the corpus text as a supplementary description text; and S5, outputting a target text of a second writing style having the same semantics as the first input text. According to the method, the conversion of the text writing style is realized, the self-adaption problem in the field of the text writing style is effectively solved, and the accuracy of the conversion of the text writing style is improved.

Description

technical field [0001] The invention relates to a description extension method, in particular to a text beautification method based on text style transfer technology. Background technique [0002] Natural language processing (NLP) is an important direction in the field of computer science and artificial intelligence. It studies various theories and methods that can realize effective communication between humans and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, the language that people use on a daily basis, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies. [0003] In recent years, intelligent writing technology has been greatly deve...

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): G06F40/268G06F40/253
CPCG06F40/268G06F40/253
Inventor 张楠坤
Owner 北京海纳数聚科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products