CN101887416B - Method for converting characters into graphs - Google Patents

Method for converting characters into graphs Download PDF

Info

Publication number
CN101887416B
CN101887416B CN2010102171232A CN201010217123A CN101887416B CN 101887416 B CN101887416 B CN 101887416B CN 2010102171232 A CN2010102171232 A CN 2010102171232A CN 201010217123 A CN201010217123 A CN 201010217123A CN 101887416 B CN101887416 B CN 101887416B
Authority
CN
China
Prior art keywords
keyword
literal
execution
short sentence
advance
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.)
Expired - Fee Related
Application number
CN2010102171232A
Other languages
Chinese (zh)
Other versions
CN101887416A (en
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.)
Magic Top Technology (beijing) Co Ltd
Original Assignee
Magic Top Technology (beijing) 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 Magic Top Technology (beijing) Co Ltd filed Critical Magic Top Technology (beijing) Co Ltd
Priority to CN2010102171232A priority Critical patent/CN101887416B/en
Publication of CN101887416A publication Critical patent/CN101887416A/en
Application granted granted Critical
Publication of CN101887416B publication Critical patent/CN101887416B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

The invention discloses a method and a system for converting characters into graphs in the technical field of computer intelligent language analysis, which are used for vividly expressing character short sentences sent by a user in forms of graphs/multimedia and the like. The method comprises the following steps of: performing adversative processing, keyword processing, keyword priority processing, negative keyword processing and assertive keyword processing on the character short sentences; performing subject graph adaptation, icon graph adaptation and font graph adaptation after processing; and compositing the graphs/multimedia into a graph or a piece of multimedia through a graph compositing engine. The system comprises a character short sentence acquisition unit, an intelligent grammar analysis unit, a subject graph adaptation unit, an icon graph adaptation unit, a font graph adaptation unit and a graph composition unit. Intelligent grammar analysis is performed through the system, so that the central meaning of the character short sentences can be obtained automatically and conversion from the characters word to graphs/multimedia is performed.

Description

