CN106020504B - Information output method and device - Google Patents

Information output method and device Download PDF

Info

Publication number
CN106020504B
CN106020504B CN201610325794.8A CN201610325794A CN106020504B CN 106020504 B CN106020504 B CN 106020504B CN 201610325794 A CN201610325794 A CN 201610325794A CN 106020504 B CN106020504 B CN 106020504B
Authority
CN
China
Prior art keywords
emoticon
corpus
keyword
user
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.)
Active
Application number
CN201610325794.8A
Other languages
Chinese (zh)
Other versions
CN106020504A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610325794.8A priority Critical patent/CN106020504B/en
Publication of CN106020504A publication Critical patent/CN106020504A/en
Application granted granted Critical
Publication of CN106020504B publication Critical patent/CN106020504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/313Selection or weighting of terms for indexing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Machine Translation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of information output method and devices.One specific embodiment of the method includes:Receive the corpus of input, wherein the corpus includes at least one of following:Word, word, sentence;Participle is carried out to the corpus and extracts keyword;From the corresponding emoticon of the keyword is matched in the mapping table of corpus and emoticon, emoticon to be output is obtained, wherein the mapping table of the corpus and emoticon includes:Word and corresponding emoticon, word and corresponding emoticon, sentence and corresponding emoticon;Change the pattern of the emoticon according to the theme that the information of user preset exports;When carrying out screen display to the corpus, the keyword is replaced with the pattern by the emoticon changed to be shown.The embodiment can rapidly export the emoticon for meeting the theme of user setting.

Description

