CN113127127A - Method and device for generating synthetic word - Google Patents

Method and device for generating synthetic word Download PDF

Info

Publication number
CN113127127A
CN113127127A CN202110488778.1A CN202110488778A CN113127127A CN 113127127 A CN113127127 A CN 113127127A CN 202110488778 A CN202110488778 A CN 202110488778A CN 113127127 A CN113127127 A CN 113127127A
Authority
CN
China
Prior art keywords
target
font structure
component
target font
word
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
CN202110488778.1A
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.)
Shanghai Ruixian Creative Design Co ltd
Original Assignee
Shanghai Ruixian Creative Design 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 Shanghai Ruixian Creative Design Co ltd filed Critical Shanghai Ruixian Creative Design Co ltd
Priority to CN202110488778.1A priority Critical patent/CN113127127A/en
Publication of CN113127127A publication Critical patent/CN113127127A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a method and a device for generating a synthesized word, wherein the method comprises the steps that a front end receives a target font structure selected by a user and a target component corresponding to the target font structure, and the target font structure is a preset abnormal Chinese character structure; synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure to generate a synthesized word; and outputting and displaying the synthesized word. The application aims to provide a method and a device for generating a composite word, which can be used for conveniently creating a personal character of a mind instrument by blending favorite elements according to own ideas.

Description

