CN107885734A - Interaction language translating method and device - Google Patents

Interaction language translating method and device Download PDF

Info

Publication number
CN107885734A
CN107885734A CN201711117660.8A CN201711117660A CN107885734A CN 107885734 A CN107885734 A CN 107885734A CN 201711117660 A CN201711117660 A CN 201711117660A CN 107885734 A CN107885734 A CN 107885734A
Authority
CN
China
Prior art keywords
information
translation
dialog history
dialog
processing
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.)
Granted
Application number
CN201711117660.8A
Other languages
Chinese (zh)
Other versions
CN107885734B (en
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.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Shenzhen Water World 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 Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201711117660.8A priority Critical patent/CN107885734B/en
Publication of CN107885734A publication Critical patent/CN107885734A/en
Application granted granted Critical
Publication of CN107885734B publication Critical patent/CN107885734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/42Data-driven translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Machine Translation (AREA)

Abstract

Present invention is disclosed a kind of interaction language translating method, device and interpreting equipment, the described method comprises the following steps:Translation processing is carried out to raw information, obtains the information of initial translation;When receiving interpretive order again, translation processing is carried out to raw information again with reference to dialog history record, obtains the information translated again;This dialog information is added in dialog history record.A kind of interaction language translating method that the embodiment of the present invention is provided, pass through the log history session log in translation process, when the translation of only section is not accurate enough, dialog history record is then combined again to translate this raw information, dialog history information in being recorded due to dialog history can form complete dialogue paragraph with this raw information, it can more accurately understand this raw information by parsing whole dialogue paragraph, the translation result obtained on this basis is then more accurate, so as to greatly improve the accuracy of translation, Consumer's Experience is improved.

Description

Interaction language translating method and device
Technical field
The present invention relates to electronic technology field, especially relates to a kind of interaction language translating method and device.
Background technology
With the rapid development of economy, foreign exchanges are more and more extensive, and language obstacle is external for many people One big obstacle of exchange.In order to solve the above problems, there are various translators in the market.Translator is by feat of compact Portable outward appearance, powerful language translation function, it is deep to be welcome by the vast personage for having a language translation demand, while be also people The good assistant of foreign language studying.Translator can be translated during two-party conversation so that use the user of different language Can be with accessible exchange.
Existing translator mainly by the way of the translation of only section, i.e., talks process in turn when being translated in user In, user often finishes one section of word, then this section words is literal translated immediately.Although this interpretative system efficiency comparison is high, turning over Every section of words are isolated when translating, complete dialogue paragraph is not bound with, causes the accuracy of translation not high so that user is to certain A little translation results feel very puzzled, can not understand the precise meanings of the other user, both sides' misunderstanding are easily caused, so as to influence user Experience.
The content of the invention
The main object of the present invention is a kind of interaction language translating method of offer and device, it is intended to improves the accuracy of translation, carries Rise Consumer's Experience.
To achieve these objectives, the embodiment of the present invention proposes a kind of interaction language translating method, the described method comprises the following steps:
Translation processing is carried out to raw information, obtains the information of initial translation;
When receiving interpretive order again, the raw information is carried out at translation again with reference to dialog history record Reason, obtain the information translated again;
This dialog information is added in the dialog history record.
Alternatively, the dialog history record that the combination prestores carries out translation processing to the raw information again, obtains Again the step of information translated, includes:
S101, the dialog history gradually recalled forward according to the order of time from evening to morning in dialog history record are believed Breath;
S102, with reference to the dialog history information translation processing is carried out to the raw information again;
S103, judge whether the information that translation again obtains after handling is consistent with the information of the initial translation;When consistent When, return to step S101;When inconsistent, next step is performed;
S104, obtain this again after translation processing obtained information as the information translated again.
Alternatively, the dialog history record that the combination prestores carries out translation processing to the raw information again, obtains Again the step of information translated, includes:
S201, the dialog history gradually recalled forward according to the order of time from evening to morning in dialog history record are believed Breath;
S202, with reference to the dialog history information translation processing is carried out to the raw information again;
S203, judge that obtained information is obtained after once translation is handled again with any before after translation processing again for this Information it is whether consistent;When inconsistent, return to step S201;When consistent, next step is performed;
S204, obtain this again after translation processing obtained information as the information translated again.
Alternatively, the dialog history record that the combination prestores carries out translation processing to the raw information again, obtains Again the step of information translated, includes:
S301, the dialog history gradually recalled forward according to the order of time from evening to morning in dialog history record are believed Breath;
S302, with reference to the dialog history information translation processing is carried out to the raw information again;
S303, judge whether the information that translation again obtains after handling is consistent with the information of the initial translation;When consistent When, return to step S301;When inconsistent, next step is performed;
S304, judge that obtained information is obtained after once translation is handled again with any before after translation processing again for this Information it is whether consistent;When inconsistent, return to step S301;When consistent, next step is performed;
S305, obtain this again after translation processing obtained information as the information translated again.
Alternatively, one section or at least two sections dialog history information is recalled forward every time.
Alternatively, the step that this dialog information is added in the dialog history record includes:By this Raw information be added in dialog history record.
Alternatively, the dialog history record includes macaronic dialog history record, and the dialogue by this is believed The step that breath is added in the dialog history record includes:The information of this raw information and translation is added to pair respectively In the dialog history record for answering language.
The embodiment of the present invention proposes a kind of language translation device simultaneously, and described device includes:
First translation module, for carrying out translation processing to raw information, obtain the information of initial translation;
Second translation module, for when receiving interpretive order again, being recorded with reference to dialog history again to the original Beginning information carries out translation processing, obtains the information translated again;
Session log module, for this dialog information to be added in the dialog history record.
Alternatively, second translation module includes:
Trace unit, for gradually recalling going through in the dialog history record forward according to order of time from the evening to morning History dialog information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
First judging unit, whether the information and the information of the initial translation obtained after being handled for judgement again translation Unanimously;
First acquisition unit, the information and the information of the initial translation for being obtained after translation is handled again are inconsistent When, obtain this again after translation processing obtained information as the information translated again;
First notification unit, the information for being obtained after translation is handled again are consistent with the information of the initial translation When, notify the trace unit to recall the dialog history information in the dialog history record forward again.
Alternatively, second translation module includes:
Trace unit, for gradually recalling going through in the dialog history record forward according to order of time from the evening to morning History dialog information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
Second judging unit, for judge this again after translation processing obtained information with arbitrarily once turning over again before Whether consistent translate the information obtained after processing;
Second acquisition unit, for after translation is handled again for this obtained information with arbitrarily once translating again before When the information obtained after processing is consistent, obtain this again after translation processing obtained information as the information translated again;
Second notification unit, for after translation is handled again for this obtained information with arbitrarily once translating again before When the information obtained after processing is inconsistent, the trace unit is notified to recall the history in the dialog history record forward again Dialog information.
Alternatively, second translation module includes:
Trace unit, for gradually recalling going through in the dialog history record forward according to order of time from the evening to morning History dialog information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
First judging unit, whether the information and the information of the initial translation obtained after being handled for judgement again translation Unanimously;
Second judging unit, the information and the information of the initial translation for being obtained after translation is handled again are inconsistent When, judge this again after translation processing obtained information and the information once obtained again after translation processing any before whether Unanimously;
3rd acquiring unit, for after translation is handled again for this obtained information with arbitrarily once translating again before When the information obtained after processing is consistent, obtain this again after translation processing obtained information as the information translated again;
Third notice unit, the information for being obtained after translation is handled again is consistent with the information of the initial translation, Or this obtained information and the information obtained after once translation is handled again any before are inconsistent after translation processing again When, notify the trace unit to recall the dialog history information in the dialog history record forward again.
Alternatively, the backtracking module is used for:Recall one section or at least two sections dialog history information forward every time.
Alternatively, the session log module is used for:This raw information is added in the dialog history record.
Alternatively, the dialog history record includes macaronic dialog history record, and the session log module is used In:The information of this raw information and translation is added in the dialog history record of corresponding language respectively.
The embodiment of the present invention also proposes a kind of interpreting equipment, and it includes memory, processor and at least one is stored in In the memory and it is configured as being configurable for performing by the application program of the computing device, the application program Foregoing interaction language translating method.
A kind of interaction language translating method that the embodiment of the present invention is provided, pass through the log history dialogue note in translation process Record, when the translation of only section is not accurate enough, then this raw information is translated again with reference to dialog history record, due to going through Dialog history information in history session log can form complete dialogue paragraph with this raw information, whole by parsing Dialogue paragraph can more accurately understand this raw information, and the translation result obtained on this basis is then more accurate, So as to greatly improve the accuracy of translation, Consumer's Experience is improved.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of interaction language translating method one of the present invention;
Fig. 2 is the schematic diagram of the dialog history record in the embodiment of the present invention;
Fig. 3 is the another schematic diagram of the dialog history record in the embodiment of the present invention;
Fig. 4 is the particular flow sheet of step S12 in Fig. 1;
Fig. 5 is the another particular flow sheet of step S12 in Fig. 1;
Fig. 6 is the another particular flow sheet of step S12 in Fig. 1;
Fig. 7 is the module diagram of the embodiment of language translation device one of the present invention;
Fig. 8 is the module diagram of the second translation module in Fig. 7;
Fig. 9 is the another module diagram of the second translation module in Fig. 7;
Figure 10 is the another module diagram of the second translation module in Fig. 7.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition One or more other features, integer, step, operation, element, component and/or their groups.It should be understood that when we claim member Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Taking leave "and/or" includes whole or any cell and all combinations of one or more associated list items.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art The consistent meaning of meaning, and unless by specific definitions as here, idealization or the implication of overly formal otherwise will not be used To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, it only possesses the equipment of the wireless signal receiver of non-emissive ability, includes receiving again and transmitting hardware Equipment, its have on bidirectional communication link, can perform two-way communication reception and launch hardware equipment.This equipment It can include:Honeycomb or other communication equipments, it has single line display or multi-line display or shown without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it can With combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, its have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone or the equipment such as intelligent television, set top box with music/video playing function.
Those skilled in the art of the present technique are appreciated that server used herein above, and it includes but is not limited to computer, net The cloud that network main frame, single network server, multiple webserver collection or multiple servers are formed.Here, cloud is by based on cloud meter The a large amount of computers or the webserver for calculating (Cloud Computing) are formed, wherein, cloud computing is the one of Distributed Calculation Kind, a super virtual computer being made up of the computer collection of a group loose couplings.In embodiments of the invention, server, Between terminal device and WNS servers can by any communication mode realize communicate, including but not limited to, based on 3GPP, LTE, WIMAX mobile communication, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, Infrared Transmission standard Low coverage wireless transmission method.
The interaction language translating method and device of the embodiment of the present invention, are mainly used in interpreting equipment, and the interpreting equipment can be with It is the terminal devices such as special translator or mobile phone, flat board.
Reference picture 1, the embodiment of interaction language translating method one of the present invention is proposed, the described method comprises the following steps:
S11, translation processing is carried out to raw information, obtain the information of initial translation.
Interpreting equipment receives the raw information of user's input, and translation processing is carried out to raw information, obtains initial translation Information.Interpreting equipment can locally translate raw information, from a kind of language translation be another language by raw information, obtain To the information of initial translation.Interpreting equipment can also translate raw information by server, i.e.,:Interpreting equipment sends out raw information Server is given, raw information is another language from a kind of language translation and returns to interpreting equipment by server, and translation is set The information of standby the reception server initial translation.
The raw information be user input voice messaging, in other embodiments or text information or its The information of its form, this is not limited by the present invention.
S12, when receiving interpretive order again, with reference to dialog history record raw information is carried out at translation again Reason, obtain the information translated again.
After interpreting equipment obtains the information of initial translation, the information can be directly exported, can also be sent the information to another The bluetooth earphone of one user, the information is exported by the bluetooth earphone.If the information that user translates to this is dissatisfied (as felt Feel is translated not accurate enough, it is difficult to is understood), interpretive order again can be issued to interpreting equipment, such as set by triggering translation Standby specific keys issue interpretive order again, after interpreting equipment receives interpretive order again, then with reference to two users it Between dialog history record carry out translation processing to raw information again, obtain the information translated again.
Dialog history record, when being that two users that interpreting equipment is recorded and stored in translation process talk in turn Full dialog information.Interpreting equipment can according to the order of time from morning to night or according to record information number to history pair Each section of words in words record are ranked up, and can carry out sequence notation to each section of words.One section in dialog history record Words, i.e., the information that a user once talks with.
In certain embodiments, dialog history record in store be all user input raw information, the raw information Including the bilingual corresponding to two users.As shown in Fig. 2 sharing N sections words in dialog history record, party A-subscriber and B are contained The full dialog information of user, wherein:The dialog information of party A-subscriber is the raw information of party A-subscriber's input, is A language;Party B-subscriber's Dialog information is the raw information of party B-subscriber's input, is B language.
In further embodiments, dialog history record includes macaronic dialog history record, and every kind of language is gone through History session log all contains the full dialog information of two users.As shown in figure 3, dialog history record and B languages for A language The dialog history of speech records, and has N sections words in the session log of every kind of language, contains the full dialog letter of party A-subscriber and party B-subscriber Breath, wherein;The dialog history record of A language includes the raw information of party A-subscriber's input, and the original letter that party B-subscriber is inputted Breath is translated as the information after A language;The dialog history record of B language includes the raw information of party B-subscriber's input, and A is used The raw information of family input is translated as the information after B language.
Alternatively, interpreting equipment combines the dialog history record to prestore and raw information is carried out again to translate the specific of processing Flow can be with as shown in figure 4, comprise the following steps:
S101, according to time from evening to morning order gradually forward recall dialog history record in dialog history information.
S102, with reference to dialog history information translation processing is carried out to raw information again.
S103, judge whether the information of the information and initial translation obtained after the processing of translation again is consistent.When consistent, return Return step S101;When inconsistent, next step S104 is performed.
S104, obtain this again after translation processing obtained information as the information translated again.
In the embodiment of the present invention, interpreting equipment recalls forward phase of history dialog information every time, certainly, in other embodiments In, at least two sections of dialog history information can also be recalled forward every time.
For example:When recalling first, the final stage words in interpreting equipment selection dialog history record (i.e. deposit by the last time The dialog information of storage) dialog history information is used as, and this final stage is talked about and this raw information (letter i.e. to be translated Breath) a dialogue paragraph is combined into, understand or parse the meaning expressed by whole dialogue paragraph, further according to whole dialogue paragraph institute The meaning of expression carries out translation processing to the raw information again;The information served as interpreter after handling is consistent with the information of initial translation When, then recall forward again, choose last two sections of words in dialog history record as dialog history information and again to original Information carries out translation processing ...;The like, the information and the information of initial translation obtained after translation processing again is not Untill consistent, information that this is obtained after translation processing again is now obtained as the information translated again.Because translate again Information and initial translation information it is inconsistent when, illustrate again translation when may to initial translation when mistake entangled Just, it may translate more accurate, user can be allowed to be satisfied with.
When recalling dialog history information, if macaronic dialog history records, then choose original with this The dialog history that information has same-language records, in order to more accurately understand the meaning of dialogue paragraph, for example, interpreting equipment This raw information received is A language, then chooses the dialog history record of A language, in the dialog history record of A language Recall dialog history information.If an only dialog history record, there is macaronic dialog information in the session log, For the ease of being better understood from talking with the meaning of paragraph, interpreting equipment can be by the language in dialog history information with raw information Different dialog information translation processing are the language identical dialog information with raw information, and certain interpreting equipment can not also enter Row translation is handled, and this is not limited by the present invention.
Alternatively, interpreting equipment combines the dialog history record to prestore and raw information is carried out again to translate the specific of processing Flow can also be as shown in figure 5, comprise the following steps:
S201, according to time from evening to morning order gradually forward recall dialog history record in dialog history information
S202, with reference to dialog history information translation processing is carried out to raw information again.
S203, judge that obtained information is obtained after once translation is handled again with any before after translation processing again for this Information it is whether consistent.When inconsistent, return to step S201;When consistent, next step S204 is performed.
S204, obtain this again after translation processing obtained information as the information translated again.
This programme and the difference of previous scheme be, interpreting equipment by the information obtained after translation is handled again every time with before Again all information obtained after translation processing are compared, when the information with being obtained after once translation processing again any before When consistent, then stop backtracking and translate again, obtain this again after translation processing obtained information as the letter translated again Breath.Because when obtaining consistent translation result when being translated again with reference to different dialog history information twice, then this two Secondary translation result should be relatively more accurate, user can be allowed to be satisfied with.
Alternatively, interpreting equipment combines the dialog history record to prestore and raw information is carried out again to translate the specific of processing Flow can be with as shown in fig. 6, comprise the following steps:
S301, according to time from evening to morning order gradually forward recall dialog history record in dialog history information
S302, with reference to dialog history information translation processing is carried out to raw information again.
S303, judge whether the information of the information and initial translation obtained after the processing of translation again is consistent.When consistent, return Return step S301;When inconsistent, next step S304 is performed.
S304, judge that obtained information is obtained after once translation is handled again with any before after translation processing again for this Information it is whether consistent.When inconsistent, return to step S301;When consistent, next step S305 is performed.
S305, obtain this again after translation processing obtained information as the information translated again.
This programme combines both of the aforesaid scheme, and interpreting equipment is by obtained information point after translation is handled again every time Not compared with the information of initial translation and all information obtained again after translation processing before, when the letter with initial translation Cease it is inconsistent, and it is consistent with the information once obtained again after translation processing any before when, then stop backtracking and translate again, Obtain this again after translation processing obtained information as the information translated again.So as to which the maximum translation that improves limited is tied The accuracy of fruit.
After the information translated again is obtained, interpreting equipment can directly export the information, can also send the information to The bluetooth earphone of another user, the information is exported by the bluetooth earphone.
S13, this dialog information is added in dialog history record.
When this translation is completed, this dialog information is then added in dialog history record by interpreting equipment, such as certainly The dynamic end for being added to dialog history record is simultaneously marked.
When dialog history record only has one, then by this raw information, (i.e. this user inputs interpreting equipment Dialog information) it is added in dialog history record.
When dialog history record includes macaronic dialog history record, interpreting equipment is then respectively by the original of this Information (i.e. the dialog information of this user input) and the information (i.e. this dialog information exported to user) of translation are added to In the dialog history record of corresponding language.For example, the language of this raw information is B language, then raw information is added to B In the dialog history record of language, the information of translation is added in the dialog history record of A language, translation described here Information, it is the information translated again if translate again, is the information of initial translation if not translated again.
For example, it is assumed that this raw information is English, it is necessary to be translated as Chinese.There is a list in the raw information Word is " claims ", and " claiming " is translated into when translating first, when translating again, finds occur in dialog history information " patent " (patent), then interpreting equipment can handle " claims " amendment are translated as " claims ".
The interaction language translating method of the embodiment of the present invention, by the log history session log in translation process, when only section is turned over When translating not accurate enough, then this raw information is translated again with reference to dialog history record, because dialog history records In dialog history information and this raw information can form complete dialogue paragraph, can by parsing whole dialogue paragraph More accurately to understand this raw information, the translation result obtained on this basis is then more accurate, so as to greatly The accuracy of translation is improved, improves Consumer's Experience.
Reference picture 7, propose the present invention the embodiment of language translation device one, described device include the first translation module 10, Second translation module 20 and session log module 30, wherein:First translation module 10, for being carried out to raw information at translation Reason, obtain the information of initial translation;Second translation module 20, for when receiving interpretive order again, with reference to dialog history Record carries out translation processing to raw information again, obtains the information translated again;Session log module 30, for by this Dialog information is added in dialog history record.
First translation module 10 receives the raw information of user's input, and translation processing is carried out to raw information, obtains just Begin the information translated.First translation module 10 can locally translate raw information, be from a kind of language translation by raw information Another language, obtain the information of initial translation.First translation module 10 can also translate raw information by server, i.e.,: Raw information is sent to server by the first translation module 10, server by raw information from a kind of language translation be another language Say and return to the first translation module 10, the information of the reception server initial translation of the first translation module 10.
The raw information is the voice messaging of user's input, in other embodiments or text information, this hair It is bright that this is not construed as limiting.
After second translation module 20 receives interpretive order again, then weight is recorded with reference to the dialog history between two users Translation processing is newly carried out to raw information, obtains the information translated again.The dialog history record, is that interpreting equipment is being translated During full dialog information of two users of record and storage when talking in turn.Interpreting equipment can according to time from morning to The order in evening is ranked up according to the number of record information to each section of words in dialog history record, and can be to each section Words carry out sequence notation.One section of word in dialog history record, i.e., the information that a user once talks with.
In certain embodiments, dialog history record in store be all user input raw information, the raw information Including the bilingual corresponding to two users.As shown in Fig. 2 sharing N sections words in dialog history record, party A-subscriber and B are contained The full dialog information of user, wherein:The dialog information of party A-subscriber is the raw information of party A-subscriber's input, is A language;Party B-subscriber's Dialog information is the raw information of party B-subscriber's input, is B language.
In further embodiments, dialog history record includes macaronic dialog history record, and every kind of language is gone through History session log all contains the full dialog information of two users.As shown in figure 3, dialog history record and B including A language The dialog history of language records, and has N sections words in the session log of every kind of language, contains the full dialog of party A-subscriber and party B-subscriber Information, wherein;A language dialog history record include party A-subscriber input raw information, and by party B-subscriber input it is original Information is translated as the information after A language;The dialog history record of B language includes the raw information that party B-subscriber inputs, and by A The raw information of user's input is translated as the information after B language.
Alternatively, the second translation module 20 can be with as shown in figure 8, judge including trace unit 21, translation unit 22, first Unit 23, the notification unit 25 of first acquisition unit 24 and first, wherein:Trace unit 21, for according to time from evening to morning Order gradually recalls forward the dialog history information in dialog history record;Translation unit 22, for combining dialog history information Again translation processing is carried out to raw information;First judging unit 23, for judge after the processing of translation again obtained information with Whether the information of initial translation is consistent;First acquisition unit 24, for the information that is obtained after translation again is handled with initially turning over When the information translated is inconsistent, obtain this again after translation processing obtained information as the information translated again;First notice Unit 25, for when the information obtained after translation processing again is consistent with the information of initial translation, notice trace unit 21 to be again The secondary dialog history information recalled forward in dialog history record.
In the embodiment of the present invention, trace unit 21 recalls forward phase of history dialog information every time, certainly, in other implementations In example, at least two sections of dialog history information can also be recalled forward every time.
For example:When recalling first, the final stage words that trace unit 21 is chosen in dialog history record are (i.e. last The dialog information of storage) dialog history information is used as, this final stage is talked about and (treated with this raw information by translation unit 22 The information of translation) a dialogue paragraph is combined into, the meaning expressed by whole dialogue paragraph is understood, further according to whole dialogue paragraph The expressed meaning carries out translation processing to the raw information again;The information one for the information and initial translation after handling of serving as interpreter During cause, the first notification unit 25 then notifies trace unit 21 to recall forward again, chooses last two sections in dialog history record Words as dialog history information and carry out translation processing ... to raw information again by translation unit 22;The like, until Again untill obtained information and the information of initial translation are inconsistent after translation processing, now first acquisition unit 24 obtains this Again the information obtained after translation processing is as the information translated again.Because the information and the information of initial translation translated again When inconsistent, illustrate again translation when may to initial translation when mistake be corrected, may translate more accurate, User can be allowed to be satisfied with.
When recalling dialog history information, if macaronic dialog history record, trace unit 21 then chooses and The dialog history that this raw information has same-language records, in order to more accurately understand the meaning of dialogue paragraph, example Such as, this raw information received of interpreting equipment is A language, and trace unit 21 then chooses the dialog history record of A language, Recall dialog history information in the dialog history record of A language.If an only dialog history record, have in the session log There is macaronic dialog information, for the ease of being better understood from talking with the meaning of paragraph, translation unit 22 can be by history pair It is to talk with to believe with the language identical of raw information to talk about dialog information translation processing different from the language of raw information in information Breath, certain interpreting equipment can also be handled without translation, and this is not limited by the present invention.
Alternatively, the second translation module 20 can also be as shown in figure 9, sentence including trace unit 21, translation unit 22, second Disconnected unit 26, the notification unit 28 of second acquisition unit 27 and second, wherein:Trace unit 21, for according to the time from evening to morning Order gradually forward recall dialog history record in dialog history information;Translation unit 22, believe for combining dialog history Breath carries out translation processing to raw information again;Second judging unit 26, for judging that this is obtained after translation processing again Whether information and the information obtained after arbitrarily once translation is handled again before are consistent;Second acquisition unit 27, for when this Again when the information obtained after translation processing is consistent with the information obtained after arbitrarily once translation is handled again before, this is obtained Again the information obtained after translation processing is as the information translated again;Second notification unit 28, for when this translates again When the information obtained after processing and the inconsistent information obtained after arbitrarily once translation is handled again before, trace unit 21 is notified Recall the dialog history information in dialog history record forward again.
This programme and the difference of previous scheme be, the information that the second judging unit 26 will be obtained after translation is handled again every time Compared with all information obtained after translation is handled again before, when with being obtained after arbitrarily once translation is handled again before Information it is consistent when, trace unit 21 and translation unit 22 then stop backtracking and translated again, and second acquisition unit 27 then obtains The information that this is obtained after translation is handled again is as the information translated again.Because different dialog histories ought be combined twice to believe Breath is when being translated and obtaining consistent translation result again, then this translation result twice relatively accurately should can allow use Family is satisfied with.
Alternatively, the second translation module 20 can also be as shown in Figure 10, including trace unit 21, translation unit 22, first Judging unit 23, the second judging unit 26, the 3rd acquiring unit 29 and third notice unit 30, wherein:Trace unit 21, is used for Gradually recall the dialog history information in dialog history record forward according to the order in time from evening to morning;Translation unit 22, use Translation processing is carried out to raw information again in combining dialog history information;First judging unit 23, for judging to translate again Whether the information and the information of initial translation obtained after processing is consistent;Second judging unit 26, for after translation is handled again When obtained information and the information of initial translation are inconsistent, judge information that this is obtained after translation processing again with it is any before Whether the information once obtained again after translation processing is consistent;3rd acquiring unit 29, for after translation is handled again for this When obtained information is consistent with the information once obtained again after translation processing any before, this is obtained again after translation processing Obtained information is as the information translated again;Third notice unit 30, for the information that is obtained after translation again is handled with The information of initial translation is consistent, or this again after translation processing obtained information with any before once translation is handled again When the information obtained afterwards is inconsistent, notice trace unit 21 recalls forward the dialog history information in dialog history record again.
This programme combines both of the aforesaid scheme, and the first judging unit 23 and the second judging unit 26 respectively will be each Again translation obtains after handling information and the information of initial translation and all information that translation obtains after handling again before are entered Row compares, when inconsistent with the information of initial translation, and it is consistent with the information once obtained again after translation processing any before When, trace unit 21 and translation unit 22 then stop backtracking and translated again, and the 3rd acquiring unit 29 then obtains this and turned over again The information obtained after processing is translated as the information translated again.So as to the maximum accuracy for improving translation result limited.
When this translation is completed, this dialog information is then added to dialog history record by session log module 30 In, such as it is automatically added to the end of dialog history record and is marked.
When dialog history record only has one, session log module 30 is then by this raw information (i.e. this user The dialog information of input) it is added in dialog history record.
When dialog history record includes macaronic dialog history record, session log module 30 is then respectively by this The raw information dialog information of input (i.e. this user) and translation information (i.e. this dialog information) to user's output It is added in the dialog history record of corresponding language.For example, the language of this raw information is B language, session log module 30 are added to raw information in the dialog history record of B language, and the dialog history that the information of translation is added to A language is remembered In record.The information of translation described here, it is the information translated again if translate again, if not turned over again Translate then as the information of initial translation.
The language translation device of the embodiment of the present invention, by the log history session log in translation process, when only section is turned over When translating not accurate enough, then this raw information is translated again with reference to dialog history record, because dialog history records In dialog history information and this raw information can form complete dialogue paragraph, can by parsing whole dialogue paragraph More accurately to understand this raw information, the translation result obtained on this basis is then more accurate, so as to greatly The accuracy of translation is improved, improves Consumer's Experience.
The present invention proposes a kind of interpreting equipment simultaneously, and it includes memory, processor and at least one is stored in storage In device and the application program by computing device is configured as, the application program is configurable for performing language translation side Method.The interaction language translating method comprises the following steps:Translation processing is carried out to raw information, obtains the information of initial translation;When When receiving interpretive order again, translation processing is carried out to raw information again with reference to dialog history record, acquisition is translated again Information;This dialog information is added in dialog history record.Interaction language translating method described in the present embodiment is Interaction language translating method in the present invention involved by above-described embodiment, will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein Or multinomial equipment.These equipment can specially be designed and manufactured for required purpose, or can also include general-purpose computations Known device in machine.These equipment have the computer program being stored in it, and these computer programs optionally activate Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable to Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to deposit Reservoir), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory, magnetic card or light card.It is it is, readable Medium includes any medium for storing or transmitting information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can with computer program instructions come realize these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods Device performs the scheme specified in the frame of structure chart and/or block diagram and/or flow graph disclosed by the invention or multiple frames.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flow Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with having been discussed in the present invention Kind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, scheme It can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of interaction language translating method, it is characterised in that comprise the following steps:
Translation processing is carried out to raw information, obtains the information of initial translation;
When receiving interpretive order again, translation processing is carried out to the raw information again with reference to dialog history record, obtained Take the information translated again;
This dialog information is added in the dialog history record.
2. interaction language translating method according to claim 1, it is characterised in that the dialog history record weight that the combination prestores The step of translation processing is newly carried out to the raw information, obtains the information translated again includes:
S101, dialog history information in dialog history record is gradually recalled according to the order of time from evening to morning forward;
S102, with reference to the dialog history information translation processing is carried out to the raw information again;
S103, judge whether the information that translation again obtains after handling is consistent with the information of the initial translation;When consistent, return Return step S101;When inconsistent, next step is performed;
S104, obtain this again after translation processing obtained information as the information translated again.
3. interaction language translating method according to claim 1, it is characterised in that the dialog history record weight that the combination prestores The step of translation processing is newly carried out to the raw information, obtains the information translated again includes:
S201, dialog history information in dialog history record is gradually recalled according to the order of time from evening to morning forward;
S202, with reference to the dialog history information translation processing is carried out to the raw information again;
S203, judge this information obtained again after translation is handled and before any letter that once translation obtains after handling again Whether breath is consistent;When inconsistent, return to step S201;When consistent, next step is performed;
S204, obtain this again after translation processing obtained information as the information translated again.
4. interaction language translating method according to claim 1, it is characterised in that the dialog history record weight that the combination prestores The step of translation processing is newly carried out to the raw information, obtains the information translated again includes:
S301, dialog history information in dialog history record is gradually recalled according to the order of time from evening to morning forward;
S302, with reference to the dialog history information translation processing is carried out to the raw information again;
S303, judge whether the information that translation again obtains after handling is consistent with the information of the initial translation;When consistent, return Return step S301;When inconsistent, next step is performed;
S304, judge this information obtained again after translation is handled and before any letter that once translation obtains after handling again Whether breath is consistent;When inconsistent, return to step S301;When consistent, next step is performed;
S305, obtain this again after translation processing obtained information as the information translated again.
5. according to the interaction language translating method described in claim any one of 2-4, it is characterised in that every time forward recall one section or At least two sections of dialog history information.
A kind of 6. language translation device, it is characterised in that including:
First translation module, for carrying out translation processing to raw information, obtain the information of initial translation;
Second translation module, for when receiving interpretive order again, being recorded with reference to dialog history again to the original letter Breath carries out translation processing, obtains the information translated again;
Session log module, for this dialog information to be added in the dialog history record.
7. language translation device according to claim 6, it is characterised in that second translation module includes:
Trace unit, for gradually recalling the history pair in the dialog history record forward according to order of time from the evening to morning Talk about information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
First judging unit, for judge obtained information and the initial translation after the processing of translation again information whether one Cause;
First acquisition unit, for when the information and the inconsistent information of the initial translation obtained after the processing of translation again, Obtain this again after translation processing obtained information as the information translated again;
First notification unit, for when the information obtained after translation processing again is consistent with the information of the initial translation, leading to Know that the trace unit recalls forward the dialog history information in the dialog history record again.
8. language translation device according to claim 6, it is characterised in that second translation module includes:
Trace unit, for gradually recalling the history pair in the dialog history record forward according to order of time from the evening to morning Talk about information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
Second judging unit, for judge this again after translation processing obtained information with any before once again at translation Whether the information obtained after reason is consistent;
Second acquisition unit, for information and the once translation processing again any before obtained when this after translation is handled again When the information obtained afterwards is consistent, obtain this again after translation processing obtained information as the information translated again;
Second notification unit, for information and the once translation processing again any before obtained when this after translation is handled again When the information obtained afterwards is inconsistent, the trace unit is notified to recall the dialog history in the dialog history record forward again Information.
9. language translation device according to claim 6, it is characterised in that second translation module includes:
Trace unit, for gradually recalling the history pair in the dialog history record forward according to order of time from the evening to morning Talk about information;
Translation unit, for carrying out translation processing to the raw information again with reference to the dialog history information;
First judging unit, for judge obtained information and the initial translation after the processing of translation again information whether one Cause;
Second judging unit, for when the information and the inconsistent information of the initial translation obtained after the processing of translation again, Judge this again after translation processing obtained information and the information once obtained again after translation processing any before whether one Cause;
3rd acquiring unit, for information and the once translation processing again any before obtained when this after translation is handled again When the information obtained afterwards is consistent, obtain this again after translation processing obtained information as the information translated again;
Third notice unit, the information for being obtained after translation is handled again is consistent with the information of the initial translation, or When this information obtained again after translation is handled and the inconsistent information obtained after arbitrarily once translation is handled again before, lead to Know that the trace unit recalls forward the dialog history information in the dialog history record again.
10. according to the language translation device described in claim any one of 6-9, it is characterised in that the backtracking module is used for:Often It is secondary to recall one section or at least two sections dialog history information forward.
CN201711117660.8A 2017-11-13 2017-11-13 Language translation method and device Active CN107885734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711117660.8A CN107885734B (en) 2017-11-13 2017-11-13 Language translation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711117660.8A CN107885734B (en) 2017-11-13 2017-11-13 Language translation method and device

