CN105573987A - Display method and device of word translation result - Google Patents

Display method and device of word translation result Download PDF

Info

Publication number
CN105573987A
CN105573987A CN201410629503.5A CN201410629503A CN105573987A CN 105573987 A CN105573987 A CN 105573987A CN 201410629503 A CN201410629503 A CN 201410629503A CN 105573987 A CN105573987 A CN 105573987A
Authority
CN
China
Prior art keywords
word
user
language
grade
language grade
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
Application number
CN201410629503.5A
Other languages
Chinese (zh)
Inventor
王晖
王磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201410629503.5A priority Critical patent/CN105573987A/en
Publication of CN105573987A publication Critical patent/CN105573987A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)

Abstract

The embodiment of the invention discloses a display method and device of a word translation result. The display method of the word translation result is applied to mobile equipment and comprises the following steps: after a document opening operation of a first user is detected, obtaining a word which is determined as a new word by the user from the word query historical record of the first user; sending the obtained word to server equipment to cause the server equipment to determine a language level of the first user according to the word; receiving a message which is sent from the server and carries the language level information of the first user; carrying out labeling processing on the word of which the language level is not lower than the language level of the first user in a document which is currently opened by the first user; and when a detection result shows that the first user selects any word in labeled words, translating the selected word, and displaying a translation result. Therefore, the display method can automatically display the translation result of the selected word for the user, does not need to carry out a translation operation by the user, and has the advantages of being simple in operation and high in translation efficiency.

Description

