CN106354752A - Words searching method and device, and electronic device - Google Patents
Words searching method and device, and electronic device Download PDFInfo
- Publication number
- CN106354752A CN106354752A CN201610673433.2A CN201610673433A CN106354752A CN 106354752 A CN106354752 A CN 106354752A CN 201610673433 A CN201610673433 A CN 201610673433A CN 106354752 A CN106354752 A CN 106354752A
- Authority
- CN
- China
- Prior art keywords
- word
- structure division
- target text
- handwriting trace
- touch screen
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/3332—Query translation
- G06F16/3334—Selection or weighting of terms from queries, including natural language queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Embodiment of the invention relates to the technical field of electronic device and discloses a words searching method and device, and electronic device. The method includes the steps of obtaining at least one structural portion input by the user to the touch screen; the structural portion is a part of the word formed by at least one stroke of the split writing structure; searching the target words matching with at least one structural portion from the pre-stored words, and outputting the target words to the touch screen according to the preset output mode; the embodiment of the invention is applicable to searching matching words according to a structural portion of a word, in particular to searching new words or rarely used words. In addition, in the embodiment of the invention, users can input one or two or more structural portions; using more than two structural portions to search the matching words can further improve the searching accuracy, thereby reducing the searching time.
Description
Technical field
The present invention relates to technical field of electronic equipment is and in particular to a kind of text search method and device, electronic equipment.
Background technology
User is in learning process or inside daily life, can through be commonly encountered some understanding but do not know how spelling or
The completely unacquainted Chinese character of person, user can learn to understand this Chinese character by consulting papery dictionary or online dictionary etc.
Pronunciation, explanation, the order of strokes observed in calligraphy, group word and sentence-making etc..Generally utilize radical in papery dictionary lookup, and during online dictionary lookup
It is typically all to go accurately to search by inputting the phonetic of Chinese character or whole Chinese character.In practice, it has been found that for user natively
Unacquainted Chinese character, may not know its phonetic yet, also less remember complete Chinese character how to write so that in papery dictionary or
Search to get up to yet suffer from larger difficulty on the online dictionary of person, lead to the inconvenience that user uses.
Content of the invention
The embodiment of the invention discloses a kind of text search method and device, electronic equipment, can quickly and accurately look into
Look for word, reduce the time that user searches word.
First aspect present invention discloses a kind of text search method, it may include:
Obtain at least one structure division that user inputs on the touchscreen, said structure part is the word according to word
The part being formed by least one stroke that structure fractionation obtains;
Search, from the word of pre-stored, the target text matching with least one structure division above-mentioned, and according to pre-
If the way of output exports above-mentioned target text on above-mentioned touch screen.
As a kind of optional embodiment, in first aspect present invention, above-mentioned acquisition user input at least one
Structure division includes:
Obtain user and write at least one handwriting trace of input on the touchscreen, obtain at least one structure division, one
Individual said structure partly corresponds to an above-mentioned handwriting trace;Or, obtain user and pass through the dummy keyboard input on touch screen
At least one structure division.
As a kind of optional embodiment, in first aspect present invention, above-mentioned acquisition user writes on the touchscreen
At least one handwriting trace of input, obtains at least one structure division and includes:
Obtain the coordinate information that user writes at least one handwriting trace of input on the touchscreen, above-mentioned coordinate information bag
Include the moving coordinate information starting in coordinate information, end coordinate information and handwriting trace moving process;Believed according to above-mentioned coordinate
Breath identifies the content that corresponding above-mentioned handwriting trace is write, and obtains at least one structure division.
As a kind of optional embodiment, in first aspect present invention, above-mentioned acquisition user inputs on the touchscreen
At least one structure division before, said method also includes:
Collect some words and preserve, the text structure according to above-mentioned some words splits to above-mentioned some words,
Obtain some structure divisions, and each of above-mentioned some words word split each structure division obtaining with it dividing
Do not set up incidence relation;
The above-mentioned target text being matched with least one structure division above-mentioned of searching from the word of pre-stored is included: root
According to above-mentioned incidence relation, search the target text matching with least one structure division above-mentioned.
As a kind of optional embodiment, in first aspect present invention, above-mentioned according to the default way of output above-mentioned
Above-mentioned target text is exported on touch screen include:
Obtain the stroke number of above-mentioned target text, on above-mentioned touch screen according to above-mentioned target text stroke number from little to
Sort greatly or from big to small and export above-mentioned target text;
Or, obtain the output frequency of above-mentioned target text and/or last output time, according to above-mentioned target text
Output frequency and/or last output time, above-mentioned touch screen sorts and exports above-mentioned target text.
As a kind of optional embodiment, in first aspect present invention, above-mentioned and according to the default way of output upper
State after above-mentioned target text is exported on touch screen, said method also includes:
Receive the selection to any one word in above-mentioned target text for the above-mentioned user, obtain the word of selected word
Allusion quotation information simultaneously exports on above-mentioned touch screen, and above-mentioned dictionary information includes pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality stroke, pen
Draw at least one in number, explanation, group word and sentence-making.
As a kind of optional embodiment, in first aspect present invention, above-mentioned acquisition user writes on the touchscreen
At least one handwriting trace of input, obtains at least one structure division and includes:
Obtain at least one handwriting trace that above-mentioned user inputs in above-mentioned touch user writes on the screen;
Identify the content of above-mentioned handwriting trace, judge whether at least one handwriting trace above-mentioned is structure according to the above
Part, if structure division, according at least one handwriting trace above-mentioned, obtains at least one structure division;
If not structure division, judge that whether at least one handwriting trace above-mentioned is letter, if alphabetical, search with above-mentioned
Word that letter matches simultaneously exports on above-mentioned touch screen according to the default way of output;If not alphabetical, in above-mentioned touch screen
Upper output does not find the prompting of matching literal.
Second aspect present invention discloses a kind of text search device, it may include:
Acquiring unit, for obtaining at least one structure division that user inputs on the touchscreen, said structure part is
The part being formed by least one stroke being obtained according to the text structure fractionation of word;
Searching unit, for searching the target literary composition matching with least one structure division above-mentioned from the word of pre-stored
Word;
Output unit, for exporting above-mentioned target text according to the default way of output on above-mentioned touch screen.
As a kind of optional embodiment, in first aspect present invention, above-mentioned acquiring unit includes:
First acquisition unit, writes at least one handwriting trace of input on the touchscreen for obtaining user, obtain to
A few structure division, a said structure partly corresponds to an above-mentioned handwriting trace;
Or, second acquisition unit, passes through at least one knot of the dummy keyboard input on touch screen for obtaining user
Structure part.
As a kind of optional embodiment, in first aspect present invention, above-mentioned first acquisition unit is specifically for obtaining
Take the coordinate information that at least one handwriting trace of input is write at family on the touchscreen, above-mentioned coordinate information includes starting coordinate
Moving coordinate information in information, end coordinate information and handwriting trace moving process;Identified according to above-mentioned coordinate information and correspond to
The content write of above-mentioned handwriting trace, obtain at least one structure division.
As a kind of optional embodiment, in first aspect present invention, said apparatus also include:
Arranging unit, for collecting some words and preserving, the text structure according to above-mentioned some words is to above-mentioned some
Word is split, and obtains some structure divisions, and each of above-mentioned some words word is split obtain every with it
One structure division sets up incidence relation respectively;
Above-mentioned searching unit is specifically for according to above-mentioned incidence relation, searching and at least one structural portion split-phase above-mentioned
The target text joined.
As a kind of optional embodiment, in first aspect present invention, above-mentioned output unit is specifically in acquisition
State the stroke number of target text, on above-mentioned touch screen according to above-mentioned target text stroke number from small to large or from big to small
Sort and export above-mentioned target text;Or, obtain the output frequency of above-mentioned target text and/or last output time,
Output frequency according to above-mentioned target text and/or last output time, sort on above-mentioned touch screen and export above-mentioned
Target text.
As a kind of optional embodiment, in first aspect present invention, said apparatus also include:
Check unit, for above-mentioned target being exported on above-mentioned touch screen in above-mentioned output unit according to the default way of output
After word, receive the selection to any one word in above-mentioned target text for the above-mentioned user, obtain selected word
Dictionary information simultaneously exports on above-mentioned touch screen, above-mentioned dictionary information include pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality stroke,
At least one in stroke number, explanation, group word and sentence-making.
As a kind of optional embodiment, in first aspect present invention, above-mentioned first acquisition unit specifically includes: knows
Other unit, for obtaining at least one handwriting trace that above-mentioned user inputs in above-mentioned touch user writes on the screen, identification is above-mentioned to write
The content of track;
Judging unit, for judging whether at least one handwriting trace above-mentioned is structure division according to the above, if
Structure division, according at least one handwriting trace above-mentioned, obtains at least one structure division;If not structure division, in judgement
State whether at least one handwriting trace is letter, if alphabetical, triggering above-mentioned searching unit lookup and above-mentioned letter match
Word is simultaneously exported according to the default way of output by above-mentioned output unit on above-mentioned touch screen;If not alphabetical, triggering is above-mentioned
Output unit exports the prompting not finding matching literal on above-mentioned touch screen.
Third aspect present invention discloses a kind of electronic equipment, it may include: text search disclosed in second aspect present invention
Device.
Compared with prior art, the embodiment of the present invention has the advantages that
In embodiments of the present invention, by obtaining at least one structure division that user inputs on the touchscreen, wherein, knot
Structure part is the part being formed by least one stroke being obtained according to the structure fractionation of word, and then, in the word of pre-stored
The target text that middle lookup is matched with least one structure division, exports according to the default way of output on the touchscreen.Permissible
Find out, implement the embodiment of the present invention, abandoned the technology needing in conventional art to input complete word or phonetic lookup word,
The word matching just can be searched by the structure division of word, be particularly suited for searching unacquainted word or uncommon
Word.In addition, in embodiments of the present invention, the structure division of user input can be more than one or two, using two
Above structure division come to search coupling word when, it is possible to increase the accuracy rate of lookup, further reduce the lookup time.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet of text search method disclosed in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of text search method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of text search device disclosed in the embodiment of the present invention;
Fig. 4 is another structural representation of text search device disclosed in the embodiment of the present invention;
Fig. 5 is another structural representation of text search device disclosed in the embodiment of the present invention;
Fig. 6 is another structural representation of text search device disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of electronic equipment disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of not making creative work
Apply example, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of text search method and device, electronic equipment, can quickly and accurately look into
Look for word, in particular for unacquainted word or rarely used word, reduce the time that user searches word, and contribute to user and learn
Practise and grasp word.
Embodiment one
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of text search method disclosed in the embodiment of the present invention.Wherein, Fig. 1 institute
The text search method showing is to be described from the angle of electronic equipment.In actual applications, electronic equipment can be electricity
The user equipmenies such as sub- dictionary (dictionary of such as learning to write by tracing over characters printed in red), smart mobile phone, panel computer, can also be home-teaching study machine etc., dictionary of learning to write by tracing over characters printed in red
Can be by writing input structure part on the touchscreen or phonetic searches word, provide copybook simultaneously and retouch for user
Red.As shown in figure 1, this text search method may comprise steps of.
101st, electronic equipment obtains at least one structure division that user inputs on the touchscreen, according to this structure division
The part being formed by least one stroke that the text structure fractionation of word obtains;
Wherein, structure division is to be obtained according to the text structure fractionation of word, for example, " Mi " word is according to its literary composition
Word structure can split into " two ", " partly " pictograph, and " " word can split into " mouth ", " mouth mouth " etc. according to text structure.
User (can include but are not limited to this by following two mode input structure parts in embodiments of the present invention
Two ways):
Mode one, the screen of electronic equipment are touch screen, user can pass through on the touchscreen finger or pointer with
Ways of writing inputs at least one handwriting trace, thus electronic equipment obtains at least one structure division.Mode one can be used for
All structure division inputs, are difficult to the structure division by dummy keyboard or input through keyboard especially for some, more such as
Radical etc..
In mode one, as a kind of optional embodiment, electronic equipment obtains user and writes input on the touchscreen
At least one handwriting trace, obtain at least one structure division and specifically include: electronic equipment obtain user defeated on the touchscreen
The coordinate information of at least one handwriting trace entering, this coordinate information includes starting coordinate information, end coordinate information and writes
Moving coordinate information in the moving process of track, in electronic equipment identifies that corresponding handwriting trace write according to coordinate information
Hold, obtain at least one structure division.Such as, user inputs " people " in the touch user writes on the screen of electronic equipment, and electronic equipment obtains
Get coordinate information when writing " people ", start the corresponding coordinate information of starting point that coordinate information is " Pie " in " people ", end coordinate
Information is the how corresponding coordinate information of last point in " people ", according to acquired coordinate information, can sketch out and write rail
The content of mark, thus obtain structure division.
Mode two, user can input at least one structure division by calling dummy keyboard by dummy keyboard.Mode
One is directed to the structure division that can pass through dummy keyboard input, and often these structure divisions are an independent word.
102nd, the target text matching with least one structure division searched from the word of pre-stored by electronic equipment;
It is appreciated that in addition it is also necessary to collecting word and storing in the electronic device before implementing embodiment one, can be by electricity
After sub- equipment networking, obtain from other network environments, or manual word of collecting is then input on electronic equipment.Receiving
After collecting word, according to the text structure of each word, it is split, then obtain structure division, in conjunction with all literary compositions
The structure division that word splits, has obtained pre-stored structure division in the electronic device, any two in the structure division of storage
Structure division is different from.Then, for each word, by its with can split each structure division obtaining
Set up incidence relation.For example, " river " can split into " Rui ", " work " two structure divisions according to its text structure, then will
" river " word and " Rui " set up incidence relation and set up incidence relation with " work ".Then according to the incidence relation set up, search and user
The target text that at least one structure division of input matches.It is to be appreciated that user can input in embodiments of the present invention
One structure division or two or more structure division searching the target text of coupling, to improve the degree of accuracy of text search.
Especially in some electronic equipments, the effective area of touch screen is smaller, and its typesetting shows and may be restricted, such as once
Property is only able to display 5 words, then may be had thousands of according to the word that a structure division finds, then from thousands of
The word that in target text up to ten thousand, lookup user wants is extremely difficult, therefore, passes through in embodiments of the present invention
Increase the condition searched, that is, plural structure division, then the mesh of two or more structure division can be mated simultaneously
Mark word will reduce relatively, also just quickly finds the word wanted.It is appreciated that the structure division quantity of user input
More, the quantity of the target text finding will be relatively fewer.
103rd, electronic equipment exports, according to the default way of output, the target text finding on the touchscreen.
As a kind of optional embodiment, in step 103, electronic equipment can first obtain the stroke number of target text, so
Stroke number according to target text is ranked up to target text and exports afterwards, including the stroke number according to target text from little to
Sort greatly or sort from big to small.
As another kind of optional embodiment, in step 103 electronic equipment first obtain target text output frequency and/
Or last output time, the output frequency according to target text and/or last output time, sort on the touchscreen
And export target text.As can be seen that the output frequency of target text reflects the utilization rate of target text, for utilization rate relatively
High target text carries out priority ordering, then improve the utilization rate of word further, and last output time also side
Reflect the utilization rate of target text.Can sort only in conjunction with the output frequency of target text in embodiments of the present invention and defeated
Go out target text it is also possible to the last output time only in conjunction with target text to sort and to export target text, acceptable
Output frequency in combination with target text and last output time sorting and to export target text, to concrete implementation
Mode is not construed as limiting.
Certainly, arranged according to the stroke number of target text, the output frequency of target text and/or last output time etc.
Sequence exports target text, and user can also be facilitated quickly to find the word oneself wanted.
As can be seen that electronic equipment passes through to detect at least one structure division that user inputs on the touchscreen, wherein, knot
Structure part is the part being formed by least one stroke being obtained according to the structure fractionation of word, and then, in the word of pre-stored
The target text that middle lookup is matched with least one structure division, exports according to the default way of output on the touchscreen, thus
Abandon the technology needing in conventional art to input complete word or phonetic lookup word, by the structure division of word with regard to energy
Enough search the word matching, be particularly suited for searching unacquainted word or rarely used word.In addition, in the embodiment of the present invention
In, the structure division of user input can be more than one or two, is being searched using plural structure division
During the word joined, it is possible to increase the accuracy rate of lookup, reduce the lookup time further.
Implement two
Refer to Fig. 2, Fig. 2 is another schematic flow sheet of text search method disclosed in the embodiment of the present invention;As Fig. 2 institute
Show, this text search method mays include:
201st, electronic equipment obtains at least one structure division that user inputs on the touchscreen;
Wherein, the introduction according to above-mentioned steps 101, user can pass through two ways input structure part, thus electronics
Equipment can get structure division by two ways.
Obtain structure division according to the mode one introduced in step 101, electronic equipment first obtains user on the touchscreen
Write at least one handwriting trace of input, then identify the content of this handwriting trace, judge that this handwriting trace is according to content
No for structure division, if structure division, then at least one structure division inputting will be obtained, if handwriting trace is not knot
Structure part, determines whether whether it is alphabetical (can be capitalization or lower case), if alphabetical, then search
The word that matches with letter according to the output of the default way of output.It is not letter if not structure division, then touching again
Touch and the prompting not finding matching literal is exported on screen.It is appreciated that when being inputted by ways of writing, because of user's book
Write nonstandard or touch the reason such as not in place, leads to the content of the handwriting trace that electronic equipment identifies neither structure
Part be not letter, then electronic equipment will be unable to get matching literal, thus export prompting remind user, prompting interior
Appearance may is that and not find matching literal.As can be seen that letter and word can also be pre-set in embodiments of the present invention
Incidence relation, then inputs letter to search word.
It is, of course, also possible to understand, in embodiments of the present invention, if having one at least one structure division identifying
When structure division is not structure division, then search unsuccessfully, the prompting not finding matching literal can be exported.
As a kind of optional embodiment, in step 1, electronic equipment can obtain what user inputted on the touchscreen
Structure division and letter.It is appreciated that in embodiments of the present invention, structure division and letter, structure division can be simultaneously entered
Can be one or more than 2 respectively with letter, be not limited thereto.
202nd, the target text matching with least one structure division searched from the word of pre-stored by electronic equipment;
In conjunction with the explanation of step 201, if electronic equipment gets structure division and the letter of user input simultaneously, then
In step 202, the target text of the structure division simultaneously mating input and letter will be searched, then according to the default way of output exists
Export on touch screen.
203rd, electronic equipment exports, according to the default way of output, the target text finding on the touchscreen;
204th, the selection to any one word in target text for the electronic equipment receive user, obtains selected word
Dictionary information and export on the touchscreen, this dictionary information includes pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality stroke, stroke
Number, at least one explained, organize in word and sentence-making.
As a kind of optional embodiment, when collecting word, can collect simultaneously the pronunciation of word, radical, structure,
The order of strokes observed in calligraphy, seriality stroke, stroke number, explanation, group word and sentence-making etc., thus generate a small-sized Chinese dictionary, such that it is able to help
Help user to expand the understanding amount of Chinese character, also can teach abecedarian's right pronunciation and help user to correct the pronunciation of mistake, Yi Jijiao
User can correctly write this word and the meaning grasping this word and usage.
In addition, when exporting dictionary information, being also provided with push button on the touchscreen, this push button link voice regards
Frequently, the writing process of voice and video broadcasting seriality stroke.User can pass through the operational order to this push button for the input,
Then electronic equipment, when this operational order is detected, opens voice and video, so that user passes through voice and video more intuitively
Learn how to write this word.
Implement three
Refer to Fig. 3, Fig. 3 is the structural representation of text search device disclosed in the embodiment of the present invention;As shown in figure 3,
This text search device mays include:
Acquiring unit 310, for obtaining at least one structure division that user inputs on the touchscreen, described structure division
It is the part being formed by least one stroke being obtained according to the text structure fractionation of word;
Searching unit 320, for searching the mesh matching with least one structure division described from the word of pre-stored
Mark word;
Output unit 330, for exporting described target text according to the default way of output on described touch screen.
As can be seen that in embodiments of the present invention, acquiring unit 310 detects at least one that user inputs in touch screen
Structure division, is then looked up unit 320 and searches the target being matched with this at least one structure division from the word of pre-stored
Word, output unit 330 exports target text according to the default way of output on the touch screen of electronic equipment, implements the present invention real
Apply example, abandon the technology needing in conventional art to input complete word or phonetic lookup word, by the structural portion of word
Divide and just can search the word matching, be particularly suited for searching unacquainted word or rarely used word.In addition, it is real in the present invention
Apply in example, the structure division of user input can be more than one or two, looked into using plural structure division
Look for coupling word when, it is possible to increase the accuracy rate of lookup, further reduce the lookup time.
As a kind of optional embodiment, in the text search device shown in Fig. 3, described output unit 330 is concrete
For, obtain described target text stroke number, on described touch screen according to described target text stroke number from small to large
Or sort and export described target text from big to small;As can be seen that in this embodiment, output unit 330 can basis
The stroke number of target text is arranging and to export target text so that user can be quick and accurately search from target text
The word wanting to look up to oneself, reduces the lookup time.
Or, as another kind of optional embodiment, in the text search device shown in Fig. 3, described output unit
330 specifically for obtaining the output frequency of described target text and/or last output time, according to described target text
Output frequency and/or last output time, described touch screen sorts and exports described target text;Can see
Go out, in this embodiment, output unit 330 can according to the output frequency of target text and/or last output time Lai
Sequence and output target text, the output frequency of target text reflects the utilization rate of target text, higher for utilization rate
Target text carries out priority ordering, then improve the utilization rate of word further.And output time also side reflection for the last time
The utilization rate of target text, in embodiments of the present invention output unit 330 can come only in conjunction with the output frequency of target text
Sequence and output target text are it is also possible to the last output time only in conjunction with target text to sort and to export target literary composition
Word, can also sort in combination with the output frequency of target text and last output time and export target text, right
Concrete implementation mode is not construed as limiting.
Example IV
Refer to Fig. 4, Fig. 4 is another structural representation of text search device disclosed in the embodiment of the present invention;Wherein, scheme
Text search device shown in 4 is that text search device as shown in Figure 3 is optimized and obtains.Word shown in Fig. 4 is looked into
Look in device, described acquiring unit 310 includes:
First acquisition unit 410, writes at least one handwriting trace of input on the touchscreen for obtaining user, obtains
At least one structure division, a described structure division corresponds to a described handwriting trace;
Or second acquisition unit 420, for obtain user pass through touch screen on dummy keyboard input at least one
Structure division.
As a kind of selectable mode, in the text search device shown in Fig. 4, first acquisition unit 410 is specifically used
In acquisition user writes the coordinate information of at least one handwriting trace of input on the touchscreen, and described coordinate information includes out
Moving coordinate information in beginning coordinate information, end coordinate information and handwriting trace moving process;Known according to described coordinate information
The content that not corresponding described handwriting trace is write, obtains at least one structure division.
As a kind of optional embodiment, in the text search device shown in Fig. 4, first acquisition unit 410 is concrete
Including:
Recognition unit 411, for obtaining described user in described at least one handwriting trace touching user writes on the screen input,
Identify the content of described handwriting trace;
Whether judging unit 412, be structure at least one handwriting trace described in the content judgement according to handwriting trace
Part, if structure division, according at least one handwriting trace described, obtains at least one structure division;If not structural portion
Point, judge whether at least one handwriting trace described is letter, if alphabetical, triggering searching unit 320 is searched and described letter
The word that matches simultaneously is exported according to the default way of output by described output unit 330 on described touch screen;If not word
Mother, triggers described output unit 330 and exports the prompting not finding matching literal on described touch screen.As can be seen that at this
In embodiment, if the handwriting trace of user input can be structure division it is also possible to the dry brush extracting from word
Draw formed part, but not in accordance with word structure split, or even can also be letter.If structure division, look into
Look for coupling target text and export, if letter is it is also possible to finding the word of coupling and exporting, but if be not knot simultaneously
Structure part and letter, then one prompting of output, this prompting includes not finding matching literal.
Embodiment five
Refer to Fig. 5, Fig. 5 is another structural representation of text search device disclosed in the embodiment of the present invention;Wherein, scheme
Text search device shown in 5 is that text search device as shown in Figure 3 is optimized and obtains.Word shown in Fig. 5 is looked into
Look in device, this text search device also includes:
In acquiring unit 310, arranging unit 510, for detecting that at least one that user inputs on the touchscreen is write first
Before track, collect some words and preserve, the text structure according to described some words splits to described some words,
Obtain some structure divisions, each default structure division that each of described some words word is comprised with it divides
Do not set up incidence relation;
And searching unit 320 is specifically for according to described incidence relation, searching and at least one structural portion split-phase described
The target text joined.
Embodiment six
Refer to Fig. 6, Fig. 6 is another structural representation of text search device disclosed in the embodiment of the present invention;Wherein, scheme
Text search device shown in 6 is that text search device as shown in Figure 3 is optimized and obtains.Word shown in Fig. 6 is looked into
Look in device, this text search device also includes:
Check unit 610, described for exporting on described touch screen according to the default way of output in described output unit
After target text, receive the selection to any one word in described target text for the described user, obtain selected literary composition
The dictionary information of word simultaneously exports on described touch screen, and described dictionary information includes pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality pen
At least one in picture, stroke number, explanation, group word and sentence-making.
Embodiment seven
Refer to Fig. 7, Fig. 7 is the structural representation of electronic equipment disclosed in the embodiment of the present invention;As shown in fig. 7, this electricity
Sub- equipment includes the text search device that any one of Fig. 3 to Fig. 6 is introduced.This electronic equipment can help user fast and accurately
Find word, especially for the unacquainted word of user, reduce the time of text search.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage
Medium include read only memory (read-only memory, rom), random access memory (random access memory,
Ram), programmable read only memory (programmable read-only memory, prom), erasable programmable is read-only deposits
Reservoir (erasable programmable read only memory, eprom), disposable programmable read only memory (one-
Time programmable read-only memory, otprom), the electronics formula of erasing can make carbon copies read only memory
(electrically-erasable programmable read-only memory, eeprom), read-only optical disc (compact
Disc read-only memory, cd-rom) or other disk storages, disk memory, magnetic tape storage or can
For carry or data storage any other medium computer-readable.
Above detailed Jie is carried out to text search method a kind of disclosed in the embodiment of the present invention and device, electronic equipment
Continue, specific case used herein is set forth to the principle of the present invention and embodiment, the explanation of above example is only
It is to be used to help understand the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to this
Bright thought, all will change in specific embodiments and applications, and in sum, this specification content should not be managed
Solve as limitation of the present invention.
Claims (15)
1. a kind of text search method is it is characterised in that include:
Obtain at least one structure division that user inputs on the touchscreen, described structure division is the text structure according to word
Split the part being formed by least one stroke obtaining;
Search, from the word of pre-stored, the target text matching with least one structure division described, and according to default defeated
Go out mode and described target text is exported on described touch screen.
2. method according to claim 1 is it is characterised in that at least one structural portion subpackage of described acquisition user input
Include:
Obtain at least one handwriting trace that user writes input on the touchscreen, obtain at least one structure division, an institute
State structure division and correspond to a described handwriting trace;
Or, obtain at least one structure division that user passes through the dummy keyboard input on touch screen.
3. method according to claim 2 is it is characterised in that described acquisition user writes input at least on the touchscreen
One handwriting trace, obtains at least one structure division and includes:
Obtain the coordinate information that user writes at least one handwriting trace of input on the touchscreen, described coordinate information includes out
Moving coordinate information in beginning coordinate information, end coordinate information and handwriting trace moving process;
The content that corresponding described handwriting trace is write is identified according to described coordinate information, obtains at least one structure division.
4. the method according to any one of claims 1 to 3 is it is characterised in that described acquisition user inputs on the touchscreen
At least one structure division before, methods described also includes:
Collect some words and preserve, the text structure according to described some words splits to described some words, obtains
Some structure divisions, and each of described some words word is split each structure division obtaining with it build respectively
Vertical incidence relation;
The described target text being matched with least one structure division described of searching from the word of pre-stored is included:
According to described incidence relation, search the target text matching with least one structure division described.
5. method according to claim 1 is it is characterised in that described defeated on described touch screen according to the default way of output
Go out described target text to include:
Obtain the stroke number of described target text, on described touch screen according to described target text stroke number from small to large or
Person sorts from big to small and exports described target text;
Or, obtain the output frequency of described target text and/or last output time, defeated according to described target text
Go out frequency and/or last output time, described touch screen sorts and exports described target text.
6. according to claim 1 or 5 method it is characterised in that described according to the default way of output in described touch screen
After the described target text of upper output, methods described also includes:
Receive the selection to any one word in described target text for the described user, obtain the dictionary letter of selected word
Breath simultaneously exports on described touch screen, described dictionary information include pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality stroke, stroke number,
At least one explained, organize in word and sentence-making.
7. method according to claim 2 is it is characterised in that described acquisition user writes input at least on the touchscreen
One handwriting trace, obtains at least one structure division and includes:
Obtain described user in described at least one handwriting trace touching user writes on the screen input;
Identify the content of described handwriting trace, whether at least one handwriting trace according to described content judges is structural portion
Point, if structure division, according at least one handwriting trace described, obtain at least one structure division;
If not structure division, judge whether at least one handwriting trace described is letter, if alphabetical, search and described letter
The word that matches simultaneously exports on described touch screen according to the default way of output;If not alphabetical, defeated on described touch screen
Go out not finding the prompting of matching literal.
8. a kind of text search device is it is characterised in that include:
Acquiring unit, for obtaining at least one structure division that user inputs on the touchscreen, according to described structure division
The part being formed by least one stroke that the text structure fractionation of word obtains;
Searching unit, for searching the target text matching with least one structure division described from the word of pre-stored;
Output unit, for exporting described target text according to the default way of output on described touch screen.
9. device according to claim 8 is it is characterised in that described acquiring unit includes:
First acquisition unit, writes at least one handwriting trace of input on the touchscreen for obtaining user, obtains at least one
Individual structure division, a described structure division corresponds to a described handwriting trace;
Or, second acquisition unit, passes through at least one structural portion of the dummy keyboard input on touch screen for obtaining user
Point.
10. device according to claim 9 it is characterised in that
Described first acquisition unit is specifically for obtaining the seat that user writes at least one handwriting trace of input on the touchscreen
Mark information, described coordinate information includes starting the mobile seat in coordinate information, end coordinate information and handwriting trace moving process
Mark information;The content that corresponding described handwriting trace is write is identified according to described coordinate information, obtains at least one structural portion
Point.
Device described in 11. according to Claim 8~10 any one is it is characterised in that described device also includes:
Arranging unit, for collecting some words and preserving, the text structure according to described some words is to described some words
Split, obtained some structure divisions, and each of described some words word is split, with it, each obtaining
Structure division sets up incidence relation respectively;
Described searching unit is specifically for according to described incidence relation, lookup and at least one structure division described match
Target text.
12. devices according to claim 8 it is characterised in that
Described output unit is specifically for obtaining the stroke number of described target text, according to described target on described touch screen
The stroke number of word sorts from small to large or from big to small and exports described target text;Or, obtain described target text
Output frequency and/or last output time, the output frequency according to described target text and/or for the last time export when
Between, described touch screen sorts and exports described target text.
Device described in 13. according to Claim 8 or 12 is it is characterised in that described device also includes:
Check unit, for described target text being exported on described touch screen in described output unit according to the default way of output
Afterwards, receive the selection to any one word in described target text for the described user, obtain the dictionary of selected word
Information simultaneously exports on described touch screen, and described dictionary information includes pronunciation, radical, structure, the order of strokes observed in calligraphy, seriality stroke, stroke
Number, at least one explained, organize in word and sentence-making.
14. devices according to claim 9 are it is characterised in that described first acquisition unit specifically includes:
Recognition unit, for obtaining described user in described at least one handwriting trace touching user writes on the screen input, identifies institute
State the content of handwriting trace;
Whether judging unit, be structure division at least one handwriting trace according to the judgement of described content, if structure
Part, according at least one handwriting trace described, obtains at least one structure division;If not structure division, described in judgement extremely
Whether a few handwriting trace is letter, if alphabetical, the word that triggering described searching unit lookup is matched with described letter
And exported on described touch screen according to the default way of output by described output unit;If not alphabetical, trigger described output
Unit exports the prompting not finding matching literal on described touch screen.
15. a kind of electronic equipments are it is characterised in that include:
Text search device as described in any one of claim 8~14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610673433.2A CN106354752A (en) | 2016-08-16 | 2016-08-16 | Words searching method and device, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610673433.2A CN106354752A (en) | 2016-08-16 | 2016-08-16 | Words searching method and device, and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106354752A true CN106354752A (en) | 2017-01-25 |
Family
ID=57844354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610673433.2A Pending CN106354752A (en) | 2016-08-16 | 2016-08-16 | Words searching method and device, and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354752A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110851071A (en) * | 2019-11-19 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Handwriting data processing and acquiring method and device |
CN111079502A (en) * | 2019-07-26 | 2020-04-28 | 广东小天才科技有限公司 | Method for recognizing writing content and electronic equipment |
CN111968424A (en) * | 2020-08-27 | 2020-11-20 | 北京大米科技有限公司 | Interactive learning method, device, system and computer storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243708A (en) * | 2011-06-29 | 2011-11-16 | 北京捷通华声语音技术有限公司 | Handwriting recognition method, handwriting recognition system and handwriting recognition terminal |
CN104794485A (en) * | 2015-04-09 | 2015-07-22 | 广东小天才科技有限公司 | Written character recognizing method and written character recognizing device |
CN105404624A (en) * | 2014-09-01 | 2016-03-16 | 阿里巴巴集团控股有限公司 | Chinese character recognition method, device and terminal |
-
2016
- 2016-08-16 CN CN201610673433.2A patent/CN106354752A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243708A (en) * | 2011-06-29 | 2011-11-16 | 北京捷通华声语音技术有限公司 | Handwriting recognition method, handwriting recognition system and handwriting recognition terminal |
CN105404624A (en) * | 2014-09-01 | 2016-03-16 | 阿里巴巴集团控股有限公司 | Chinese character recognition method, device and terminal |
CN104794485A (en) * | 2015-04-09 | 2015-07-22 | 广东小天才科技有限公司 | Written character recognizing method and written character recognizing device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079502A (en) * | 2019-07-26 | 2020-04-28 | 广东小天才科技有限公司 | Method for recognizing writing content and electronic equipment |
CN110851071A (en) * | 2019-11-19 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Handwriting data processing and acquiring method and device |
CN111968424A (en) * | 2020-08-27 | 2020-11-20 | 北京大米科技有限公司 | Interactive learning method, device, system and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100587660C (en) | Method and device for forecasting and discriminating hand-written characters | |
CN102693090B (en) | Input method and electronic device | |
CN103425257B (en) | A kind of reminding method of uncommon character information and device | |
CN103713845B (en) | Method for screening candidate items and device thereof, text input method and input method system | |
CN106354752A (en) | Words searching method and device, and electronic device | |
CN101281449B (en) | Hand-written character recognizing method and system | |
US20170102779A1 (en) | Device and method for inputting chinese characters, and chinese character search method using same | |
CN111190920A (en) | Data interactive query method and system based on natural language | |
WO2012065332A1 (en) | Method and device for querying question base | |
CN102339137A (en) | Input method and electronic equipment using same | |
CN103176651B (en) | A kind of hand-written information Quick Acquisition method | |
CN107797676B (en) | Single character input method and device | |
CN103049082B (en) | Braille input method suitable for touch panel | |
CN114327233A (en) | Haptic interaction system, method and storage medium | |
CN113268981A (en) | Information processing method and device and electronic equipment | |
CN105988595A (en) | Sliding input method and apparatus | |
CN102902987B (en) | The processing method of handwriting input word, processing system and electronic installation | |
CN106802722A (en) | A kind of pronunciation inputting method and system based on three-stroke digital input method | |
CN104133631B (en) | A kind of method and apparatus that application is quickly opened from locking screen interface | |
CN104007952A (en) | Input method, device and electronic device | |
CN103677645A (en) | Candidate object display method and device | |
CN105867649B (en) | A kind of input method and mobile terminal based on facility information | |
CN102880400A (en) | Hand-writing character input device and hand-writing character input method | |
US20150212729A1 (en) | Method for Inputting Chinese in Electronic Device | |
CN104808941A (en) | Method and system for displaying and inputting first-spelling predication sentence by one-time skip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |
|
RJ01 | Rejection of invention patent application after publication |