Background technology
In recent years, universal and flourish along with translation software, user cannot meet the function of simple individual character translation gradually, therefore the function of Bian You manufacturer proposition words and phrases translation meets the expectation of user, but, the correctness of words and phrases translation with the readability manufacturer of Shi Gejia always can desire most ardently the problem of solution.
Generally speaking, words and phrases translation is after first being translated by the individual character in whole section of sentence, then shows after reconfiguring arrangement according to grammar rule.But, the translation result produced in this way, its correctness with can readabilityly still have to be strengthened, because the thinking of human language is too complicated, have situation, context ... etc. various different situations can affect the result of translation, for example, some individual character has different explanations in different situations, even if so meet grammar rule still can produce incorrect translation result, therefore there is the fitness not good problem of words and phrases translation.
In view of this, Bian You manufacturer proposes a kind of built-in conventional mode with reference to sentence storehouse, be different from and use grammar rule to rearrange the mode of combination in the past, the sentence directly user received is compared with reference to the sentence in sentence storehouse with conventional, to find out the sentence that conforms to as translation result.But, the translation result produced in the above described manner, its correctness is limited to the built-in conventional words and phrases quantity with reference to sentence storehouse and quality, owing in fact cannot a kind of all words and phrases of language be all stored in a storehouse, only can pick out conventional words and phrases, therefore, when aforesaid way finds the words and phrases without meeting after comparison, the situation that cannot produce translation result will be caused, therefore aforesaid way still effectively cannot solve the fitness not good problem of words and phrases translation.
In sum, there is the fitness not good problem of words and phrases translation since known prior art is medium-term and long-term, therefore the real technological means being necessary to propose to improve, solves this problem always.
Summary of the invention
The present invention discloses a kind of words and phrases translation system and method thereof.
First, the present invention discloses a kind of words and phrases translation system, and this system comprises: network data base and client.Wherein, network data base is in order to store multiple translation words and phrases in advance, and each translation words and phrases comprises the first statement to be explained.As for the part of client, client comprises: translation module, enquiry module and display module.Wherein, translation module, in order to receive inquiry words and phrases to be translated by client database, is produced the second words and phrases and explains; Enquiry module is in order to receive inquiry words and phrases during at translation module, inquiry words and phrases are sent to network data base, search the translation words and phrases matched with described inquiry words and phrases and explain the first words and phrases comprised, and automatic network database receives the first words and phrases explanation found out; Display module is in order to when receiving these first words and phrases and explaining, allow to select to show the second words and phrases explanation to explain with the first words and phrases simultaneously, also allow according to comparison condition the first words and phrases to be explained and explain compare with the second words and phrases, show the second words and phrases when comparison meets to explain, when comparison does not meet, show the first words and phrases explain.
In addition, the present invention discloses a kind of words and phrases interpretation method, and its step comprises: store multiple translation words and phrases prior to this network data base in advance, and each translation words and phrases comprises one first words and phrases to be explained; Described client receives inquiry words and phrases to be translated by client database, produces the second words and phrases and explains; When described client receives inquiry words and phrases, inquiry words and phrases are sent to network data base by described client, search and inquire about the translation words and phrases that words and phrases match and explain the first words and phrases comprised, and by network data base the first words and phrases found out are explained and be sent to client; When described client receives the first words and phrases explanation, described client allows to select to show the second words and phrases explanation simultaneously and explains with the first words and phrases, described client also allows to be explained by the first words and phrases according to comparison condition and explains compare with the second words and phrases, show the second words and phrases when comparison meets to explain, when comparison does not meet, show the first words and phrases explain.
System and method for disclosed by the present invention as above, be that the present invention is explained to produce the second words and phrases by client translation and inquiry words and phrases with the difference of prior art, and inquiry words and phrases are sent to network data base simultaneously and carry out inquiring about to obtain the first words and phrases and explain, and allow to select to show the first words and phrases to explain and explain with the second words and phrases and selects the first words and phrases to explain and after the second words and phrases explain and compare, show the first words and phrases explanation or the explanation of the second words and phrases according to comparison result simultaneously.
By above-mentioned technological means, the present invention can reach the fitness technology effect improving words and phrases translation.
Embodiment
Graphic and embodiment below will be coordinated to describe embodiments of the present invention in detail, by this to the present invention how application technology means solve technical matters and the implementation procedure reaching technology effect can fully understand and implement according to this.
Before the words and phrases translation system illustrated disclosed by the present invention and method thereof, first explain the noun of institute of the present invention self-defining, the first words and phrases of the present invention are explained and are referred to that the words and phrases found out by network data base are explained; Second words and phrases are explained and are referred to that the words and phrases that the translation undertaken by client itself is produced are explained.In other words, both are all words and phrases and explain, its difference is only that the former is produced by network data base, and the latter is produced by client itself.
Below coordinate and to be graphicly described further words and phrases translation system of the present invention and method thereof, refer to " Fig. 1 ", " Fig. 1 " is the system block diagrams of words and phrases translation system of the present invention, and this system comprises: network data base 110 and client 120.Wherein, network data base 110 is in order to store multiple translation words and phrases in advance, and each translation words and phrases comprises the first words and phrases to be explained, and is interconnected by network 130 between network data base 110 and client 120.On reality is implemented, network 130 can be cable network or wireless network, and network data base 110 can use relational database to realize.
As for the part of client 120, client 120 comprises: translation module 121, enquiry module 122 and display module 123.Wherein, translation module 121, in order to receive inquiry words and phrases to be translated by client database, is produced the second words and phrases and explains.On reality is implemented, translation module 121 is after first being translated by all individual characters in inquiry words and phrases, then the individual character after these being translated according to grammar rule reconfigures arrangement.Because this interpretative system is known technology, therefore much more no longer to repeat at this.
Enquiry module 122 is in order to receive inquiry words and phrases during at translation module 121, inquiry words and phrases are sent to network data base 110, to compare with the translation words and phrases in network data base 110, and then find out and inquire about the translation words and phrases that words and phrases match and explain the first words and phrases comprised, and automatic network database 110 receives the first words and phrases found out explains.On reality is implemented, inquiry words and phrases comprise precise alignment and fuzzy comparison with the alignments of translation words and phrases, described precise alignment is that inquiry words and phrases are all identical with all characters of translation words and phrases, described fuzzy comparison is that inquiry words and phrases meet default threshold value with the identical character quantity of translation words and phrases, this threshold value is numerical value or the number percent of positive integer, such as: numerical value " 5 " or number percent " 80% ".Be noted that especially, the mode of described precise alignment and fuzzy comparison also can be used for comparison and the screening of the first words and phrases explanation and the explanation of the second words and phrases, such as: when judging that the first words and phrases are explained and the second words and phrases explain that whether comparison meets, the mode of precise alignment and fuzzy comparison can judge, and filter out the first words and phrases meeting predetermined threshold level and to explain and the second words and phrases are explained.
Display module 123 is in order to when receiving the first words and phrases and explaining, allow user to select to show the second words and phrases to explain and the explanation of the first words and phrases simultaneously, and allow according to comparison condition the first words and phrases to be explained and explain compare with the second words and phrases, show the second words and phrases when comparison meets to explain, when comparison does not meet, show the first words and phrases explain.On reality is implemented, display module 123 can show the source position that the second words and phrases are explained when comparison meets, and when comparison does not meet, show the source position of the first words and phrases explanation, so that from source position, user learns that this translation result itself produced by network data base 110 or client 120.In addition, when the first words and phrases are explained and the second words and phrases explain that comparison does not meet, first words and phrases that network data base 110 can be found out are explained and are stored in client 120 for inquiring about next time.
Then, refer to " Fig. 2 ", " Fig. 2 " is words and phrases interpretation method of the present invention, and its step comprises: store multiple translation words and phrases prior to network data base 110 in advance, and each translation words and phrases comprises the first words and phrases and explains (step 210); Described client 120 receives inquiry words and phrases to be translated by client database, produces the second words and phrases and explains (step 220); When described client 120 receives inquiry words and phrases, inquiry words and phrases are sent to network data base 110 by described client 120 simultaneously, search the translation words and phrases matched with described inquiry words and phrases and explain the first words and phrases comprised, and by network data base 110, the first words and phrases explanation found out being sent to client 120(step 230); When described client 120 receives the first words and phrases explanation, described client 120 allows to select to show the second words and phrases explanation simultaneously and explains with the first words and phrases, described client 120 also allows to be explained by the first words and phrases according to comparison condition and explains compare with the second words and phrases, show the second words and phrases when comparison meets to explain, when comparison does not meet, show the first words and phrases explain (step 240).Pass through above-mentioned steps, namely explain to produce the second words and phrases by client 120 translation and inquiry words and phrases, and inquiry words and phrases are sent to network data base 110 simultaneously and carry out inquiring about to obtain the first words and phrases and explain, and allow to select to show the first words and phrases to explain and explain with the second words and phrases and selects the first words and phrases to explain and after the second words and phrases explain and compare, show the first words and phrases explanation or the explanation of the second words and phrases according to comparison result simultaneously.
Be noted that especially after step 230, more can explain at the second words and phrases the source position explained with the first words and phrases and to show the second words and phrases and explains when comparison meets, and when comparison does not meet, show the source position (step 250) of the first statement explanation.
Below coordinate " Fig. 3 " to illustrate as follows by way of example to " Fig. 5 B ", please first consult " Fig. 3 ", the schematic diagram of the data content that " Fig. 3 " is network data base.Mention above, network data base 110 stores multiple translation words and phrases in advance, each translation words and phrases comprises the first words and phrases to be explained, on reality is implemented, the translation words and phrases that these store in advance can be stored in the translation words and phrases table 300 in relational database, and except the supvr by network data base 110, also can allow network 130 to be explained translation words and phrases and the first words and phrases of comprising thereof through the user of checking and carry out safeguarding and upgrade.Thus, except the quantity that the translation words and phrases that can significantly increase in network data base 110 and the first words and phrases of comprising thereof are explained, also these translation words and phrases and words and phrases can be explained maintain the most appropriate state via inspecting of everybody.
If " Fig. 4 A " and " Fig. 4 B " is the schematic diagram that application the present invention produces the first words and phrases explanation, first, please first consult " Fig. 4 A ".When supposing that user wants the words and phrases of query translation words and phrases to explain, inquiry form 400 can be opened, and in input frame 411, key in the translation words and phrases for inquiry.Then, after clicking inquiry element 421, translation module 121 receives the translation words and phrases of key entry as inquiring about words and phrases to be translated by client database, and produce the second words and phrases according to translation result to explain, and enquiry module 122 also can when translation module 121 be translated, inquiry words and phrases are sent to network data base 110 simultaneously and find out to compare with translation words and phrases and inquire about the translation words and phrases that words and phrases match and explain the first words and phrases comprised.For example, suppose that user keys in " An apple a day keeps the doctor away " as inquiry words and phrases, then translation module 121 can be translated to obtain the second words and phrases explanation to these inquiry words and phrases, such as: " one day apple; can away from doctor ", and these inquiry words and phrases can be sent to first words and phrases that network data base 110 finds out these inquiry words and phrases corresponding and explain, as " one day apple, doctor is away from me " by enquiry module 122.
Next, display module 123 allows user to select show the second words and phrases explanation simultaneously and explained by the first words and phrases that network data base 110 finds out, and allow to select the first words and phrases to explain according to comparison condition and explain compare with the second words and phrases, show the second words and phrases to explain when comparison meets, show the first words and phrases when comparison does not meet and explain.Above example, first words and phrases are interpreted as " one day apple, doctor is away from me ", second words and phrases are interpreted as " one day apple, can away from doctor ", therefore, when user selects to show two words and phrases explanations simultaneously, can as " Fig. 4 B " illustrate to show simultaneously the first words and phrases explain 412 and second words and phrases explain 413, in addition, also according to comparison condition the first words and phrases can be explained and explain compare with the second words and phrases, when comparison meets, show the second words and phrases explain, when showing the first words and phrases explanation when comparison does not meet, above example, explain only showing the first words and phrases because both comparisons do not meet.
Refer to " Fig. 5 A " and " Fig. 5 B ", " Fig. 5 A " and " Fig. 5 B " is the schematic diagram that application the present invention produces the second words and phrases explanation and display source position.Mention above, display module 123 to be explained and the first words and phrases found out are explained in showing than to meeting Shi Gengke the source position that the second words and phrases explain at the second words and phrases, and when comparison does not meet, show the source position of the first statement explanation.For example, as " Fig. 5 A " illustrate, suppose that user keys in " April showers bring May flowers " as inquiry words and phrases, then translation module 121 can be translated to obtain the second words and phrases explanation to these inquiry words and phrases, such as: " shower in April brings the flower in May ", and enquiry module 122 can by this inquiry words and phrases be sent to network data base 110 find out this inquiry words and phrases corresponding first words and phrases explain, when there is not the first corresponding words and phrases explanation in network data base 110, display module 123 is judged as that the first words and phrases are explained and the second words and phrases explain that comparison does not meet, therefore, show the second words and phrases to explain when comparison meets, when showing the first words and phrases explanation when comparison does not meet, because both do not meet, so as " Fig. 5 B " illustrate, show the first words and phrases and explain 412, and show source position for " network data base " at viewing area, position block 420.
In sum, difference between known the present invention and prior art is to be explained to produce the second words and phrases by client translation and inquiry words and phrases, and inquiry words and phrases are sent to network data base simultaneously and carry out inquiring about to obtain the first words and phrases and explain, and allow to select to show the first words and phrases to explain and explains with the second words and phrases and select the first words and phrases to explain and after the second words and phrases explain and compare simultaneously, show the first words and phrases according to comparison result to explain or the explanation of the second words and phrases, the problem existing for prior art can be solved by this technological means, and then reach the fitness technology effect improving words and phrases translation.
Although the present invention discloses as above with aforesaid embodiment; so itself and be not used to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when a little change and retouching can be done, therefore scope of patent protection of the present invention must depending on appended by this instructions the content that limits of claims be as the criterion.