A kind of lexical translation result presentation method and device
Technical field
The present invention relates to technical field of internet application, particularly a kind of lexical translation result presentation method and device.
Background technology
Along with the fast development of mobile terminal technology, the mobile device such as mobile phone, panel computer reading documents is used to obtain the favor of more and more user.User on the mobile apparatus reading foreign language document time, often can run into some new words, in order to understand document preferably, user can use some translation tools to translate the new word in document usually.
In prior art, first, user needs to choose new word to be translated, then calls translation dictionary and translates the new word chosen.But owing to often carrying out the translation of a new word, all need to carry out to choose, dictionary call operation, therefore, complex operation, translation efficiency is lower.
Summary of the invention
In order to solve the problem, the embodiment of the invention discloses a kind of lexical translation result presentation method and device, concrete technical scheme is as follows:
A kind of lexical translation result presentation method, be applied to mobile device, described method comprises:
After the document opening operation of first user being detected, from the word query history record of first user, obtain the word that this user has confirmed as new word;
The word of acquisition is sent to server apparatus, to make described server apparatus according to this word, determine the language grade of first user, described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade;
The message of language class information that reception server sends, that carry first user;
To first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process;
When detecting that first user chooses any word in the word be labeled, selected word being translated, and translation result is shown.
Optionally, described method also comprises:
By first user in the document of front opening, the word that language grade is not less than the language grade of described first user highlights.
Optionally, describedly from the word query history record of first user, obtain the word that this user has confirmed as new word, comprising:
From the word query history record of first user, obtain this user carry out the word that the word of translating operation and this user make new word mark.
A kind of lexical translation result presentation method, be applied to server apparatus, described method comprises:
Receive that mobile device sends, that first user has confirmed as new word word;
According to the word received, use default language grade classification rule, determine the language grade of first user;
By carrying the message of the language class information of described first user, send to mobile device, to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
Optionally, the word that described basis receives, uses default language grade classification rule, determines the language grade of first user, comprising:
Inquire about the language grade storehouse set up in advance, determine the quantity Ni of the word belonging to language level i in received word;
According to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Default probability threshold value is carried out size with each probable value calculated respectively compare, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2 ... M, j=1,2 ... M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
A kind of lexical translation device displaying result, be applied to mobile device, described device comprises:
Word acquisition module, for after the document opening operation of first user being detected, obtains the word that this user has confirmed as new word from the word query history record of first user;
Word sending module, word for being obtained by described word acquisition module sends to server apparatus, to make described server apparatus according to this word, determine the language grade of first user, described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade;
Message reception module, the message of language class information that send for reception server, that carry first user;
Word mark module, for working as in the document of front opening to first user, the word that language grade is not less than the language grade of described first user carries out mark process;
Lexical translation result display module, for when detecting that first user chooses any word in by the word of described word mark module mark, translating selected word, and being shown by translation result.
Optionally, described device also comprises:
Word display module, for being worked as in the document of front opening by first user, the word that language grade is not less than the language grade of described first user highlights.
Optionally, described word acquisition module, specifically for:
After the document opening operation of first user being detected, from the word query history record of first user, obtain this user carried out the word that the word of translating operation and this user make new word mark.
A kind of lexical translation device displaying result, be applied to server apparatus, described device comprises:
Word receiver module, for receiving that mobile device sends, that first user has confirmed as new word word;
Language level determination module, for the word received according to described word receiver module, uses default language grade classification rule, determines the language grade of first user;
Message transmission module, for the message of the language class information by carrying described first user, send to mobile device, to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
Optionally, described language level determination module, comprising:
Inquiry submodule, for inquiring about the language grade storehouse set up in advance, determines the quantity Ni of the word belonging to language level i in received word;
Calculating sub module, for according to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Comparison sub-module, compare for default probability threshold value is carried out size with each probable value calculated respectively, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2 ... M, j=1,2 ... M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
Application technique scheme, the lexical translation result presentation method that the embodiment of the present invention provides and device, after the document opening operation of first user being detected, the word that this user has confirmed as new word can be obtained from the word query history record of first user, above-mentioned word is sent to server apparatus, to make described server apparatus according to this word, determine the language grade of first user; Afterwards reception server send, the message of the language class information that carries first user, afterwards first user is worked as in the document of front opening, the word be in the language grade of described first user carries out mark process, thus when detecting that first user chooses any word in the word be labeled, selected word is translated, and translation result is shown.
Compared with prior art, when the word that user chooses in document being detected, the embodiment of the present invention automatically for user shows the translation result of selected word, and can carry out translating operation without the need to user, simple to operate, translation efficiency is higher.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of lexical translation result presentation method that Fig. 1 provides for the embodiment of the present invention;
The process flow diagram of the another kind of lexical translation result presentation method that Fig. 2 provides for the embodiment of the present invention;
The process flow diagram of the another kind of lexical translation result presentation method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of lexical translation device displaying result that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of lexical translation device displaying result that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of lexical translation device displaying result that Fig. 6 provides for the embodiment of the present invention;
A kind of structural representation of the language level determination module 602 in Fig. 6 that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Technical scheme in the present invention is understood better in order to make those skilled in the art, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Developing rapidly of terminal technology, makes Intelligent mobile equipment be tending towards miniaturization gradually, the appearance of the miniaturization such as smart mobile phone, panel computer mobile device, meets user's reading documents demand whenever and wherever possible.User on the mobile apparatus reading foreign language document time, often can run into some new words, in order to understand document preferably, user can use some translation tools to translate the new word in document usually.
Under normal circumstances, when translating new word, user needs to choose the new word needing translation, then calls dictionary for translation and translates the new word chosen.Owing to often carrying out the translation of a new word, all need to carry out to choose, dictionary call operation, therefore, complex operation, translation efficiency is lower.In order to solve the problem, embodiments provide a kind of lexical translation result presentation method and device.
First a kind of lexical translation result presentation method that the embodiment of the present invention provides is introduced.
It should be noted that, embodiment of the present invention method is applicable to mobile device, and in actual applications, this mobile device can be smart mobile phone, panel computer, electronic reading device etc., and the embodiment of the present invention is not construed as limiting this.
As shown in Figure 1, a kind of lexical translation result presentation method that the embodiment of the present invention provides, be applied to mobile device, described method can comprise:
S101, after the document opening operation of first user being detected, obtains the word that this user has confirmed as new word from the word query history record of first user.
Be understandable that, in actual applications, the document that the first user in the embodiment of the present invention is opened, can be the document of the types such as English document, Korean document, Japanese document, the embodiment of the present invention be not construed as limiting this.
For making subsequent descriptions more clear, the document opened for first user below, for English document, is described remainder herein.
Such as party a subscriber is after opening English document, and mobile device by the English word query history of inquiry party a subscriber, can obtain the English word that party a subscriber is translated.
Optionally, in one embodiment of the invention, described mobile device can have new word mark function, and then first user carries out the operation that marks new word on described mobile device, in actual applications, described new word mark function can realize in new word mode originally, accordingly, new word can add in described new word basis by first user, realizes the marking operation to new word.
So above-mentioned S101, can comprise:
From the word query history record of first user, obtain this user carry out the word that the word of translating operation and this user make new word mark.
Such as party a subscriber is after opening English document, mobile device can by the inquiry English word query history of party a subscriber and above-mentioned new word this, obtain the translated English word of party a subscriber and make the English word of new word mark.
S102, sends to server apparatus by the word of acquisition, to make described server apparatus according to this word, determines the language grade of first user; Described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade.
In this implementation step, mobile device be responsible for by acquired, word that first user has confirmed as new word sends to server apparatus;
Server apparatus is responsible for the word sent according to mobile device, determines the language grade of first user.
Concrete, in one embodiment of the invention, server apparatus can inquire about the language grade storehouse set up in advance, determines the quantity Ni of the word belonging to language level i in received word;
Such as, the language grade storehouse set up in advance comprises the language level 1,2,3,4,5 of English; Wherein, comprise multiple English word, and language level is higher in each language level, the difficulty of corresponding English word is larger; In actual applications, language level 1 corresponds to College English Test, language level 2 corresponds to College English Test, language level 3 corresponds to specialty eight grades, language level 4 corresponds to IELTS, language level 5 corresponds to the TOEFL.
After query manipulation, can draw: received word belongs to the quantity N1=10 of the word of language level 1, belong to the quantity N2=30 of the word of language level 2, belong to the quantity N3=10 of the word of language level 3, belong to the quantity N4=30 of the word of language level 4, belong to the quantity N5=20 of the word of language level 5.
According to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Now, example is connected:
Received word belongs to the probable value P1=10/ (10+30+10+30+20)=10% of language level 1;
Belong to the probable value P2=30/ (10+30+10+30+20)=30% of language level 2;
Belong to the probable value P3=10/ (10+30+10+30+20)=10% of language level 3;
Belong to the probable value P4=30/ (10+30+10+30+20)=30% of language level 4;
Belong to the probable value P5=20/ (10+30+10+30+20)=20% of language level 5.
Default probability threshold value is carried out size with each probable value calculated respectively compare, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
Connect example, when the probability threshold value preset is 25%, probable value P1, P2, P3, P4, P5 are compared with 25% respectively, probability of detection value P2, P4 are all greater than 25%; And less inferior horn is designated as 2 in above-mentioned two probable values, therefore, determine that the language grade of first user is the 2nd language grade.
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Or when the probability threshold value preset is 30%, probable value P1, P2, P3, P4, P5 are compared with 30% respectively, probability of detection value P1, P2, P3, P4, P5 are all not more than 30%, therefore determine that the language grade of first user is the 1st language grade.
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2 ... M, j=1,2 ... M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
S103, the message of language class information that reception server sends, that carry first user.
Server apparatus, after determining the language grade of first user, can generate the message of the language class information carrying this first user, and the message of generation is sent to mobile device;
Mobile device can the above-mentioned message that sends of reception server, and then according to the message received, performs and operate accordingly.
S104, to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
Concrete, mobile device is after the message receiving the language class information carrying first user, can scan the word of this first user in the document of front opening, determine that in this opening document, language grade is not less than the word of the language grade of first user, further, mark process is carried out to determined word;
The language grade of such as first user is College English Test, and mobile device can to first user in the English document of front opening, and the English word of College English Test and more than six grades marks.
S105, when detecting that first user chooses any word in the word be labeled, translating selected word, and being shown by translation result.
In actual applications, when first user opens the English document in mobile device, this English document can be presented on the display screen of this mobile device;
When detecting that first user is clicked or presses the English word be labeled in above-mentioned English document on the display screen of this mobile device, the translation result of this english vocabulary can be presented at the top of English word that is clicked or that press, below, left; The embodiment of the present invention is not construed as limiting this.
As can be seen here, the lexical translation result display that the embodiment of the present invention provides, after the document opening operation of first user being detected, the word that this user has confirmed as new word can be obtained from the word query history record of first user, above-mentioned word is sent to server apparatus, to make described server apparatus according to this word, determine the language grade of first user; Afterwards reception server send, the message of the language class information that carries first user, afterwards first user is worked as in the document of front opening, the word be in the language grade of described first user carries out mark process, thus when detecting that first user chooses any word in the word be labeled, selected word is translated, and translation result is shown.
Compared with prior art, when the word that user chooses in document being detected, the embodiment of the present invention automatically for user shows the translation result of selected word, and can carry out translating operation without the need to user, simple to operate, translation efficiency is higher.
Optionally, in one embodiment of the invention, the lexical translation result presentation method that the embodiment of the present invention provides on the basis of method shown in Fig. 1, can also increase S106.
It should be noted that, S106 both can perform according to the execution sequence of method shown in Fig. 2, and also and can be placed between S104 and S105 and perform, the embodiment of the present invention is not construed as limiting this.Below S106 is described in detail.
S106, by first user in the document of front opening, the word that language grade is not less than the language grade of described first user highlights.
In order to user can be facilitated new word to be identified and to carrying out more smooth reading in full, the word that language grade can be not less than the language grade of described first user highlights; The language grade of such as first user is College English Test, can be used in the English document when front opening by first, and the English word of College English Test and more than six grades carries out highlighted display.
Corresponding to shown in Fig. 1, the lexical translation result presentation method that is applied to mobile device, the embodiment of the present invention additionally provides a kind of lexical translation result presentation method being applied to server apparatus.
As shown in Figure 3, a kind of lexical translation result presentation method that the embodiment of the present invention provides, be applied to server apparatus, described method can comprise:
S301, receives that mobile device sends, that first user has confirmed as new word word.
S302, according to the word received, uses default language grade classification rule, determines the language grade of first user.
Optionally, in one embodiment of the invention, above-mentioned S302, specifically can comprise:
S302a, inquires about the language grade storehouse set up in advance, determines the quantity Ni of the word belonging to language level i in received word;
Such as, the language grade storehouse set up in advance comprises the language level 1,2,3,4,5 of English; Wherein, comprise multiple English word, and language level is higher in each language level, the difficulty of corresponding English word is larger; In actual applications, language level 1 corresponds to College English Test, language level 2 corresponds to College English Test, language level 3 corresponds to specialty eight grades, language level 4 corresponds to IELTS, language level 5 corresponds to the TOEFL.
After query manipulation, can draw: received word belongs to the quantity N1=10 of the word of language level 1, belong to the quantity N2=30 of the word of language level 2, belong to the quantity N3=10 of the word of language level 3, belong to the quantity N4=30 of the word of language level 4, belong to the quantity N5=20 of the word of language level 5.
S302b, according to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Now, example is connected:
Received word belongs to the probable value P1=10/ (10+30+10+30+20)=10% of language level 1;
Belong to the probable value P2=30/ (10+30+10+30+20)=30% of language level 2;
Belong to the probable value P3=10/ (10+30+10+30+20)=10% of language level 3;
Belong to the probable value P4=30/ (10+30+10+30+20)=30% of language level 4;
Belong to the probable value P5=20/ (10+30+10+30+20)=20% of language level 5.
S302c, default probability threshold value is carried out size with each probable value calculated respectively compare, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
Connect example, when the probability threshold value preset is 25%, probable value P1, P2, P3, P4, P5 are compared with 25% respectively, probability of detection value P2, P4 are all greater than 25%; And less inferior horn is designated as 2 in above-mentioned two probable values, therefore, determine that the language grade of first user is the 2nd language grade.
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Or when the probability threshold value preset is 30%, probable value P1, P2, P3, P4, P5 are compared with 30% respectively, probability of detection value P1, P2, P3, P4, P5 are all not more than 30%, therefore determine that the language grade of first user is the 1st language grade.
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2 ... M, j=1,2 ... M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
S303, by carrying the message of the language class information of described first user, sends to mobile device, and to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
As can be seen here, the lexical translation result presentation method that the embodiment of the present invention provides, send at reception mobile device, after first user has confirmed as the word of new word, can according to the word received, use default language grade classification rule, determine the language grade of first user, and will the message of the language class information of described first user be carried, send to mobile device, work as in the document of front opening to make mobile device to first user, the word that language grade is not less than the language grade of described first user carries out mark process, thus make mobile device when detecting that first user chooses any word in the word be labeled, selected word is translated, and translation result is shown.
Compared with prior art, when the word that user chooses in document being detected, the embodiment of the present invention automatically for user shows the translation result of selected word, and can carry out translating operation without the need to user, simple to operate, translation efficiency is higher.
Corresponding to the embodiment of the method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of lexical translation device displaying result.
As shown in Figure 4, a kind of lexical translation device displaying result that the embodiment of the present invention provides, be applied to mobile device, described device can comprise:
Word acquisition module 401, for after the document opening operation of first user being detected, obtains the word that this user has confirmed as new word from the word query history record of first user;
Word sending module 402, word for being obtained by described word acquisition module 401 sends to server apparatus, to make described server apparatus according to this word, determine the language grade of first user, described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade;
Message reception module 403, the message of language class information that send for reception server, that carry first user;
Word mark module 404, for working as in the document of front opening to first user, the word that language grade is not less than the language grade of described first user carries out mark process;
Lexical translation result display module 405, for when detecting that first user chooses any word in by the word of described word mark module mark, translating selected word, and being shown by translation result.
As can be seen here, the lexical translation device displaying result that the embodiment of the present invention provides, after the document opening operation of first user being detected, the word that this user has confirmed as new word can be obtained from the word query history record of first user, above-mentioned word is sent to server apparatus, to make described server apparatus according to this word, determine the language grade of first user; Afterwards reception server send, the message of the language class information that carries first user, afterwards first user is worked as in the document of front opening, the word be in the language grade of described first user carries out mark process, thus when detecting that first user chooses any word in the word be labeled, selected word is translated, and translation result is shown.
Compared with prior art, when the word that user chooses in document being detected, the embodiment of the present invention automatically for user shows the translation result of selected word, and can carry out translating operation without the need to user, simple to operate, translation efficiency is higher.
Optionally, in one embodiment of the invention, the lexical translation device displaying result that the embodiment of the present invention provides can also increase word display module 406 on the basis of Fig. 4 shown device.
It should be noted that, word display module 406 both can connect according to the connected mode of Fig. 5 shown device, and also can connect according to other connected mode, the embodiment of the present invention is not construed as limiting this.Below the function of word display module 406 is described in detail.
Word display module 406, for being worked as in the document of front opening by first user, the word that language grade is not less than the language grade of described first user highlights.
Optionally, in one embodiment of the invention, described word acquisition module 401, can be specifically for:
After the document opening operation of first user being detected, from the word query history record of first user, obtain this user carried out the word that the word of translating operation and this user make new word mark.
Corresponding to the embodiment of the method shown in Fig. 3, the embodiment of the present invention additionally provides a kind of lexical translation device displaying result.
As shown in Figure 6, a kind of lexical translation device displaying result that the embodiment of the present invention provides, be applied to server apparatus, described device can comprise:
Word receiver module 601, for receiving that mobile device sends, that first user has confirmed as new word word;
Language level determination module 602, for the word received according to described word receiver module 601, uses default language grade classification rule, determines the language grade of first user;
Message transmission module 603, for the message of the language class information by carrying described first user, send to mobile device, to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
As can be seen here, the lexical translation device displaying result that the embodiment of the present invention provides, send at reception mobile device, after first user has confirmed as the word of new word, can according to the word received, use default language grade classification rule, determine the language grade of first user, and will the message of the language class information of described first user be carried, send to mobile device, work as in the document of front opening to make mobile device to first user, the word that language grade is not less than the language grade of described first user carries out mark process, thus make mobile device when detecting that first user chooses any word in the word be labeled, selected word is translated, and translation result is shown.
Compared with prior art, when the word that user chooses in document being detected, the embodiment of the present invention automatically for user shows the translation result of selected word, and can carry out translating operation without the need to user, simple to operate, translation efficiency is higher.
Optionally, in one embodiment of the invention, as shown in Figure 7, described language level determination module 602, can comprise:
Inquiry submodule 602a, for inquiring about the language grade storehouse set up in advance, determines the quantity Ni of the word belonging to language level i in received word;
Calculating sub module 602b, for according to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Comparison sub-module 602c, compare for default probability threshold value is carried out size with each probable value calculated respectively, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2 ... M, j=1,2 ... M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
For convenience of description, various module is divided into describe respectively with function when describing above device.Certainly, the function of each module can be realized in same or multiple software and/or hardware when implementing of the present invention.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a lexical translation result presentation method, is characterized in that, is applied to mobile device, and described method comprises:
After the document opening operation of first user being detected, from the word query history record of first user, obtain the word that this user has confirmed as new word;
The word of acquisition is sent to server apparatus, to make described server apparatus according to this word, determine the language grade of first user, described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade;
The message of language class information that reception server sends, that carry first user;
To first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process;
When detecting that first user chooses any word in the word be labeled, selected word being translated, and translation result is shown.
2. method according to claim 1, is characterized in that, described method also comprises:
By first user in the document of front opening, the word that language grade is not less than the language grade of described first user highlights.
3. method according to claim 1, is characterized in that, describedly from the word query history record of first user, obtains the word that this user has confirmed as new word, comprising:
From the word query history record of first user, obtain this user carry out the word that the word of translating operation and this user make new word mark.
4. a lexical translation result presentation method, is characterized in that, is applied to server apparatus, and described method comprises:
Receive that mobile device sends, that first user has confirmed as new word word;
According to the word received, use default language grade classification rule, determine the language grade of first user;
By carrying the message of the language class information of described first user, send to mobile device, to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
5. method according to claim 4, is characterized in that, the word that described basis receives, and uses default language grade classification rule, determines the language grade of first user, comprising:
Inquire about the language grade storehouse set up in advance, determine the quantity Ni of the word belonging to language level i in received word;
According to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Default probability threshold value is carried out size with each probable value calculated respectively compare, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2......M, j=1,2......M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
6. a lexical translation device displaying result, is characterized in that, is applied to mobile device, and described device comprises:
Word acquisition module, for after the document opening operation of first user being detected, obtains the word that this user has confirmed as new word from the word query history record of first user;
Word sending module, word for being obtained by described word acquisition module sends to server apparatus, to make described server apparatus according to this word, determine the language grade of first user, described server stores has: for that divide user language rank, default language grade classification rule, the corresponding multiple word of each language grade;
Message reception module, the message of language class information that send for reception server, that carry first user;
Word mark module, for working as in the document of front opening to first user, the word that language grade is not less than the language grade of described first user carries out mark process;
Lexical translation result display module, for when detecting that first user chooses any word in by the word of described word mark module mark, translating selected word, and being shown by translation result.
7. device according to claim 6, is characterized in that, described device also comprises:
Word display module, for being worked as in the document of front opening by first user, the word that language grade is not less than the language grade of described first user highlights.
8. device according to claim 6, is characterized in that, described word acquisition module, specifically for:
After the document opening operation of first user being detected, from the word query history record of first user, obtain this user carried out the word that the word of translating operation and this user make new word mark.
9. a lexical translation device displaying result, is characterized in that, is applied to server apparatus, and described device comprises:
Word receiver module, for receiving that mobile device sends, that first user has confirmed as new word word;
Language level determination module, for the word received according to described word receiver module, uses default language grade classification rule, determines the language grade of first user;
Message transmission module, for the message of the language class information by carrying described first user, send to mobile device, to make mobile device to first user in the document of front opening, the word that language grade is not less than the language grade of described first user carries out mark process.
10. device according to claim 9, is characterized in that, described language level determination module, comprising:
Inquiry submodule, for inquiring about the language grade storehouse set up in advance, determines the quantity Ni of the word belonging to language level i in received word;
Calculating sub module, for according to quantitative value Ni and computing formula calculate: received word belongs to the probable value Pi of language grade i;
Comparison sub-module, compare for default probability threshold value is carried out size with each probable value calculated respectively, if in the probable value calculated, there is the probable value Pj being greater than default probability threshold value, then determine the minimum value min of j, then determine that the language grade of described first user is min language grade;
If each probable value calculated all is not more than default probability threshold value, then determine that the language grade of described first user is the 1st language grade;
Wherein, the described language grade storehouse set up in advance comprises multiple language grade, the corresponding multiple word of each language grade; M is the total number of grades of language grade in described language grade storehouse; I=1,2......M, j=1,2......M, i value is less, and corresponding language level is lower, and the word difficulty that this language level is corresponding is less.
CN201410629503.5A 2014-11-07 2014-11-07 Display method and device of word translation result Pending CN105573987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410629503.5A CN105573987A (en) 2014-11-07 2014-11-07 Display method and device of word translation result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410629503.5A CN105573987A (en) 2014-11-07 2014-11-07 Display method and device of word translation result

