Embodiment
Below describe conjunction with figs. and embodiment in detail embodiments of the present invention, by this to the present invention how the application technology means implementation procedure that solves technical matters and reach technique effect can fully understand and implement according to this.
The present invention is applied to the user of the non-first language of mother tongue, because these users can't see through the first language of first language inquiry first language translation dictionary and explain, a kind of generation system and method thereof of first language inverse-checking thesaurus are provided by this, see through first language inverse-checking thesaurus of the present invention, allow the user import second language and can inquire about the first language translation dictionary.
Please refer to shown in Figure 1ly, Fig. 1 is the generation system block diagram of first language inverse-checking thesaurus of the present invention.The generation system of first language inverse-checking thesaurus provided by the present invention includes: original dictionary 20, selected words module 30, associated characters and words module 40, keyword module 50, anti-module 60 and the inverse-checking thesaurus generation module 70 looked into of keyword.
Wherein, original dictionary 20 can use and exist the dictionary with first language words and second language explanation to be used as original dictionary 20, but original dictionary 20 more can see through dictionary module 21 different dictionaries is integrated, generate original dictionary 20 to integrate, particularly: dictionary module 21 can be integrated into original dictionary 20 with second dictionary 11 and the 3rd dictionary 12.
Second above-mentioned dictionary 11 and the 3rd dictionary 12 are explained and the second language explanation in order to first language words, first language to be provided, through the integration of dictionary module 21, make that original dictionary 20 can comprise the first language words, first language is explained and second language is explained.
Selected words module 30, find out selected first language words at least one first language words of original dictionary 20, selected first language words can be used as selected first language words in regular turn and do selected in regular turn according to the order of the first language words of original dictionary 20.
Associated characters and words module 40 is found out at least one related first language words according to selected first language words in original dictionary 20.
Above-mentioned related first language words be that to find out with selected first language words be that the second language of prefix is explained, and the selected first language words identical with the second language explanation of selected first language words is related first language words.
Keyword module 50 is found out the second language of selected first language words and is explained according to selected first language words module 30, and the second language that associated characters and words module 40 is found out related first language words explains, judges the second language keyword.
On the correspondence of language, tending to produce selected first language words and related first language words can explain by corresponding a plurality of second languages, therefore, the present invention judges that the method for second language keyword is for selected first language words of statistics and the pairing second language explanation of related first language words quantity, with decision second language keyword.At last, with the quantity after the second language keyword statistic processes, will explain with the maximum second language of quantity to be judged as the second language keyword.
When having two above second languages be interpreted as the maximum second language of quantity simultaneously to explain, the second language of equal number is explained and can be explained in the order accord priority value of selecting first language words and related first language words according to second language, priority valve is higher the preceding for order, can calculate priority valve and be judged as the second language keyword to calculate the highest second language explanation of back priority valve.
The anti-module 60 of looking into of keyword, the second language keyword that is judged according to keyword module 50 is counter looks into the lists of keywords that first dictionary 13 provides, and checking second language keyword is present in the lists of keywords.
First dictionary 13 can provide lists of keywords, the second language keyword that utilizes keyword module 50 to be judged is index, instead look into the lists of keywords that first dictionary 13 provides, can make incomplete phrase disallowable, particularly: suppose that the second language keyword that keyword module 50 judges is " dice ", keyword is anti-the anti-lists of keywords of looking into first dictionary 13 and providing of module 60 is provided is " dice ", " dice away ", " dice for ", therefore " no dice " belongs to incomplete phrase and will be played and remove, and then promotes the anti-accuracy of looking into.
Inverse-checking thesaurus generation module 70, has first language inverse-checking thesaurus 71, when the second language keyword is present in the lists of keywords, the first language explanation of the selected first language words of original dictionary 20 corresponding second language keywords, related first language words, selected first language words correspondence and the first language of second language explanation and related first language words correspondence are explained and the second language explanation, see through the means of database association, with original dictionary 20 associated records in first language inverse-checking thesaurus 71.
In the process of association record, can give selected first language words Base Serial Number earlier, give numbering with related first language words in regular turn again, the numbering that is the second language keyword and is endowed of associated record in first language inverse-checking thesaurus 71, first language inverse-checking thesaurus 71 serves as the inquiry initial conditions with the second language words, according to the second language words of input, can obtain corresponding first language explanation and second language and explain.
Next, explain orally function mode of the present invention and flow process with an embodiment, and please refer to shown in Fig. 2, Fig. 3 A, Fig. 3 B and Fig. 3 C, Fig. 2 is the generation method flow diagram of first language inverse-checking thesaurus of the present invention; Fig. 3 A is the original dictionary synoptic diagram of the present invention; Fig. 3 B is a lists of keywords synoptic diagram of the present invention; And Fig. 3 C is the related synoptic diagram of first language inverse-checking thesaurus of the present invention.
As shown in Figure 3A, with the first language is that Chinese and second language are English, and adopt original dictionary 20 to see through dictionary module 21 different dictionaries is integrated, to integrate the original dictionary 20 of generation is embodiment, and particularly: dictionary module 21 is integrated into original dictionary 20 with second dictionary 11 and the 3rd dictionary 12.
In the present embodiment, may further comprise the steps:
Step 100: selected words module 30 is found out selected first language words 81 according to original dictionary 20 and is " returning ", therefore, finds out corresponding first language at original dictionary 20 and explains that 82 explain that 83 is " return for " returning " and second language; Come or go back ".
Then, associated characters and words module 40 with selected first language words be the words of prefix be benchmark (for example: return, return ... etc.), and the words that is prefix with selected first language words " returns ", the second language explanation 83 of " returns " be respectively " return; Go back ", " return; Restore ", explain 83 " return with the second language that selected first language words " returns "; Come or go back " compare.
Be that the second language of the words of prefix explains that 83 have with the second language of selected first language words and explain that 83 identical second languages explain 83 when selected first language words, with embodiment, comparison result is to have identical second language to explain 83, is the related first language words that will look for and is " returning ", " return ".
Step 200: associated characters and words module 40 is found out two related first language words according to selected first language words by " returning " and is " returning " and " return " in original dictionary 20, and finds out related first language words and " return " corresponding first language explanation 82 for " return; Return " and second language explain that 83 is " return; Go back ", and related first language words " returns " corresponding first language explanation 82 for " to give back; Return " and second language explain that 83 are " return; Restore ".
The selected first language words that keyword module 50 is found out according to selected words module 30 is " returning ", and finds out corresponding second language and explain that 83 are " return; Come or go back ", two related first language words that cooperate associated characters and words module 40 to be found out again " return " and " return ", and find out related first language words and " return " corresponding second language and explain that 83 are " return; Go back ", and the corresponding second language of related first language words " return " explains that 83 is " return; Restore ".
The present invention judges that the method for second language keyword is selected first language words of statistics and the pairing second language explanation of related first language words quantity, with decision second language keyword, as follows through the result after the corresponding second language explanation 83 of selected first language words of statistics and related first language words institute: " return " quantity is 3 times, " go back " quantity is 2 times, " come " quantity is 1 time, and " restore " quantity is 1 time.
Step 300: last, with the quantity after the second language keyword statistic processes, explain that with the maximum second language of quantity 83 are judged as second language keyword 84, so, explain that according to second language the maximum number of times of 83 occurrence numbers is that 3 times second language explains that 83 " return " are the second language keyword.
Suppose another situation at this, when explanation ought have two above second languages explanations 83 to explain 83 for the maximum second language of quantity simultaneously, the judgement that keyword module 50 is carried out.
The selected first language words that keyword module 50 is found out according to selected words module 30 is " returning ", and finds out corresponding second language and explain that 83 are " return; Come or go back ", two related first language words that cooperate associated characters and words module 40 to be found out again " return " and " return ", and find out related first language words and " return " corresponding second language and explain that 83 are " return; Go back ", and the corresponding second language of related first language words " return " explains that 83 is " return; Go back; Restore ".
As follows through the result after the corresponding second language explanation 83 of selected first language words of statistics and related first language words institute: " return " quantity is 3 times, and " go back " quantity is 3 times, and " come " quantity is 1 time, and " restore " quantity is 1 time.
At this moment, " return " and " go back " is that the maximum second language of quantity explains 83 simultaneously, therefore, can carry out the judgement of priority valve.
Selected first language words " returns " corresponding second language and explains 83 " return; Come or go back " priority valve be respectively " 2; 1 "; Related first language words " returns " corresponding second language and explains 83 " return; Go back " priority valve be respectively " 2; 1 ", and the corresponding second language of related first language words " return " explain 83 " return; Go back; Restore " priority valve be respectively " 3; 2; 1 "." return " resulting last priority level value is 7, and " go back " resulting last priority level value is 4, then explains that to calculate the second language that the back priority valve is up to " 7 " 83 " return " are judged as second language keyword 84.
Step 400: then, the second language keyword of judging according to keyword module 50 84 is " return ", anti-action of looking into the lists of keywords that first dictionary 13 provides, and whether checking second language keyword 84 is present in the lists of keywords.
Shown in Fig. 3 B, first dictionary 13 can provide lists of keywords 85, and the anti-module 60 of looking into of keyword can be at lists of keywords 85, the second language keyword 84 " return " that comparison keyword module 50 is judged; In the present embodiment, can learn that second language keyword 84 " return " is present in the lists of keywords 85, be that second language keyword 84 " return " is present in first dictionary 13, if second language keyword 84 " return " is not present in first dictionary 13, then second language keyword 84 " return " can not be recorded in associated record in first language inverse-checking thesaurus 71, will directly return step 100.
Step 500: last, shown in Fig. 3 C, when second language keyword 84 " return " is present in first dictionary 13, with the selected first language words of original dictionary 20 corresponding second language keywords 84 " return " " return ", related first language words " returns " and " return ", selected first language words " return " corresponding first language explain 82 " returning " and second language explanation 83 " return; Comeor go back ", related first language words " returns " corresponding first language and explains that 82 is " return; Return " and second language explanation 83 " return; Go back " and the corresponding first language of related first language words " return " explain that 82 is " return; Return " and second language explanation 83 " return; Restore ", see through the means of database association, with original dictionary 20 associated records in first language inverse-checking thesaurus 71.
At original dictionary 20 associated records in first language inverse-checking thesaurus 71, can give selected first language words earlier and " return " Base Serial Number 86, the numbering of " returning " in the present embodiment 86 is " 1 ", in regular turn related first language words " is returned " again and " return " give the numbering 86, the numbering of " returning " 86 is " 3 " for the numbering 86 of " 2 ", " return ", and Bian Hao the mode of giving can be given numbering at the words of original dictionary in proper order according to selected first language words and related first language words herein.
Associated record is the numbering 84 " 1 that second language keyword 84 " return " and selected first language words and related first language words are endowed in first language inverse-checking thesaurus 71; 2; 3 ", first language inverse-checking thesaurus 71 serves as the inquiry initial conditions with the second language words, according to the second language words of input, can obtain corresponding first language explanation and second language and explain.
In sum, difference between the present invention and the prior art is to see through original dictionary and finds out the second language keyword as can be known, and with the anti-lists of keywords of looking into of second language keyword, promptly the second language of second language keyword can be explained that association is embedded in the first language inverse-checking thesaurus, to generate the first language inverse-checking thesaurus, by can solving the existing problem of prior art, and then reach to see through and use the first language inverse-checking thesaurus to use the second language inquiry can obtain the technique effect of accurate Query Result.
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.Any persond having ordinary knowledge in the technical field of the present invention under the prerequisite that does not break away from spirit and scope provided by the present invention, can do a little change what implement in form and on the details.Scope of patent protection of the present invention, still must with appended claim the person of being defined be as the criterion.