A kind of method that literal is converted into figure
Technical field
The invention belongs to computer intelligence language analysis technical field, relate in particular to a kind of method and system that literal are converted into figure.
Background technology
Along with popularizing of internet and mobile network, become more and more general through network interaction information.Note, instant messaging novel interactive modes such as (IM, Instant Message) have become most important exchange way in people's routine work, study, the life gradually.The language analysis that the information that does not also have at present a kind of method that the user is sent is carried out intelligence draws the center implication of language, and is translated into the figure that matches.
When information interaction; Comprised in the literal that the user sends such as grammer vocabulary such as speech, negative word, adversative certainly; The present invention can draw the center implication of the literal short sentence that the user sends through it being carried out grammatical analysis, and the center implication that the user is sent the literal short sentence of the graphic file through the system intialization keyword that carries out comprising in the theme background text adaptive, that the user is sent carries out icon literal adaptive, that the user is sent and carries out the graphical character font conversion.
Summary of the invention
The objective of the invention is to, carry out the intelligent language analysis, obtain its center implication through the literal short sentence that network is sent, and adaptive through to a certain degree, Word message is converted into graphical information.
Technical scheme is, a kind of literal is converted into the method for figure, it is characterized in that said method comprises:
Step 1: receive the literal short sentence;
Step 2: the literal short sentence to receiving carries out deconsolidation process, extracts keyword, adversative, negative word, affirms speech;
Step 3: the crucial dictionary with being provided with in advance judges whether to find keyword in the literal short sentence, if find keyword, then execution in step 4; Otherwise, execution in step 18;
Step 4: with the turnover dictionary that is provided with in advance in the literal short sentence, search with the turnover dictionary that is provided with in advance in the adversative of adversative coupling, if find the adversative of coupling, then execution in step 5; Otherwise, execution in step 6;
Step 5: the literal before the adversative of deletion coupling;
Step 6: with the crucial dictionary that is provided with in advance in the literal short sentence, search with the crucial dictionary that is provided with in advance in the keyword of keyword coupling, if find the keyword of coupling, then execution in step 7; Otherwise, execution in step 18;
Step 7: with keyword according to priority from height to low rank order;
Step 8: whether have negative word before using the negative dictionary that is provided with in advance to judge keyword, if there is execution in step 9; Otherwise execution in step 10;
Step 9: will have the keyword deletion of negative word;
Step 10: whether the quantity of judging the keyword that has limit priority in all last keywords is 1, if then execution in step 11; Otherwise, execution in step 12;
Step 11: will have the center implication of the keyword of limit priority as the literal short sentence;
Step 12: select first to have the keyword of limit priority;
Step 13: whether have sure speech before judging the keyword of selecting that has limit priority, if there is speech certainly, then execution in step 14; Otherwise, execution in step 15;
Step 14: the keyword that has limit priority that will select skips to step 19 as the center implication of literal short sentence;
Step 15: judge whether the keyword of selecting that has limit priority is last keyword that has limit priority, if, execution in step 16; Otherwise, execution in step 17;
Step 16: select to have number of words is maximum in the keyword of limit priority keyword center implication, skip to step 19 as the literal short sentence;
Step 17: select the next keyword that has limit priority, return step 13;
Step 18: this literal phrase does not have the center implication, carries out the random subject graphics adaptation;
Step 19: carry out that light theme graphics is adaptive, icon graphic is adaptive and script figure is adaptive, and above figure is synthesized a figure through the figure Compositing Engine.
Said with keyword according to priority from height to low rank order, specifically be that keyword is carried out the weight ordering according to Chinese grammer, the keyword that weight is identical sorts according to length.
Said light theme graphics is adaptive specifically to be, the corresponding light theme graphics that finds system to be provided with in advance according to literal short sentence transmitting time and center implication.
Said icon graphic is adaptive specifically to be, with splitting the keyword of coming out, the icon graphic that finds system to be provided with in advance in the crucial dictionary comparison step 2 that is provided with in advance.
Said script figure is adaptive specifically to be, finds the literal in the corresponding character short sentence with the literal character library that is provided with in advance, carries out the script figure replacement.
Said figure Compositing Engine is precisely controlled light theme graphics, icon graphic, script figure through figure control script, and above graphic element synthesizes a figure.
Said light theme graphics comprises theme music.
A kind of literal is converted into the system of figure, it is characterized in that said system comprises literal short sentence acquiring unit, grammer intellectual analysis unit, light theme graphics adaptation unit, icon graphic adaptation unit, script figure adaptation unit, figure synthesis unit; Wherein, literal short sentence acquiring unit links to each other with grammer intellectual analysis unit, and grammer intellectual analysis unit links to each other with light theme graphics adaptation unit, icon graphic adaptation unit and script figure adaptation unit respectively; Light theme graphics adaptation unit, icon graphic adaptation unit and script figure adaptation unit link to each other with the figure synthesis unit respectively;
Said literal short sentence acquiring unit is used to receive the user's body text information that comes from the application terminal;
Said grammer intellectual analysis unit is used for that the literal phrase is carried out grammatical analysis and draws the center implication;
It is adaptive that said light theme graphics adaptation unit is used for that the center implication is carried out light theme graphics;
It is adaptive that said icon graphic adaptation unit is used for that keyword is carried out icon;
It is adaptive that said script figure adaptation unit is used for that the literal short sentence is carried out script figure;
Said figure synthesis unit is used for through the figure Compositing Engine light theme graphics adaptation unit, icon graphic adaptation unit and the adaptive figure of figure synthesis unit being synthesized a figure.
The present invention carries out intelligent grammatical analysis through system; The center implication that can the draw the literal short sentence automatically style of writing figure conversion of going forward side by side; Convert figure or even media information into through graphics adaptation, adaptive the Word message that can be lively of icon, to reach the purpose that literal that the user is sent carries out more lively performance with the user.
Description of drawings
Fig. 1 is a method flow diagram provided by the invention;
Fig. 2 is principle of the invention figure;
Fig. 3 is a figure control script synoptic diagram of the present invention;
Fig. 4 is the effect synoptic diagram after text conversion of the present invention becomes figure;
Fig. 5 is a system architecture synoptic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.Should be emphasized that following explanation only is exemplary, rather than in order to limit scope of the present invention and application thereof.
Fig. 1 is a method flow diagram provided by the invention.Among Fig. 1, the method that literal is converted into figure comprises the following steps:
Step 1: receive the literal short sentence.
Fig. 2 is principle of the invention figure, and among Fig. 2, the literal short sentence derives from various forms of terminals, comprises instant communication client, communication terminal or bitcom end etc.Network comprises cable network or wireless network.After the user obtains text,, finally can obtain literal short sentence graph of a correspondence or medium through the grammer intellectual analysis.
Step 2: the literal short sentence to receiving carries out deconsolidation process, extracts keyword, adversative, negative word, affirms speech.
Step 3: the crucial dictionary with being provided with in advance judges whether to find keyword in the literal short sentence, if find keyword, then execution in step 4; Otherwise, execution in step 18.
Step 4: with the turnover dictionary that is provided with in advance in the literal short sentence, search with the turnover dictionary that is provided with in advance in the adversative of adversative coupling, if find the adversative of coupling, then execution in step 5; Otherwise, execution in step 6.
Step 5: the literal before the adversative of deletion coupling.
Step 6: with the crucial dictionary that is provided with in advance in the literal short sentence, search with the crucial dictionary that is provided with in advance in the keyword of keyword coupling, if find the keyword of coupling, then execution in step 7; Otherwise, execution in step 18.
Step 7: with keyword according to priority from height to low rank order.
Its detailed process is, keyword is carried out the weight ordering according to Chinese grammer, and the keyword that weight is identical sorts according to length.
Step 8: whether have negative word before using the negative dictionary that is provided with in advance to judge keyword, if there is execution in step 9; Otherwise execution in step 10.
Step 9: will have the keyword deletion of negative word.
Step 10: whether the quantity of judging the keyword that has limit priority in all last keywords is 1, if then execution in step 11; Otherwise, execution in step 12.
Step 11: will have the center implication of the keyword of limit priority as the literal short sentence.
Step 12: select first to have the keyword of limit priority.
Step 13: whether have sure speech before judging the keyword of selecting that has limit priority, if there is speech certainly, then execution in step 14; Otherwise, execution in step 15.
Step 14: the keyword that has limit priority that will select skips to step 19 as the center implication of literal short sentence.
Step 15: judge whether the keyword of selecting that has limit priority is last keyword that has limit priority, if, execution in step 16; Otherwise, execution in step 17.
Step 16: select to have number of words is maximum in the keyword of limit priority keyword center implication, skip to step 19 as the literal short sentence.
Step 17: select the next keyword that has limit priority, return step 13.
Step 18: this literal phrase does not have the center implication, carries out the random subject graphics adaptation.
Step 19: carry out that light theme graphics is adaptive, icon graphic is adaptive and script figure is adaptive, and above figure is synthesized a figure through the figure Compositing Engine.
Light theme graphics is adaptive specifically to be, the corresponding light theme graphics that finds system to be provided with in advance according to literal short sentence transmitting time and center implication.Can also comprise theme music in the light theme graphics, the literal short sentence not only can convert figure to like this, can also converting multimedia.
Icon graphic is adaptive specifically to be, with splitting the keyword of coming out, the icon graphic that finds system to be provided with in advance in the crucial dictionary comparison step 2 that is provided with in advance.
Script figure is adaptive specifically to be, finds the literal in the corresponding character short sentence with the literal character library that is provided with in advance, carries out the script figure replacement.
Fig. 3 is a figure control script synoptic diagram of the present invention.Among Fig. 3, the figure Compositing Engine is precisely controlled light theme graphics, icon graphic, script figure through figure control script, and above graphic element synthesizes a figure.
Fig. 4 is the effect synoptic diagram after text conversion of the present invention becomes figure.Among Fig. 4, be example,, can convert thereof into figure/multimedia with " happy " meaning through intelligent grammatical analysis with literal short sentence " happy ".Wherein, the theme background is the adaptive result of light theme graphics, can comprise theme music; The individual character icon is the icon result that icon graphic obtains after adaptive; The figure character library is meant when script figure is adaptive, finds the literal the corresponding character short sentence from the literal character library that is provided with in advance.
Fig. 5 is a system architecture synoptic diagram of the present invention.Among Fig. 5, the system that literal is converted into figure provided by the invention comprises literal short sentence acquiring unit, grammer intellectual analysis unit, light theme graphics adaptation unit, icon graphic adaptation unit, script figure adaptation unit, figure synthesis unit; Wherein, literal short sentence acquiring unit links to each other with grammer intellectual analysis unit, and grammer intellectual analysis unit links to each other with light theme graphics adaptation unit, icon graphic adaptation unit and script figure adaptation unit respectively; Light theme graphics adaptation unit, icon graphic adaptation unit and script figure adaptation unit link to each other with the figure synthesis unit respectively.
Literal short sentence acquiring unit is used to receive the user's body text information that comes from the application terminal; Grammer intellectual analysis unit is used for that the literal phrase is carried out grammatical analysis and draws the center implication; It is adaptive that the light theme graphics adaptation unit is used for that the center implication is carried out light theme graphics; It is adaptive that the icon graphic adaptation unit is used for that keyword is carried out icon; It is adaptive that the script figure adaptation unit is used for that the literal short sentence is carried out script figure; The figure synthesis unit is used for through the figure Compositing Engine light theme graphics adaptation unit, icon graphic adaptation unit and the adaptive figure of figure synthesis unit being synthesized a figure.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (7)

