CN110020411A - Graph-text content generation method and equipment - Google Patents
Graph-text content generation method and equipment Download PDFInfo
- Publication number
- CN110020411A CN110020411A CN201910248465.1A CN201910248465A CN110020411A CN 110020411 A CN110020411 A CN 110020411A CN 201910248465 A CN201910248465 A CN 201910248465A CN 110020411 A CN110020411 A CN 110020411A
- Authority
- CN
- China
- Prior art keywords
- text
- keyword
- picture
- user
- graph
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
Abstract
This application provides a kind of graph-text contents to generate scheme, the program is able to respond the operation of input herein in user, determine this paper of user's input, and the text is shown in display interface, then keyword is determined according to the text, the picture with the keyword match is obtained, generate and shows the graph-text content comprising the text and the picture in the display interface.Whole process searches manually without user, selects figure, the picture to match with content of text directly can be automatically found by the text inputted, then the graph-text content comprising picture and text is generated, thus, it is possible to promote user experience, it allows users to effectively show emotion during social activity, while not needing to increase a large amount of cumbersome operations of user.
Description
Technical field
This application involves information technology field more particularly to a kind of graph-text content generation method and relevant devices.
Background technique
With the continuous development of Internet technology, all kinds of social modes Internet-based are continuously emerged.For example, user can
To use social platform to issue oneself dynamic, original content etc. in publication interface, checks, comments on for other users, or
Person can also be chatted by instant communication software and other users.
During above-mentioned social, simple text interaction is increasingly difficult to meet the exposition need of user, therefore, user
Often text cooperation picture is used, to more accurately express current emotion.But in actual scene, user is past
It is past to be quickly found out the picture for being suitable for current exposition need every time.User may need to switch to search from social application
Using carrying out complicated picture searching using the search engine of search application, find after also needing to download preservation after picture
It can just be used in social application, whole process trivial operations, poor user experience.
Apply for content
The purpose of the application is to provide a kind of graph-text content generation method and equipment.
To achieve the above object, some embodiments of the present application provide a kind of graph-text content generation method, this method packet
It includes:
In response to the operation of input herein of user, this paper of user's input is determined, and the text is shown in display interface
This;
Keyword is determined according to the text, obtains the picture with the keyword match;
It generates and shows the graph-text content comprising the text and the picture in the display interface.
Another aspect based on the application, additionally provides a kind of graph-text content generating device, which includes for storing
The memory of computer program instructions and processor for executing computer program instructions, wherein when the computer program refers to
When enabling by processor execution, triggers the equipment and execute the graph-text content generation method.
In addition, computer program instructions are stored thereon with the embodiment of the present application also provides a kind of computer-readable medium,
The computer-readable instruction can be executed by processor to realize the graph-text content generation method.
In the scheme that some embodiments of the present application provide, it is able to respond the operation of input herein in user, determines user
This paper of input, and the text is shown in display interface, keyword is then determined according to the text, is obtained and the pass
The matched picture of key word generates and shows the graph-text content comprising the text and the picture in the display interface.It is whole
A process searches manually without user, selects figure, can be directly automatically found by the text inputted and be matched with content of text
Picture, then generate include picture and text graph-text content, thus, it is possible to promote user experience, allow users to effectively
Ground shows emotion during social activity, while not needing to increase a large amount of cumbersome operations of user.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of process flow diagram of graph-text content generation method provided by the embodiments of the present application;
Fig. 2 is process flow diagram when determining keyword in the embodiment of the present application according to the text;
Fig. 3 is display renderings of the candidate key in keyword display area in present application example example;
Fig. 4 is a kind of schematic diagram for obtaining the user interface during picture in the embodiment of the present application;
Fig. 5 is the process flow diagram that text intelligence figure is realized using scheme provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of pop-up option during realizing text intelligence figure in the embodiment of the present application;
Fig. 7 is a kind of structural representation of the equipment for the method and/or technology scheme being adapted to carry out in the embodiment of the present application
Figure;
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
In a typical configuration of this application, terminal, the equipment of service network include one or more processors
(CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media, can be by any side
Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM (CD-
ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storages
Equipment or any other non-transmission medium, can be used for storage can be accessed by a computing device information.
The embodiment of the present application provides a kind of graph-text content generation method, and this method can be generated comprising text and picture
Graph-text content, whole process are searched, select figure manually without user, can be directly automatically found by the text inputted and text
Then the picture that content matches generates and shows the graph-text content comprising picture and text, thus, it is possible to promote user experience,
It allows users to effectively show emotion during social activity, while not needing to increase a large amount of cumbersome operations of user.
In actual scene, the executing subject of this method can be user equipment or user equipment and the network equipment is logical
It crosses network and is integrated constituted equipment.Wherein, user equipment includes input/output unit, for realizing the friendship between user
Mutually, the process of data processing can locally be realized in user equipment, can also be realized and will be located in the network device by network
Reason result is provided to user equipment.The user equipment includes but is not limited to that each Terminal Type such as computer, mobile phone, tablet computer is set
It is standby;The network equipment includes but is not limited to such as network host, single network server, multiple network server collection or is based on cloud
Set of computers of calculating etc. is realized.Here, cloud is by a large amount of hosts or network clothes based on cloud computing (Cloud Computing)
Business device is constituted, wherein cloud computing is one kind of distributed computing, and one consisting of a loosely coupled set of computers virtual
Computer.
Fig. 1 shows a kind of process flow of graph-text content generation method provided by the embodiments of the present application, and this method includes
Following processing step:
Step S101, the input herein in response to user operate, and determine this paper of user's input, and show in display interface
Show the text.Wherein, the text entry operation can be the input operation realized by the input unit in user equipment,
Such as corresponding text entry operation is realized by input units such as keyboard, board, touch screens, allow user equipment root
The text for determining user's input is operated according to these.
In actual scene, the text entry operation of user can be provided based on the application program run in user equipment
Input interface inputted, for example, can editing interface based on chat interface, mail applications in instant messaging application,
The input interfaces such as publication interface of user's original content realize text entry operation in social platform application.Hand is being used with user
For the instant messaging application of machine and good friend chat, grasped in the dummy keyboard that chat interface can provide for user
Make, user carries out clicking the input for completing text.According to the text entry operation of user, specific content of text can be determined,
Then the text inputted is shown in the input frame of the chat interface of instant messaging application.As a result, in the embodiment of the present application
The display interface for generating graph-text content can be UGC (the User Generated of the social platforms such as microblogging, blog, circle of friends
Content, user's original content) publication interface, or it is also possible to the communication interface of the meanss of communication such as instant messaging, mail
Deng.
Step S102 determines keyword according to the text, obtains the picture with the keyword match.It is inputted in user
After text, keyword relevant to text can be determined by text, for example, the text of user's input be " today is good hot,
Want to eat an ice lolly ", it is " good heat ", " ice lolly " that keyword can be extracted after handling text, then goes to search automatically
With " good heat ", " ice lolly " matched picture.
In some embodiments of the present application, after executing step S101, step S102 can be triggered by specified conditions.
Trigger condition, which can be, detects that specific user's operation either detects specific input content.Wherein, specific user
Operation can include but is not limited to the operation of clicking trigger button, default gesture operation on the touchscreen, drive user equipment
Realize the operation etc. of predetermined movement trend.
The operation of clicking trigger button can refer to that user clicks the specific button that user equipment is shown on interactive interface
Operation, such as can be with the button in chat interface also comprising an intelligent figure, after user has inputted text, Ke Yidian
The button is hit, it is possible thereby to which triggering equipment executes subsequent step.Wherein, described clicking operation this operation can be user
The trigger action carried out using the external input devices such as mouse or keyboard control cursor, or finger can also be utilized for user
Or the touching operation that the touch input equipments such as input pen are carried out, the present embodiment is to this without being particularly limited to.
Default gesture operation on the touchscreen can refer to contact slide of the user on the touch device of user equipment
Track.The contact slide track can include but is not limited to by several corresponding touch point groups of several continuous touch events
At straight line or arbitrary shape curve, the present embodiment is to this without being particularly limited to.For example, can be the length on interactive interface
By operating gesture, slip gesture etc..
It drives user equipment to realize the operation of predetermined movement trend, can refer to that user hand holds user equipment, be set in user
The standby movement rail for when being in particular state (for instance in the state for having inputted text), the user equipment being driven to be moved
Mark, for example, shake, overturn etc..
During the realization, sensor device specifically can use, detect the user to the page where quick entrance
Operating gesture.Specifically, the sensor device can include but is not limited to gravity sensor, acceleration transducer, pressure
At least one of sensor, infrared sensor, range sensor and imaging sensor, the present embodiment is to this without special
It limits.
Wherein, the range sensor can be ultrasonic distance sensor, or can also be infrared distance sensor,
Perhaps it can also be laser distance sensor or can also be microwave range sensor, the present embodiment is to this without special
It limits.These range sensors are all existing mature technologies, and detailed description may refer to related content in the prior art, this
Place repeats no more.
Wherein, described image sensor can sense for charge coupled cell (Charge Coupled Device, CCD)
Device, or can also for metal oxide semiconductor device (Complementary Metal-Oxide Semiconductor,
CMOS) sensor, the present embodiment is to this without being particularly limited to.
In addition, detecting that specific input content can be the content detection carried out based on inputted text, for example, can be with
A character is preset as triggering character, any position or predeterminated position in the text detects the triggering character
When, then it triggers and executes step S102.Such as in some embodiments of the present application, the triggering character can be ##, work as detection
When end to text is character " ## ", then meet trigger condition.It is with aforementioned texts " today, good heat, wanted to eat an ice lolly "
Example executes subsequent figure step to triggering, then user can actually input " today, good heat, wanted to eat an a ice lolly ## ", by
This can trigger after completing step S101 and execute subsequent step.
In some embodiments of the present application, it can be used as shown in Figure 2 when determining keyword according to the text
Process flow, including following processing step:
Step S201 first carries out word segmentation processing to the text, obtains the participle phrase for including in the text.For example,
For " today, good heat, wanted to eat an ice lolly " herein, after carrying out word segmentation processing to it, processing result includes following participle word
Group: today/good hot// want to eat// ice lolly.The segmentation methods of any maturation can be used when carrying out word segmentation processing, such as
The segmentation methods based on dictionary such as Forward Maximum Method method, reverse maximum matching method, bi-directional matching participle method, or can also benefit
With the segmentation methods based on machine learning such as HMM, CRF, SVM, deep learnings.
Wherein, the text handled in this step can be all texts inputted in step S101, be also possible to
The part text chosen in all texts of step S101 input, such as a few sentences in one section of word or one can be chosen
Certain a part in words etc..By taking text " today, good heat, wanted to eat an ice lolly " as an example, available user executes the text
Selection operation, such as user can operate the text chosen to needs by long-pressing, sliding etc. and be marked, and equipment can basis
The selection operation of user is wherein selecting part text to be processed, " wants to eat ice if user has chosen in the present embodiment
Rod " then can carry out word segmentation processing to the part text in this step, obtain following participle phrase: want to eat// ice lolly.
Step S202 determines keyword according to the participle phrase, and one way in which can be directly in above-mentioned point
It selects one or more participle phrase as keyword in word phrase, such as can choose " good heat ", " wanting to eat " and " ice lolly "
Three are used as keyword, to search picture.
The mode of keyword is determined by text in addition, the embodiment of the present application also provides another kinds, which is first to institute
It states text and carries out semantic analysis, determine the corresponding semantic information of the text, keyword is then determined according to institute's semantic information.
Wherein, semantic information indicates the text meaning to be expressed, specifically can be mood expressed by text, described row
For or much informations, the keyword thereby determined that such as the things that is included can be different from mode shown in Fig. 2 above-mentioned.
In actual scene, the mode of deep learning can use, a deep learning model is constructed in advance, using having marked
The sample set for infusing semantic information is trained deep learning model.After the completion of model training, i.e., using the depth
It practises model and completes semantic analysis, the corresponding semantic information of identification text.For example, for text, " today, good heat, was not desired to completely
It is dynamic, it is desirable to recumbency ", it is inputted deep learning model and carries out semantic analysis, if may include text in the semantic information of identification
The expressed moods such as sluggish, it is possible thereby to determine keyword relevant to the mood.
Since keyword is for matching picture, and the effect of picture is more accurately feelings of the expression user in social activity
Thread, thus keyword it is accurate whether and picture and text required for expression mood close to close relationship.Therefore, originally
In some embodiments for applying for embodiment, can not directly it automatically determine for carrying out matched keyword, but first according to text
This determination candidate key, and the candidate key is shown to user, the operation of user is then detected, in response to the pass of user
The adjustment operation of key word, is adjusted the candidate key, determines keyword.
Wherein it is determined that the mode of candidate key is in the way of above-mentioned, for example, for " today is good hot, wants to eat herein
A ice lolly ", can using all participle phrases of word segmentation result as candidate key, that is, include " today ", " good heat ", " ",
" wanting to eat ", " a ", " ice lolly " six candidate keys.These keywords will be exposed to user, allow user according to
Practical situation is adjusted.
In some embodiments of the present application, after determining candidate key, user equipment can be set in the display interface
A keyword display area is set, which can be in display interface using forms such as pop-up window, floating layers
It is existing, and the candidate key can then be shown in the form of label in keyword display area.Fig. 3 shows above-mentioned six
Display effect of a candidate key in keyword display area.
The keyword adjustment operation can include but is not limited to keyword for being adjusted to the candidate key
Selection, modification, addition, deletion etc..For example, for six candidate keys " today " above-mentioned, " good heat ", " ", " thinking
Eat ", " a ", " ice lolly ", 4 therein can be deleted, only will " good heat " and " ice lolly " as the pass eventually for picture match
Key word.In actual scene, user can determine keyword by way of clicking Keyword Tag from candidate key,
Such as if desired use " good heat " and " ice lolly " as the keyword eventually for picture match, then it can be in six candidate keys
Wherein " good heat " and " ice lolly " corresponding label are clicked in word.Equipment, can be by above-mentioned two mark after detecting clicking operation
Label are highlighted to be different from unchecked other labels.In addition, when determining keyword, it can also be another according to the demand of user
The other phrases of outer addition are as keyword, such as increase new keyword " summer " etc., or can also be to candidate therein
Keyword is modified, such as " ice lolly " is revised as " ice-cream stick " etc..It, can be true by being adjusted to the candidate key
Surely it is more in line with the keyword of user demand, so that matched picture is more accurate.
When the keyword for matching picture there are it is multiple when, picture match can be carried out based on multiple keywords, such as can
It is matched with the label information carried with picture itself, it, can be by these figures if label exact matching or part match
Piece is as the picture with the keyword match.For example, all keywords can be based on when comprising 4 keyword A, B, C, D
The label information carried with picture is matched, if the picture that default image data is concentrated includes picture PIC1~4, wherein picture
The label information of PIC1 is A, B, C, E, and the label information of picture PIC2 is B, C, E, F, and the label information of picture PIC3 is C, G,
The label information of picture PIC4 is A, C, D, E, G.If having at least two label informations and key in the label information that picture includes
Word is identical, then the picture PIC1, PIC2, PIC4 can be determined as to the picture with keyword match.Here, those skilled in the art
Member is existing or occur from now on it should be appreciated that the matched mode of label information and keyword progress of above-mentioned picture is only for example
If other deformations or extended mode based on similar principles can be suitable for the application, it should also be included in the guarantor of the application
It protects in range, and is incorporated herein in the form of reference.
In actual scene, the default image data collection can be pre-set picture database, or can also
To be to utilize search engine, and search for results set obtained in the internet as search condition using keyword.Work as matching
When the picture arrived is multiple, such as three pictures PIC1, PIC2, PIC4 have been matched in aforementioned scene, then it can be by these figures
Piece shows that the candidate picture, Fig. 4 show a kind of user interface in the embodiment of the present application as candidate picture, to user
Schematic diagram, wherein area1 be the keyword based on determined by text display area, area2 be obtained based on the keyword
The display area for the candidate picture got.User can carry out selection operation in display area, and user device responsive is in user
Selection operation, can determine Target Photo in the candidate picture, for example, illustrated in display area three picture PIC1,
PIC2 and PIC4, an at least picture therein can be selected as Target Photo by clicking operation by user, so that subsequent life
At and being shown in display interface in graph-text content comprising text and the Target Photo.
In other embodiments of the application, when the keyword for matching picture there are it is multiple when, can be first in institute
It states and determines that core keyword can determine that wherein at least one is by taking 4 keywords A, B, C, D above-mentioned as an example in keyword
Core keyword, if the core keyword determined in the present embodiment is A.It is being concentrated according to the keyword in default image data
Picture match is carried out, when obtaining the picture with the keyword match, power of the core keyword when carrying out picture match
It is great in non-core keyword.
According to the difference of practical application scene, the embodiment mode of the weight be can also be different, such as only by label information
In contain core keyword picture be determined as it is matched as a result, thus by keyword A, B, C, D in aforementioned picture PIC1~4
In scan for, although due to there is two label informations of B, C identical as keyword in picture PIC2, due to do not include core
Keyword A, then matched result is picture PIC1 and PIC4, without including picture PIC2.Or the embodiment mode of weight can also
Be candidate picture presentation sequence on, such as by label information include core keyword picture preferentially show.
Step S103 is generated after determining picture and display is included the text and described in the display interface
The graph-text content of picture.For example, by taking the scene of instant messaging as an example, when user inputs " today in the input frame of chat interface
Good heat is wanted to eat an ice lolly " text after, the picture with the keyword matchs such as " good heat ", " ice lolly " can be found automatically
PIC1 contains the graph-text content of the text " today, good heat, wanted to eat an ice lolly " and picture PIC1, the figure it is possible thereby to generate
Literary content can be shown in chat interface.
Also such as, by taking social platform gives out information as an example, if when publication circle of friends, it is defeated in the input frame at publication interface first
Text " today, good heat, wanted to eat an ice lolly " is entered, can equally have been found automatically based on the text and " good heat ", " ice lolly " etc.
The picture PIC1 of keyword match contains the text " today, good heat, wanted to eat an ice lolly " and picture it is possible thereby to generate
The graph-text content of PIC1, and the graph-text content is shown in publication interface.
It follows that whole process searches manually without user, selects figure, can directly be looked for automatically by the text inputted
To the picture to match with content of text, the graph-text content comprising picture and text is then generated and shown, thus, it is possible to be promoted
User experience allows users to effectively show emotion during social activity, while it is a large amount of cumbersome not need increase user
Operation.
In some embodiments of the present application, user equipment includes the text generating and showing in the display interface
When the graph-text content of this and the picture, it can be in the predeterminable area of display interface that the text has been displayed described in insertion
Picture, so that the display interface shows the graph-text content comprising the text and the picture.Wherein, the predeterminable area can
To be predeterminated position on text periphery, such as end, the lower section of text of text etc., the picture and text of an entirety are formed with text
Content.It, can also be using the picture as chatting in addition, under specific scene, such as in the chat interface of instant messaging application
Background picture in its interface improves instant messaging application as a kind of automatic scheme for changing chat interface background picture
Interest, so that user experience is more preferably.
Fig. 5 show using scheme provided by the embodiments of the present application realize text intelligence figure process flow, including with
Under processing step:
Step 1:
1, after text box inputs text, addition picture buttons are clicked.Such as the text inputted in the present embodiment is " modern
Its good heat, wants to eat an ice lolly ".
2. selecting intelligent figure, as shown in Figure 6 in the pop-up option of appearance.Wherein, the intelligent figure function is
Function corresponding to graph-text content generation scheme provided by the embodiments of the present application.
Step 2:
1, after selecting intelligent figure, word segmentation processing can be carried out to the text of input, interactive interface at this time is as described in Figure 4.
Text box area1 will appear the word segmentation result of text above interactive interface, and each participle phrase can be opened up with individual tag (label)
Show.For example, participle phrase as " today ", " good heat ", " ", " wanting to eat ", " a ", " ice lolly " six in the present embodiment, this
Six participle phrases are candidate key.
2, the tag that selection needs to be used to carry out picture match is clicked, one or more may be selected, it can be aobvious in highlighted form
Show the tag chosen.Phrase is wherein segmented in addition it is also possible to directly modify, or is inputting more keywords.
3, after according to keyword search picture, lower section picture region area2 to be selected will appear the candidate picture being matched to.
4. can be plugged into text wherein selecting satisfied picture, graph-text content is generated.If not having in candidate picture
Satisfied picture, then user can continue to adjust keyword, match picture again.
Based on the same inventive concept, a kind of graph-text content generating device, the equipment are additionally provided in the embodiment of the present application
Corresponding method is the graph-text content generation method in previous embodiment, and its principle solved the problems, such as is similar to this method.
The equipment includes the memory for storing computer program instructions and the processor for executing computer program instructions,
In, when the computer program instructions are executed by the processor, triggers the equipment and execute graph-text content generation method above-mentioned.
The specific implementation of the equipment can be user equipment or user equipment and the network equipment and be integrated institute by network
The equipment of composition.Wherein, user equipment includes input/output unit, for realizing the interaction between user, data processing
Process can locally be realized in user equipment, can also realize in the network device and processing result is provided to use by network
Family equipment.The user equipment includes but is not limited to all kinds of terminal devices such as computer, mobile phone, tablet computer;The network is set
Standby includes but is not limited to such as network host, single network server, multiple network server collection or the computer based on cloud computing
Set etc. is realized.Here, cloud is made of a large amount of hosts or network server for being based on cloud computing (Cloud Computing),
In, cloud computing is one kind of distributed computing, a virtual machine consisting of a loosely coupled set of computers.
Fig. 7 shows a kind of structure of the equipment for the method and/or technology scheme being adapted to carry out in the embodiment of the present application,
The equipment 700 include central processing unit (CPU, Central Processing Unit) 701, can according to be stored in only
It reads the program in memory (ROM, Read Only Memory) 702 or is loaded into random access storage from storage section 708
Program in device (RAM, Random Access Memory) 703 and execute various movements appropriate and processing.In RAM 703
In, also it is stored with various programs and data needed for system operatio.CPU 701, ROM 702 and RAM 703 pass through bus 704
It is connected with each other.Input/output (I/O, Input/Output) interface 705 is also connected to bus 704.
I/O interface 705 is connected to lower component: including the defeated of keyboard, mouse, touch screen, microphone, infrared sensor etc.
Enter part 706;Including such as cathode-ray tube (CRT, Cathode Ray Tube), liquid crystal display (LCD, Liquid
Crystal Display), the output par, c 707 of light-emitting diode display, OLED display etc. and loudspeaker etc.;Including hard disk, light
The storage section 708 of the one or more computer-readable medium such as disk, disk, semiconductor memory;And including such as LAN
The communications portion 709 of the network interface card of (local area network, Local Area Network) card, modem etc..Communications portion
709 execute communication process via the network of such as internet.
Particularly, the method in the embodiment of the present application and/or embodiment may be implemented as computer software programs.Example
Such as, embodiment of the disclosure includes a kind of computer program product comprising carries computer on a computer-readable medium
Program, the computer program include the program code for method shown in execution flow chart.It is central in the computer program
When processing unit (CPU) 701 executes, the above-mentioned function of limiting in the present processes is executed.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires
Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has
Shape medium, the program can be commanded execution system, device or device use or in connection.
And in this application, computer-readable signal media may include passing in a base band or as carrier wave a part
The data-signal broadcast, wherein carrying computer-readable program code.The data-signal of this propagation can use a variety of shapes
Formula, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media may be used also
To be any computer-readable medium other than computer readable storage medium, which can send, propagate
Either transmission is for by the use of instruction execution system, device or device or program in connection.It is computer-readable
The program code for including on medium can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc.
Deng or above-mentioned any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flowchart or block diagram in attached drawing shows the equipment according to the various embodiments of the application, method and computer program
The architecture, function and operation in the cards of product.In this regard, each box in flowchart or block diagram can represent
A part of a part of one module, program segment or code, the module, program segment or code is used for comprising one or more
The executable instruction of logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
Function can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated actually may be used
To be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that
, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with executing
The dedicated systems for hardware of defined functions or operations realizes, or can use specialized hardware and computer instruction
Combination is to realize.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more computer-readable instruction, the computer-readable instruction can be executed by processor with
Realize the method and/or technology scheme of multiple embodiments of aforementioned the application.
In conclusion it is able to respond the operation of input herein in user in the scheme that some embodiments of the present application provide,
It determines this paper of user's input, and shows the text in display interface, keyword is then determined according to the text, obtain
With the picture of the keyword match, generates and show the picture and text comprising the text and the picture in the display interface
Content.Whole process is searched, selects figure manually without user, can be directly automatically found by the text inputted and content of text
Then the picture to match generates the graph-text content comprising picture and text and enables a user to thus, it is possible to promote user experience
It is enough effectively to show emotion during social activity, while not needing to increase a large amount of cumbersome operations of user.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In some embodiments
In, the software program of the application can be executed by processor to realize above step or function.Similarly, the software of the application
Program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, magnetic or
CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, for example,
As the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Claims (11)
1. a kind of graph-text content generation method, wherein this method comprises:
In response to the operation of input herein of user, this paper of user's input is determined, and the text is shown in display interface;
Keyword is determined according to the text, obtains the picture with the keyword match;
It generates and shows the graph-text content comprising the text and the picture in the display interface.
2. according to the method described in claim 1, wherein, determining keyword according to the text, comprising:
Word segmentation processing is carried out to the text, obtains the participle phrase for including in the text;
Keyword is determined according to the participle phrase.
3. according to the method described in claim 1, wherein, determining keyword according to the text, comprising:
Semantic analysis is carried out to the text, determines the corresponding semantic information of the text;
Keyword is determined according to institute's semantic information.
4. according to the method described in claim 1, wherein, determining keyword according to the text, obtaining and the keyword
The picture matched, comprising:
Candidate key is determined according to the text, and shows the candidate key to user;
Operation is adjusted in response to the keyword of user, the candidate key is adjusted, determines keyword;
Obtain the picture with the keyword match.
5. according to the method described in claim 4, wherein, showing the candidate key to user, comprising:
After determining candidate key, a keyword display area is set in the display interface;
The candidate key is shown in the form of label in the keyword display area.
6. the method according to any one of claims 1 to 5, wherein obtain the picture with the keyword match, packet
It includes:
Core keyword is determined in the keyword;
It is concentrated according to the keyword in default image data and carries out picture match, obtain the picture with the keyword match,
Wherein, weight of the core keyword when carrying out picture match is greater than non-core keyword.
7. according to the method described in claim 1, wherein, obtaining the picture with the keyword match, comprising:
The candidate picture with the keyword match is obtained, and shows the candidate picture to user;
In response to the selection operation of user, Target Photo is determined in the candidate picture;
It generates and shows the graph-text content comprising the text and the picture in the display interface, comprising:
It generates and shows the graph-text content comprising the text and the Target Photo in the display interface.
8. according to the method described in claim 1, wherein, generating and display including the text and institute in the display interface
State the graph-text content of picture, comprising:
It is inserted into the picture in the predeterminable area of display interface that the text has been displayed, so that display interface display packet
Graph-text content containing the text and the picture.
9. according to the method described in claim 7, wherein, the display interface includes following at least any one: UGC issues interface
Or communication interface.
10. a kind of graph-text content generating device, which includes memory for storing computer program instructions and for holding
The processor of row computer program instructions, wherein when the computer program instructions are executed by the processor, trigger the equipment
Method described in any one of perform claim requirement 1 to 9.
11. a kind of computer-readable medium, is stored thereon with computer program instructions, the computer-readable instruction can be processed
Device is executed to realize method as claimed in any one of claims 1-9 wherein.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910248465.1A CN110020411B (en) | 2019-03-29 | 2019-03-29 | Image-text content generation method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910248465.1A CN110020411B (en) | 2019-03-29 | 2019-03-29 | Image-text content generation method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110020411A true CN110020411A (en) | 2019-07-16 |
CN110020411B CN110020411B (en) | 2020-10-09 |
Family
ID=67190215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910248465.1A Active CN110020411B (en) | 2019-03-29 | 2019-03-29 | Image-text content generation method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110020411B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674634A (en) * | 2019-09-10 | 2020-01-10 | 吴杰 | Character interaction method and server equipment |
CN110865833A (en) * | 2019-09-29 | 2020-03-06 | 上海萌家网络科技有限公司 | Application client, server and method for updating user state |
CN110879840A (en) * | 2019-11-19 | 2020-03-13 | 珠海格力电器股份有限公司 | Information feedback method, device and storage medium |
CN111158817A (en) * | 2019-12-24 | 2020-05-15 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN112036128A (en) * | 2020-08-21 | 2020-12-04 | 百度在线网络技术(北京)有限公司 | Text content processing method, device, equipment and storage medium |
CN112364610A (en) * | 2020-12-01 | 2021-02-12 | 深圳市房多多网络科技有限公司 | Method and device for inserting building card in house source article and computing equipment |
CN112613270A (en) * | 2020-12-22 | 2021-04-06 | 百色学院 | Method, system, equipment and storage medium for recommending target text based on pre-trained drawing creation model |
WO2021160100A1 (en) * | 2020-02-12 | 2021-08-19 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Methods for searching images and for indexing images, and electronic device |
CN113448461A (en) * | 2020-06-24 | 2021-09-28 | 北京新氧科技有限公司 | Information processing method, device and equipment |
CN113536006A (en) * | 2021-06-25 | 2021-10-22 | 北京百度网讯科技有限公司 | Method, device, equipment, storage medium and computer product for generating pictures |
CN114338572A (en) * | 2020-09-28 | 2022-04-12 | 荣耀终端有限公司 | Information processing method, related device and storage medium |
CN115546355A (en) * | 2022-11-28 | 2022-12-30 | 北京红棉小冰科技有限公司 | Text matching method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528588A (en) * | 2016-09-14 | 2017-03-22 | 厦门幻世网络科技有限公司 | Method and apparatus for matching resources for text information |
CN107015979A (en) * | 2016-01-27 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
CN107305566A (en) * | 2016-04-21 | 2017-10-31 | 北京搜狗科技发展有限公司 | A kind of method and device for search information matches picture |
CN108052563A (en) * | 2017-12-05 | 2018-05-18 | 广东小天才科技有限公司 | A kind of picture searching method and mobile terminal |
CN108733779A (en) * | 2018-05-04 | 2018-11-02 | 百度在线网络技术(北京)有限公司 | The method and apparatus of text figure |
JP2019012506A (en) * | 2017-06-29 | 2019-01-24 | ネイバー コーポレーションNAVER Corporation | Method and system for automatic activation of machine |
-
2019
- 2019-03-29 CN CN201910248465.1A patent/CN110020411B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107015979A (en) * | 2016-01-27 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
CN107305566A (en) * | 2016-04-21 | 2017-10-31 | 北京搜狗科技发展有限公司 | A kind of method and device for search information matches picture |
CN106528588A (en) * | 2016-09-14 | 2017-03-22 | 厦门幻世网络科技有限公司 | Method and apparatus for matching resources for text information |
JP2019012506A (en) * | 2017-06-29 | 2019-01-24 | ネイバー コーポレーションNAVER Corporation | Method and system for automatic activation of machine |
CN108052563A (en) * | 2017-12-05 | 2018-05-18 | 广东小天才科技有限公司 | A kind of picture searching method and mobile terminal |
CN108733779A (en) * | 2018-05-04 | 2018-11-02 | 百度在线网络技术(北京)有限公司 | The method and apparatus of text figure |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110674634A (en) * | 2019-09-10 | 2020-01-10 | 吴杰 | Character interaction method and server equipment |
CN110865833A (en) * | 2019-09-29 | 2020-03-06 | 上海萌家网络科技有限公司 | Application client, server and method for updating user state |
CN110879840A (en) * | 2019-11-19 | 2020-03-13 | 珠海格力电器股份有限公司 | Information feedback method, device and storage medium |
CN111158817A (en) * | 2019-12-24 | 2020-05-15 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
WO2021160100A1 (en) * | 2020-02-12 | 2021-08-19 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Methods for searching images and for indexing images, and electronic device |
CN113448461A (en) * | 2020-06-24 | 2021-09-28 | 北京新氧科技有限公司 | Information processing method, device and equipment |
CN112036128A (en) * | 2020-08-21 | 2020-12-04 | 百度在线网络技术(北京)有限公司 | Text content processing method, device, equipment and storage medium |
CN114338572A (en) * | 2020-09-28 | 2022-04-12 | 荣耀终端有限公司 | Information processing method, related device and storage medium |
CN112364610A (en) * | 2020-12-01 | 2021-02-12 | 深圳市房多多网络科技有限公司 | Method and device for inserting building card in house source article and computing equipment |
CN112613270A (en) * | 2020-12-22 | 2021-04-06 | 百色学院 | Method, system, equipment and storage medium for recommending target text based on pre-trained drawing creation model |
CN113536006A (en) * | 2021-06-25 | 2021-10-22 | 北京百度网讯科技有限公司 | Method, device, equipment, storage medium and computer product for generating pictures |
CN115546355A (en) * | 2022-11-28 | 2022-12-30 | 北京红棉小冰科技有限公司 | Text matching method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110020411B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110020411A (en) | Graph-text content generation method and equipment | |
US10645142B2 (en) | Video keyframes display on online social networks | |
RU2632144C1 (en) | Computer method for creating content recommendation interface | |
US11138207B2 (en) | Integrated dynamic interface for expression-based retrieval of expressive media content | |
US9977835B2 (en) | Queryless search based on context | |
CN109074172B (en) | Inputting images to an electronic device | |
CN111247536B (en) | Electronic device for searching related image and control method thereof | |
JP6254534B2 (en) | System and method for identifying and proposing emoticons and computer program | |
US20170212892A1 (en) | Predicting media content items in a dynamic interface | |
WO2017076073A1 (en) | Method and apparatus for search and recommendation | |
WO2017124116A1 (en) | Searching, supplementing and navigating media | |
TW201022973A (en) | Previewing search results for suggested refinement terms and vertical searches | |
KR20140105733A (en) | Quick analysis tool for spreadsheet application programs | |
US20170083599A1 (en) | Incorporation of semantic attributes within social media | |
WO2013138742A1 (en) | Systems and methods for delivery techniques of contextualized services on mobile devices | |
CN107066177A (en) | The multiple spot kneading gesture control of search result | |
EP3387553A1 (en) | Language and domain independent model based approach for on-screen item selection | |
CN110851712B (en) | Method, device and computer readable medium for recommending book information | |
US20150154537A1 (en) | Categorizing a use scenario of a product | |
CN110691028B (en) | Message processing method, device, terminal and storage medium | |
US20220092071A1 (en) | Integrated Dynamic Interface for Expression-Based Retrieval of Expressive Media Content | |
CN112667118A (en) | Method, apparatus and computer readable medium for displaying historical chat messages | |
CN116821475B (en) | Video recommendation method and device based on client data and computer equipment | |
US20230100964A1 (en) | Data input system/example generator | |
CN110827058A (en) | Multimedia promotion resource insertion method, equipment and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |