Embodiment
Below will cooperate graphic and embodiment specifies embodiment of the present invention, whereby to the present invention how the application technology means implementation procedure that solves technical matters and reach technological effect can make much of and implement according to this.
At first, please be earlier be of the present inventionly to show the calcspar of vocabulary inquiry result's system with reference to " Fig. 1 " according to the data association degree, will be in order to the running between each module of the present invention to be described.Of the present inventionly show that according to the data association degree vocabulary inquiry result's system comprises lexical data base 101, first acquisition module 102, second acquisition module 103 and display module 104.
Lexical data base 101; Store at least one lexical data item in advance; Wherein each lexical data item comprises at least one vocabulary explanation of vocabulary and corresponding vocabulary; The dictionary classification of the pronunciation that described vocabulary explanation can be a vocabulary, explanation, example sentence, derivative, correspondence ... Deng the other guide relevant with vocabulary; Though the vocabulary explanation only gives some instances and describes in the present invention, does not so in fact then exceed with described, any content relevant with vocabulary all should be in the category of vocabulary explanation of the present invention.
First acquisition module 102; Be responsible for producing a query interface and supply user's input inquiry key word; After first acquisition module 102 receives keys word of the inquiry, then will gather as first Query Result according to obtaining the lexical data item that the explanation of vocabulary and vocabulary comprises key word of the inquiry in key word of the inquiry to the lexical data base 101.For instance; Suppose that key word of the inquiry is " from "; Then vocabulary lexical data item that is " come " example sentence " Where do you come from? " Middle because of comprising " from ", then first acquisition module 102 just can get access to the lexical data item of " come " when obtaining in the set of first Query Result.
Second acquisition module 103, gather to produce the set of second Query Result according to correlation degree setting filtration first Query Result then at responsible generation filtercondition setting interface, and the correlation degree setting of inherent filtration condition enactment interface reception user input.Be set at the setting of vocabulary and the vocabulary explanation degree of correlation in key word of the inquiry and the lexical data item in correlation degree of the present invention.For instance; Suppose that first query results is combined into all lexical data items that comprise key word of the inquiry in the lexical data item; When needs obtain out the identical lexical data item of vocabulary and key word of the inquiry, then can through a different correlation degree setting value to first Query Result set carry out secondary filter and produce the set of second Query Result.Described correlation degree setting value can be set according to different lexical data item relevance degree, and for example: vocabulary and key word of the inquiry in the lexical data item are identical, is coupling fully, and the correlation degree setting value is 100%; Comprise the lexical data item of key word of the inquiry in the vocabulary example sentence, the correlation degree setting value then can be set at 25%, and the rest may be inferred.Need to prove; The present invention sets only in order to explanation at the correlation degree of this measure different levels; Be not in order to limit the present invention; Any this area tool knows that usually the knowledgeable all should change to the corresponding relation between correlation degree setting and the lexical data item of the present invention providing under the prerequisite, but should still belong in the category of the present invention.
Display module 104; Establish a mark correspondence table in advance; Store the corresponding relation of correlation degree setting and marking style in the mark correspondence table, wherein marking style can be color, size, thickness, shape or any relevant attribute that differentiation shows that produces with mark.For instance; Suppose that marking style is a color depth value; Then if the correlation degree setting value is that 100% expression vocabulary and key word of the inquiry are identical; The color depth value of this tense marker is for the darkest, if the correlation degree setting value is to represent that vocabulary came across in the middle of the vocabulary example sentence at 25% o'clock, then the color depth value of this tense marker is for the most shallow.Though only describe with 100% and 25% in this correlation degree setting value of lifting, right actual setting value can be set according to the content of lexical data item and the importance of each content, and does not exceed with of the present invention.
Display module 104 is except establishing the mark correspondence table, also in order to show that the filtercondition that the query interface that first acquisition module 102 is produced and second acquisition module 103 are produced sets the interface in advance.When the user sets interface adjustment correlation degree and sets through filtercondition, can show corresponding marking style prompting, the user can learn that it is that the correlation degree of being imported is set corresponding for which kind of marking style whereby.In addition; To produce second query results fashionable when second acquisition module 103; Will be the key word of the inquiry in second Query Result set with the marking style mark of associated in correspondence degree set and show; The user can locate the lexical data item of different correlation degrees fast whereby, promotes the efficient of vocabulary inquiry.
Except above-mentioned module; More comprise a setting module 105; Use and set correlation degree in the interface setting mark correspondence table for the user through corresponding relation and set the corresponding relation with marking style, for example: the user can change the color depth or the line weight etc. of the height correspondence markings of certain correlation degree setting value.
Next, please refer to " Fig. 2 ", show the process flow diagram of vocabulary inquiry result's method according to the data association degree for of the present invention, will be in order to implementing procedure of the present invention to be described.
At first, store at least one lexical data item (step 201) in advance, wherein each lexical data Xiang Jun comprises at least one vocabulary explanation of vocabulary and corresponding vocabulary.Need to prove; The dictionary classification of the pronunciation that at least one vocabulary explanation can be a vocabulary, explanation, example sentence, derivative, correspondence ... Deng the other guide relevant with vocabulary; Though vocabulary explanation is only takeed several examples and is described in the present invention; So in fact then do not exceed with described, any content relevant with vocabulary all should be in the category of vocabulary explanation of the present invention.
Except storing at least one lexical data item in advance; System also must set up mark correspondence table (step 202) in advance; Store the corresponding relation of correlation degree setting and marking style in the mark correspondence table, wherein marking style can be color, size, thickness, shape or any relevant attribute that differentiation shows that produces with mark.For instance; Suppose that marking style is a line weight; Then if the correlation degree setting value is that 100% expression vocabulary and key word of the inquiry are identical; The lines of this tense marker are for the thickest, if the correlation degree setting value is to represent that vocabulary came across in the middle of the vocabulary example sentence at 25% o'clock, then the lines of this tense marker are for the thinnest.Though only describe with 100% and 25% in this correlation degree setting value of lifting, right actual setting value can be set according to the content of lexical data item and the importance of each content, and does not exceed with of the present invention.
Then, receive key word of the inquiry, and obtain at least one lexical data item that vocabulary and vocabulary explanation comprise key word of the inquiry according to key word of the inquiry and gather (step 203) as first Query Result.For instance; Suppose that key word of the inquiry is " from "; Then vocabulary lexical data item that is " come " example sentence " Where do you come from? " Middle because of comprising " from ", just can the lexical data item of " come " be got access to when then obtaining in the set of first Query Result.
Then, set the interface through filtercondition and receive correlation degree setting (step 204), and set the set of filtration first Query Result to produce second Query Result set (step 205) according to correlation degree.In step 204, more comprise and show that correlation degree is set and the prompting of marking style corresponding relation, the user can learn why the correlation degree of being imported at present sets corresponding marking style whereby.In addition, be set at the setting of vocabulary and the vocabulary explanation degree of correlation in key word of the inquiry and the lexical data item in correlation degree of the present invention.For instance; When needs obtain out the identical lexical data item of vocabulary and key word of the inquiry; Then the correlation degree setting value can be set at 100%, that is matees fully, when needs obtain out the lexical data item that comprises key word of the inquiry in the vocabulary example sentence; The correlation degree setting value can be set at 25%, and the rest may be inferred.The set of first Query Result is with the difference of second Query Result set; What the set of first Query Result was obtained out is the lexical data item that comprises key word of the inquiry in the content, and the set of second Query Result then is to carry out the secondary lexical data item that obtains again according to user's setting.Need to prove; The present invention sets only in order to explanation at the correlation degree of these different levels of giving an example; Be not in order to limit the present invention; Any this area tool knows that usually the knowledgeable all should change to the corresponding relation between correlation degree setting value and the lexical data item of the present invention providing under the prerequisite, but should still belong in the category of the present invention.
At last, set inquiry mark correspondence table drawing corresponding marking style according to correlation degree, and show (step 206) with the key word of the inquiry and the output of lexical data item in the set of marking style mark second Query Result.
Except aforesaid step; Of the present inventionly show that according to the data association degree vocabulary inquiry result's method more can provide a corresponding relation to set the interface and supply the user to set that correlation degree in the mark correspondence table is set and the corresponding relation of marking style, for example: the user can change the color depth or the line weight etc. of the height correspondence markings of certain correlation degree setting value.
Next, will there be the operating process of dictionary program of the present invention embodiment of the present invention to be described with an application as embodiment.In dictionary program, store at least one lexical data item in advance; All comprise vocabulary and at least one vocabulary explanation corresponding in each lexical data item, the dictionary classification of the pronunciation that these vocabulary explanations can be vocabulary, explanation, example sentence, derivative, correspondence with vocabulary ... Deng the other guide relevant with vocabulary.In addition; Dictionary program also must be set up the mark correspondence table in advance; Then store correlation degree in the mark correspondence table and set the corresponding relation with marking style, the corresponding relation in the mark correspondence table can be preset, and also can the person of being to use passes through a corresponding relation and sets that interface setting produces.
At first; Please refer to " Fig. 3 A "; Suppose to have comprised query interface 301 on the figure user interface 300 of dictionary program, and after triggering function key 302, dictionary program will show that filtercondition sets interface 303; The user can set indication component 304 through pulling and set the correlation degree setting; In the process that the user sets, the marking style of associated in correspondence degree set also can be revealed the prompting user, sets pairing marking style so that the user learns a certain correlation degree simultaneously; Suppose that marking style is a line weight in present embodiment, then the corresponding relation of marking style and correlation degree setting can be set shown in the interface 303 like filtercondition.Though so marking style act line weight is an example in present embodiment, in fact can be color, size, thickness, shape or any relevant attribute that produces the differentiation demonstration, and exceed with line weight with mark.In addition, only in order to the explanation signal, actual graphic assembly arranged mode is not then exceeded with what illustrate the display frame in " Fig. 3 A ".
Then, suppose that the key word of the inquiry of user's input at present is " swallow ", then this moment, all vocabulary explained that the lexical data item that comprises " swallow " all can be got access in the set of first Query Result.The correlation degree of supposing at the beginning to be imported is set at " coupling fully "; Please refer to " Fig. 3 B ", then through dictionary program the set of first Query Result is carried out secondary filter according to the correlation degree setting of " coupling fully " more at this moment and produce the set of second Query Result.Because " coupling fully " what obtain is the identical lexical data item of vocabulary and key word of the inquiry; Lexical data item 305 will be obtained and shown; " swallow " during demonstration in the lexical data item 305 also can be labeled out; Line weight with 6pt indicates, as is labeled shown in the vocabulary 306.Though right is that example describes at the lexical data item that this obtained out with one; Because same vocabulary has the lexical data item more than two sometimes; Therefore all lexical data items that in fact vocabulary is identical with key word of the inquiry can show simultaneously; Its display effect is similar to lexical data item 305, does not then add at this and gives unnecessary details.
Please refer to " Fig. 3 C " and suppose that the user adjusts correlation degree and is set at " example sentence "; Then this moment, dictionary program will carry out secondary filter to first Query Result set with " example sentence "; Obtaining out in the example sentence lexical data item that comprises " swallow " gathers as second Query Result; Like the lexical data item 307 in " Fig. 3 D "; Because the example sentence in the middle of the lexical data item 307 comprises key word of the inquiry " swallow ", then " swallow " shows after will marking " swallow " according to the corresponding line weight 0.75pt of " example sentence " this correlation degree setting at this moment, shown in mark vocabulary 308.What need special instruction is; When correlation degree is set at " example sentence "; Whether dictionary program will only can comprise " swallow " to the example sentence search of lexical data item in the set of first Query Result; Comprise Shi Caihui the lexical data item is got access in second Query Result set, and will mark " swallow " in the example sentence with the line weight 0.75pt of correspondence when showing; Likewise; When correlation degree is set at " phrase discrimination "; Whether dictionary program will only can comprise " swallow " to the phrase discrimination search of lexical data item in the set of first Query Result; Comprise Shi Caihui the lexical data item is got access in the set of second Query Result, and the line weight with correspondence marks " swallow " in " phrase discrimination " when showing.Shown in " Fig. 3 E ", when supposing that " phrase discrimination " with lexical data item 305 in " Fig. 3 B " comprises key word of the inquiry " swallow ", " swallow " of dictionary program this moment in the middle of will a mark " phrase discrimination ", the rest may be inferred.Though right is that example describes at the lexical data item that this obtained out with one, in fact all lexical data items of second Query Result set can show simultaneously that its display effect is similar to lexical data item 307, then do not add at this and give unnecessary details.
In sum; Obtain out the lexical data item that comprises key word of the inquiry in vocabulary and the vocabulary explanation according to key word of the inquiry from lexical data base and gather but the difference between knowledge capital invention and the prior art is to have as first Query Result; When inherent filtration condition enactment interface receives the correlation degree setting; Set the set of filtration first Query Result to produce the set of second Query Result according to correlation degree; And with the key word of the inquiry of lexical data item in the set of marking style mark second Query Result of associated in correspondence degree set and export the technique for displaying means; Can produce differentiation to the lexical data item of different correlation degrees through this technological means and show that simplifying the user needs the process of repeated overlapping comparison action voluntarily; Solve the existing in prior technology problem whereby, and then reach the technological effect of the lexical data item of the different correlation degrees in quick location.
Though embodiment provided by the present invention as above, only described content is not in order to direct qualification scope of patent protection of the present invention.Those skilled in the art under any the present invention under the prerequisite that does not break away from disclosed spirit of the present invention and scope, can do a little change what implement in form and on the details.Scope of patent protection of the present invention, still must with appending claims the person of being defined be as the criterion.