CN117576237A - Image generation method, device, equipment and medium based on international Chinese vocabulary - Google Patents

Image generation method, device, equipment and medium based on international Chinese vocabulary Download PDF

Info

Publication number
CN117576237A
CN117576237A CN202311510148.5A CN202311510148A CN117576237A CN 117576237 A CN117576237 A CN 117576237A CN 202311510148 A CN202311510148 A CN 202311510148A CN 117576237 A CN117576237 A CN 117576237A
Authority
CN
China
Prior art keywords
word
vocabulary
image
array
virtual
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
CN202311510148.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.)
Huaqiao University
Original Assignee
Huaqiao University
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 Huaqiao University filed Critical Huaqiao University
Priority to CN202311510148.5A priority Critical patent/CN117576237A/en
Publication of CN117576237A publication Critical patent/CN117576237A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides an image generation method, a device, equipment and a medium based on international Chinese words, which are characterized in that a multi-standard grade dictionary is loaded into an array firstly, part-of-speech marks and real word and virtual words are analyzed based on part-of-speech information, paraphrases and example sentences are generated simultaneously to form multi-label marks of the international Chinese grade words, then, the analysis result of the real word and virtual words is traversed, the real words are stored into the real word array, image information is automatically generated by combining a main body, a modified word and image quality, and the image information is optimized and automatically screened based on the image information and the similarity comparison, so that an image of the real word words is generated; and finally, traversing the analysis result of the real word and the virtual word, storing the virtual word into a virtual word array, and setting and combining the background and the text by combining paraphrases, example sentences, paraphrases and anticonsite words to generate an image of an abstract vocabulary, thereby solving the problem that the Chinese vocabulary cannot be vividly depicted in the prior art.

Description