Information output method and device
Technical field
The application field of computer technology, and in particular to input method technique field more particularly to information output method and dress It sets
Background technique
There are the technologies of some input emoticons for the prior art.User can select respective table from emoticon list Feelings symbol, or input represent the code of emoticon, to input emoticon.
For needing to select the system to input emoticon from list, needed when user inputs every time from specific column It is manually selected in table, and with the increase of symbol quantity in emoticon list, user inputs the difficulty of emoticon It is increasing.
The system that emoticon is inputted for using identification code, user need to remember the corresponding identification code of emoticon Or specific character.When the number of emoticon increases, the identification code for needing to remember is also more, therefore user inputs emoticon Number difficulty increase.
On existing input method conception design, only the transformation of simple visual style pattern, does not have with the text of output Apparent correlation.
Summary of the invention
The purpose of the application is to propose a kind of improved information output method and device, to solve background above technology department Divide the technical issues of mentioning.
In a first aspect, this application provides a kind of information output method, the method includes:The corpus of input is received, In, the corpus includes at least one of following:Word, word, sentence;Participle is carried out to the corpus and extracts keyword;From corpus Emoticon corresponding with the keyword is matched in the mapping table of emoticon, obtains emoticon to be output, wherein institute The mapping table of predicate material and emoticon includes:Word and corresponding emoticon, word and corresponding emoticon, sentence And corresponding emoticon;Change the pattern of the emoticon according to the theme that the information of user preset exports;To institute When predicate material carries out screen display, the keyword is replaced with the pattern by the emoticon changed to be shown.
In some embodiments, described that participle extraction keyword is carried out to the corpus, including:Using reverse maximum matching Method segments the corpus.
In some embodiments, the pattern with by the emoticon changed replaces the keyword to be shown Show, including:Show that the emoticon being matched to is selected for user on the screen;The emoticon that record user selectes;It will be described The mapping relations of the corpus of emoticon and the input that user selectes are saved in the mapping table of the corpus and emoticon It is middle that user is used as to make emoticon certainly.
In some embodiments, described that the corresponding expression of the keyword is matched from the mapping table of corpus and emoticon Symbol obtains emoticon to be output, including:When in the mapping table from the corpus and emoticon matching less than the pass When the corresponding emoticon of keyword, use random spcial character modify the keyword and using the keyword of modified as The corresponding emoticon of the keyword.
In some embodiments, the pattern with by the emoticon changed replaces the keyword to be shown Show, including:The non-key word of modified is simultaneously output to screen by the non-key word modified in the corpus with random spcial character It is shown on curtain.
In some embodiments, when a threshold is exceeded between when being not received by input, it is described that the corpus is segmented Keyword is extracted, including:When being not received by input between when a threshold is exceeded, participle is carried out to the corpus and extracts keyword.
Second aspect, this application provides a kind of information output apparatus, described device includes:Receiving unit is configured to Receive the corpus of input, wherein the corpus includes at least one of following:Word, word, sentence;Participle unit is configured to work as When being not received by input more than threshold time, participle is carried out to the corpus and extracts keyword;Matching unit, be configured to from The corresponding emoticon of the keyword is matched in the mapping table of corpus and emoticon, obtains emoticon to be output, In, the mapping table of the corpus and emoticon includes:Word and corresponding emoticon, word and corresponding emoticon Number, sentence and corresponding emoticon;Change unit, is configured to change institute according to the theme that the information of user preset exports State the pattern of emoticon;Output unit is configured to when carrying out screen display to the corpus, with the expression by changing The pattern of symbol replaces the keyword to carry out.
In some embodiments, the participle unit is also configured to carry out the corpus using reverse maximum matching method Participle.
In some embodiments, the output unit is also configured to:Show that the emoticon being matched to supplies on the screen User's selection;The emoticon that record user selectes;By reflecting for the corpus of emoticon and the input that the user selectes The relationship of penetrating is saved in the mapping table of the corpus and emoticon makes emoticon as user certainly.
In some embodiments, the matching unit is also configured to:When the mapping table from the corpus and emoticon When middle matching emoticon corresponding less than the keyword, the keyword is modified with random spcial character and by modified The keyword as the corresponding emoticon of the keyword.
In some embodiments, the output unit is also configured to:It is modified in the corpus with random spcial character The non-key word and non-key word of modified is output on screen show.
In some embodiments, the participle unit is configured to:It is right when being not received by input between when a threshold is exceeded The corpus carries out participle and extracts keyword.
Information output method and device provided by the present application extract keyword by carrying out participle to the corpus of input, from The corresponding emoticon of matching keywords in the mapping table of corpus and emoticon, and the master exported according to the information of user preset Topic exports after changing the pattern of emoticon, can rapidly export emoticon and by the emoticon of output and theme phase It mutually combines, reaches the unitizing of globality.
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 that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the information output method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the information output method of the application;
Fig. 4 is the flow chart according to another embodiment of the information output method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the information output apparatus of the application;
Fig. 6 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present application Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system of the embodiment of the information output method or information output apparatus of the application System framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end application input methods, such as Pinyin Input can be installed on terminal device 101,102,103 Method, five-stroke input method, hand-writing input method web browser applications, the application of shopping class, searching class application, instant messaging tools, postal Case client, social platform software etc..
Terminal device 101,102,103 can be with display screen and support the various electronic equipments of text input, packet Include but be not limited to smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103 Emoticon provides the emoticon library server supported.Built-in word and table can be used in terminal device 101,102,103 Feelings symbol mapping table can also download word and emoticon mapping table from server 105.
It should be noted that information output method provided by the embodiment of the present application generally by terminal device 101,102, 103 execute, and correspondingly, information output apparatus is generally positioned in terminal device 101,102,103.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.Terminal device can Built-in word and emoticon mapping table is used only, word can also be downloaded from different servers according to needs are realized With emoticon mapping table, therefore any number of terminal device, network and server can have.
With continued reference to Fig. 2, the process 200 of one embodiment of the information output method according to the application is shown.It is described Information output method, include the following steps:
Step 201, the corpus of input is received.
In the present embodiment, information output method operation electronic equipment (such as terminal shown in FIG. 1) thereon can be with The corpus of user's input is received by keyboard or touch screen, wherein corpus includes at least one of following:Word, word, sentence. For example, user can input a word " fire ", a word " rice ", or a word " today, weather was very good ".User can adopt With Pinyin Input corpus, corpus can also be inputted by five, the input methods such as stroke.
Step 202, participle is carried out to corpus and extracts keyword.
In the present embodiment, the corpus inputted is segmented to extract keyword.Participle can use a variety of sides Method, for example, Forward Maximum Method method, reverse maximum matching method, minimum syncopation, two-way maximum matching method.For example, " having a meal fast It is happy " " having a meal " and " happy " can be segmented into.
In some optional implementations of the present embodiment, the corpus is divided using reverse maximum matching method Word.For example, " Chinese nation stands up from this " can be cut into " Chinese nation ", " from this ", " standing up " rather than " in China ", " nationality ", " from this ", " station ", " getting up ".
In some optional implementations of the present embodiment, when a threshold is exceeded between when being not received by input, to language Material carries out participle and extracts keyword.It can not need user and confirm that corpus input finishes, but judge that user is being more than threshold value Time is just believed that corpus input finishes in the case where not inputting.At this point, to inputted the corpus finished segmented with Extract keyword.
Step 203, it from the corresponding emoticon of matching keywords in the mapping table of corpus and emoticon, obtains to be output Emoticon.
In the present embodiment, from the mapping table of the mapping table corpus and emoticon of word and emoticon described in matching The corresponding emoticon of keyword, obtains emoticon to be output, wherein the mapping table corpus of the word and emoticon Mapping table with emoticon includes:Word and corresponding emoticon, word and corresponding emoticon, sentence and institute are right The emoticon answered.The mapping table of the mapping table corpus and emoticon of the word and emoticon can be built in terminal In, it is used after installation can also being downloaded from server.For example, word and corresponding emoticon:" fire " corresponds to symbolWord and Corresponding emoticon:" heartily " corresponding symbolSentence and corresponding emoticon:" having a meal happy " corresponds to symbol
In some optional implementations of the present embodiment, matched when in the mapping table from the corpus and emoticon When emoticon corresponding less than the keyword, the keyword is modified with random spcial character and will be described in modified Keyword is as the corresponding emoticon of the keyword.Such as, if " we " are not matched in " we have a meal very happy " When corresponding emoticon, then it can be modified plus random spcial character when exporting display
Step 204, change the pattern of emoticon according to the theme of the information of user preset output.
In the present embodiment, change the pattern of emoticon according to the theme of the information of user preset output.The information The theme of output can be the skin theme of input method.For example, if the skin theme of the input method of user preset is Doraemon, Doraemon is shown in the symbol laughed at when user inputs " heartily "The theme of the information output can also be text The background theme of display box.For example, the theme of the chat background of certain chat tool is set as Doraemon by user, when user uses text Input " heartily " then shows Doraemon in the symbol laughed at when word is chatted.If the theme of user's Non-precondition information output, It default can be exported using face text (emoji).
Step 205, to corpus carry out screen display when, with through change emoticon pattern replacement keyword come It is shown.
In the present embodiment, it when carrying out screen display to corpus, is replaced and is closed with the pattern of the emoticon by changing Keyword is shown.Multiple options for user selections can also be listed.And the frequency that can be selected according to user sorts, and will use Family selection often emoticon come front.
In some optional implementations of the present embodiment, the non-pass in the corpus is modified with random spcial character The keyword and non-key word of modified is output on screen is shown.For example, " very " being non-key in " we have a meal very happy " Word can also be modified plus spcial character.
With continued reference to the schematic diagram that Fig. 3, Fig. 3 are according to the application scenarios of the information output method of the present embodiment.? In the application scenarios of Fig. 3, user has input " heartily weather is very good ", since the theme of user setting is Doraemon, input Word " heartily " 301 output be Doraemon in the symbol laughed at, as shown in icon 302.
The method provided by the above embodiment of the application passes through, the energy associated with emoticon and theme by the text of input Enough rapidly output meets the emoticon of the theme of user setting.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of information output method.Information output The process 400 of method, includes the following steps:
Step 401, the corpus of input is received.
Step 402, participle is carried out to corpus and extracts keyword.
Step 403, it from the corresponding emoticon of matching keywords in the mapping table of corpus and emoticon, obtains to be output Emoticon.
Step 404, change the pattern of emoticon according to the theme of the information of user preset output.
Since step 401-404 is identical as step 201-204, repeat no more.
Step 405, show that the emoticon being matched to is selected for user on the screen.
In the present embodiment, show that the emoticon being matched to is selected for user on the screen.And it can be selected according to user Select frequency sequence, by user selection often emoticon come front.
Step 406, the emoticon that record user selectes.
In the present embodiment, emoticon user selected is recorded, in case use later, can be exported faster The desired result of user.
Step 407, the mapping relations of the corpus of emoticon and input that user selectes are saved in corpus and emoticon Number mapping table in as user from making emoticon.
In the present embodiment, the sentence of user's input may can not find in the mapping table of corpus and emoticon, but language There is the corresponding relationship of word and emoticon in the mapping table of material and emoticon.User selects each word in the sentence of input As user from emoticon is made after the corresponding emoticon of language, without reselection emoticon when inputting same sentence next time again Number it will export the result that last user is selected.
Figure 4, it is seen that the process 400 of the output method in the present embodiment is prominent compared with the corresponding embodiment of Fig. 2 Go out to user from the step of making emoticon.The scheme of the present embodiment description can introduce more corpus and expression as a result, The corresponding relationship of symbol, so as to export emoticon more quickly.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of outputs of information to fill The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in figure 5, information output apparatus 500 described in the present embodiment includes:Receiving unit 501, participle unit 502, Matching unit 503 changes unit 504 and output unit 505.Wherein, receiving unit 501 is configured to receive the corpus of input, Wherein, the corpus includes at least one of following:Word, word, sentence;Participle unit 502 is configured to carry out the corpus Participle extracts keyword;Matching unit 503 is configured to match the keyword pair from the mapping table of corpus and emoticon The emoticon answered obtains emoticon to be output, wherein the mapping table of the corpus and emoticon includes:Word and institute Corresponding emoticon, word and corresponding emoticon, sentence and corresponding emoticon;Change unit 504 to configure Theme for being exported according to the information of user preset changes the pattern of the emoticon;Output unit 505 is configured to When carrying out screen display to the corpus, the keyword is replaced with the pattern by the emoticon changed to be shown.
In the present embodiment, the receiving unit 501 of information output apparatus 500 can be received by keyboard or touch screen and be used The corpus of family input.
In the present embodiment, the participle unit 502 of information output apparatus 500 does not receive between judging when a threshold is exceeded To when input, it is believed that user has inputted completion, just starts to carry out participle operation.
In the present embodiment, the matching unit 503 of information output apparatus 500 passes through the obtained key of participle unit 502 Word searches emoticon corresponding to keyword.The result found may have multiple.
In the present embodiment, the change unit 504 of information output apparatus 500 is used for according to the change of the theme of user preset The pattern for the emoticon being fitted on.If user is not provided with theme, can be matched by default theme mode.
In the present embodiment, the output unit 505 of information output apparatus 500 is used to export result matched in 504 aobvious Show.Multiple matching results can be listed to select for user.
In some optional implementations of the present embodiment, participle unit 502 is also configured to using reverse maximum The corpus is segmented with method.
In some optional implementations of the present embodiment, configuration unit 503 is also configured to:When from the corpus and When matching emoticon corresponding less than the keyword in the mapping table of emoticon, described in random spcial character modification Keyword and using the keyword of modified as the corresponding emoticon of the keyword.
In some optional implementations of the present embodiment, output unit 505 is also configured to:Display on the screen The emoticon being fitted on is selected for user;The emoticon that record user selectes;The emoticon that the user is selected and institute The mapping relations for stating the corpus of input are saved in the mapping table of the corpus and emoticon makes emoticon as user certainly.
In some optional implementations of the present embodiment, output unit 505 is also configured to:With random special word It accords with the non-key word modified in the corpus and the non-key word of modified is output on screen and show.
In some optional implementations of the present embodiment, between participle unit 502 is also configured to when a threshold is exceeded When being not received by input, participle is carried out to the corpus and extracts keyword.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the terminal device for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component:Importation 606 including keyboard, mouse, touch screen etc.;Including such as The output par, c 607 of cathode-ray tube (CRT), liquid crystal display (LCD), touch screen etc. and loudspeaker etc.;Including hard disk etc. Storage section 608;And the communications portion 609 of the network interface card including LAN card, modem etc..Communication unit 609 are divided to execute communication process via the network of such as internet.Driver 610 is also connected to I/O interface 605 as needed.It can Medium 611 is dismantled, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, In order to be mounted into storage section 608 as needed from the computer program read thereon.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable Medium 611 is unloaded to be mounted.When the computer program is executed by central processing unit (CPU) 601, execute in the present processes The above-mentioned function of limiting.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer The combination of order is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet Receiving unit, participle unit are included, matching unit changes unit and output unit.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself, for example, receiving unit is also described as " receiving the list of the corpus of input Member ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;It is also possible to Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when one or more of programs are executed by an equipment, so that the equipment:It receives The corpus of input, wherein the corpus includes at least one of following:Word, word, sentence;It is not received between when a threshold is exceeded To when input, participle is carried out to the corpus and extracts keyword;From matching the key in the mapping table of corpus and emoticon The corresponding emoticon of word, obtains emoticon to be output, wherein the mapping table of the corpus and emoticon includes:Word And corresponding emoticon, word and corresponding emoticon, sentence and corresponding emoticon;According to user preset The theme of information output change the pattern of the emoticon;When carrying out screen display to the corpus, with by changing The pattern of emoticon replace the keyword to be shown.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of information output method, which is characterized in that the method includes:
Receive the corpus of input, wherein the corpus includes at least one of following:Word, word, sentence;
Participle is carried out to the corpus and extracts keyword;
From the corresponding emoticon of the keyword is matched in the mapping table of corpus and emoticon, emoticon to be output is obtained Number, wherein the mapping table of the corpus and emoticon includes:Emoticon corresponding to keyword and keyword;
Change the pattern of the emoticon according to the theme that the information of user preset exports;
When carrying out screen display to the corpus, the keyword is replaced with the pattern by the emoticon changed to carry out Display;
Wherein, the pattern with by the emoticon changed replaces the keyword to be shown, including:When from described When matching emoticon corresponding less than the keyword in the mapping table of corpus and emoticon, repaired with random spcial character Adorn the keyword and using the keyword of modified as the corresponding emoticon of the keyword.
2. information output method according to claim 1, which is characterized in that described to carry out participle extraction pass to the corpus Keyword, including:
The corpus is segmented using reverse maximum matching method.
3. information output method according to claim 1, which is characterized in that the figure with the emoticon by changing Case replaces the keyword to be shown, including:
Show that the emoticon being matched to is selected for user on the screen;
The emoticon that record user selectes;
The mapping relations of the corpus of emoticon and the input that the user selectes are saved in the corpus and emoticon Number mapping table in as user from making emoticon.
4. information output method according to claim 1, which is characterized in that the figure with the emoticon by changing Case replaces the keyword to be shown, including:
The non-key word of modified is simultaneously output on screen by the non-key word modified in the corpus with random spcial character Display.
5. information output method according to claim 1, which is characterized in that described to carry out participle extraction pass to the corpus Keyword, including:
When being not received by input between when a threshold is exceeded, participle is carried out to the corpus and extracts keyword.
6. a kind of information output apparatus, which is characterized in that described device includes:
Receiving unit is configured to receive the corpus of input, wherein the corpus includes at least one of following:Word, word, sentence Son;
Participle unit is configured to carry out the corpus participle extraction keyword;
Matching unit is configured to match the corresponding emoticon of the keyword from the mapping table of corpus and emoticon, Obtain emoticon to be output, wherein the mapping table of the corpus and emoticon includes:Corresponding to keyword and keyword Emoticon;
Change unit, is configured to change the pattern of the emoticon according to the theme that the information of user preset exports;
Output unit is configured to be replaced when carrying out screen display to the corpus with the pattern by the emoticon changed The keyword is changed to carry out;
The matching unit is also configured to:
When matching emoticon corresponding less than the keyword in the mapping table from the corpus and emoticon, with random Spcial character modify the keyword and using the keyword of modified as the corresponding emoticon of the keyword.
7. information output apparatus according to claim 6, which is characterized in that the participle unit is also configured to using inverse The corpus is segmented to maximum matching method.
8. information output apparatus according to claim 6, which is characterized in that the output unit is also configured to:
Show that the emoticon being matched to is selected for user on the screen;
The emoticon that record user selectes;
The mapping relations of the corpus of emoticon and the input that the user selectes are saved in the corpus and emoticon Number mapping table in as user from making emoticon.
9. information output apparatus according to claim 6, which is characterized in that the output unit is also configured to:
The non-key word of modified is simultaneously output on screen by the non-key word modified in the corpus with random spcial character Display.
10. information output apparatus according to claim 6, which is characterized in that the participle unit is configured to:
When being not received by input between when a threshold is exceeded, participle is carried out to the corpus and extracts keyword.
CN201610325794.8A 2016-05-17 2016-05-17 Information output method and device Active CN106020504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610325794.8A CN106020504B (en) 2016-05-17 2016-05-17 Information output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610325794.8A CN106020504B (en) 2016-05-17 2016-05-17 Information output method and device