Method and device for generating synthetic word
Technical Field
The application relates to the field of culture derivative design, in particular to a method and a device for generating a synthesized word.
Background
With the development of society, people use Chinese characters symbols, artistic characters and individual characters more and more frequently, and are no longer limited by fixed character structure forms and inherent parts (components) of characters, and hopefully, the barriers of character structures and character parts can be broken, and favorite elements can be blended into the individual characters of the mind of the people according to the ideas of the people to create the individual characters of the mind of the people. But at present, no convenient creation tool is available to assist people in convenient creation.
Therefore, a tool which can be integrated with the favorite elements according to the own thought to create the personality characters of the mood instrument is needed.
Disclosure of Invention
The main objective of the present application is to provide a method and a system for generating a synthesized word, so as to solve the problem that the existing creation tool cannot integrate the favorite font structure and components to create the personality characters of the mood apparatus according to the user's own idea because the existing creation tool is limited to the existing artistic word and the existing fixed form of the font structure and components.
In order to achieve the above object, according to a first aspect of the present application, there is provided a method of generating a composite word.
The method for generating the composite word according to the application comprises the following steps:
the front end receives a target font structure selected by a user and a target component corresponding to the target font structure, wherein the target font structure is a preset abnormal Chinese character structure;
synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure to generate a synthesized word;
and outputting and displaying the synthesized word.
Optionally, the receiving the target font structure selected by the user and the target component corresponding to the font structure includes:
receiving a target font structure selected by a user and an independent target component group corresponding to each target font structure; or the like, or, alternatively,
and receiving a target font structure selected by a user and a target component group corresponding to a plurality of target font structures.
Optionally, the synthesizing the target component with the target font structure according to the component number required by the target font structure according to a preset synthesis logic, and generating a synthesized word includes:
identifying the number of parts required for each target font structure based on the constituent units of the target font structure;
respectively obtaining the same number of target components from the independent target component group or the target component group corresponding to each target font structure, and randomly combining the same number of target components in the target font structure to obtain a composite word; or
Selecting target components with the same position information identification for each constituent unit from an independent target component group or the target component group corresponding to each target font structure according to the position information identification of each constituent unit of the target font structure; and generating a composite word from the target components with the same position identification in the target font structure.
Optionally, the method further includes:
receiving a modification request of a user;
modifying the target component according to the modification request to obtain a new target component;
and adding the new target component to the target component library.
Optionally, the method further includes:
receiving a construction request initiated by a user, wherein the construction request comprises a font structure construction request or a component construction request;
and constructing according to the font structure construction request or the component construction request to obtain a new font structure or a new component, and adding the new font structure into the target font structure library or adding the new component into the target component library.
Optionally, the number of components required to identify each target font structure according to the constituent units of the target font structure includes:
identifying a color value for each constituent unit of each target font structure;
the number of parts per font structure is determined from the color values of each constituent unit.
Optionally, the method further includes:
setting corresponding position information identification for each composition unit of the font structure; and setting corresponding position information identification for the component.
In order to achieve the above object, according to a second aspect of the present application, there is provided a generation apparatus of a composite word.
The device for generating the composite word according to the application comprises:
a receiving module: the front end receives a target font structure selected by a user and a target component corresponding to the font structure, wherein the target font structure is a preset abnormal Chinese character structure;
a synthesis module: the system comprises a target part, a target font structure and a plurality of parts, wherein the target part is used for synthesizing the target part with the target font structure according to the number of the parts required by the target font structure and a preset synthesis logic to generate a synthesized word;
a display module: for output presentation of the synthesized word.
Optionally, the receiving module includes:
the first receiving unit is used for receiving the target font structure selected by the user and the independent target component group corresponding to each target font structure;
and the second receiving unit is used for receiving the target font structure selected by the user and a target component group corresponding to the plurality of target font structures.
Optionally, the synthesis module includes:
an identifying unit for identifying the number of parts required for each target font structure based on the constituent units of the target font structure;
the first synthesis unit is used for identifying the number of parts required by each target font structure according to the composition unit of the target font structure, respectively acquiring the same number of target parts from the independent target part group or the target part group corresponding to each target font structure, and randomly combining the same number of target parts in the target font structure to obtain a synthesized word;
a second synthesizing unit, configured to identify the number of components required by each target font structure according to a constituent unit of the target font structure, and select, according to the position information identifier of each constituent unit of the target font structure, a target component having the same position information identifier for each constituent unit from an independent target component group corresponding to each target font structure or the one target component group, respectively; and generating a composite word from the target components with the same position identification in the target font structure.
Optionally, the apparatus further comprises:
the component modification module is used for receiving a modification request of a user; modifying the target component according to the modification request to obtain a new target component; and adding the new target component to the target component library.
Optionally, the apparatus further comprises:
the system comprises a construction module, a display module and a control module, wherein the construction module is used for receiving a construction request initiated by a user, and the construction request comprises a font structure construction request or a component construction request; and constructing according to the font structure construction request or the component construction request to obtain a new font structure or a new component, and adding the new font structure into the target font structure library or adding the new component into the target component library.
Optionally, the identifying unit is further configured to identify a color value of each constituent unit of each target font structure; the number of parts required for each font structure is determined from the color values of each constituent unit.
Optionally, the apparatus further comprises:
the identification setting module is used for setting corresponding position information identification for each composition unit of the font structure; and setting corresponding position information identification for the component.
In order to achieve the above object, according to a third aspect of the present application, there is provided a computer-readable storage medium storing computer instructions for causing the computer to execute the method for generating a synthesized word according to any one of the above first aspects.
In order to achieve the above object, according to a fourth aspect of the present application, there is provided an electronic apparatus comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of generating a composite word according to any one of the first aspect.
In the embodiment of the application, in the method and the device for generating the synthesized character, according to a target font structure selected by a receiving user and a target component corresponding to the target font structure, the target font structure is a preset abnormal Chinese character structure; synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure to generate a synthesized word; and displaying the synthesized word. It can be seen that, in the application, a user can select a favorite font structure and favorite components, and then combine the favorite font structure and the favorite components through preset synthesis logic, so that the synthesized characters of the psychoscope can be conveniently created, and a tool which can conveniently create the personalized characters of the psychoscope according to own ideas and favorite elements without being bound to the existing artistic characters or the fixed structural form and the fixed components of the existing font is provided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a flow chart of a method for generating a composite word according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an abnormal font structure provided according to an embodiment of the present application;
fig. 3 is a flowchart of another method for generating a composite word according to an embodiment of the present application.
Fig. 4 is a block diagram of a composite word generation apparatus according to an embodiment of the present application.
Fig. 5 is a block diagram of another apparatus for generating a composite word according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a component and font structure modification configuration provided according to an embodiment of the present application.
Fig. 7 is a schematic diagram of word synthesis provided according to an embodiment of the present application.
Fig. 8 is a retrieval diagram provided according to an embodiment of the application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the invention and its embodiments and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present invention can be understood by those skilled in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The embodiment provides a method for generating a composite word. As shown in fig. 1, the method includes steps S101 to S103 as follows:
s101, the front end receives a target font structure selected by a user and a target component corresponding to the target font structure.
The target font structure is the font structure selected by the user, and various abnormal Chinese character structures are preset and are all stored in the font structure library in the embodiment of the application. In practical application, a user can select a favorite font structure from the font structure library as a target font structure according to own selection. The abnormal Chinese character structure refers to structures except the normal Chinese character font structure, and specifically provides schematic diagrams of a plurality of abnormal Chinese character structures, as shown in FIG. 2, 8 abnormal Chinese character structures are provided.
In addition, besides presetting a plurality of abnormal Chinese character structures, a user can construct a new font structure by himself, and the new font structure can be stored in a font structure library for the user to select. As in the fifth case of fig. 6: self-designed strange structure.
The target component is a component selected by a user, and in the embodiment of the application, a plurality of components are preset and all stored in a component library. The components in the component library are obtained by splitting the normal Chinese characters according to the components. In practical applications, the user can select a favorite part from the parts library as the target part.
In addition, besides various preset components, the user can modify the components in the component library to obtain new components, and the new components obtained by modification can also be stored in the component library for the user to select. As in the third case of fig. 6: "snake" is added to the familiar parts. The user can also create new parts by himself and save the new parts to the parts library for selection by the user. As in the fifth case of fig. 6: and (4) designing strange parts by self.
And S102, synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure, and generating a synthesized word.
The number of components required for the target font structure is derived by identifying color values of the constituent elements of the target font structure. Each font structure is composed of a plurality of composition units, and one composition unit corresponds to one color value. I.e. the number of color values can be taken as the number of components required by the target font structure.
When the target component is synthesized with the target font structure according to the preset synthesis logic according to the number of the components required by the target font structure, suitable components are mainly matched for the target font structure, and when the components are matched, if the number of the components selected by a user is larger than the number of the components required by the target font structure, the corresponding number of the components are selected from the multiple components selected by the user. For example: if the user selects 5 parts and the target font structure requires 4 parts, then 4 parts are selected from the 5 parts selected by the user.
If the number of parts selected by the user is less than the number of parts required by the target font structure, a corresponding number of parts in the parts library may be added to the parts selected by the user to satisfy the number of parts required by the target font structure. For example: if the user selects 3 parts and the target font structure requires 4 parts, then 1 part may be selected from the parts library, plus the user selected 3 to satisfy the 4 parts required by the target font structure.
And after the parts are selected, synthesizing the target font structure and the target parts according to preset synthesis logic to generate synthesized characters. The specific preset synthesis logic may be: and randomly combining or combining according to the position information identification.
The combination according to the position information identifier specifically comprises the following steps: and combining the composition units with the same position information identification and the target component in the target font structure to generate the synthesized word.
And S103, outputting and displaying the synthesized word.
And outputting and displaying the synthesized word synthesized by the preset synthesis logic through a display. The display can output and show a plurality of compound words, and the user can select the compound words to print, store and share according to own preference.
From the above description, it can be seen that the present invention achieves the following technical effects: synthesizing the target part with the target font structure according to preset synthesis logic and the target font structure by adopting a mode that a front end receives the target font structure selected by a user and the target part corresponding to the target font structure according to the number of parts required by the target font structure to generate a synthesized word; will the show is exported to synthetic word, has realized that the user can no longer be in the constraint of current art word and characters typeface fixed knot structure and fixed part, can be according to oneself's thought, fuses into the element that oneself likes, through selecting the typeface structure and the part that oneself likes to come convenient and fast to create the individual character of appearance of feeling, assists the technological effect of people's daily creation.
In addition to or as a refinement to the above embodiments, the present embodiment also provides a method for generating a synthesized word. As shown in fig. 3, the method includes steps S201 to S204 as follows:
s201, a front end receives a target font structure selected by a user and a target component corresponding to the target font structure.
This step specifically includes, in addition to the description in step S101 above, the following steps:
receiving a target font structure selected by a user and an independent target component group corresponding to each target font structure; or receiving a target font structure selected by a user and a target component group corresponding to a plurality of target font structures.
The independent target component group corresponding to each target font structure respectively means that one font structure corresponds to one target component group and has one-to-one correspondence. For example: each font structure in fig. 2 corresponds to one target component group, for a total of 8 target component groups.
The target component group corresponding to the target font structures means that the target component groups correspond to the same target component group and have a many-to-one correspondence relationship. For example: the 8 font structures in fig. 2 correspond to one target component group.
S202, identifying the number of parts required by each target font structure according to the constituent units of the target font structure.
The "number of parts required to identify each target font structure from the constituent units of the target font structure" is specifically: firstly, identifying the color value of each composition unit of each target font structure, wherein different composition units correspond to different color values; second, the number of parts required for each font structure is determined based on the color value of each constituent unit.
And S203, synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure, and generating a synthesized word.
And synthesizing the target component with the target font structure according to a preset synthesis logic, wherein the two conditions are divided.
First, random combining.
Specifically, the same number of target components are obtained from the independent target component group or the one target component group corresponding to each target font structure, and the target components with the same number are randomly combined in the target font structure to obtain the composite word.
And the second method, the combination is carried out according to the position information mark.
Specifically, according to the position information identifier of each constituent unit of the target font structure, selecting target components with the same position information identifier for each constituent unit from the independent target component group or the one target component group corresponding to each target font structure; and generating a composite word from the target components with the same position identification in the target font structure. For example: if the position information identification of one constituent element in the target font structure is the upper left part, a component having the same position information identification (upper left part) is selected and combined on the target font structure to obtain a composite word. The first case as shown in fig. 7: the familiar parts are placed in the familiar locations.
The position information identification of the font structure is obtained by setting the composition units of all font structures in the font structure library in advance; the position information identification of the component is set in advance for all components in the component library. The position information identification of the constituent unit of the font structure may be: left, right, middle, upper left, lower left, upper right, lower right, L, upper, lower, etc. For example, the position information of the constituent elements of the first font structure in fig. 2 identifies: left upper, left lower, middle, right; the position information of the constituent elements of the second font structure is identified by: left part, right upper part, right lower part, middle part. The location information identification of the component may be: left, right, middle, upper left, lower left, upper right, lower right, L, upper, lower, etc. The position information identification of the components is obtained by splitting the normal Chinese characters. For example: the reading character can be divided into 2 parts (beside the Chinese character and sold), and the corresponding position information identifications are respectively: a left portion and a right portion; "precious" word can be split into 2 parts ("precious capping" and "jade"), and the corresponding positional information sign respectively is: an upper portion and a lower portion; "portion" can split into 3 parts ("upright", "mouth", "right ear sword" side), and the positional information sign that corresponds is: left upper part, left lower part, right part.
And S204, outputting and displaying the synthesized word.
The implementation manner of this step is the same as that of the foregoing step S103, and is not described here again.
From the above description, it can be seen that the present invention achieves the following technical effects:
in the embodiment of the invention, the number of parts required by each target font structure is identified according to the composition unit of the target font structure, the target font structure and the target parts are combined to obtain the synthesized characters through two preset synthesis logics of random combination and combination according to the position information identification, so that the purpose of creating the individual characters of the psychology instrument is achieved, the technical effect that a user can blend in favorite elements to create the individual characters to assist the creation of people according to own ideas is realized, and the problem that the existing creation tool cannot blend in favorite font structures and parts to create the individual characters of the psychology instrument according to own ideas of the user because the existing creation tool is limited in the existing artistic characters and the fixed forms of the existing font structures and parts is solved.
Further, in addition to or as a refinement of the above embodiment, the present embodiment further includes:
in the process of combining the target font structure and the target component according to the position information identifier to obtain the composite word, the composition units with different position information identifiers and the target component can be combined on the target font structure to obtain the composite word. For example: the position information of one component unit in the target font structure is marked as the upper left part, and the position information can be combined with components except the component part marked as the upper left part to obtain the composite word. The second case, as shown in fig. 7: familiar parts are placed in unfamiliar locations.
Furthermore, all font structures in the font structure library and all components in the component library can be randomly combined in advance to obtain all synthesized words. And provides a search function of the synthesized word, the user can search through the font structure and the component constitution search condition, the search condition is: one or more font structures, one or more components, a combination of font structures and components. All the characters which meet the retrieval conditions can be searched and retrieved for the selection of the user. For example: the search condition input by the user is upper "rain", then: wen, snow, thunder, dew, and Xia; if the search condition input by the user is a top-bottom structure, then: ming, Liu, piece, group, etc.; the search condition input by the user is the upper and lower structure + lower "", then: drastic, nodulation, hot, boiling, etc. The specific search process is shown in fig. 8.
For further explanation of the above method embodiment, the present application also provides a specific example:
assuming that eight different font structures exist and each font structure is divided into four constituent units, each constituent unit has 5 replaceable parts, and assuming that random synthesis is performed through the font structures and the parts through preset synthesis logic, a total of 5 × 8 ═ 5000 different characters can be combined.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present application, there is also provided an apparatus for generating a synthesized word for implementing the method of fig. 1, as shown in fig. 4, the apparatus including:
and the receiving module 31 receives the target font structure selected by the user and the target component corresponding to the target font structure at the front end.
And the synthesis module 32 is configured to synthesize the target component with the target font structure according to a preset synthesis logic according to the number of components required by the target font structure, and generate a synthesized word.
And a display module 33, configured to output and display the composite word.
From the above description, it can be seen that the present invention achieves the following technical effects: synthesizing the target part with the target font structure according to preset synthesis logic and the target font structure by adopting a mode that a front end receives the target font structure selected by a user and the target part corresponding to the target font structure according to the number of parts required by the target font structure to generate a synthesized word; will the show is exported to synthetic word, has realized that the user can no longer be in the constraint of current art word and characters typeface fixed knot structure and fixed part, can be according to oneself's thought, fuses into the element that oneself likes, through selecting the typeface structure and the part that oneself likes to come convenient and fast to create the individual character of appearance of feeling, assists the technological effect of people's daily creation.
Further, as shown in fig. 5, the receiving module 31 includes:
the first receiving unit 311 is configured to receive an independent target component group corresponding to each target font structure selected by a user.
The second receiving unit 312 is configured to receive a target component group corresponding to a plurality of target font structures selected by a user.
Further, as shown in fig. 5, the synthesis module 32 includes:
an identifying unit 321 for identifying the number of parts required for each target font structure according to the constituent units of the target font structure.
The first synthesizing unit 322 is configured to identify the number of components required by each target font structure according to the forming unit of the target font structure, obtain the same number of target components from the independent target component group corresponding to each target font structure, and combine the same number of target components randomly in the target font structure to obtain a synthesized word.
A second synthesizing unit 323 configured to identify the number of components required for each target font structure according to the constituent units of the target font structure, and select, according to the position information identifier of each constituent unit of the target font structure, a target component having the same position information identifier for each constituent unit from the independent target component group or the one target component group corresponding to each target font structure; and generating a composite word from the target components with the same position identification in the target font structure.
Further, as shown in fig. 5, the apparatus further includes:
a component modification module 34 for receiving a modification request from a user; modifying the target component according to the modification request to obtain a new target component; and adding the new target component to the target component library.
Further, as shown in fig. 5, the apparatus further includes:
a construction module 35, configured to receive a construction request initiated by a user, where the construction request includes a font structure construction request or a component construction request; and constructing according to the font structure construction request or the component construction request to obtain a new font structure or a new component, and adding the new font structure into the target font structure library or adding the new component into the target component library.
Further, as shown in fig. 5, the identifying unit 321 is further configured to identify a color value of each constituent unit of each target font structure; the number of parts required for each font structure is determined from the color values of each constituent unit.
Further, as shown in fig. 5, the apparatus further includes:
an identifier setting module 36, configured to set a corresponding location information identifier for each component unit of the font structure; and setting corresponding position information identification for the component.
Specifically, the specific process of implementing the functions of each unit and module in the device in the embodiment of the present application may refer to the related description in the method embodiment, and is not described herein again.
From the above description, it can be seen that the present invention achieves the following technical effects:
in the embodiment of the invention, the number of parts required by each target font structure is identified according to the composition unit of the target font structure, the target font structure and the target parts are combined by two preset combination logics which are randomly combined or combined according to the position information identifier to obtain the synthesized characters, so that the purpose of creating the individual characters of the psychology instrument is achieved, the technical effect that a user can blend in favorite elements to create the individual characters to assist the creation of people according to own ideas is realized, and the problem that the existing creation tool cannot blend in favorite font structures and parts to create the individual characters of the psychology instrument according to own ideas of the user because the existing creation tool is limited in the existing artistic characters and the fixed forms of the existing font structures and parts is solved.
According to an embodiment of the present application, there is further provided a computer-readable storage medium, where the computer-readable storage medium stores computer instructions for causing the computer to execute the method for generating a synthesized word in the above method embodiment.
According to an embodiment of the present application, there is also provided an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of generating a composite word in the above method embodiments.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of generating a composite word, the method comprising:
the front end receives a target font structure selected by a user and a target component corresponding to the target font structure, wherein the target font structure is a preset abnormal Chinese character structure;
synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure to generate a synthesized word;
and outputting and displaying the synthesized word.
2. The method of generating a synthesized word according to claim 1, wherein: the front end receives a target font structure selected by a user and a target component corresponding to the font structure, and the method comprises the following steps:
receiving a target font structure selected by a user and an independent target component group corresponding to each target font structure; or the like, or, alternatively,
and receiving a target font structure selected by a user and a target component group corresponding to a plurality of target font structures.
3. The method of generating a synthesized word according to claim 2, wherein: the synthesizing the target component with the target font structure according to the component number required by the target font structure according to a preset synthesizing logic to generate a synthesized word comprises:
identifying the number of parts required for each target font structure based on the constituent units of the target font structure;
respectively obtaining the same number of target components from the independent target component group or the target component group corresponding to each target font structure, and randomly combining the same number of target components in the target font structure to obtain a composite word; or
And respectively selecting target components with the same position information identification for each constituent unit from the independent target component group or the target component group corresponding to each target font structure according to the position information identification of each constituent unit of the target font structure, and generating a synthesized word from the target components with the same position identification in the target font structure.
4. The method of generating a synthesized word according to claim 1, wherein: the method further comprises the following steps:
receiving a modification request of a user;
modifying the target component according to the modification request to obtain a new target component;
and adding the new target component to the target component library.
5. The method of generating a synthesized word according to claim 1, wherein: the method further comprises the following steps:
receiving a construction request initiated by a user, wherein the construction request comprises a font structure construction request or a component construction request;
and constructing according to the font structure construction request or the component construction request to obtain a new font structure or a new component, and adding the new font structure into the target font structure library or adding the new component into the target component library.
6. The method of generating a synthesized word according to claim 3, wherein: the number of parts required to identify each target font structure according to the constituent units of the target font structure includes:
identifying a color value for each constituent unit of each target font structure;
the number of parts required for each font structure is determined from the color values of each constituent unit.
7. The method of generating a composite word according to claim 1, further comprising:
setting corresponding position information identification for each composition unit of the font structure; and setting corresponding position information identification for the component.
8. An apparatus for generating a composite word, the apparatus comprising:
the receiving module is used for receiving a target font structure selected by a user and a target component corresponding to the font structure at the front end, wherein the target font structure is a preset abnormal Chinese character structure;
the synthesis module is used for synthesizing the target component with the target font structure according to a preset synthesis logic according to the quantity of the components required by the target font structure to generate a synthesized word;
and the display module is used for outputting and displaying the synthesized word.
9. A computer-readable storage medium storing computer instructions for causing a computer to execute the method of generating a composite word according to any one of claims 1 to 7.
10. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of generating a composite word of any one of claims 1 to 7.
CN202110488778.1A 2021-04-30 2021-04-30 Method and device for generating synthetic word Pending CN113127127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110488778.1A CN113127127A (en) 2021-04-30 2021-04-30 Method and device for generating synthetic word

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110488778.1A CN113127127A (en) 2021-04-30 2021-04-30 Method and device for generating synthetic word

