CN112270197A - Animation draft generation method and device based on character paragraphs - Google Patents

Animation draft generation method and device based on character paragraphs Download PDF

Info

Publication number
CN112270197A
CN112270197A CN202011126969.5A CN202011126969A CN112270197A CN 112270197 A CN112270197 A CN 112270197A CN 202011126969 A CN202011126969 A CN 202011126969A CN 112270197 A CN112270197 A CN 112270197A
Authority
CN
China
Prior art keywords
paragraphs
analyzing
text
semantics
animation
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.)
Pending
Application number
CN202011126969.5A
Other languages
Chinese (zh)
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.)
Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd
Original Assignee
Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd
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 Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd filed Critical Shenzhen Qianhai Hand Painted Technology and Culture Co Ltd
Priority to CN202011126969.5A priority Critical patent/CN112270197A/en
Publication of CN112270197A publication Critical patent/CN112270197A/en
Priority to PCT/CN2021/098990 priority patent/WO2022083132A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention belongs to the field of hand-drawn animations, and provides a method and a device for generating an animation draft based on character paragraphs. The technical effects of reducing the creation cost of the user and improving the creation quality of the user works are achieved.

Description

Animation draft generation method and device based on character paragraphs
Technical Field
The invention belongs to the technical field of hand-drawn videos, and particularly relates to a method and a device for generating an animation draft based on text paragraphs, an electronic device and a storage medium.
Background
The conventional method for creating a short video according to a text paragraph is as follows: and manually searching or creating corresponding materials according to the content in the text paragraphs, and then automatically performing layout planning on the types, positions, forms, appearance sequence, appearance time and the like of each element in the short video and then placing the elements into a draft file. The creation mode has high requirement on the creation capability of workers, and the process of searching the materials and setting the appearance sequence and the position relation of the materials is quite time-consuming.
In summary, the conventional creation of short videos according to text paragraphs has the defects that the creation difficulty is large and the creation time is long because the short videos are created by manually searching or creating materials according to the content of the text paragraphs.
Disclosure of Invention
In order to solve the technical defects, the invention provides an animation draft generation method based on text paragraphs, which comprises the following steps:
acquiring a selected character paragraph;
analyzing the semanteme of the text paragraph;
and calling materials matched with the semantics from a material library according to the semantics of the text paragraphs to generate an animation draft.
Technical effect description, in the method provided by the present invention, a text passage is manually input by a user, such as "dupug old rattan, twitch, trawl". The semantic analysis of the input text paragraphs is performed by natural language processing software which recognizes the part of speech of each vocabulary in the input text paragraphs and analyzes the grammatical logical relationship between each vocabulary. And then matching the materials in the material library according to the result of the identification analysis, and accurately setting the basic animation information of each material. And then storing each material matched and set with the basic animation information into an animation draft file.
Specifically, the step of analyzing the semantics of the text paragraphs includes:
analyzing the composition vocabulary of the character paragraphs to obtain the part of speech of the composition vocabulary;
analyzing the grammatical structure of the text paragraph;
and analyzing and acquiring the semantics of the text paragraphs according to the syntactic structure and the part of speech.
The technical effect shows that the semantic analysis of the input text paragraphs is completed by natural language processing software, and the natural language processing software can analyze the part of speech of each vocabulary in the input text paragraphs, analyze the grammatical logical relationship among the vocabularies, then match the materials in a material library according to the recognition and analysis results, and accurately set the basic animation information of each material. And then storing each material matched and set with the basic animation information into an animation draft file, completing the calculation of the short video story line, and further preparing for playing the short video.
The part of speech comprises nouns, pronouns, quantifiers, prepositions and verbs; the nouns, pronouns and quantifiers are used for matching the materials; the prepositions and the verbs are used for configuring the stories.
Technical effect shows that the selection of the elements appearing in the story line is determined according to nouns, pronouns, prepositions and quantitative words in the text paragraphs input by the user, and the appearance sequence, appearance time and states of the elements in the story line are determined according to verbs and adjectives of the text paragraphs input by the user.
In an improvement, the grammar structure includes: a master-system structure, a master-predicate structure, and a guest-driving structure.
Technical effects show that grammatical structures of input text paragraphs can be various, such as object preposition, title inversion, zhugu postfix and the like, and the input text paragraphs can be converted into hand-drawing drafts for playing hand-drawing videos as long as normal language logic is met.
The invention also provides a short video application device based on the text paragraphs, which comprises:
the character acquisition module is used for acquiring the selected character paragraphs;
the semantic analysis module is used for analyzing the semantics of the text paragraphs;
and the calling module is used for calling the materials matched with the semantics in the material library according to the semantics of the text paragraphs so as to generate the animation draft.
Specifically, the semantic analysis module includes:
the vocabulary analyzing unit is used for analyzing the composition vocabulary of the character paragraphs to obtain the part of speech of the composition vocabulary;
the grammar parsing unit is used for parsing the grammar structure of the text paragraphs;
and the semantic analysis unit is used for analyzing the semantics of the acquired text paragraphs according to the syntactic structure and the part of speech.
Specifically, the parts of speech include: nouns, pronouns, quantifiers, prepositions, and verbs; the nouns, pronouns and quantifiers are used for matching the materials; the prepositions and the verbs are used for configuring the stories.
Specifically, the syntax analysis unit includes: a master-system structure, a master-predicate structure and a guest-moving structure.
The invention also provides an electronic device comprising a memory and a processor, the memory storing a computer program, the computer program being executable in the processor to implement any of the methods described above. The electronic equipment is a mobile terminal or a web terminal.
The present invention also provides a storage medium storing a computer program which is executed in a processor to implement any of the methods described above.
Drawings
FIG. 1 is a flow chart of a method for generating an animation draft based on text paragraphs;
FIG. 2 is a flow chart of a method of analyzing the semantics of a text paragraph;
FIG. 3 is a flowchart of a method for matching and arranging material according to part of speech according to one embodiment;
FIG. 4 is a diagram of a device architecture for a method of parsing according to an embodiment;
fig. 5 is a diagram of a device architecture of an embodiment of a short video application device based on text paragraphs;
FIG. 6 is a diagram of a device architecture of a semantic module according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that in the description of the present invention, unless otherwise explicitly specified or limited, the term "storage medium" may be various media that can store a computer program, such as ROM, RAM, a magnetic or optical disk, or the like. The term "processor" may be a chip or a circuit having a data Processing function, such as a CPLD (Complex Programmable Logic Device), an FPGA (Field-Programmable Gate Array), an MCU (micro Controller Unit), a PLC (Programmable Logic Controller), and a CPU (Central Processing Unit). The term "electronic device" may be any device having data processing and storage functions and may generally include fixed and mobile terminals. Fixed terminals such as desktop computers and the like. Mobile terminals such as mobile phones, PADs, and mobile robots, etc. Furthermore, the technical features mentioned in the different embodiments of the invention described later can be combined with each other as long as they do not conflict with each other.
In the following, the present invention proposes some preferred embodiments to teach those skilled in the art to implement.
Example one
Referring to fig. 1, the present embodiment provides a method for generating an animation draft based on text paragraphs, including the following steps:
s1, acquiring the selected text paragraphs;
s2, analyzing the semantic meaning of the text paragraph;
s3, calling materials matched with the semantics from a material library according to the semantics of the text paragraphs to generate an animation draft;
and S4, generating the animation draft.
Technical effect description, in the method provided by the present invention, a text passage is manually input by a user, such as "dupug old rattan, twitch, trawl". Semantic analysis of the input text passage is performed by natural language processing software (NLP), which can recognize the part of speech of each vocabulary in the input text passage and analyze the grammatical logical relationship between each vocabulary. And then matching the materials in the material library according to the result of the identification analysis, and accurately setting the basic animation information of each material. And then storing each material matched and set with the basic animation information into an animation draft file.
Example two
Referring to fig. 2, further, the present embodiment provides a method for analyzing semantics of a text paragraph, including the steps of:
f1, analyzing the composition vocabulary of the character paragraphs;
f2, obtaining the part of speech of the composition vocabulary;
f3, analyzing the grammar structure of the character paragraph.
F4, obtaining the semantic meaning of the character paragraph according to the part of speech and the grammar structure of the obtained character paragraph.
The technical effect shows that the semantic analysis of the input text paragraphs is completed by natural language processing software (NLP), and the natural language processing software can analyze the part of speech of each vocabulary in the input text paragraphs, analyze the grammatical logic relationship between each vocabulary, then match the materials in a material library according to the recognition and analysis results, and accurately set the basic animation information of each material. And then storing each material matched and set with the basic animation information into an animation draft file, completing the calculation of the short video story line, and further preparing for playing the short video.
EXAMPLE III
Referring to fig. 3, further, the present embodiment provides a method for matching and configuring materials according to parts of speech, including the steps of:
s30, calling the names, pronouns and quantifiers in the character paragraphs;
s31, using the ranking, pronouns and quantifier in the character paragraphs to match materials in a material library;
s32, getting prepositions and verbs in the character paragraphs;
and S33, using the prepositions and verbs in the text paragraphs to configure the materials in the material library.
Technical effect shows that the selection of the elements appearing in the story line is determined according to nouns, pronouns, prepositions and quantitative words in the text paragraphs input by the user, and the appearance sequence, appearance time and states of the elements in the story line are determined according to verbs and adjectives of the text paragraphs input by the user.
Example four
Referring to fig. 4, further, the present embodiment provides a method of parsing, including the steps of:
f30, syntax analysis unit;
f31, dividing grammar into main system table structure, main and predicate structure, and bingo structure;
technical effects show that grammatical structures of input text paragraphs can be various, such as object preposition, title inversion, zhugu postfix and the like, and the input text paragraphs can be converted into hand-drawing drafts for playing hand-drawing videos as long as normal language logic is met.
EXAMPLE five
Referring to fig. 5, the present embodiment further provides a short video application apparatus based on text paragraphs, including:
1. the character acquisition module is used for acquiring the selected character paragraphs;
2. the semantic analysis module is used for analyzing the semantics of the text paragraphs;
3. the calling module is used for calling materials matched with the semantics from a material library according to the semantics of the text paragraphs so as to generate an animation draft;
4. and generating the animation draft.
EXAMPLE six
Referring to fig. 6, further, the embodiment further provides a semantic analysis module, including the steps of:
20. the vocabulary analyzing unit is used for analyzing the composition vocabulary of the character paragraphs to obtain the part of speech of the composition vocabulary;
21. the grammar parsing unit is used for parsing the grammar structure of the text paragraphs;
22. and the semantic analysis unit is used for analyzing the semantics of the acquired text paragraphs according to the syntactic structure and the part of speech.
The invention also provides an electronic device comprising a memory and a processor, the memory storing a computer program, the computer program being executable in the processor to implement any of the methods described above. The electronic equipment is a mobile terminal or a web terminal.
The present invention also provides a storage medium storing a computer program which is executed in a processor to implement any of the methods described above.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An animation draft generation method based on text paragraphs is characterized by comprising the following steps:
acquiring a selected character paragraph;
analyzing the semanteme of the text paragraph;
and calling materials matched with the semantics from a material library according to the semantics of the text paragraphs to generate an animation draft.
2. The method of claim 1, wherein the step of analyzing the semantics of the text passage comprises:
analyzing the composition vocabulary of the character paragraphs to obtain the part of speech of the composition vocabulary;
analyzing the grammatical structure of the text paragraph;
and analyzing and acquiring the semantics of the text paragraphs according to the syntactic structure and the part of speech.
3. The method of claim 2, wherein the parts of speech include nouns, pronouns, quantifiers, prepositions, and verbs; the nouns, pronouns and quantifiers are used for matching the materials; the prepositions and the verbs are used for configuring the stories.
4. The method of claim 2, wherein the syntax structure comprises: a master-system structure, a master-predicate structure and a guest-moving structure.
5. An animation draft generation device based on a text paragraph, comprising:
the character acquisition module is used for acquiring the selected character paragraphs;
the semantic analysis module is used for analyzing the semantics of the text paragraphs;
and the calling module is used for calling the materials matched with the semantics in the material library according to the semantics of the text paragraphs so as to generate the animation draft.
6. The apparatus of claim 5, wherein the semantic analysis module comprises:
the vocabulary analyzing unit is used for analyzing the composition vocabulary of the character paragraphs to obtain the part of speech of the composition vocabulary;
the grammar parsing unit is used for parsing the grammar structure of the text paragraphs;
and the semantic analysis unit is used for analyzing the semantics of the acquired text paragraphs according to the syntactic structure and the part of speech.
7. The apparatus of claim 6, wherein the parts of speech comprise: nouns, pronouns, quantifiers, prepositions, and verbs; the nouns, pronouns and quantifiers are used for matching the materials; the prepositions and the verbs are used for configuring the stories.
8. The apparatus of claim 6, wherein the parsing unit comprises: a master-system structure, a master-predicate structure and a guest-moving structure.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the computer program is executed in the processor to perform the method of any of claims 1-4.
10. A storage medium storing a computer program, characterized in that the computer program is executed in a processor to implement the method of any of claims 1-4.
CN202011126969.5A 2020-10-20 2020-10-20 Animation draft generation method and device based on character paragraphs Pending CN112270197A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011126969.5A CN112270197A (en) 2020-10-20 2020-10-20 Animation draft generation method and device based on character paragraphs
PCT/CN2021/098990 WO2022083132A1 (en) 2020-10-20 2021-06-08 Animation draft generation method and apparatus based on character paragraph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011126969.5A CN112270197A (en) 2020-10-20 2020-10-20 Animation draft generation method and device based on character paragraphs