Publications (2)

Publication Number Publication Date
CN106020504A CN106020504A (en) 2016-10-12
CN106020504B true CN106020504B (en) 2018-11-27

Family

ID=57098571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610325794.8A Active CN106020504B (en) 2016-05-17 2016-05-17 Information output method and device

Country Status (1)

Country Link
CN (1) CN106020504B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570106A (en) * 2016-11-01 2017-04-19 北京百度网讯科技有限公司 Method and device for converting voice information into expression in input process
CN108509058B (en) * 2017-02-28 2022-08-16 微软技术许可有限责任公司 Input method and related equipment
US10318109B2 (en) * 2017-06-09 2019-06-11 Microsoft Technology Licensing, Llc Emoji suggester and adapted user interface
CN107450746A (en) * 2017-08-18 2017-12-08 联想(北京)有限公司 A kind of insertion method of emoticon, device and electronic equipment
CN107707451A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Instant communicating method and device
CN108897869B (en) * 2018-06-29 2020-10-27 北京百度网讯科技有限公司 Corpus labeling method, apparatus, device and storage medium
CN110096701A (en) * 2019-04-16 2019-08-06 珠海格力电器股份有限公司 Message conversion process method, device, storage medium and electronic equipment
CN111897990A (en) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 Method, device and system for acquiring expression information
CN112235180A (en) * 2020-08-29 2021-01-15 上海量明科技发展有限公司 Voice message processing method and device and instant messaging client

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183294A (en) * 2007-12-17 2008-05-21 腾讯科技(深圳)有限公司 Expression input method and apparatus
CN103064826A (en) * 2012-12-31 2013-04-24 百度在线网络技术(北京)有限公司 Method, device and system used for imputing expressions
CN103823561A (en) * 2014-02-27 2014-05-28 广州华多网络科技有限公司 Expression input method and device
CN104933113A (en) * 2014-06-06 2015-09-23 北京搜狗科技发展有限公司 Expression input method and device based on semantic understanding
WO2016014597A2 (en) * 2014-07-21 2016-01-28 Feele, A Partnership By Operation Of Law Translating emotions into electronic representations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183294A (en) * 2007-12-17 2008-05-21 腾讯科技(深圳)有限公司 Expression input method and apparatus
CN103064826A (en) * 2012-12-31 2013-04-24 百度在线网络技术(北京)有限公司 Method, device and system used for imputing expressions
CN103823561A (en) * 2014-02-27 2014-05-28 广州华多网络科技有限公司 Expression input method and device
CN104933113A (en) * 2014-06-06 2015-09-23 北京搜狗科技发展有限公司 Expression input method and device based on semantic understanding
WO2016014597A2 (en) * 2014-07-21 2016-01-28 Feele, A Partnership By Operation Of Law Translating emotions into electronic representations