Publications (1)

Publication Number Publication Date
CN105573987A true CN105573987A (en) 2016-05-11

Family

ID=55884139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410629503.5A Pending CN105573987A (en) 2014-11-07 2014-11-07 Display method and device of word translation result

Country Status (1)

Country Link
CN (1) CN105573987A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107808559A (en) * 2017-11-06 2018-03-16 鲍增彬 A kind of intelligent foreign language learning method and system
CN108108356A (en) * 2016-11-24 2018-06-01 北京搜狗科技发展有限公司 A kind of character translation method, apparatus and equipment
CN112037618A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information display method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301118A (en) * 1999-12-22 2001-06-27 英业达集团(上海)电子技术有限公司 Simultaneous interpreting system in mobile communication
CN102331997A (en) * 2010-07-13 2012-01-25 索尼公司 Messaging device, information processing method and computer program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301118A (en) * 1999-12-22 2001-06-27 英业达集团(上海)电子技术有限公司 Simultaneous interpreting system in mobile communication
CN102331997A (en) * 2010-07-13 2012-01-25 索尼公司 Messaging device, information processing method and computer program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108356A (en) * 2016-11-24 2018-06-01 北京搜狗科技发展有限公司 A kind of character translation method, apparatus and equipment
CN108108356B (en) * 2016-11-24 2023-03-24 北京搜狗科技发展有限公司 Character translation method, device and equipment
CN107808559A (en) * 2017-11-06 2018-03-16 鲍增彬 A kind of intelligent foreign language learning method and system
CN112037618A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US20200364249A1 (en) Method and apparatus for processing information of a terminal
CN105760399A (en) Data retrieval method and device
CN103024169A (en) Method and device for starting communication terminal application program through voice
CN104142911A (en) Text information inputting method and device
CN105653157A (en) Processing method and device for copied text
CN104283765A (en) Information display method and device and terminal equipment
CN105573987A (en) Display method and device of word translation result
CN105786843A (en) Multi-language implementation method for applications and multi-language information query method and device
CN105094975A (en) Method and device for calling application program
CN114792355B (en) Virtual image generation method and device, electronic equipment and storage medium
CN106649210B (en) Data conversion method and device
CN104915458A (en) Automatic association method and system during application search by user, and mobile terminal
CN104750667A (en) Image content processing method and mobile terminal
US11582173B2 (en) Message processing method and electronic device supporting the same
CN104657065A (en) Method for acquiring search result, terminal and server
CN102402684A (en) Method and device for determining type of certificate and method and device for translating certificate
CN104239371A (en) Instruction information processing method and device
CN105843826A (en) Search method and device
CN104820695A (en) Method and device for resource acquisition
CN103294788A (en) Universal background processing method and system for websites
CN105472162A (en) Information processing method and electronic equipment
US20160292140A1 (en) Associative input method and terminal
CN104409077A (en) Method and device for obtaining texts corresponding to conversation voices in terminal
CN113221025B (en) Point-of-interest recall method, device, equipment and medium
CN103646040A (en) Information display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant after: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant after: Beijing Kingsoft office software Limited by Share Ltd

Applicant after: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant before: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant before: Beijing Kingsoft WPS Office Co., Ltd.

Applicant before: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511