Image generation method, device, equipment and medium based on international Chinese vocabulary
Technical Field
The present invention relates to the field of computers, and in particular, to an image generating method, apparatus, device, and medium based on international chinese vocabulary.
Background
Along with the increasing interconnection of countries in the world, china is deeply integrated into the world, and the demands for learning Chinese in the countries are more vigorous. The international influence of China has been greatly improved in the new era, and the learning requirement of each country on Chinese is also reaching a new level, so that international Chinese education is becoming more important. The vocabulary teaching plays a fundamental role in international Chinese education, and is a bridge for connecting sentences and single words and is also a fundamental component of Chinese meaning. For foreign Chinese education work, it is difficult for foreign people who are native to learn directly because of symbolism and symbolism of Chinese vocabulary. Therefore, in the international Chinese teaching, a large number of pictures are needed to be used as media to convert abstract linear concepts into visual images, so that Chinese vocabulary becomes more concrete and vivid.
However, in international chinese teaching, the currently adopted chinese vocabulary teaching mode mainly depends on the conventional blackboard teaching method, which limits the effect of vocabulary education to a certain extent.
In view of this, the present application is presented.
Disclosure of Invention
The invention discloses an image generation method, device, equipment and medium based on international Chinese vocabulary, and aims to solve the problem that the international Chinese vocabulary cannot be vividly depicted in the prior art.
The first embodiment of the invention provides an image generation method based on international Chinese vocabulary, which is characterized by comprising the following steps:
loading the multi-standard grade dictionary into an array, and carrying out part-of-speech marking and real word and virtual word analysis based on part-of-speech information, and generating paraphrases and example sentences at the same time to form multi-label marks of international Chinese grade vocabulary;
traversing the analysis result of real word and virtual word, storing real word into real word array, combining main body, modifier and image quality to automatically generate image information, and optimizing and automatically screening the image information based on the reading of the image information and similarity comparison to generate the image of real word vocabulary;
traversing the analysis result of real word and virtual word, storing virtual word into virtual word array, and combining paraphrasing, example sentence, paraphrasing and anticonyming word to set and combine background and text so as to generate image of abstract vocabulary.
Preferably, the multi-standard level dictionary is loaded into an array, part-of-speech tagging and real word and term analysis are performed based on part-of-speech information, and paraphrases and example sentences are generated at the same time to form multi-tag tags of international Chinese level vocabulary, specifically:
storing a standard grade dictionary into an array, marking the grade vocabulary in the array according to the part of speech information, and storing the grade vocabulary into an international Chinese vocabulary design table;
traversing the array, analyzing real word and virtual words of the array based on the part-of-speech marks and the grade vocabulary, and storing the analysis result of the real word and virtual words into the international Chinese vocabulary design table;
traversing the array, generating paraphrases and example sentences for the array based on a Chinese dictionary, and storing the paraphrases and example sentences into the international Chinese vocabulary design table;
extracting the main body and the modifier from the example sentence, comparing the main body and the modifier with the array, and discarding the grade vocabulary if the extracted result does not contain the grade vocabulary; if the extraction result comprises a grade vocabulary, storing the grade vocabulary into an international Chinese vocabulary design table;
matching the array with a standard grade dictionary, generating a design style according to a matching result, and storing the design style into an international Chinese vocabulary design table;
performing image quality analysis according to the example sentences, the main body, the modifier words and the design style, and storing the image quality analysis result into an international Chinese vocabulary design table;
and analyzing the picture size according to the image quality analysis result to generate the picture size, and storing the picture size into an international Chinese vocabulary design table.
Preferably, the analyzing result of traversing the real word and the virtual word stores the real word into a real word array, automatically generates image information by combining the main body, the modifier and the image quality, and optimizes and automatically screens the image information based on the reading and the similarity comparison of the image information to generate the image of the real word vocabulary, which specifically comprises:
according to the analysis result of the real word and the virtual word, storing the real word in the array into an array real word list;
determining a main body, modifier words and image quality analysis results to generate image information according to the real word list;
and reading the image information and comparing the similarity, and generating images of real word vocabulary according to the comparison result of the similarity.
Preferably, the analyzing result of traversing the real word and the imaginary word stores the imaginary word into an imaginary word array, and sets and merges the background and the text by combining the paraphrase, the example sentence, the paraphrase and the anticonsite word to generate an image of the abstract vocabulary, specifically:
and storing the real word and the virtual word into a virtual word array according to the analysis result of the real word and the virtual word.
Generating paraphrases, example sentences, paraphrases and anti-definition words for the virtual word array according to the Chinese dictionary, setting the background based on the paraphrases, the example sentences, the paraphrases and the anti-definition words, and adding blank pictures to generate an image background;
and combining the text processing of the virtual word array with the image background to generate an image of the abstract vocabulary.
The second embodiment of the present invention provides an image generating apparatus based on international Chinese vocabulary, comprising:
the multi-label mark generating unit is used for loading the multi-standard grade dictionary into the array, carrying out part-of-speech mark and real word analysis based on part-of-speech information, and generating paraphrases and example sentences at the same time so as to form multi-label marks of international Chinese grade vocabulary;
the real word vocabulary image generating unit is used for traversing the analysis result of real word virtual words, storing real words into a real word array, automatically generating image information by combining a main body, a modifier and image quality, and optimizing and automatically screening the image information based on the reading of the image information and the comparison of similarity to generate an image of the real word vocabulary;
the abstract vocabulary generating unit is used for traversing the analysis result of real word and virtual word, storing the virtual word into the virtual word array, and setting and combining the background and the text by combining paraphrasing, example sentences, paraphrasing and anticonsite words to generate an image of the abstract vocabulary.
A third embodiment of the present invention provides an image generating apparatus based on an international chinese vocabulary, including a memory and a processor, in which a computer program is stored, the computer program being executable by the processor to implement an image generating method based on an international chinese vocabulary as set forth in any one of the above.
A fourth embodiment of the present invention provides a computer readable storage medium, in which a computer program is stored, where the computer program can be executed by a processor of a device in which the computer readable storage medium is located, to implement an image generating method based on an international chinese vocabulary as set forth in any one of the above.
According to the image generation method, device, equipment and medium based on the international Chinese vocabulary, firstly, a multi-standard grade dictionary is loaded into an array, part-of-speech marks and real word and virtual words are analyzed based on part-of-speech information, paraphrases and example sentences are generated at the same time, so that multi-label marks of the international Chinese grade vocabulary are formed, then, the analysis result of the real word and virtual words is traversed, the real words are stored into the real word array, image information is automatically generated by combining a main body, a modified word and image quality, and the image information is optimized and automatically screened based on the image information reading and similarity comparison, so that an image of the real word vocabulary is generated; and finally, traversing the analysis result of the real word and the virtual word, storing the virtual word into a virtual word array, and setting and combining the background and the text by combining paraphrases, example sentences, paraphrases and anticonsite words to generate an image of an abstract vocabulary, thereby solving the problem that the Chinese vocabulary cannot be vividly depicted in the prior art.
Drawings
FIG. 1 is a flow chart of an image generation method based on International Chinese vocabulary according to a first embodiment of the present invention;
fig. 2 is a schematic block diagram of an image generating apparatus based on an international chinese vocabulary according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
References to "first\second" in the embodiments are merely to distinguish similar objects and do not represent a particular ordering for the objects, it being understood that "first\second" may interchange a particular order or precedence where allowed. It is to be understood that the "first\second" distinguishing objects may be interchanged where appropriate to enable the embodiments described herein to be implemented in sequences other than those illustrated or described herein.
Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The invention discloses an image generation method, device, equipment and medium based on international Chinese vocabulary, and aims to solve the problem that the international Chinese vocabulary cannot be vividly depicted in the prior art.
Referring to fig. 1, a first embodiment of the present invention provides an image generating method based on international chinese vocabulary, which is characterized in that it may be executed by an image generating device based on international chinese vocabulary (hereinafter referred to as generating device), and in particular, executed by one or more processors in the generating device, so as to implement at least the following steps:
s101, loading a multi-standard grade dictionary into an array, and carrying out part-of-speech marking and real word and virtual word analysis based on part-of-speech information, and simultaneously generating paraphrases and example sentences to form multi-label marks of international Chinese grade vocabulary;
specifically, in the present embodiment, the first and second embodiments,
s11: and storing the standard grade dictionary into an array list_of_word, and carrying out part-of-speech marking part_or_spech on the grade vocabulary list_of_word according to part-of-speech information obtained from the Chinese teaching materials, and storing the part-of-speech marking part_or_spech into an international Chinese vocabulary design table.
S12: traversing list_of_word, analyzing real word and term according to part-of-speech_or_spech and class vocabulary list_of_word obtained in S11, marking the real word and term in the column of real word and term if real word content_word is "yes", marking the real word and term in the column of real word and term if term no_means_word is "no", and storing the result in the international Chinese vocabulary design table xlsx.
S13, traversing the list_of_word, generating paraphrasing and example sentence example according to the list_of_word of the Chinese dictionary, and storing the results into the 'paraphrasing' and 'example sentence' columns of the international Chinese vocabulary design table xlsx respectively.
S14, extracting a main subject and a modifier modification word from the example sentence sample obtained in the S13, comparing the main subject and the modifier modification word with a list of word, and discarding the extracted result if the extracted result does not contain a class vocabulary; if the extraction result includes a hierarchical vocabulary, it is stored in the 'body and modifier' column of the International Chinese vocabulary design table xlsx.
S15, matching list_of_word with the standard level dictionary, and storing the result into an array level.
S16: and (3) carrying out style design style according to the level obtained in the step (S15), wherein the grades 1-4 are cartoon styles, the grades 5-9 are realistic styles, and storing the result into a 'style' column of an international Chinese vocabulary design table.
S17: and (3) carrying out quality analysis on the images according to the main subjects obtained from the example sentence sample obtained in the S13, the main subjects obtained in the S14, the modifier word and the style obtained in the S15, wherein the quality analysis comprises standard definition, high definition, highest quality and 4K image quality. The classification of the image quality is determined according to the complexity degree of the main subject and the modifier modification word. If the image quality is not obtained according to the example sentence example, the main body subject, the modifier word and the style, the image quality is defaulted to be the highest quality. All analysis results are stored in the 'image quality' column of the international chinese vocabulary design table xlsx.
And S18, analyzing the picture size according to the quality obtained in the step S16, wherein if the analysis result is too small, the picture size is changed to be 512 in height and width, and if the proper size cannot be analyzed, the picture size is defaulted to be 512 in height and width. All analysis results are stored in the 'picture size' column of the international chinese vocabulary design table xlsx.
It should be noted that, by loading the multi-standard level dictionary and combining part-of-speech information, real word and virtual word analysis, paraphrasing and example sentence generation, the multi-label mark for the international Chinese level vocabulary is formed. This comprehensive tagging system makes the vocabulary more detailed and clear. Through part-of-speech tagging and real word and imaginary word analysis, whether each word is a real word or an imaginary word is clearly marked. The method provides more accurate and targeted learning information for language learners, and improves learning efficiency. Paraphrases and example sentences are generated through the Chinese dictionary, and more comprehensive vocabulary understanding is provided for learners. This helps the learner to better understand the usage and context of the vocabulary. The method and the device realize deeper grammar and context analysis of the vocabulary by extracting the main body and modifier in the example sentence and comparing the main body and modifier with the grade vocabulary. This helps the learner understand the application of the vocabulary in different contexts. Through the grade, the main modifier and the example sentence information, the design and classification of styles and image quality are performed. This provides more accurate and context-conforming guidance for image generation, making the generated image more realistic in a practical use scenario. And the picture size is intelligently adjusted by analyzing the image quality and the grade information. This ensures that the generated image both meets quality standards and adapts to various display scenarios.
S102, traversing analysis results of real word and virtual words, storing real words into a real word array, automatically generating image information by combining a main body, modified words and image quality, and optimizing and automatically screening the image information based on the reading of the image information and the comparison of similarity to generate images of real word and virtual words;
specifically, in the present embodiment:
s21: according to the real word and word segmentation result obtained in S11, storing real words in list_of_word into an array content_word_list
S22: according to the content word list obtained in the step S21, the image quality obtained in the main subject and modifier modification word obtained in the step S14 and the image quality obtained in the step S16 are found, and then the secondary vocabulary is analyzed to determine whether enough data are generated to generate an image, if not, the image is skipped; if sufficient, it is stored in an array of control_pic.
S23: and (4) generating a picture according to the obtained control_pic in the step S22, and analyzing the generated image.
S24: reading the graphic information according to the result generated in S23, and storing the result in a memoryA comparison is made.
S25: and comparing the pic_data obtained in the step S24 with the control_pic obtained in the step S22. If the comparative similarity score is less than 0.5, paraphrasing means is added to the success_pic, and S23 and S24 are repeated. If the comparison similarity score is less than 0.5 after the new pic_data and the con_pic are compared again, an example sentence sample is added to the con_pic, and S23 and S24 are repeated. If the new pic_data and the con_pic are compared again, the comparison similarity score is still less than 0.5, the result is discarded, and the generation of the vocabulary is skipped.
The real word is stored in the array content word list by traversing the analysis result of the real word and the real word, and the images of the real word vocabulary are automatically generated by combining the information of the main body, the modifier, the image quality and the like. The process not only improves the automatic generation efficiency of the image, but also ensures that the quality of the generated image meets the expected standard by optimizing the image information. Through graphic information reading, similarity comparison, optimization and automatic screening of image information, intelligent control of an image generation process is achieved. The method ensures that the generated real word images not only meet the context, but also have higher similarity, and improves the image quality and the degree of meeting the actual demands. And adding paraphrasing means and example sentence sample, and comparing the image information again to construct a mechanism for dynamic updating and iteration. The real word image generated can be adjusted according to the feedback information of the similarity, the result is continuously optimized, and the accuracy of image generation is improved. The intelligent utilization of resources is realized by automatically skipping the vocabulary of the insufficient data generated image. Such an automatic screening mechanism saves computer resources and time, and improves the overall efficiency of image generation.
S103, traversing analysis results of real word and virtual words, storing the virtual words into a virtual word array, and setting and combining the background and the text by combining paraphrases, example sentences, paraphrases and anticonsets to generate an image of abstract vocabulary.
Specifically, in the present embodiment, the first and second embodiments,
s31: and storing the real word and the word in the list_of_word into an array no_fusing_word_list according to the real word and word result obtained in the step S11.
S32: the paraphrasing means, example sentence example, paraphrasing synonym and anticonsym are generated according to the Chinese dictionary pair no_means_word_list, and the result is stored in an array absstract_pic_list.
S33: setting the background of the image, namely 1024x1024, adding a blank picture, performing text processing on the result obtained in the step S42 and the no_fusing_word_list, and storing the result into an array lines.
S34: and (3) merging the lines obtained in the step (S33) and the designed image background, and designing the place where the text is placed.
By traversing the analysis result of real word and virtual word, virtual word is stored in virtual word array, and background and text are set and combined by combining paraphrasing, example sentence, paraphrasing, anticonsite and other information, so as to realize intelligent generation of abstract vocabulary image. This ensures that the generated image is not just a simple presentation, but incorporates multifaceted information, more expressive and rich in connotation. By integrating abundant language information such as paraphrases, example sentences, paraphrases, anti-definition words and the like, the image is not only simple translation of characters, but also contains more abundant context and cultural connotation behind the language. Such image presentation makes the abstract vocabulary more intuitive and easy to understand. And the text processing and merging operation realizes the ingenious combination of the image background and the text information. This helps the image bear and convey meaning of vocabulary better, has improved the information transfer effect of image. The dynamic design of the background size and the text position ensures that the generated image can keep good presentation effect under different conditions. The flexibility is beneficial to adapting to different platforms and application scenes, and the applicability and the universality of the image are improved. Through a series of processing on the background and the text of the image, the technical characteristics realize the automatic generation of the abstract vocabulary image. The method improves the efficiency of image generation, so that a large amount of abstract vocabulary can rapidly generate corresponding images, and provides a more convenient tool for Chinese education and learning.
Referring to fig. 2, a second embodiment of the present invention provides an image generating apparatus based on international chinese vocabulary, including:
a multi-tag mark generating unit 201 for loading a multi-standard level dictionary into an array, and performing part-of-speech mark and real word analysis based on part-of-speech information, and generating paraphrases and example sentences at the same time to form multi-tag marks of international Chinese level vocabulary;
the real word vocabulary image generating unit 202 is configured to traverse the analysis result of real word and virtual words, store real words into a real word array, automatically generate image information in combination with a main body, a modifier and image quality, and optimize and automatically screen the image information based on the reading and similarity comparison of the image information to generate an image of real word vocabulary;
the abstract vocabulary generating unit 203 is configured to traverse the analysis result of real word and imaginary word, store the imaginary word into an imaginary word array, and set and combine the background and the text by combining the paraphrase, the example sentence, the paraphrase and the anticonsite word to generate an image of the abstract vocabulary.
A third embodiment of the present invention provides an image generating apparatus based on an international chinese vocabulary, including a memory and a processor, in which a computer program is stored, the computer program being executable by the processor to implement an image generating method based on an international chinese vocabulary as set forth in any one of the above.
A fourth embodiment of the present invention provides a computer readable storage medium, in which a computer program is stored, where the computer program can be executed by a processor of a device in which the computer readable storage medium is located, to implement an image generating method based on an international chinese vocabulary as set forth in any one of the above.
According to the image generation method, device, equipment and medium based on the international Chinese vocabulary, firstly, a multi-standard grade dictionary is loaded into an array, part-of-speech marks and real word and virtual words are analyzed based on part-of-speech information, paraphrases and example sentences are generated at the same time, so that multi-label marks of the international Chinese grade vocabulary are formed, then, the analysis result of the real word and virtual words is traversed, the real words are stored into the real word array, image information is automatically generated by combining a main body, a modified word and image quality, and the image information is optimized and automatically screened based on the image information reading and similarity comparison, so that an image of the real word vocabulary is generated; and finally, traversing the analysis result of the real word and the virtual word, storing the virtual word into a virtual word array, and setting and combining the background and the text by combining paraphrases, example sentences, paraphrases and anticonsite words to generate an image of an abstract vocabulary, thereby solving the problem that the Chinese vocabulary cannot be vividly depicted in the prior art.
Illustratively, the computer programs described in the third and fourth embodiments of the present invention may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the implementation of an international chinese vocabulary-based image generating device. For example, the device described in the second embodiment of the present invention.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the image generating method based on the international chinese vocabulary, and connects the respective parts of the image generating method based on the international chinese vocabulary using various interfaces and lines.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of an international chinese vocabulary-based image generation method by running or executing the computer program and/or the module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, a text conversion function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the modules may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on this understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (7)