1. one kind is converted into the method for figure with literal, it is characterized in that said method comprises:
Step 1: receive the literal short sentence;
Step 2: the literal short sentence to receiving carries out deconsolidation process, extracts keyword, adversative, negative word, affirms speech;
Step 3: the crucial dictionary with being provided with in advance judges whether to find keyword in the literal short sentence, if find keyword, then execution in step 4; Otherwise, execution in step 18;
Step 4: with the turnover dictionary that is provided with in advance in the literal short sentence, search with the turnover dictionary that is provided with in advance in the adversative of adversative coupling, if find the adversative of coupling, then execution in step 5; Otherwise, execution in step 6;
Step 5: the literal before the adversative of deletion coupling;
Step 6: with the crucial dictionary that is provided with in advance in the literal short sentence, search with the crucial dictionary that is provided with in advance in the keyword of keyword coupling, if find the keyword of coupling, then execution in step 7; Otherwise, execution in step 18;
Step 7: with keyword according to priority from height to low rank order;
Step 8: whether have negative word before using the negative dictionary that is provided with in advance to judge keyword, if there is execution in step 9; Otherwise execution in step 10;
Step 9: will have the keyword deletion of negative word;
Step 10: whether the quantity of judging the keyword that has limit priority in all last keywords is 1, if then execution in step 11; Otherwise, execution in step 12;
Step 11: will have the center implication of the keyword of limit priority, and skip to step 19 as the literal short sentence;
Step 12: select first to have the keyword of limit priority;
Step 13: whether have sure speech before judging the keyword of selecting that has limit priority, if there is speech certainly, then execution in step 14; Otherwise, execution in step 15;
Step 14: the keyword that has limit priority that will select skips to step 19 as the center implication of literal short sentence;
Step 15: judge whether the keyword of selecting that has limit priority is last keyword that has limit priority, if, execution in step 16; Otherwise, execution in step 17;
Step 16: select to have number of words is maximum in the keyword of limit priority keyword center implication, skip to step 19 as the literal short sentence;
Step 17: select the next keyword that has limit priority, return step 13;
Step 18: this literal phrase does not have the center implication, carries out the random subject graphics adaptation;
Step 19: carry out that light theme graphics is adaptive, icon graphic is adaptive and script figure is adaptive, and above figure is synthesized a figure through the figure Compositing Engine.
2. a kind of method that literal is converted into figure according to claim 1; It is characterized in that said with keyword according to priority from height to low rank order; Specifically be that keyword is carried out the weight ordering according to Chinese grammer, the keyword that weight is identical sorts according to length.
3. according to claim 1ly a kind of literal is converted into the method for figure, it is characterized in that said light theme graphics is adaptive and specifically be, the corresponding light theme graphics that finds system to be provided with in advance according to literal short sentence transmitting time and center implication.
4. according to claim 1ly a kind of literal is converted into the method for figure, it is characterized in that said icon graphic is adaptive and specifically be, with splitting the keyword of coming out, the icon graphic that finds system to be provided with in advance in the crucial dictionary comparison step 2 that is provided with in advance.
5. according to claim 1ly a kind of literal is converted into the method for figure, it is characterized in that said script figure is adaptive and specifically be, find the literal in the corresponding character short sentence, carry out the script figure replacement with the literal character library that is provided with in advance.
6. a kind of method that literal is converted into figure according to claim 1; It is characterized in that said figure Compositing Engine precisely controls light theme graphics, icon graphic, script figure through figure control script, above graphic element synthesizes a figure.
7. describedly a kind of literal is converted into the method for figure according to claim 3 or 6, it is characterized in that said light theme graphics comprises theme music.
CN2010102171232A 2010-06-29 2010-06-29 Method for converting characters into graphs Expired - Fee Related CN101887416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102171232A CN101887416B (en) 2010-06-29 2010-06-29 Method for converting characters into graphs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102171232A CN101887416B (en) 2010-06-29 2010-06-29 Method for converting characters into graphs