Publications (1)

Publication Number Publication Date
CN113127127A true CN113127127A (en) 2021-07-16

Family

ID=76781511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110488778.1A Pending CN113127127A (en) 2021-04-30 2021-04-30 Method and device for generating synthetic word

Country Status (1)

Country Link
CN (1) CN113127127A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0962246A (en) * 1995-08-29 1997-03-07 Nec Off Syst Ltd Character making system
CN1558314A (en) * 2004-01-20 2004-12-29 华南理工大学 Combiner word-formation method in Chinese characters electronicalization
CN101667349A (en) * 2008-09-02 2010-03-10 英业达股份有限公司 System and method for generating Chinese characters by integrating Chinese character elements
CN103186511A (en) * 2011-12-31 2013-07-03 北京大学 Method and equipment for word formation of Chinese characters, and method for constructing font object library

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0962246A (en) * 1995-08-29 1997-03-07 Nec Off Syst Ltd Character making system
CN1558314A (en) * 2004-01-20 2004-12-29 华南理工大学 Combiner word-formation method in Chinese characters electronicalization
CN101667349A (en) * 2008-09-02 2010-03-10 英业达股份有限公司 System and method for generating Chinese characters by integrating Chinese character elements
CN103186511A (en) * 2011-12-31 2013-07-03 北京大学 Method and equipment for word formation of Chinese characters, and method for constructing font object library

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERIC Q. LIU: "关于思源宋体的问答", Retrieved from the Internet <URL:http://thetype.com/2017/04/11961/> *