Publications (1)

Publication Number Publication Date
CN112270197A true CN112270197A (en) 2021-01-26

Family

ID=74341593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011126969.5A Pending CN112270197A (en) 2020-10-20 2020-10-20 Animation draft generation method and device based on character paragraphs

Country Status (2)

Country Link
CN (1) CN112270197A (en)
WO (1) WO2022083132A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113269855A (en) * 2021-06-08 2021-08-17 哈尔滨森美朴科技发展有限责任公司 Method, equipment and storage medium for converting text semantics into scene animation
WO2022083132A1 (en) * 2020-10-20 2022-04-28 深圳市前海手绘科技文化有限公司 Animation draft generation method and apparatus based on character paragraph

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447265A (en) * 2002-03-25 2003-10-08 白涛 Basic method for converting character type sentence to corresponding animation cartoon
KR20130057277A (en) * 2011-11-23 2013-05-31 동국대학교 산학협력단 Method for generating animation from text, apparatus thereof
US20160042058A1 (en) * 2014-08-08 2016-02-11 Cuong Duc Nguyen Processing Natural-Language Documents and Queries

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294666A (en) * 2016-08-04 2017-01-04 上海汽笛生网络科技有限公司 A kind of method realizing text visualization Dynamic Display
CN112270197A (en) * 2020-10-20 2021-01-26 深圳市前海手绘科技文化有限公司 Animation draft generation method and device based on character paragraphs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447265A (en) * 2002-03-25 2003-10-08 白涛 Basic method for converting character type sentence to corresponding animation cartoon
KR20130057277A (en) * 2011-11-23 2013-05-31 동국대학교 산학협력단 Method for generating animation from text, apparatus thereof
US20160042058A1 (en) * 2014-08-08 2016-02-11 Cuong Duc Nguyen Processing Natural-Language Documents and Queries

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022083132A1 (en) * 2020-10-20 2022-04-28 深圳市前海手绘科技文化有限公司 Animation draft generation method and apparatus based on character paragraph
CN113269855A (en) * 2021-06-08 2021-08-17 哈尔滨森美朴科技发展有限责任公司 Method, equipment and storage medium for converting text semantics into scene animation