Publications (2)

Publication Number Publication Date
CN107885734A true CN107885734A (en) 2018-04-06
CN107885734B CN107885734B (en) 2021-07-20

Family

ID=61776881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711117660.8A Active CN107885734B (en) 2017-11-13 2017-11-13 Language translation method and device

Country Status (1)

Country Link
CN (1) CN107885734B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339790A (en) * 2020-02-25 2020-06-26 北京字节跳动网络技术有限公司 Text translation method, device, equipment and computer readable storage medium
CN113822080A (en) * 2021-07-23 2021-12-21 腾讯科技(深圳)有限公司 Translation and dialogue translation model processing method and device and computer equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050203727A1 (en) * 2004-03-15 2005-09-15 Heiner Andreas P. Dynamic context-sensitive translation dictionary for mobile phones
CN101025735A (en) * 2006-02-20 2007-08-29 株式会社东芝 Apparatus and method for supporting in communication through translation between different languages
CN102193914A (en) * 2011-05-26 2011-09-21 中国科学院计算技术研究所 Computer aided translation method and system
CN102760122A (en) * 2012-06-12 2012-10-31 上海量明科技发展有限公司 Method, client and system for translating interactive contents in common language
CN103329123A (en) * 2011-01-06 2013-09-25 高通股份有限公司 Methods and apparatuses for use in providing translation information services to mobile stations
CN103744843A (en) * 2013-12-25 2014-04-23 北京百度网讯科技有限公司 Online voice translation method and device
CN104750677A (en) * 2013-12-25 2015-07-01 株式会社东芝 Speech translation apparatus, speech translation method and speech translation program
CN106951416A (en) * 2017-03-21 2017-07-14 成都星阵地科技有限公司 Multilingual instant translation system based on big data processing and manual intervention

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050203727A1 (en) * 2004-03-15 2005-09-15 Heiner Andreas P. Dynamic context-sensitive translation dictionary for mobile phones
CN101025735A (en) * 2006-02-20 2007-08-29 株式会社东芝 Apparatus and method for supporting in communication through translation between different languages
CN103329123A (en) * 2011-01-06 2013-09-25 高通股份有限公司 Methods and apparatuses for use in providing translation information services to mobile stations
CN102193914A (en) * 2011-05-26 2011-09-21 中国科学院计算技术研究所 Computer aided translation method and system
CN102760122A (en) * 2012-06-12 2012-10-31 上海量明科技发展有限公司 Method, client and system for translating interactive contents in common language
CN103744843A (en) * 2013-12-25 2014-04-23 北京百度网讯科技有限公司 Online voice translation method and device
CN104750677A (en) * 2013-12-25 2015-07-01 株式会社东芝 Speech translation apparatus, speech translation method and speech translation program
CN106951416A (en) * 2017-03-21 2017-07-14 成都星阵地科技有限公司 Multilingual instant translation system based on big data processing and manual intervention

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许汉成 等: "计算机辅助翻译软件WordFisher评介", 《中国科技翻译》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339790A (en) * 2020-02-25 2020-06-26 北京字节跳动网络技术有限公司 Text translation method, device, equipment and computer readable storage medium
CN113822080A (en) * 2021-07-23 2021-12-21 腾讯科技(深圳)有限公司 Translation and dialogue translation model processing method and device and computer equipment

Also Published As

Publication number Publication date
CN107885734B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
KR102381214B1 (en) Man-machine dialogue method, device and electronic equipment
CN1770770B (en) Method and system of enabling intelligent and lightweight speech to text transcription
CN102591856B (en) A kind of translation system and interpretation method
CN109086303A (en) The Intelligent dialogue method, apparatus understood, terminal are read based on machine
US20160034558A1 (en) Generating a clustering model and clustering based on the clustering model
JP6730994B2 (en) Question/answer information processing method, device, storage medium, and device
CN107343113A (en) Audio communication method and device
CN107168959A (en) Interpretation method and translation system
US10083002B2 (en) Using voice-based web navigation to conserve cellular data
CN108090052A (en) Voice translation method and device
CN107885731A (en) Voice translation method and device
CN107241681A (en) The implementation method and device of simultaneous interpretation
CN104158945A (en) Conversation information obtaining method, device and system
CN107749296A (en) Voice translation method and device
US20100057468A1 (en) Binary-caching for xml documents with embedded executable code
CN109389967A (en) Voice broadcast method, device, computer equipment and storage medium
CN108804427A (en) Speech robot interpretation method and device
CN107885734A (en) Interaction language translating method and device
CN108447473A (en) Voice translation method and device
WO2019082015A1 (en) Search engine optimization techniques
CN108712271A (en) Interpretation method and translating equipment
CN114064943A (en) Conference management method, conference management device, storage medium and electronic equipment
KR101351264B1 (en) System and method for message translation based on voice recognition
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN102456019A (en) Retrieval method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210903

Address after: 518000 201, No.26, yifenghua Innovation Industrial Park, Xinshi community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen waterward Information Co.,Ltd.

Address before: 518000 B, 503, 602, digital city building, garden city, 1079 Shekou Road, Shekou, Nanshan District, Shenzhen, Guangdong.

Patentee before: SHENZHEN WATER WORLD Co.,Ltd.

TR01 Transfer of patent right