Similar Documents

Publication Publication Date Title
CN104794232B (en) The recommendation method and apparatus of search result
CN109688463A (en) A kind of editing video generation method, device, terminal device and storage medium
US20150331933A1 (en) System and method for Rhythmic and Polyrhythmic Pattern Search and Publishing
CN103631865B (en) Webpage generating method and equipment
CN107621966A (en) Gui display method, device and terminal device
CN102103491A (en) System and method for generating interface
RU2009133945A (en) METHOD AND SYSTEM OF PROVIDING CONTENT
WO2008048729B1 (en) System for highlighting a dynamic personalized object placed in a multi-media program
CN103902679B (en) Method and apparatus are recommended in search
CN103235719B (en) The method and apparatus set up a web site
CN110392901A (en) The providing method of e-book service and computer program for this method
CN110688496A (en) Method and device for processing multimedia file
CN103020082A (en) Reading processing system and method, server and terminal equipment
CN107977203A (en) The creation method of storage device, application program control and user interface
CN110096276A (en) Source of houses displayed page configuration method, equipment, storage medium and device
CN102841887A (en) Method and device for typesetting variable data
CN111158834B (en) Interface self-defining method and computer readable storage medium
CN108614872A (en) Course content methods of exhibiting and device
CN106469036A (en) Method for information display and client
US7865826B2 (en) System and method for creating and presenting mathematical documents
CN113127127A (en) Method and device for generating synthetic word
Tong et al. Research on UI visual design of intangible cultural heritage digital museum based on user experience
US20120313966A1 (en) Data processing apparatus, data processing method, and storage medium
WO2018225968A1 (en) System for combining moving image templates and method thereof
CN105893048A (en) Browser theme changing method and device and electronic equipment

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