Also Published As

Publication number Publication date
WO2022083132A1 (en) 2022-04-28

Similar Documents

Publication Publication Date Title
TWI684881B (en) Method, system and non-transitory machine-readable medium for generating a conversational agentby automatic paraphrase generation based on machine translation
CN109726293B (en) Causal event map construction method, system, device and storage medium
US11521603B2 (en) Automatically generating conference minutes
CN107924483B (en) Generation and application of generic hypothesis ranking model
JP7557379B2 (en) Restricted Natural Language Processing
KR102445519B1 (en) System and method for manufacturing conversational intelligence service providing chatbot
CN107798123B (en) Knowledge base and establishing, modifying and intelligent question and answer methods, devices and equipment thereof
JP2007141090A (en) Question answering system, data retrieval method and computer program
WO2017198031A1 (en) Semantic parsing method and apparatus
JP2002108856A (en) System and method for analyzing document using language conversation model
JP5368924B2 (en) Apparatus and method for progressive development of natural language user interfaces
CN112270197A (en) Animation draft generation method and device based on character paragraphs
CN117216222A (en) Intelligent question-answering method and device and related equipment
CN117272977A (en) Character description sentence recognition method and device, electronic equipment and storage medium
CN113268593A (en) Intention classification and model training method and device, terminal and storage medium
CN111178018B (en) Deep learning-based target soft text generation method and device
CN112307751A (en) Data desensitization method and system based on natural language processing
CN114330285B (en) Corpus processing method and device, electronic equipment and computer readable storage medium
Wantroba et al. A method for designing dialogue systems by using ontologies
Evchenko et al. Translation of Natural Language Requests to API
CN111104118A (en) AIML-based natural language instruction execution method and system
CN113947093B (en) Data processing method and device, electronic equipment and computer readable storage medium
US20230342544A1 (en) Semantic parsing for short text
Saraiva A Conversational Interface for Webpage Code Generation
CN115204184A (en) Conversation sentence clustering method, device, equipment and readable storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210126