1. An image generation method based on international Chinese vocabulary is characterized by comprising the following steps:
loading the multi-standard grade dictionary into an array, and carrying out part-of-speech marking and real word and virtual word analysis based on part-of-speech information, and generating paraphrases and example sentences at the same time to form multi-label marks of international Chinese grade vocabulary;
traversing the analysis result of real word and virtual word, storing real word into real word array, combining main body, modifier and image quality to automatically generate image information, and optimizing and automatically screening the image information based on the reading of the image information and similarity comparison to generate the image of real word vocabulary;
traversing the analysis result of real word and virtual word, storing virtual word into virtual word array, and combining paraphrasing, example sentence, paraphrasing and anticonyming word to set and combine background and text so as to generate image of abstract vocabulary.
2. The method for generating an image based on international Chinese vocabulary according to claim 1, wherein the loading of the multi-standard level dictionary into the array, the part-of-speech tagging and real word and imaginary word analysis based on the part-of-speech information, and the simultaneous generation of paraphrases and example sentences form the multi-label tags of the international Chinese level vocabulary are as follows:
storing a standard grade dictionary into an array, marking the grade vocabulary in the array according to the part of speech information, and storing the grade vocabulary into an international Chinese vocabulary design table;
traversing the array, analyzing real word and virtual words of the array based on the part-of-speech marks and the grade vocabulary, and storing the analysis result of the real word and virtual words into the international Chinese vocabulary design table;
traversing the array, generating paraphrases and example sentences for the array based on a Chinese dictionary, and storing the paraphrases and example sentences into the international Chinese vocabulary design table;
extracting the main body and the modifier from the example sentence, comparing the main body and the modifier with the array, and discarding the grade vocabulary if the extracted result does not contain the grade vocabulary; if the extraction result comprises a grade vocabulary, storing the grade vocabulary into an international Chinese vocabulary design table;
matching the array with a standard grade dictionary, generating a design style according to a matching result, and storing the design style into an international Chinese vocabulary design table;
performing image quality analysis according to the example sentences, the main body, the modifier words and the design style, and storing the image quality analysis result into an international Chinese vocabulary design table;
and analyzing the picture size according to the image quality analysis result to generate the picture size, and storing the picture size into an international Chinese vocabulary design table.
3. The method for generating an image based on international Chinese vocabulary according to claim 1, wherein the analyzing result of traversing real word and virtual word, storing real word into real word array, automatically generating image information by combining main body, modifier and image quality, and optimizing and automatically screening the image information based on the reading of the image information and similarity comparison, and generating an image of real word vocabulary, specifically:
according to the analysis result of the real word and the virtual word, storing the real word in the array into an array real word list;
determining a main body, modifier words and image quality analysis results to generate image information according to the real word list;
and reading the image information and comparing the similarity, and generating images of real word vocabulary according to the comparison result of the similarity.
4. The method for generating an image based on international Chinese vocabulary according to claim 1, wherein the step of traversing the analysis result of real word and virtual word, storing the virtual word into a virtual word array, and setting and combining the background and the text in combination with paraphrases, example sentences, paraphrases and anticonsets to generate an image of abstract vocabulary comprises the following steps:
and storing the real word and the virtual word into a virtual word array according to the analysis result of the real word and the virtual word.
Generating paraphrases, example sentences, paraphrases and anti-definition words for the virtual word array according to the Chinese dictionary, setting the background based on the paraphrases, the example sentences, the paraphrases and the anti-definition words, and adding blank pictures to generate an image background;
and combining the text processing of the virtual word array with the image background to generate an image of the abstract vocabulary.
5. An image generating apparatus based on international chinese vocabulary, comprising:
the multi-label mark generating unit is used for loading the multi-standard grade dictionary into the array, carrying out part-of-speech mark and real word analysis based on part-of-speech information, and generating paraphrases and example sentences at the same time so as to form multi-label marks of international Chinese grade vocabulary;
the real word vocabulary image generating unit is used for traversing the analysis result of real word virtual words, storing real words into a real word array, automatically generating image information by combining a main body, a modifier and image quality, and optimizing and automatically screening the image information based on the reading of the image information and the comparison of similarity to generate an image of the real word vocabulary;
the abstract vocabulary generating unit is used for traversing the analysis result of real word and virtual word, storing the virtual word into the virtual word array, and setting and combining the background and the text by combining paraphrasing, example sentences, paraphrasing and anticonsite words to generate an image of the abstract vocabulary.
6. An image generation device based on international chinese vocabulary, comprising a memory and a processor, wherein the memory stores a computer program executable by the processor to implement an image generation method based on international chinese vocabulary according to any one of claims 1 to 4.
7. A computer readable storage medium storing a computer program executable by a processor of a device in which the computer readable storage medium is located to implement an international chinese vocabulary based image generating method according to any one of claims 1 to 4.
CN202311510148.5A 2023-11-13 2023-11-13 Image generation method, device, equipment and medium based on international Chinese vocabulary Pending CN117576237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311510148.5A CN117576237A (en) 2023-11-13 2023-11-13 Image generation method, device, equipment and medium based on international Chinese vocabulary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311510148.5A CN117576237A (en) 2023-11-13 2023-11-13 Image generation method, device, equipment and medium based on international Chinese vocabulary