Publications (2)

Publication Number Publication Date
CN101887416A CN101887416A (en) 2010-11-17
CN101887416B true CN101887416B (en) 2012-07-11

Family

ID=43073342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102171232A Expired - Fee Related CN101887416B (en) 2010-06-29 2010-06-29 Method for converting characters into graphs

Country Status (1)

Country Link
CN (1) CN101887416B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662568B (en) * 2012-03-23 2015-05-20 北京百舜华年文化传播有限公司 Method and device for inputting picture
CN103577510A (en) * 2012-07-23 2014-02-12 阿里巴巴集团控股有限公司 Search result data display method, search server and mobile terminal
CN105224320A (en) * 2015-09-25 2016-01-06 武汉大学 The graphical describing method of a kind of RTL
CN110120059B (en) * 2019-05-15 2023-03-10 京东方科技集团股份有限公司 Icon generation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2614653A1 (en) * 2005-07-15 2007-01-25 Think Software Pty Ltd Method and apparatus for providing structured data for free text messages
CN101067807A (en) * 2007-05-24 2007-11-07 上海大学 Text semantic visable representation and obtaining method
CN100595762C (en) * 2008-07-03 2010-03-24 上海交通大学 Text collection visualized system

Also Published As

Publication number Publication date
CN101887416A (en) 2010-11-17

