CN105868703A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105868703A CN105868703A CN201610179584.2A CN201610179584A CN105868703A CN 105868703 A CN105868703 A CN 105868703A CN 201610179584 A CN201610179584 A CN 201610179584A CN 105868703 A CN105868703 A CN 105868703A
- Authority
- CN
- China
- Prior art keywords
- information
- word
- electronic equipment
- word message
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/768—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using context analysis, e.g. recognition aided by known co-occurring patterns
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Machine Translation (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides an information processing method and electronic equipment, and the method comprises the steps: detecting first information inputted in a first input mode, wherein the first information comprises the text composition sub-information of a target language; selecting at least two pieces of text information matched with the first information based on the first information; determining the priority of at least two pieces of text information according to a preset rule; carrying out the ordering of at least two pieces of text information based on the priority, and outputting at least two pieces of text information after ordering.
Description
Technical field
The present invention relates to the input information processing technology of electronic equipment, be specifically related to a kind of information processing method and
Electronic equipment.
Background technology
Along with the development of science and technology, people use electronic equipment, and the occasion that especially smart mobile phone carries out operating is got over
Coming the most, the most requisite operation inputs word exactly, and usual people habitually use input phoneme
Get the mode of output, and the word having some complex or will not reading, it is necessary to use stroke defeated
The mode entered.But, using the mode of stroke input at present, may when inputting a radical
Can obtain multiple result, and carry out selecting the most cumbersome from multiple results, need user to see a lot
Required word just can be selected, it is impossible to ensure user's operating efficiency when inputting after word.
Summary of the invention
In view of this, the main purpose of the embodiment of the present invention is to provide a kind of information processing method and electronics to set
Standby, at least to solve the technical problem of above-mentioned existing existence.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
Embodiments providing a kind of information processing method, be applied to electronic equipment, the method includes:
The first information based on the first input mode input detected;Wherein, the described first information includes mesh
The word of poster speech forms sub-information;
Based on the described first information, choose at least two Word message mated with the described first information;
The priority of described at least two Word message is determined according to preset rules;
Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Embodiments providing a kind of electronic equipment, described electronic equipment includes:
Detector unit, for detecting the first information based on the first input mode input;Wherein, described
One information includes that the word of object language forms sub-information;
Matching unit, for based on the described first information, chooses at least two mated with the described first information
Individual Word message;
Sequencing unit, for determining the priority of described at least two Word message according to preset rules;Based on
Described priority, is ranked up described at least two Word message;
Output unit, for exporting at least two Word message after sequence.
The embodiment of the present invention provides a kind of information processing method and electronic equipment, it is possible to the first letter based on input
Breath is chosen and is obtained multiple Word message, and after determine the priority of multiple Word message according to preset rules,
According to priority, Word message is ranked up, and according to ranking results output character information.So, with regard to energy
The output to multiple words enough having sequence shows, it is to avoid user just can select institute after having seen a lot of word
Need word, it is ensured that user's operating efficiency when inputting.
Accompanying drawing explanation
A kind of information processing method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is embodiment of the present invention operation scenario schematic diagram one;
Fig. 3 is embodiment of the present invention operation scenario schematic diagram two;
Fig. 4 is embodiment of the present invention operation scenario schematic diagram three;
Fig. 5 is embodiment of the present invention operation scenario schematic diagram four;
Fig. 6 is embodiment of the present invention operation scenario schematic diagram five;
Fig. 7 is that embodiment of the present invention electronic equipment forms structural representation.
Detailed description of the invention
With specific embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
Embodiment one,
Embodiments provide a kind of information processing method, be applied to electronic equipment, as it is shown in figure 1,
The method includes:
Step 101: the first information based on the first input mode input detected;Wherein, described first letter
Breath includes that the word of object language forms sub-information;
Step 102: based on the described first information, choose at least two literary composition mated with the described first information
Word information;
Step 103: determine the priority of described at least two Word message according to preset rules;
Step 104: based on described priority, described at least two Word message is ranked up, and exports
At least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
It can be stroke input mode or can also be for handwriting input mode, say, that the first input mode
A kind of input mode of word is obtained for composition structure based on word.It addition, with described mesh in the present embodiment
Poster speech is for illustrating as a example by Chinese, it is to be understood that can be more kinds of targets in actual treatment
Language, such as may include that Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Wherein, the described first information can be as in figure 2 it is shown, currently can show in input information display frame
" ten ", " ten " can be the radical of a word.
It addition, above-mentioned based on the described first information, choose at least two literary composition mated with the described first information
Word information, Ke Yiwei: the described first information is carried out with the whole words in the target text data base preset
Comparison, chooses at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Determine the priority of described at least two Word message according to preset rules described in the present embodiment, permissible
For: get the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message;
Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Wherein, described basic component can be stroke, and described basic component quantity is each
The stroke number that Word message is corresponding.
Described determine the priority of described at least two Word message based on described basic component quantity,
May include that the quantity according to basic component from the fewest, excellent to described at least two Word message
First level carries out descending setting.
It is to say, after at least two Word message being processed by the scheme using the present embodiment to provide,
Such as, Fig. 4 can be seen, in the scene that Fig. 3 provides by word priority ordering more for stroke above
On the basis of, Fig. 4 is the final information of output in display interface, and including can be with hands in input frame 41
Write input " to die ", then obtain the multiple Word messages in Fig. 3, the Word message to couplings multiple in Fig. 3
Stroke number carry out, from the fewest sequence, obtaining the ranking results in the word output box 42 in Fig. 4.
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
Embodiment two,
Embodiments provide a kind of information processing method, be applied to electronic equipment, as it is shown in figure 1,
The method includes:
Step 101: the first information based on the first input mode input detected;Wherein, described first letter
Breath includes that the word of object language forms sub-information;
Step 102: based on the described first information, choose at least two literary composition mated with the described first information
Word information;
Step 103: determine the priority of described at least two Word message according to preset rules;
Step 104: based on described priority, described at least two Word message is ranked up, and exports
At least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
It can be stroke input mode or can also be for handwriting input mode, say, that the first input mode
A kind of input mode of word is obtained for composition structure based on word.It addition, with described mesh in the present embodiment
Poster speech is for illustrating as a example by Chinese, it is to be understood that can be more kinds of targets in actual treatment
Language, such as may include that Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Wherein, the described first information can be as in figure 2 it is shown, currently can show in input information display frame
" ten ", " ten " can be the radical of a word.
It addition, above-mentioned based on the described first information, choose at least two literary composition mated with the described first information
Word information, Ke Yiwei: the described first information is compared with the whole words in the lteral data storehouse preset,
Choose at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Determine the priority of described at least two Word message according to preset rules described in the present embodiment, permissible
For: get the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message;
Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Wherein, described basic component can be stroke, and described basic component quantity is each
The stroke number that Word message is corresponding.
It is with a upper embodiment difference, present embodiments provides another kind of priority set-up mode,
Specific as follows:
Described determine the priority of described at least two Word message based on described basic component quantity,
Including:
The first reference from the fewest, to described at least two Word message of the quantity according to basic component
Value carries out descending setting;
According to use frequency parameter corresponding to described basic component from high to low, to described at least two literary composition
Second reference value of word information carries out descending setting;
According to described first reference value and the second reference value, determine the preferential of described at least two Word message
Level.
Specifically, different from embodiment one be the present embodiment except consider Word message substantially form unit
Outside the quantity of element, it is also contemplated that word uses frequency;Wherein, the use frequency parameter of described word can
To be configured in lteral data storehouse according to actual acquisition situation and to update.
It addition, described according to described first reference value and the second reference value, determine described at least two word
The priority of information, Ke Yiwei:
Respectively the first reference value and the second reference value are arranged different weights, based on arranging after weight
One reference value and the second reference value determine the priority of described at least two Word message.
Preferably due to the use scene that the present embodiment mainly considers is some user for the more word of stroke
Cannot all remember its literary style, it is possible to by the first reference value namely for the quantity of basic component
Weighted value arrange higher than for the weighted value of the second reference value.
After at least two Word message being processed by the scheme using the present embodiment to provide, it is possible to by pen
Draw more word and use word priority ordering that frequency is higher above, such as, seeing Fig. 5,
On the basis of the scene that Fig. 3 provides, Fig. 5 is the final information of output in display interface, includes defeated
Enter in frame 41 and " can die " with handwriting input, then obtain the multiple Word messages in Fig. 3, to many in Fig. 3
The stroke number of the Word message of individual coupling carries out from the fewest sequence and uses frequency to carry out from high to low
Sequence, obtains the ranking results in the word output box 42 in Fig. 5;The export structure of Fig. 5 is defeated with Fig. 4's
Going out result to compare, wherein the stroke difference of " awns " and " forgetting " is one, but the use frequency of awns is higher,
So before " awns " has been come " forgetting " by COMPREHENSIVE CALCULATING.
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
Embodiment three,
Embodiments provide a kind of information processing method, be applied to electronic equipment, as it is shown in figure 1,
The method includes:
Step 101: the first information based on the first input mode input detected;Wherein, described first letter
Breath includes that the word of object language forms sub-information;
Step 102: based on the described first information, choose at least two literary composition mated with the described first information
Word information;
Step 103: determine the priority of described at least two Word message according to preset rules;
Step 104: based on described priority, described at least two Word message is ranked up, and exports
At least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
Can be stroke input mode or can also be for handwriting input mode, say, that defeated from least two
Enter in mode, choose the first input mode;Wherein, described first input mode characterizes based on object language
The composition structure of word carries out the mode inputted.It addition, the present embodiment with described object language for Chinese is
Example illustrates, it is to be understood that can be more kinds of object languages in actual treatment, the most permissible
Including: Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Preferably, the present embodiment additionally provides the mode how determining object language, specifically includes: detection institute
State the system information of electronic equipment;Based on the described system information detected, determine the mesh of described electronic equipment
Poster is sayed.
Wherein, described determine the object language of described electronic equipment based on the described system information detected,
Including at least one of:
The geographical location information of described electronic equipment detected, based on described geographical location information, determine described
The object language of electronic equipment;Wherein, the acquisition mode of geographical location information can be to be detected by GPS
To geographical position or, can be to obtain by resolving the network address, such as, resolve IP address etc.;
The communication information of described electronic equipment detected, based on the district that the communication information received and/or send is corresponding
Position, territory, determines the object language of described electronic equipment;Such as, the note received, corresponding according to note
Communicating number in national code determine object language;
The history input information of the first application of described electronic equipment detected, input information based on described history
The language used, determines the object language of described electronic equipment;Wherein, described first application can be note
Breath, wechat etc. can input any one application of word.
It addition, above-mentioned based on the described first information, choose at least two literary composition mated with the described first information
Word information, Ke Yiwei: the described first information is compared with the whole words in the lteral data storehouse preset,
Choose at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Determine the priority of described at least two Word message according to preset rules described in the present embodiment, permissible
For: get the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message;
Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Wherein, described basic component can be stroke, and described basic component quantity is each
The stroke number that Word message is corresponding.
It is with a upper embodiment difference, present embodiments provides another kind of priority set-up mode,
Specific as follows:
Described determine the priority of described at least two Word message based on described basic component quantity,
Including:
The first reference from the fewest, to described at least two Word message of the quantity according to basic component
Value carries out descending setting;
According to use frequency parameter corresponding to described basic component from high to low, to described at least two literary composition
Second reference value of word information carries out descending setting;
According to described first reference value and the second reference value, determine the preferential of described at least two Word message
Level.
Specifically, different from embodiment one be the present embodiment except consider Word message substantially form unit
Outside the quantity of element, it is also contemplated that word uses frequency;Wherein, the use frequency parameter of described word can
To be configured in lteral data storehouse according to actual acquisition situation and to update.
It addition, described according to described first reference value and the second reference value, determine described at least two word
The priority of information, Ke Yiwei:
Respectively the first reference value and the second reference value are arranged different weights, based on arranging after weight
One reference value and the second reference value determine the priority of described at least two Word message.
Preferably due to the use scene that the present embodiment mainly considers is some user for the more word of stroke
Cannot all remember its literary style, it is possible to by the first reference value namely for the quantity of basic component
Weighted value arrange higher than for the weighted value of the second reference value.
After at least two Word message being processed by the scheme using the present embodiment to provide, it is possible to by pen
Draw more word and use word priority ordering that frequency is higher above, such as, seeing Fig. 5,
On the basis of the scene that Fig. 3 provides, Fig. 5 is the final information of output in display interface, includes defeated
Enter in frame 41 and " can die " with handwriting input, then obtain the multiple Word messages in Fig. 3, to many in Fig. 3
The stroke number of the Word message of individual coupling carries out from the fewest sequence and uses frequency to carry out from high to low
Sequence, obtains the ranking results in the word output box 42 in Fig. 5;The export structure of Fig. 5 is defeated with Fig. 4's
Going out result to compare, wherein the stroke difference of " awns " and " forgetting " is one, but the use frequency of awns is higher,
So before " awns " has been come " forgetting " by COMPREHENSIVE CALCULATING.
It addition, the present embodiment can also be on the basis of such scheme, in conjunction with the context of current character editor
Content, arranges the 3rd reference value of described at least two word, then can the weight of the 3rd reference value be set
The weight higher than the first reference value put, so, it becomes possible to obtain combining context at least two literary composition
The optimum results that word is ranked up.Such as, see Fig. 6, at current file edit box 63, have a word " to rescue ",
So according to the word that can make up for " rescuing " word in lteral data storehouse and containing " dying " radical
The word sequence that can make up between word is the most front i.e. " saving the nation from extinction ".
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
Embodiment four,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Detector unit 71, for detecting the first information based on the first input mode input;Wherein, described
The first information includes that the word of object language forms sub-information;
Matching unit 72, for based on the described first information, chooses and mates at least with the described first information
Two Word messages;
Sequencing unit 73, for determining the priority of described at least two Word message according to preset rules;Base
In described priority, described at least two Word message is ranked up;
Output unit 74, for exporting at least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
It can be stroke input mode or can also be for handwriting input mode, say, that the first input mode
A kind of input mode of word is obtained for composition structure based on word.It addition, with described mesh in the present embodiment
Poster speech is for illustrating as a example by Chinese, it is to be understood that can be more kinds of targets in actual treatment
Language, such as may include that Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Wherein, the described first information can be as in figure 2 it is shown, currently can show in input information display frame
" ten ", " ten " can be the radical of a word.
It addition, above-mentioned based on the described first information, choose at least two literary composition mated with the described first information
Word information, Ke Yiwei: the described first information is carried out with the whole words in the target text data base preset
Comparison, chooses at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Determine the priority of described at least two Word message according to preset rules described in the present embodiment, permissible
For: described sequencing unit, for getting the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message.Wherein, institute
Stating basic component can be stroke, and it is corresponding that described basic component quantity is each Word message
Stroke number.
Described sequencing unit, for according to the quantity of basic component from the fewest, to described at least two
The priority of Word message carries out descending setting.
It is to say, after at least two Word message being processed by the scheme using the present embodiment to provide,
Such as, Fig. 4 can be seen, in the scene that Fig. 3 provides by word priority ordering more for stroke above
On the basis of, Fig. 4 is the final information of output in display interface, and including can be with hands in input frame 41
Write input " to die ", then obtain the multiple Word messages in Fig. 3, the Word message to couplings multiple in Fig. 3
Stroke number carry out, from the fewest sequence, obtaining the ranking results in the word output box 42 in Fig. 4.
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
Embodiment five,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Detector unit 71, for detecting the first information based on the first input mode input;Wherein, described
The first information includes that the word of object language forms sub-information;
Matching unit 72, for based on the described first information, chooses and mates at least with the described first information
Two Word messages;
Sequencing unit 73, for determining the priority of described at least two Word message according to preset rules;Base
In described priority, described at least two Word message is ranked up;
Output unit 74, for exporting at least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
It can be stroke input mode or can also be for handwriting input mode, say, that the first input mode
A kind of input mode of word is obtained for composition structure based on word.It addition, with described mesh in the present embodiment
Poster speech is for illustrating as a example by Chinese, it is to be understood that can be more kinds of targets in actual treatment
Language, such as may include that Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Wherein, the described first information can be as in figure 2 it is shown, currently can show in input information display frame
" ten ", " ten " can be the radical of a word.
It addition, above-mentioned matching unit 72, for by complete with default lteral data storehouse of the described first information
Portion's word is compared, and chooses at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Sequencing unit 73 described in the present embodiment, are used for getting basic group of described at least two Word message
Become number of elements;Based on described basic component quantity, determine the preferential of described at least two Word message
Level;Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Wherein, described basic component can be stroke, and described basic component quantity is each
The stroke number that Word message is corresponding.
Present embodiments provide another kind of priority set-up mode, specific as follows:
Described sequencing unit 73, for according to the quantity of basic component from the fewest, to described at least two
First reference value of individual Word message carries out descending setting;According to the use frequency that described basic component is corresponding
Rate parameter from high to low, carries out descending setting to the second reference value of described at least two Word message;According to
Described first reference value and the second reference value, determine the priority of described at least two Word message.
Specifically, the present embodiment, in addition to considering the quantity of the basic component of Word message, is also examined
Consider and arrived word use frequency;Wherein, the use frequency parameter of described word can be according to actual acquisition situation
Lteral data storehouse is configured and updates.
It addition, described sequencing unit 73, for respectively the first reference value and the second reference value being arranged difference
Weight, determine described at least two word based on the first reference value after arranging weight and the second reference value
The priority of information.
Preferably due to the use scene that the present embodiment mainly considers is some user for the more word of stroke
Cannot all remember its literary style, it is possible to by the first reference value namely for the quantity of basic component
Weighted value arrange higher than for the weighted value of the second reference value.
After at least two Word message being processed by the scheme using the present embodiment to provide, it is possible to by pen
Draw more word and use word priority ordering that frequency is higher above, such as, seeing Fig. 5,
On the basis of the scene that Fig. 3 provides, Fig. 5 is the final information of output in display interface, includes defeated
Enter in frame 41 and " can die " with handwriting input, then obtain the multiple Word messages in Fig. 3, to many in Fig. 3
The stroke number of the Word message of individual coupling carries out from the fewest sequence and uses frequency to carry out from high to low
Sequence, obtains the ranking results in the word output box 42 in Fig. 5;The export structure of Fig. 5 is defeated with Fig. 4's
Going out result to compare, wherein the stroke difference of " awns " and " forgetting " is one, but the use frequency of awns is higher,
So before " awns " has been come " forgetting " by COMPREHENSIVE CALCULATING.
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
Embodiment six,
Embodiments provide a kind of electronic equipment, as it is shown in fig. 7, described electronic equipment includes:
Detector unit 71, for detecting the first information based on the first input mode input;Wherein, described
The first information includes that the word of object language forms sub-information;
Matching unit 72, for based on the described first information, chooses and mates at least with the described first information
Two Word messages;
Sequencing unit 73, for determining the priority of described at least two Word message according to preset rules;Base
In described priority, described at least two Word message is ranked up;
Output unit 74, for exporting at least two Word message after sequence.
Here, described electronic equipment can be at least to possess two kinds of input modes, wherein, the first input mode
Can be stroke input mode or can also be for handwriting input mode, say, that defeated from least two
Enter in mode, choose the first input mode;Wherein, described first input mode characterizes based on object language
The composition structure of word carries out the mode inputted.It addition, the present embodiment with described object language for Chinese is
Example illustrates, it is to be understood that can be more kinds of object languages in actual treatment, the most permissible
Including: Korean, Japanese, traditional Chinese word, simplified Chinese character word etc..
Preferably, the present embodiment detector unit 71, for detecting the system information of described electronic equipment;Based on
The described system information detected, determines the object language of described electronic equipment.
Wherein, described detector unit 71, it is used for including at least one of:
The geographical location information of described electronic equipment detected, based on described geographical location information, determine described
The object language of electronic equipment;Wherein, the acquisition mode of geographical location information can be to be detected by GPS
To geographical position or, can be to obtain by resolving the network address, such as, resolve IP address etc.;
The communication information of described electronic equipment detected, based on the district that the communication information received and/or send is corresponding
Position, territory, determines the object language of described electronic equipment;Such as, the note received, corresponding according to note
Communicating number in national code determine object language;
The history input information of the first application of described electronic equipment detected, input information based on described history
The language used, determines the object language of described electronic equipment;Wherein, described first application can be note
Breath, wechat etc. can input any one application of word.
It addition, above-mentioned based on the described first information, choose at least two literary composition mated with the described first information
Word information, Ke Yiwei: the described first information is compared with the whole words in the lteral data storehouse preset,
Choose at least two Word message obtaining mating with the described first information.
The mode that the described and described first information mates can be the described first information be coupling Word message
All form sub-information, or, the described first information can be the part composition of the Word message that coupling obtains
Sub-information.Such as, see Fig. 3, wherein, input the first information, accordingly, mate according to the first information
Multiple Word messages of obtaining " awns, forget, Mang, win ".
Sequencing unit 73 described in the present embodiment, are used for getting basic group of described at least two Word message
Become number of elements;Based on described basic component quantity, determine the preferential of described at least two Word message
Level;Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.Wherein, described basic component can be stroke, described basic component
Quantity is the stroke number that each Word message is corresponding.
Sequencing unit 73, for according to the quantity of basic component from the fewest, to described at least two literary composition
First reference value of word information carries out descending setting;According to the use frequency ginseng that described basic component is corresponding
Number from high to low, carries out descending setting to the second reference value of described at least two Word message;According to described
First reference value and the second reference value, determine the priority of described at least two Word message.
Specifically, the present embodiment, in addition to considering the quantity of the basic component of Word message, is also examined
Consider and arrived word use frequency;Wherein, the use frequency parameter of described word can be according to actual acquisition situation
Lteral data storehouse is configured and updates.
It addition, described sequencing unit 73, for respectively the first reference value and the second reference value being arranged difference
Weight, determine described at least two word based on the first reference value after arranging weight and the second reference value
The priority of information.
Preferably due to the use scene that the present embodiment mainly considers is some user for the more word of stroke
Cannot all remember its literary style, it is possible to by the first reference value namely for the quantity of basic component
Weighted value arrange higher than for the weighted value of the second reference value.
After at least two Word message being processed by the scheme using the present embodiment to provide, it is possible to by pen
Draw more word and use word priority ordering that frequency is higher above, such as, seeing Fig. 5,
On the basis of the scene that Fig. 3 provides, Fig. 5 is the final information of output in display interface, includes defeated
Enter in frame 41 and " can die " with handwriting input, then obtain the multiple Word messages in Fig. 3, to many in Fig. 3
The stroke number of the Word message of individual coupling carries out from the fewest sequence and uses frequency to carry out from high to low
Sequence, obtains the ranking results in the word output box 42 in Fig. 5;The export structure of Fig. 5 is defeated with Fig. 4's
Going out result to compare, wherein the stroke difference of " awns " and " forgetting " is one, but the use frequency of awns is higher,
So before " awns " has been come " forgetting " by COMPREHENSIVE CALCULATING.
It addition, the present embodiment can also be on the basis of such scheme, in conjunction with the context of current character editor
Content, arranges the 3rd reference value of described at least two word, then can the weight of the 3rd reference value be set
The weight higher than the first reference value put, so, it becomes possible to obtain combining context at least two literary composition
The optimum results that word is ranked up.Such as, see Fig. 6, at current file edit box 63, have a word " to rescue ",
So according to the word that can make up for " rescuing " word in lteral data storehouse and containing " dying " radical
The word sequence that can make up between word is the most front i.e. " saving the nation from extinction ".
Visible, by using such scheme, it becomes possible to the first information based on input is chosen and obtained multiple word
Information, and after determine the priority of multiple Word message according to preset rules, according to priority, word is believed
Breath is ranked up, and according to ranking results output character information.So, it becomes possible to have sequence to multiple literary compositions
The output of word shows, it is to avoid user just can select required word after having seen a lot of word, it is ensured that user
Operating efficiency when inputting.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can
Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit
In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage
Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent
Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so
Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can
Embodying with the form with software product, this computer software product is stored in a storage medium, bag
Include some instructions with so that a computer equipment (can be personal computer, server or network
Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag
Include: various Jie that can store program code such as movable storage device, ROM, RAM, magnetic disc or CD
Matter.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should
It is as the criterion with described scope of the claims.
Claims (12)
1. an information processing method, is applied to electronic equipment, it is characterised in that the method includes:
The first information based on the first input mode input detected;Wherein, the described first information includes mesh
The word of poster speech forms sub-information;
Based on the described first information, choose at least two Word message mated with the described first information;
The priority of described at least two Word message is determined according to preset rules;
Based on described priority, described at least two Word message is ranked up, and after exporting sequence
At least two Word message.
Method the most according to claim 1, it is characterised in that according to preset rules determine described at least
The priority of two Word messages, including:
Get the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message.
Method the most according to claim 2, it is characterised in that described based on described basic component
Quantity, determines the priority of described at least two Word message, including:
Quantity according to basic component from the fewest, the most grading to described at least two Word message
Row descending is arranged.
Method the most according to claim 2, it is characterised in that described based on described basic component
Quantity, determines the priority of described at least two Word message, including:
The first reference from the fewest, to described at least two Word message of the quantity according to basic component
Value carries out descending setting;
According to use frequency parameter corresponding to described basic component from high to low, to described at least two literary composition
Second reference value of word information carries out descending setting;
According to described first reference value and the second reference value, determine the preferential of described at least two Word message
Level.
Method the most according to claim 1, it is characterised in that described method also includes:
Detect the system information of described electronic equipment;
Based on the described system information detected, determine the object language of described electronic equipment.
Method the most according to claim 5, it is characterised in that described based on the described system detected
Information, determines the object language of described electronic equipment, including at least one of:
The geographical location information of described electronic equipment detected, based on described geographical location information, determine described
The object language of electronic equipment;
The communication information of described electronic equipment detected, based on the district that the communication information received and/or send is corresponding
Position, territory, determines the object language of described electronic equipment;
The history input information of the first application of described electronic equipment detected, input information based on described history
The language used, determines the object language of described electronic equipment.
7. an electronic equipment, it is characterised in that described electronic equipment includes:
Detector unit, for detecting the first information based on the first input mode input;Wherein, described
One information includes that the word of object language forms sub-information;
Matching unit, for based on the described first information, chooses at least two mated with the described first information
Individual Word message;
Sequencing unit, for determining the priority of described at least two Word message according to preset rules;Based on
Described priority, is ranked up described at least two Word message;
Output unit, for exporting at least two Word message after sequence.
Electronic equipment the most according to claim 7, it is characterised in that
Described sequencing unit, for getting the basic component quantity of described at least two Word message;
Based on described basic component quantity, determine the priority of described at least two Word message.
Electronic equipment the most according to claim 8, it is characterised in that
Described sequencing unit, for according to the quantity of basic component from the fewest, to described at least two
The priority of Word message carries out descending setting.
Electronic equipment the most according to claim 8, it is characterised in that
Described sequencing unit, for according to the quantity of basic component from the fewest, to described at least two
First reference value of Word message carries out descending setting;According to the use frequency that described basic component is corresponding
Parameter from high to low, carries out descending setting to the second reference value of described at least two Word message;According to institute
State the first reference value and the second reference value, determine the priority of described at least two Word message.
11. electronic equipments according to claim 7, it is characterised in that
Described detector unit, for detecting the system information of described electronic equipment;Based on the described system detected
System information, determines the object language of described electronic equipment.
12. electronic equipments according to claim 11, it is characterised in that described detector unit, are used for
Execution at least one of:
The geographical location information of described electronic equipment detected, based on described geographical location information, determine described
The object language of electronic equipment;
The communication information of described electronic equipment detected, based on the district that the communication information received and/or send is corresponding
Position, territory, determines the object language of described electronic equipment;
The history input information of the first application of described electronic equipment detected, input information based on described history
The language used, determines the object language of described electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179584.2A CN105868703A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179584.2A CN105868703A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105868703A true CN105868703A (en) | 2016-08-17 |
Family
ID=56625915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610179584.2A Pending CN105868703A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868703A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050273724A1 (en) * | 2002-10-03 | 2005-12-08 | Olaf Joeressen | Method and device for entering words in a user interface of an electronic device |
CN102722483A (en) * | 2011-03-29 | 2012-10-10 | 百度在线网络技术(北京)有限公司 | Method, apparatus and equipment for determining candidate-item sequence of input method |
CN102937837A (en) * | 2012-08-10 | 2013-02-20 | 上海驿创信息技术有限公司 | Method for inputting words on the basis of incomplete recognition quickly |
CN104375663A (en) * | 2014-11-11 | 2015-02-25 | 广东欧珀移动通信有限公司 | Associating input method and device |
-
2016
- 2016-03-25 CN CN201610179584.2A patent/CN105868703A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050273724A1 (en) * | 2002-10-03 | 2005-12-08 | Olaf Joeressen | Method and device for entering words in a user interface of an electronic device |
CN102722483A (en) * | 2011-03-29 | 2012-10-10 | 百度在线网络技术(北京)有限公司 | Method, apparatus and equipment for determining candidate-item sequence of input method |
CN102937837A (en) * | 2012-08-10 | 2013-02-20 | 上海驿创信息技术有限公司 | Method for inputting words on the basis of incomplete recognition quickly |
CN104375663A (en) * | 2014-11-11 | 2015-02-25 | 广东欧珀移动通信有限公司 | Associating input method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104298429B (en) | A kind of information displaying method and input method system based on input | |
US20210149548A1 (en) | Systems, devices and methods for electronic determination and communication of location information | |
CN103713843B (en) | For generating the method and apparatus of task recommendation icon in the mobile device | |
CN103760991B (en) | Physical input method and physical input device | |
CN105447036B (en) | A kind of social media information credibility evaluation method and device based on opining mining | |
CN105320652A (en) | Method, apparatus, and system for providing translated content | |
CN107766349B (en) | Method, device, equipment and client for generating text | |
CN104978045B (en) | A kind of Chinese character input method and device | |
CN108038243A (en) | Music recommends method, apparatus, storage medium and electronic equipment | |
US20240195765A1 (en) | Personality reply for digital content | |
CN107729897A (en) | A kind of text maninulation method, apparatus and terminal | |
CN110390569A (en) | A kind of content promotion method, device and storage medium | |
CN104915345B (en) | A kind of method and terminal of recommendation service information | |
CN105574480B (en) | A kind of information processing method, device and terminal | |
CN109033224B (en) | Risk text recognition method and device | |
US20130271381A1 (en) | Electronic device and method for dynamically formatting monetary expressions | |
CN105955507B (en) | A kind of display methods and terminal of soft keyboard | |
CN104539801B (en) | Method and terminal for presenting contact information | |
CN108628988A (en) | A kind of clothing matching recommends method, apparatus, Intelligent clothes cabinet and storage medium | |
KR101865875B1 (en) | Augmented reality providing mehtod using social network service | |
CN105988679A (en) | Information presentation method and device and user equipment | |
CN104376035A (en) | Information processing device, storage medium, and method | |
CN105988992B (en) | Icon pushing method and device | |
US11386172B1 (en) | Apparatus and method for matching individuals based upon a commitment disposition criterion | |
CN105868703A (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160817 |
|
RJ01 | Rejection of invention patent application after publication |