Publications (1)

Publication Number Publication Date
CN117576237A true CN117576237A (en) 2024-02-20

Family

ID=89883624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311510148.5A Pending CN117576237A (en) 2023-11-13 2023-11-13 Image generation method, device, equipment and medium based on international Chinese vocabulary

Country Status (1)

Country Link
CN (1) CN117576237A (en)

Similar Documents

Publication Publication Date Title
CN110414519B (en) Picture character recognition method and device and storage medium
CN109243215B (en) Interaction method based on intelligent device, intelligent device and system
CN111160333A (en) AR glasses, text translation method and device thereof, and computer-readable storage medium
CN107748744B (en) Method and device for establishing drawing box knowledge base
CN108681393A (en) Translation display methods, device, computing device and medium based on augmented reality
CN113950822A (en) Virtualization of a physical active surface
CN111610901B (en) AI vision-based English lesson auxiliary teaching method and system
CN109388725A (en) The method and device scanned for by video content
CN110196929A (en) The generation method and device of question and answer pair
CN112149680A (en) Wrong word detection and identification method and device, electronic equipment and storage medium
CN108133209B (en) Target area searching method and device in text recognition
CN111881900B (en) Corpus generation method, corpus translation model training method, corpus translation model translation method, corpus translation device, corpus translation equipment and corpus translation medium
KR102498394B1 (en) Alphabet learning tool and system for providing english learning service using thereof
CN111241276A (en) Topic searching method, device, equipment and storage medium
CN117576237A (en) Image generation method, device, equipment and medium based on international Chinese vocabulary
KR20110024880A (en) System and method for learning a sentence using augmented reality technology
CN111062377B (en) Question number detection method, system, storage medium and electronic equipment
CN112800177B (en) FAQ knowledge base automatic generation method and device based on complex data types
KR100505346B1 (en) Language studying method using flash
CN111582281B (en) Picture display optimization method and device, electronic equipment and storage medium
CN109559313B (en) Image processing method, medium, device and computing equipment
KR102070178B1 (en) User participating hangul eduacation system and method performing the same
CN113486650A (en) Sentence scanning method and device and storage medium
CN114996510A (en) Teaching video segmentation and information point extraction method, device, electronic equipment and medium
CN112861611A (en) Copying method, copying device, computer equipment and 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