Similar Documents

Publication Publication Date Title
US11848001B2 (en) Systems and methods for providing non-lexical cues in synthesized speech
CN111477216B (en) Training method and system for voice and meaning understanding model of conversation robot
KR101583181B1 (en) Method and computer program of recommending responsive sticker
KR101641572B1 (en) Method and computer program of ordering dialogue sticker ranking based on situation and preference information
KR101634086B1 (en) Method and computer system of analyzing communication situation based on emotion information
US20190172444A1 (en) Spoken dialog device, spoken dialog method, and recording medium
CN110019742B (en) Method and device for processing information
KR20160089152A (en) Method and computer system of analyzing communication situation based on dialogue act information
US20210056950A1 (en) Presenting electronic communications in narrative form
KR20190019661A (en) Method for Natural Langage Understanding Based on Distribution of Task-specific Labels
EP1091303A3 (en) Method and system for providing alternatives for text derived from stochastic input sources
CN102662935A (en) Interactive machine translation method and machine translation system
CN103268313A (en) Method and device for semantic analysis of natural language
US20110069822A1 (en) Automatic creation of complex conversational natural language call routing system for call centers
CN101887416B (en) Method for converting characters into graphs
KR101677859B1 (en) Method for generating system response using knowledgy base and apparatus for performing the method
US20200320976A1 (en) Information processing apparatus, information processing method, and program
US20120185240A1 (en) System and method for generating and sending a simplified message using speech recognition
JP2011065582A (en) Device and method for gradually developing natural language user interface
Cafaro et al. Selecting and expressing communicative functions in a SAIBA-compliant agent framework
CN102014199A (en) Information display method and terminal
CN109002498B (en) Man-machine conversation method, device, equipment and storage medium
Al Masum et al. 'Auto-Presentation': a multi-agent system for building automatic multi-modal presentation of a topic from World Wide Web information
Vishnupriya et al. Speech recognition tools for mobile phone-a comparative study
Huang et al. DuIVRS: A Telephonic Interactive Voice Response System for Large-Scale POI Attribute Acquisition at Baidu Maps

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20170629

CF01 Termination of patent right due to non-payment of annual fee