Also Published As

Publication number Publication date
CN106020504A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106020504B (en) Information output method and device
CN108804450B (en) Information pushing method and device
CN104298429B (en) A kind of information displaying method and input method system based on input
US10685186B2 (en) Semantic understanding based emoji input method and device
CN107797982B (en) Method, device and equipment for recognizing text type
CN107241260B (en) News pushing method and device based on artificial intelligence
CN107679119B (en) Method and device for generating brand derivative words
CN106919711B (en) Method and device for labeling information based on artificial intelligence
CN102984050A (en) Method, client and system for searching voices in instant messaging
CN110609957B (en) Global searching method, terminal and server
US20180089230A1 (en) Search system, method and apparatus
CN105488205A (en) Page generation method and page generation apparatus
US20160357811A1 (en) Webpage content search
CN106598409B (en) Text copying method and device and intelligent terminal
CN104660688A (en) Method and device for acquiring login information
CN110750707A (en) Keyword recommendation method and device and electronic equipment
CN106326486A (en) Method of information push based on artificial intelligence and device thereof
CN107729573A (en) Information-pushing method and device
CN105260459A (en) Search method and apparatus
CN107430609B (en) Generation of new tab pages for browsers for enterprise environments
CN102968493A (en) Method, client and system for executing voice search by input method tool
US20180046683A1 (en) Search word list providing device and method using same
CN111782850B (en) Object searching method and device based on hand drawing
CN102591851B (en) A kind of method and apparatus for editing target text based on keyboard
CN105580326A (en) Information notifying method, apparatus and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant