CN108255939A - A kind of cross-language search method and apparatus, a kind of device for cross-language search - Google Patents
A kind of cross-language search method and apparatus, a kind of device for cross-language search Download PDFInfo
- Publication number
- CN108255939A CN108255939A CN201711297472.8A CN201711297472A CN108255939A CN 108255939 A CN108255939 A CN 108255939A CN 201711297472 A CN201711297472 A CN 201711297472A CN 108255939 A CN108255939 A CN 108255939A
- Authority
- CN
- China
- Prior art keywords
- translation
- search result
- keyword
- search
- language search
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Machine Translation (AREA)
Abstract
An embodiment of the present invention provides a kind of cross-language search method and apparatus, a kind of device for cross-language search, method therein specifically includes:Source language search word is translated as object language search term;For the object language search term, its corresponding object language search result and translation search result are obtained;Wherein, the translation search result is is translated to obtain to the object language search result;The keyword to match with the object language search term is obtained from the translation search result;The keyword in the translation search result is replaced with into the source language search word.The embodiment of the present invention can improve the consistency between the accuracy rate of translation search result and translation search result and object language search result, and attraction of the translation search result for user can be improved, so as to further improve the clicking rate of translation search result.
Description
Technical field
The present invention relates to information search technique field, more particularly to a kind of cross-language search method and apparatus, Yi Zhongyong
In the device of cross-language search.
Background technology
With the continuous growth of internet information, user proposes higher requirement for information search, is no longer satisfied with
It is searched in same languages database, and requires to obtain a variety of languages data.If for example, search term input by user
(query) it is " cool to speed ", then the search in Chinese database can not may farthest meet user demand, from America and Europe
There may be more excellent, more search results in the Database in English of website.
Cross-language search technology combines information retrieval technique and machine translation mothod.Existing cross-language search process tool
Body can include:First, source language search word is converted to by object language search term by machine translation mothod;Then, foundation
Source language search word carries out information retrieval in corresponding database, obtain the first search result and, search according to object language
Rope word carries out information retrieval in corresponding database, obtains the second search result;Then, target is carried out to the second search result
Language to original language translation, to obtain translation search result.
In practical applications, the factors such as translation quality cause in translation search result inevitably there are mistake, and mistake is turned over
Search result is translated it is possible that being turned over so as to reduce so that user thinks to return the search result unrelated with source language search word
Translate the clicking rate of search result.For example, source language search word input by user is " cool to speed ", it is assumed that by the source language search word
" cool to speed " is translated as target search word " coach " and retrieves corresponding second search result of target search word " coach "
" COACH-Shoes, Bags, Watches ", since " coach " corresponding translation result includes " coach ", therefore the second search result
" COACH-Shoes, Bags, Watches " may be translated into " coach-shoes, sack, wrist-watch " and be returned to user;This
In the case of kind, even if the particular content (such as web page contents) of translation search result is related to source language search word, the translation of mistake
Search result is also possible to can be so that user thinks that the translation search result is unrelated with source language search word and then ignores the translation
Search result, so as to reduce the clicking rate of translation search result.
Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcomes the above problem or at least partly in order to provide one kind
Cross-language search method, cross-language search device and the device for cross-language search to solve the above problems, the present invention are implemented
Example can improve consistent between the accuracy rate of translation search result and translation search result and object language search result
Property, and attraction of the translation search result for user can be improved, so as to further improve the point of translation search result
Hit rate.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of cross-language search method, including:
Source language search word is translated as object language search term;
For the object language search term, its corresponding object language search result and translation search result are obtained;Its
In, the translation search result is is translated to obtain to the object language search result;
The keyword to match with the object language search term is obtained from the translation search result;
The keyword in the translation search result is replaced with into the source language search word.
On the other hand, the embodiment of the invention discloses a kind of cross-language search device, including:
Search term translation module, for source language search word to be translated as object language search term;
Search result acquisition module for being directed to the object language search term, obtains its corresponding object language search
As a result with translation search result;Wherein, the translation search result is is translated to obtain to the object language search result;
Keyword acquisition module matches for being obtained from the translation search result with the object language search term
Keyword;And
Keyword replacement module is searched for the keyword in the translation search result to be replaced with the original language
Rope word.
Optionally, the keyword acquisition module includes:
Map setting up submodule, for establish target language vocabulary that the object language search result includes with it is described
Mapping relations between the original language vocabulary that translation search result includes;
Map Searching submodule, for according to the object language search term, being searched in the mapping relations, with
Obtain keyword that the translation search result includes, matching with the object language search term.
Optionally, described device further includes:
Judgment module, for being obtained from the translation search result and the target language in the keyword acquisition module
Before the keyword that speech search term matches, judge whether the translation search result includes the source language search word, if it is not,
It then triggers the keyword acquisition module and obtains what is matched with the object language search term from the translation search result
Keyword.
Optionally, the keyword replacement module, if specifically between the keyword and the source language search word
Matching degree meet the first preset matching degree condition, then the keyword in the translation search result is replaced with into the source
Language search word.
Optionally, described device further includes:
First label display module, if meeting for the matching degree between the keyword and the source language search word
Two preset matching degree conditions, then be marked display to the keyword in the translation search result.
Optionally, the first label display module, if not including the source language specifically for the translation search result
It says search term and the matching degree between the keyword and the source language search word meets the second preset matching degree condition, then
Display is marked to the keyword in the translation search result.
Optionally, described device further includes:
Second label display module, if including the source language search word for the translation search result, to described
Display is marked in the original language keyword in translation search result.
In another aspect, the embodiment of the invention discloses a kind of device for cross-language search, include memory and
One either more than one program one of them or more than one program be stored in memory, and be configured to by one
A or more than one processor performs the one or more programs and includes the instruction for being operated below:
Source language search word is translated as object language search term;
For the object language search term, its corresponding object language search result and translation search result are obtained;Its
In, the translation search result is is translated to obtain to the object language search result;
The keyword to match with the object language search term is obtained from the translation search result;
The keyword in the translation search result is replaced with into the source language search word.
Another aspect, the embodiment of the invention discloses one or more machine readable medias, are stored thereon with instruction, when by
When one or more processors perform so that device performs the cross-language search method described in aforementioned one or more.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention obtains the keyword to match with object language search term from translation search result, and by institute
The keyword stated in translation search result replaces with source language search word, can be searched in object language search result to translation
In the case of occurring the corresponding translation error of object language search term in the translation process of hitch fruit, by the object language search term
Corresponding translation result is corrected as source language search word, and the accuracy rate and translation that can improve translation search result in this way are searched
Consistency between hitch fruit and object language search result, and attraction of the translation search result for user can be improved,
So as to further improve the clicking rate of translation search result.
Description of the drawings
Fig. 1 is a kind of schematic diagram of the application environment of cross-language search method of the present invention;
Fig. 2 is a kind of step flow chart of cross-language search embodiment of the method one of the present invention;
Fig. 3 is a kind of step flow chart of cross-language search embodiment of the method two of the present invention;
Fig. 4 is a kind of step flow chart of cross-language search embodiment of the method three of the present invention;
Fig. 5 is a kind of step flow chart of cross-language search embodiment of the method four of the present invention;
Fig. 6 is a kind of step flow chart of cross-language search embodiment of the method five of the present invention;
Fig. 7 is a kind of structure diagram of cross-language search device embodiment of the present invention;
Fig. 8 be the present invention a kind of device 900 for cross-language search as terminal when block diagram;And
Fig. 9 be the present invention a kind of device for cross-language search as server when structure diagram.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
Inventor has found during the embodiment of the present invention is implemented, during cross-language search, by original language
Search term is in the case that corresponding object language search term is translated as original language again again (by taking English as an example) (by taking Chinese as an example),
The usually corresponding at least one translation of the object language search term is possible, would potentially result in object language search result in this way to translation
Occurs translation error in the translation process of search result, however the translation search result of mistake may be such that user thinks that this is turned over
It is unrelated with source language search word and then ignore the translation search as a result, so as to reduce the point of translation search result to translate search result
Hit rate.
An embodiment of the present invention provides a kind of cross-language search scheme, source language search word can be translated as mesh by the program
Poster says search term;For the object language search term, its corresponding object language search result and translation search knot are obtained
Fruit;Wherein, the translation search result can be that the object language search result is translated to obtain;It is searched from the translation
The keyword to match with the object language search term is obtained in hitch fruit;By the key in the translation search result
Word replaces with the source language search word.
The embodiment of the present invention obtains the keyword to match with object language search term from translation search result, and by institute
The keyword stated in translation search result replaces with source language search word, can be searched in object language search result to translation
In the case of occurring the corresponding translation error of object language search term in the translation process of hitch fruit, by the object language search term
Corresponding translation result is corrected as source language search word, can improve the accuracy rate of translation search result in this way, ensure that translation is searched
Consistency between hitch fruit and object language search result, and attraction of the translation search result for user can be improved,
So as to further improve the clicking rate of translation search result.
In the embodiment of the present invention, the corresponding search result of object language search term can include:Object language search result
With translation search as a result, wherein, translation search result can be the source translated to the object language search result
The search result of linguistic form, object language search result and translation search result can correspond to identical search result (such as phase
Same webpage, video, picture, music etc.), one of difference of the two is the difference of linguistic form.
In a kind of application example of the present invention, it is assumed that source language search word input by user is " cool to speed ", it is assumed that by this
Source language search word " cool to speed " is translated as target search word " coach " and retrieves the corresponding target of target search word " coach "
Lingual search results " COACH-Shoes, Bags, Watches ", since the corresponding translation result of target search word " coach " removes
It is further included " coach " outside " cool to speed ", therefore " COACH-Shoes, Bags, Watches " may be translated into object language search result
" coach-shoes, sack, wrist-watch " and it is returned to user.And the embodiment of the present invention can be corresponding from target search word " coach "
Translation search result " coach-shoes, sack, wrist-watch " in obtain the keyword to match with target search word " coach ", should
Keyword specially " is trained ", and the keyword " coach " in translation search result " coach-shoes, sack, wrist-watch " is replaced
For source language search word " cool to speed ", above-mentioned replacement can realize the correction for the corresponding translation result of object language search term,
Therefore it can improve consistent between the accuracy rate of translation search result and translation search result and object language search result
Property and clicking rate.
The embodiment of the present invention can be applied to search APP (application program, Application), search website (as search is drawn
Hold up) etc. have the function of in the platform environment of cross-language search, to improve the accuracy rate of translation search result and translation search knot
Consistency and clicking rate between fruit and object language search result.The embodiment of the present invention is mainly to this hair for searching for APP
The cross-language search method of bright embodiment illustrates, and the corresponding cross-language search method of other platforms such as search website is mutually joined
According to.
Cross-language search method provided in an embodiment of the present invention can be applied in application environment shown in FIG. 1, such as Fig. 1 institutes
Show, client 100 and server 200 are located in wired or wireless network, by the wired or wireless network, client 100 and
Server 200 carries out data interaction.
The cross-language search flow of the embodiment of the present invention can be by any or combination in client 100 and server 200
It performs:
For example, client 100 can receive source language search word input by user, and the source language is sent to server 200
Say search term;Source language search word can be translated as object language search by server 200 after the source language search word is received
Word obtains the corresponding object language search result of the object language search term, to the object language search result carry out from
Object language to original language translation, to obtain translation search result;It is obtained and the target from the translation search result
The keyword that language search word matches;The keyword in the translation search result is replaced with into the source language search
Word;And to client 100 replaced above-mentioned translation search is sent as a result, so that client 100 shows replaced above-mentioned turn over
Translate search result.
For another example, client 100 can receive source language search word input by user, and receive the source language search word
Afterwards, source language search word is translated as object language search term first, then obtains the corresponding mesh of the object language search term
Lingual search results are marked, the translation from object language to original language are then carried out to the object language search result, to obtain
Translation search result;The keyword to match with the object language search term is obtained from the translation search result;By institute
It states the keyword in translation search result and replaces with the source language search word;And then show replaced above-mentioned translation and search
Hitch fruit.
Wherein, the acquisition process of keyword and translation search result in translation search result, translation search result
When replacement process is performed by server 200, the abundant advantage of 200 computing resource of server can be played, improves translation search knot
The acquisition efficiency of keyword and acquisition accuracy rate in fruit and translation search result.For example, Cloud Server can be deployed with it is numerous
The computing device of height configuration, therefore carry out keyword in translation search result and translation search result using these computing devices
Acquisition, to improve in translation search result and translation search result the acquisition efficiency of keyword and obtain accuracy rate;Simultaneously
The calculation resources of 100 side of client can be saved, improve the performance of terminal corresponding to client 100.Certainly, translation search knot
The acquisition process of keyword and the replacement process of translation search result can be by servers 200 and visitor in fruit, translation search result
Any execution in family end 100, acquisition of the embodiment of the present invention for keyword in translation search result, translation search result
The corresponding specific executive agent of the replacement process of journey and translation search result does not limit.
Optionally, client 100 may operate in terminal, and above-mentioned terminal specifically includes but unlimited:Smart mobile phone, tablet
Computer, E-book reader, MP3 (dynamic image expert's compression standard audio level 3, Moving Picture Experts
Group Audio Layer III) player, MP4 (dynamic image expert's compression standard audio level 4, Moving Picture
Experts Group Audio Layer IV) player, pocket computer on knee, vehicle-mounted computer, desktop computer, machine top
Box, intelligent TV set, wearable device etc..
Embodiment of the method one
With reference to Fig. 2, a kind of step flow chart of cross-language search embodiment of the method one of the present invention is shown, it specifically can be with
Include the following steps:
Source language search word is translated as object language search term by step 201;
Step 202, for the object language search term, obtain its corresponding object language search result and translation search
As a result;Wherein, the translation search result can be that the object language search result is translated to obtain;
Step 203 obtains the keyword to match with the object language search term from the translation search result;
The keyword in the translation search result is replaced with the source language search word by step 204.
In the embodiment of the present invention, source language search word can be the search term that user uses original language to input.Actually should
In, UI (user interface, User Interface) can be provided by searching for the client of APP or search website, then user can
In a manner of by search box, speech interface on the UI etc. source language search word is submitted to client.No matter which kind of user passes through
Mode submits source language search word to client, and client can include the source language search word received in search box
In.Therefore, in the embodiment of the present invention, source language search word input by user can include:User is by any way to client
Hold the source language search word submitted.It is appreciated that the embodiment of the present invention obtains the specific of source language search word input by user
Mode is taken not limit.
In the embodiment of the present invention, source language and the target language can be used for representing different bilinguals, above-mentioned original language and
Object language can be obtained by user is preset, also can by search for APP or search for website by analyze user search behavior and/or
Navigation patterns obtain.Optionally, searching for APP or search website can will remove using the most common language of user as original language
Used language is as object language except original language.For example, the search behavior of user show user before use search
Rope word is Chinese search word, then original language can be determined for Chinese;The navigation patterns of user are also shown that user accessed translation
Website, and pass through the translation web site and carried out mutual translational action between Chinese and English, therefore it can determine that object language is
English.It is appreciated that the quantity of the object language of the embodiment of the present invention can be one or more, for example, for Chinese
For the user of mother tongue, original language can be Chinese, and object language can be in English, Japanese, Korean, German, French
A kind of or combination.The embodiment of the present invention is mainly to the embodiment of the present invention by taking original language is Chinese, object language is English as an example
Cross-language search method illustrate, the corresponding cross-language search method of other source language and the target language it is cross-referenced i.e.
It can.
In practical applications, source language search word can be translated as object language by step 201 by client or server
Search term.Optionally, during source language search word is translated as object language search term, a variety of differences may be obtained
Translation result, in such cases, a kind of highest translation result of confidence level can be selected from a variety of different translation results
As object language search term, it will be understood that the embodiment of the present invention by source language search word for being translated as object language search
The detailed process of word does not limit.In a kind of application example of the present invention, if source language search word is " cool to speed ", target
Language search word can be " coach ".In the another kind application example of the present invention, if source language search word is " Disney ",
Then object language search term can be " disney ".
In practical applications, step 202 can be according to the object language search term that step 201 obtains, in object language
It is retrieved in database, to obtain object language search result.It is appreciated that the embodiment of the present invention searches for object language
As a result specific acquisition modes do not limit.
Since the performance of object language search result is object language form in step 202, which is generally this and searches
The non-mother language of rope user is the unfamiliar language of search user, this will influence user and letter is obtained from search result
The efficiency of breath.The efficiency of information is obtained to improve user from search result, step 202 can search for the object language
As a result the translation from object language to original language is carried out, to obtain translation search result.Wherein, it object language search result and turns over
Identical search result (such as identical webpage, video, picture, music) can be corresponded to by translating search result, the difference of the two it
One is the difference of linguistic form.
In practical applications, the acquisition process of translation search result can include:Using translation model, to the target language
Say that search result carries out the translation from object language to original language;Wherein, which can be general in translation field
Translation model, or the dedicated translation model of search result, the embodiment of the present invention is for specific translation model and right
The specific translation process that the object language search result carries out from object language to original language does not limit.
Step 203 can obtain the key to match with the object language search term from the translation search result
Word.Wherein, the corresponding linguistic form of keyword can be that source language namely the corresponding linguistic form of keyword are searched with translation
The corresponding linguistic form of hitch fruit is consistent.
In the embodiment of the present invention, keyword matches with object language search term, can include:The corresponding semanteme of keyword
Semanteme corresponding with object language search term matches, alternatively, keyword is to effect and target language caused by original language reader
Speech search term match to effect caused by object language reader, alternatively, position of the keyword in translation search result with
Position consistency of the object language search term in object language search result.
According to a kind of embodiment, step 203 obtains and the object language search term phase from the translation search result
The process of matched keyword can include:The key to match with the object language search term is obtained according to dictionary for translation
Word, and the content identical with the keyword is searched from the translation search result.Wherein, above-mentioned dictionary for translation can be directed to
Target language vocabulary provides corresponding original language vocabulary, and the original language vocabulary such as provided for target language vocabulary " coach " can
To include:" coach ", " coach ", etc., it is searched it is possible thereby to be obtained from the translation search result with the object language
The keyword that rope word matches.
According to another embodiment, step 203 can by word alignment technology, obtained from the translation search result with
The keyword that the object language search term matches.Word alignment refers to the original language vocabulary and object language in bilingual sentence pair
Vocabulary corresponds to.For example, bilingual sentence pair is " I plays in classroom and play ", " I play game in the classroom ", word pair
Neat technology can by " I ", " ", " classroom ", " object for appreciation ", " game " respectively with " I ", " in ", " classroom ", " play ",
" game " is mapped.It is closed since above-mentioned word alignment technology considers in bilingual sentence the alignment between the vocabulary pair of translation each other
System, therefore the accuracy rate of keyword can be improved.By word alignment technology, it is wrong that object language search term can be accurately located
The accidentally situation of translation and the corresponding erroneous translation result of object language search term namely keyword, so can realize for
The replacement of erroneous translation result.
Above by word alignment technology, obtain from the translation search result and match with the object language search term
Keyword process, can include:The target language vocabulary that the object language search result includes is established to turn over described
Translate the mapping relations between the original language vocabulary that search result includes;According to the object language search term, closed in the mapping
It is searched in system, to obtain keyword that the translation search result includes, matching with the object language search term.
Wherein it is possible to by word alignment technology, the target language vocabulary that the object language search result includes is established
Mapping relations between the original language vocabulary included with the translation search result specifically, can obtain object language search
As a result the bilingual sentence included with translation search result, and the target language vocabulary of translation and the original language word each other in bilingual sentence
Mapping relations are established between remittance.
In practical applications, word alignment model can be utilized, establishes the target that the object language search result includes
Mapping relations between the original language vocabulary that language vocabulary and the translation search result include.Wherein it is possible to using bilingual right
Neat language material trains to obtain above-mentioned word alignment model, so that the word alignment model includes to determine in bilingual sentence the word of translation each other
The statistical information of remittance pair, due to the relevant technologies that word alignment model is this field, therefore not to repeat here.
In a kind of application example of the embodiment of the present invention, it is assumed that source language search word input by user is " cool to speed ", false
If the source language search word " cool to speed " is translated as target search word " coach " and retrieves target search word " coach " correspondence
Object language search result " COACH-Shoes, Bags, Watches ", due to the corresponding translation of target search word " coach "
As a result include " coach ", therefore object language search result " COACH-Shoes, Bags, Watches " may be translated into " train-
Shoes, sack, wrist-watch ".Word alignment model may be used in the embodiment of the present invention, to object language search result and translation search knot
The corresponding bilingual sentence of fruit is aligned, for example, for bilingual sentence " COACH-Shoes, Bags, Watches " and " coach-shoes,
" COACH ", " Shoes ", " Bags " can be mapped by sack, wrist-watch " with " coach ", " shoes ", " wrist-watch " respectively, by
This, can obtain the keyword to match with " coach " that translation search result " coach-shoes, sack, wrist-watch " includes
" coach ".
It is appreciated that it is obtained above by dictionary for translation or by word alignment technology, from the translation search result
The process of keyword to match with the object language search term is intended only as alternative embodiment, actually people in the art
Member can be matched according to practical application request using being obtained from the translation search result with the object language search term
Keyword other processes, such as can utilize neural network machine translation model attention mechanism, judge object language
" coach " of form has been translated into which word of source language, etc., wherein, attention mechanism is one and is used for distributing
The selection mechanism of limited information processing capability, attention refer to, are selectively absorbed in certain information experienced, these
Information may be either objectively or subjectively, while to ignore the other information that synchronization receives, this cognitive process.It can manage
Solution, the embodiment of the present invention from the translation search result for obtaining the keyword to match with the object language search term
Detailed process do not limit.
In practical applications, the corresponding content that shows of translation search result can include:Title, abstract, promotional content etc.
Content, then step 204 keyword in the translation search result can be replaced with the source language search word.Example
Such as, the source language search word can be replaced with to the keyword that title or abstract include, alternatively, can be to promoting
The keyword that content includes replaces with described source language search word, etc..
Corresponding above-mentioned example, can be by the keyword " coach " in translation search result " coach-shoes, sack, wrist-watch "
Source language search word " cool to speed " is replaced with, above-mentioned replacement can realize entangling for the corresponding translation result of object language search term
Just, it therefore can improve between the accuracy rate of translation search result and translation search result and object language search result
Consistency and clicking rate.
It in some embodiments of the invention, can be using the corresponding search result of the object language search term as second
Search result, can also obtain corresponding first search result of source language search word, and by object language form and/or original language
Second search result of form mix showing with the first search result;It is possible thereby to it provides a user from multilingual number
According to the search result in library.It is alternatively possible to retrieved in the database of original language, it is corresponding to obtain source language search word
First search result.
To sum up, the cross-language search method of the embodiment of the present invention is obtained from translation search result and is searched for object language
The keyword that word matches, and display is marked to the keyword in the translation search result, target can be improved
The coverage rate of the red content of the corresponding translation search result acceptance of the bid of language search word, and then can improve from object language search term pair
The efficiency of information is obtained in the translation search result answered.
Embodiment of the method two
With reference to Fig. 3, a kind of step flow chart of cross-language search embodiment of the method two of the present invention is shown, it specifically can be with
Include the following steps:
Source language search word is translated as object language search term by step 301;
Step 302, for the object language search term, obtain its corresponding object language search result and translation search
As a result;Wherein, the translation search result can be that the object language search result is translated to obtain;
Step 303 obtains the keyword to match with the object language search term from the translation search result;
If the matching degree between step 304, the keyword and the source language search word meets the first preset matching degree
The keyword in the translation search result is then replaced with the source language search word by condition.
It, will be in the translation search result in embodiment of the method two shown in Fig. 3 relative to embodiment of the method one shown in Fig. 2
The process that the keyword replaces with the source language search word can include:If the keyword and the source language search word
Between matching degree meet the first preset matching degree condition, then the keyword in the translation search result is replaced with into institute
State source language search word.
The embodiment of the present invention is using the first preset matching degree condition as the replacement condition of keyword, the first preset matching degree
The matching degree that condition can be used for corresponding to the replacement of constraint keyword.The matching degree can reflect keyword institute to a certain extent
The accuracy rate of the translation result of characterization, in general, the accuracy rate of the more low then translation result of the matching degree is lower, which gets over Gao Ze
The accuracy rate of translation result is higher.
In the embodiment of the present invention, the matching degree between the keyword and the source language search word can include:It is described
Similarity between keyword and the source language search word etc., then the first preset matching degree condition can include:Similarity is not
More than the first similarity threshold.In practical applications, corresponding first term vector of the keyword, Yi Jisuo can be determined respectively
Corresponding second term vector of source language search word is stated, then, by measuring similarities such as Euclidean distance, included angle cosines, calculates the
Similarity between one term vector and the second term vector.
Certainly, above-mentioned similarity is intended only as a kind of alternative embodiment of matching degree, in fact, those skilled in the art can
With according to practical application request, using other matching degrees, such as semantic relevancy, the embodiment of the present invention is for specific matching degree
It does not limit.
It, can be to keyword " coach " and source language search word " cool to speed " in a kind of application example of the embodiment of the present invention
Carry out matching degree judgement, it is believed that the matching degree meets the first preset matching degree condition, then can be by the pass in translation search result
Keyword " coach " replaces with source language search word " cool to speed ".
It is appreciated that in other embodiments of the invention, if between the keyword and the source language search word
Matching degree does not meet the first preset matching degree condition, then can not replace with the keyword in the translation search result
The source language search word.Can be " Disney " and source to keyword in the another kind application example of the embodiment of the present invention
Language search word " Disney " carries out matching degree judgement, it is believed that the matching degree does not meet the first preset matching degree condition, then can be with
Keyword " Disney " in translation search result source language search word " Disney " is not replaced with into.Certainly, the present invention is implemented
Example by the keyword in the translation search result for replacing with the corresponding specific replacement item of the source language search word
Part does not limit.
Embodiment of the method three
With reference to Fig. 4, a kind of step flow chart of cross-language search embodiment of the method two of the present invention is shown, it specifically can be with
Include the following steps:
Source language search word is translated as object language search term by step 401;
Step 402, for the object language search term, obtain its corresponding object language search result and translation search
As a result;Wherein, the translation search result can be that the object language search result is translated to obtain;
Step 403 judges whether the translation search result includes the source language search word;
If step 404, the translation search result do not include the source language search word, from the translation search result
The keyword that middle acquisition matches with the object language search term;
The keyword in the translation search result is replaced with the source language search word by step 405.
Relative to embodiment of the method one shown in Fig. 2, embodiment of the method three shown in Fig. 4 is obtained from the translation search result
Before taking the keyword to match with the object language search term, it can be determined that it is described whether the translation search result includes
Source language search word, if it is not, then obtaining the key to match with the object language search term from the translation search result
Word, and the keyword in the translation search result is replaced with into the source language search word.It is turned over relative to all
It translates search result and therefrom obtains the keyword to match with the object language search term, the embodiment of the present invention is not for including institute
The translation search of source language search word is stated as a result, therefrom obtaining the keyword that matches with the object language search term, it can be with
Reduce the operand needed for the acquisition of keyword.It, can be to avoid for example, using in the case of word alignment technical limit spacing keyword
The operation of word alignment is carried out to the corresponding translation search result of all object language search results, is only searched to not including original language
The translation search result of rope word, i.e. it is possible that the translation search result for translation error occur carries out word alignment operation, therefore can drop
The entering frequency of low word alignment operation, and then the operand needed for the acquisition of keyword can be reduced.
It is appreciated that it is above-mentioned in the case where the translation search result does not include the source language search word, from described
The keyword to match with the object language search term is obtained in translation search result, is intended only as alternative embodiment, it is practical
On, the embodiment of the present invention from the translation search result for " obtaining the key to match with the object language search term
The corresponding execution condition of word " does not limit.For example, include the situation of the source language search word in the translation search result
Under, the keyword to match with the object language search term can also be obtained from the translation search result.
Embodiment of the method four
With reference to Fig. 5, a kind of step flow chart of cross-language search embodiment of the method four of the present invention is shown, it specifically can be with
Include the following steps:
Source language search word is translated as object language search term by step 501;
Step 502, for the object language search term, obtain its corresponding object language search result and translation search
As a result;Wherein, the translation search result can be that the object language search result is translated to obtain;
Step 503 obtains the keyword to match with the object language search term from the translation search result;
The keyword in the translation search result is replaced with the source language search word by step 504;
Relative to embodiment of the method one shown in Fig. 2, embodiment of the method four shown in Fig. 5 can also include:
If the matching degree between step 505, the keyword and the source language search word meets the second preset matching degree
Then display is marked to the keyword in the translation search result in condition.
Inventor has found that existing scheme can turn over object language search result during the embodiment of the present invention is implemented
Translate original language, and in the translation search result obtained to translation, with source language search word (hereinafter referred to as source language search word)
Identical content is red into rower.For example, if source language search word is " Donald Trump ", corresponding object language search term is
" Trump ", then can be red into rower by " Donald Trump " that occurs in " Trump " corresponding translation search result, it is possible thereby to make
The key message that user's quick obtaining translation search result includes, and then user can be made quickly to judge that certain translation is searched
Whether hitch fruit meets the information requirement of itself.
However, in practical applications, the factors such as translation quality cause in translation search result may there is no original language to search
Rope word;In such cases, it will be unable to realize red for the mark of translation search result so that the coverage rate for marking red content is relatively low, into
And influence the acquisition efficiency for the key message that user includes Mr. Yu translation search result.For example, it is assumed that source language search word
For " March ", it is assumed that " March " corresponding object language search term is " March ", it is assumed that " March " corresponding object language search
As a result include " March-Wikipedia ", it is assumed that being obtained for " March-Wikipedia " translation, " March " is corresponding turns over
It translates search result and includes " March-wikipedia ", then since " March " is not present in " March " corresponding translation search result, because
This can not realize red for the mark of translation search result.
For above-mentioned translation search result get the bid red content coverage rate it is low the technical issues of, the embodiment of the present invention is from translation
The keyword to match with object language search term is obtained in search result, and to the key in the translation search result
Display is marked in word, can improve the coverage rate of the red content of the corresponding translation search result acceptance of the bid of object language search term, into
And the efficiency that information is obtained from the corresponding translation search result of object language search term can be improved.
In a kind of application example of the embodiment of the present invention, it is assumed that source language search word is " March ", it is assumed that " March " is corresponding
Object language search term be " March ", it is assumed that " March " corresponding object language search result include " March-
Wikipedia ", it is assumed that obtained for " March-Wikipedia " translation, " March " corresponding translation search result includes
" March-wikipedia ", then word alignment model may be used in the embodiment of the present invention, to object language search result and translation search
As a result corresponding bilingual sentence is aligned, for example, for bilingual sentence " March-Wikipedia " and " March-wikipedia ", it can
" March ", " Wikipedia " to be mapped respectively with " March ", " wikipedia ", thus, it is possible to obtain translation search
The keyword " March " that as a result " March-wikipedia " included match with " March ";Further, it is possible at " March "
Display is marked in keyword " March " in corresponding translation search result " March-wikipedia ", is turned over it is possible thereby to improve
Translate the coverage rate of the red content of search result acceptance of the bid.
It is alternatively possible to font or color by marking the keyword, display is marked to the keyword;
For example, can by the font-weight of the keyword, underline, tilt, three-dimensional, be set as red etc., this is relative to normal
The identification for showing content, the keyword being improved of font or normal color.Alternatively, showing the keyword
Meanwhile the mark of the displaying keyword.For example, correspondence can be showed in positions such as subscript, the subscripts of the keyword
Icon etc., it will be understood that the embodiment of the present invention does not limit specific marker-display process.
In the embodiment of the present invention, since the matching degree between the keyword of label display and the source language search word meets
Second preset matching degree condition, therefore being associated between the keyword of label display and source language search word, Jin Erke can be improved
So that the keyword of label display is more in line with the information requirement of user.
In the embodiment of the present invention, the matching degree between the keyword and the source language search word can include:It is described
Similarity between keyword and the source language search word etc., the second preset matching degree condition can include:Similarity is more than
Second similarity threshold etc..
It, can be to keyword " March " and source language search word " March " in a kind of application example of the embodiment of the present invention
Matching degree judgement is carried out, it, can be to the keyword " three in translation search result if the matching degree meets preset matching degree condition
Month " display is marked.
Can be " Disney " and source language search word to keyword in the another kind application example of the embodiment of the present invention
" Disney " carries out matching degree judgement, can be in translation search result if the matching degree meets preset matching degree condition
Display is marked in keyword " Disney ".
It is appreciated that in other embodiments of the invention, if between the keyword and the source language search word
Matching degree does not meet preset matching degree condition, then the keyword in the translation search result can not be marked aobvious
Show, display is labeled to avoid the relatively low keyword that is associated between source language search word.
In a kind of alternative embodiment of the present invention, the method for the embodiment of the present invention can also include:If the translation is searched
Hitch fruit does not include matching degree between the source language search word and the keyword and the source language search word and meets the
Then display is marked to the original language keyword in the translation search result in two preset matching degree conditions.Thus may be used
In the case of source language search word is not present in translation search result, realize red for the mark of translation search result.
In a kind of alternative embodiment of the present invention, the method for the embodiment of the present invention can also include:If the translation is searched
Hitch fruit includes the source language search word, then the original language keyword in the translation search result is marked aobvious
Show.The embodiment of the present invention can also be turned in the case where the translation search result includes the source language search word from described
The keyword for obtaining in search result and matching with the object language search term is translated, it is possible thereby to realize in translation search result
It is marked while source language search word and keyword red.
To sum up, the cross-language search method of the embodiment of the present invention is obtained from translation search result and is searched for object language
The keyword that word matches, and display is marked to the keyword in the translation search result, target can be improved
The coverage rate of the red content of the corresponding translation search result acceptance of the bid of language search word, and then can improve from object language search term pair
The efficiency of information is obtained in the translation search result answered.
Embodiment of the method five
With reference to Fig. 6, a kind of step flow chart of cross-language search embodiment of the method five of the present invention is shown, it specifically can be with
Include the following steps:
Source language search word is translated as object language search term by step 601;
Step 602, for the object language search term, obtain its corresponding object language search result and translation search
As a result;Wherein, the translation search result can be that the object language search result is translated to obtain;
Step 603 obtains the keyword to match with the object language search term from the translation search result;
If the matching degree between step 604, the keyword and the source language search word meets the first preset matching degree
The keyword in the translation search result is then replaced with the source language search word by condition;
If the matching degree between step 605, the keyword and the source language search word meets the second preset matching degree
Then display is marked to the keyword in the translation search result in condition.
It is appreciated that the embodiment of the present invention can also carry out the source language search word in replaced translation search result
Label display.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is dynamic that it is all expressed as to a series of movement
It combines, but those skilled in the art should know, the embodiment of the present invention is not limited by described athletic performance sequence
System, because of embodiment according to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, art technology
Personnel should also know that embodiment described in this description belongs to preferred embodiment, and involved athletic performance simultaneously differs
Surely necessary to being the embodiment of the present invention.
Device embodiment
With reference to Fig. 7, show a kind of structure diagram of cross-language search device embodiment of the present invention, can specifically wrap
It includes:Search term translation module 701, search result acquisition module 702, keyword acquisition module 703 and keyword replacement module
704。
Wherein, search term translation module 701, for source language search word to be translated as object language search term;
Search result acquisition module 702 for being directed to the object language search term, obtains its corresponding object language and searches
Hitch fruit and translation search result;Wherein, the translation search result is to the object language search result translate
It arrives;
Keyword acquisition module 703, for being obtained and the object language search term phase from the translation search result
Matched keyword;
Keyword replacement module 704, for the keyword in the translation search result to be replaced with the source language
Say search term.
Optionally, the keyword acquisition module 703 can include:
Map setting up submodule, for establish the target language vocabulary that can include in the object language search result with
Mapping relations between the original language vocabulary that the translation search result can include;
Map Searching submodule, for according to the object language search term, being searched in the mapping relations, with
Obtain keyword that the translation search result can include, matching with the object language search term.
Optionally, described device can also include:
Judgment module, for being obtained from the translation search result and the mesh in the keyword acquisition module 703
Before the keyword that poster speech search term matches, judge whether the translation search result can include the source language search
Word is searched for if it is not, then triggering the keyword acquisition module 703 and being obtained from the translation search result with the object language
The keyword that word matches.
Optionally, the keyword replacement module 704, if specifically for the keyword and the source language search word it
Between matching degree meet the first preset matching degree condition, then the keyword in the translation search result is replaced with described
Source language search word.
Optionally, described device can also include:
First label display module, if meeting for the matching degree between the keyword and the source language search word
Two preset matching degree conditions, then be marked display to the keyword in the translation search result.
Optionally, the first label display module, if cannot include specifically for the translation search result described
Matching degree between source language search word and the keyword and the source language search word meets the second preset matching degree item
Then display is marked to the keyword in the translation search result in part.
Optionally, described device can also include:
Second label display module, it is right if the source language search word can be included for the translation search result
Display is marked in the original language keyword in the translation search result.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with
The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In another aspect, the embodiment of the invention discloses a kind of device for cross-language search, include memory and
One either more than one program one of them or more than one program be stored in memory, and be configured to by one
A or more than one processor performs the one or more programs and includes the instruction for being operated below:It will
Source language search word is translated as object language search term;For the object language search term, its corresponding object language is obtained
Search result and translation search result;Wherein, the translation search result is translates the object language search result
It obtains;The keyword to match with the object language search term is obtained from the translation search result;The translation is searched
The keyword in hitch fruit replaces with the source language search word.
Optionally, it is described that the key to match with the object language search term is obtained from the translation search result
Word, including:
Establish what the target language vocabulary that the object language search result includes included with the translation search result
Mapping relations between original language vocabulary;
It according to the object language search term, is searched in the mapping relations, to obtain the translation search knot
Keyword that fruit includes, matching with the object language search term.
Optionally, described device be also configured to by one either more than one processor perform it is one or one
Procedure above includes the instruction for being operated below:
Before the keyword for obtaining from the translation search result and matching with the object language search term,
Judge whether the translation search result includes the source language search word;
If the translation search result does not include the source language search word, perform described from the translation search result
The step of keyword that middle acquisition matches with the object language search term.
Optionally, the keyword by the translation search result replaces with the source language search word, packet
It includes:
It, will if the matching degree between the keyword and the source language search word meets the first preset matching degree condition
The keyword in the translation search result replaces with the source language search word.
Optionally, described device be also configured to by one either more than one processor perform it is one or one
Procedure above includes the instruction for being operated below:
If the matching degree between the keyword and the source language search word meets the second preset matching degree condition, right
Display is marked in the keyword in the translation search result.
Optionally, display is marked in the keyword in the translation search result, including:
If the translation search result is not including the source language search word and the keyword and the source language search
Matching degree between word meets the second preset matching degree condition, then to the keyword in the translation search result into rower
Note display.
Optionally, described device be also configured to by one either more than one processor perform it is one or one
Procedure above includes the instruction for being operated below:
If the translation search result includes the source language search word, to the source in the translation search result
Display is marked in language keywords.
Fig. 8 be according to a kind of device 900 for cross-language search shown in an exemplary embodiment as terminal when
Block diagram.For example, device 900 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console,
Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, device 900 can include following one or more components:Processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914 and
Communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing element 902 can refer to including one or more processors 920 to perform
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 can include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown
Example includes the instruction of any application program or method for being operated on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding motion
The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detect opening/closed state of equipment 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 can include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of device 900.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Fig. 9 be according to a kind of device for cross-language search shown in an exemplary embodiment as server when frame
Figure.The server 1900 can generate bigger difference due to configuration or different performance, can include in one or more
Central processor (central processing units, CPU) 1922 (for example, one or more processors) and memory
1932, one or more storage application programs 1942 or data 1944 storage medium 1930 (such as one or one with
Upper mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.It is stored in
The program of storage medium 1930 can include one or more modules (diagram does not mark), and each module can be included to clothes
The series of instructions operation being engaged in device.Further, central processing unit 1922 could be provided as communicating with storage medium 1930,
The series of instructions operation in storage medium 1930 is performed on server 1900.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956 and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device (terminal or clothes
Be engaged in device) processor perform when so that terminal is able to carry out a kind of cross-language search method, the method includes:By original language
Search term is translated as object language search term;For the object language search term, its corresponding object language search knot is obtained
Fruit and translation search result;Wherein, the translation search result is is translated to obtain to the object language search result;From
The keyword to match with the object language search term is obtained in the translation search result;It will be in the translation search result
The keyword replace with the source language search word.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.The present invention is directed to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Above to a kind of cross-language search method provided by the present invention, a kind of cross-language search device and it is a kind of be used for across
The device of language search, is described in detail, specific case used herein to the principle of the present invention and embodiment into
Elaboration is gone, the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for this
The those skilled in the art in field, thought according to the present invention, there will be changes in specific embodiments and applications,
In conclusion the content of the present specification should not be construed as limiting the invention.
Claims (10)
- A kind of 1. cross-language search method, which is characterized in that including:Source language search word is translated as object language search term;For the object language search term, its corresponding object language search result and translation search result are obtained;Wherein, institute Translation search result is stated to be translated to obtain to the object language search result;The keyword to match with the object language search term is obtained from the translation search result;The keyword in the translation search result is replaced with into the source language search word.
- 2. according to the method described in claim 1, it is characterized in that, described obtain and the mesh from the translation search result The keyword that poster speech search term matches, including:Establish the source language that the target language vocabulary that the object language search result includes includes with the translation search result Mapping relations between words remittance;It according to the object language search term, is searched in the mapping relations, to obtain the translation search result packet Keyword including, matching with the object language search term.
- 3. method according to claim 1 or 2, which is characterized in that it is described from the translation search result obtain with Before the keyword that the object language search term matches, the method further includes:Judge whether the translation search result includes the source language search word;If the translation search result does not include the source language search word, obtained from the translation search result described in execution The step of taking the keyword to match with the object language search term.
- 4. method according to claim 1 or 2, which is characterized in that the pass by the translation search result Keyword replaces with the source language search word, including:If the matching degree between the keyword and the source language search word meets the first preset matching degree condition, by described in The keyword in translation search result replaces with the source language search word.
- 5. method according to claim 1 or 2, which is characterized in that the method further includes:If the matching degree between the keyword and the source language search word meets the second preset matching degree condition, to described Display is marked in the keyword in translation search result.
- 6. the according to the method described in claim 5, it is characterized in that, keyword in the translation search result Display is marked, including:If the translation search result do not include the source language search word and the keyword and the source language search word it Between matching degree meet the second preset matching degree condition, then the keyword in the translation search result is marked aobvious Show.
- 7. method according to claim 1 or 2, which is characterized in that the method further includes:If the translation search result includes the source language search word, to the original language in the translation search result Display is marked in keyword.
- 8. a kind of cross-language search device, which is characterized in that including:Search term translation module, for source language search word to be translated as object language search term;Search result acquisition module for being directed to the object language search term, obtains its corresponding object language search result With translation search result;Wherein, the translation search result is is translated to obtain to the object language search result;Keyword acquisition module, for obtaining the pass to match with the object language search term from the translation search result Keyword;AndKeyword replacement module, for the keyword in the translation search result to be replaced with the source language search Word.
- 9. a kind of device for cross-language search, which is characterized in that include memory and one or more than one Program, either more than one program is stored in memory and is configured to by one or more than one processing for one of them Device performs the one or more programs and includes the instruction for being operated below:Source language search word is translated as object language search term;For the object language search term, its corresponding object language search result and translation search result are obtained;Wherein, institute Translation search result is stated to be translated to obtain to the object language search result;The keyword to match with the object language search term is obtained from the translation search result;The keyword in the translation search result is replaced with into the source language search word.
- 10. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors so that Device performs the cross-language search method as described in one or more in claim 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711297472.8A CN108255939B (en) | 2017-12-08 | 2017-12-08 | Cross-language search method and device for cross-language search |
PCT/CN2018/100991 WO2019109664A1 (en) | 2017-12-08 | 2018-08-17 | Cross-language search method and apparatus, and apparatus for cross-language search |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711297472.8A CN108255939B (en) | 2017-12-08 | 2017-12-08 | Cross-language search method and device for cross-language search |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108255939A true CN108255939A (en) | 2018-07-06 |
CN108255939B CN108255939B (en) | 2020-02-14 |
Family
ID=62722398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711297472.8A Active CN108255939B (en) | 2017-12-08 | 2017-12-08 | Cross-language search method and device for cross-language search |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108255939B (en) |
WO (1) | WO2019109664A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408822A (en) * | 2018-10-30 | 2019-03-01 | 中译语通科技股份有限公司 | Across the language books Controlling UEP method and system of one kind |
WO2019109664A1 (en) * | 2017-12-08 | 2019-06-13 | 北京搜狗科技发展有限公司 | Cross-language search method and apparatus, and apparatus for cross-language search |
CN110033756A (en) * | 2019-04-15 | 2019-07-19 | 北京达佳互联信息技术有限公司 | Language Identification, device, electronic equipment and storage medium |
CN110232107A (en) * | 2019-05-08 | 2019-09-13 | 深圳市小满科技有限公司 | A kind of product data acquisition methods |
CN111161706A (en) * | 2018-10-22 | 2020-05-15 | 阿里巴巴集团控股有限公司 | Interaction method, device, equipment and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101443759A (en) * | 2006-05-12 | 2009-05-27 | 乐图集团有限公司 | Multi-lingual information retrieval |
CN102262624A (en) * | 2011-08-08 | 2011-11-30 | 中国科学院自动化研究所 | System and method for realizing cross-language communication based on multi-mode assistance |
CN102955853A (en) * | 2012-11-02 | 2013-03-06 | 北京百度网讯科技有限公司 | Method and device for generating cross-language abstract |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255939B (en) * | 2017-12-08 | 2020-02-14 | 北京搜狗科技发展有限公司 | Cross-language search method and device for cross-language search |
-
2017
- 2017-12-08 CN CN201711297472.8A patent/CN108255939B/en active Active
-
2018
- 2018-08-17 WO PCT/CN2018/100991 patent/WO2019109664A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101443759A (en) * | 2006-05-12 | 2009-05-27 | 乐图集团有限公司 | Multi-lingual information retrieval |
CN102262624A (en) * | 2011-08-08 | 2011-11-30 | 中国科学院自动化研究所 | System and method for realizing cross-language communication based on multi-mode assistance |
CN102955853A (en) * | 2012-11-02 | 2013-03-06 | 北京百度网讯科技有限公司 | Method and device for generating cross-language abstract |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019109664A1 (en) * | 2017-12-08 | 2019-06-13 | 北京搜狗科技发展有限公司 | Cross-language search method and apparatus, and apparatus for cross-language search |
CN111161706A (en) * | 2018-10-22 | 2020-05-15 | 阿里巴巴集团控股有限公司 | Interaction method, device, equipment and system |
CN109408822A (en) * | 2018-10-30 | 2019-03-01 | 中译语通科技股份有限公司 | Across the language books Controlling UEP method and system of one kind |
CN110033756A (en) * | 2019-04-15 | 2019-07-19 | 北京达佳互联信息技术有限公司 | Language Identification, device, electronic equipment and storage medium |
CN110033756B (en) * | 2019-04-15 | 2021-03-16 | 北京达佳互联信息技术有限公司 | Language identification method and device, electronic equipment and storage medium |
CN110232107A (en) * | 2019-05-08 | 2019-09-13 | 深圳市小满科技有限公司 | A kind of product data acquisition methods |
Also Published As
Publication number | Publication date |
---|---|
CN108255939B (en) | 2020-02-14 |
WO2019109664A1 (en) | 2019-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255939A (en) | A kind of cross-language search method and apparatus, a kind of device for cross-language search | |
WO2022052776A1 (en) | Human-computer interaction method, and electronic device and system | |
CN108121736A (en) | A kind of descriptor determines the method for building up, device and electronic equipment of model | |
CN109657236B (en) | Guidance information acquisition method, apparatus, electronic apparatus, and storage medium | |
CN116415594A (en) | Question-answer pair generation method and electronic equipment | |
CN108958503A (en) | input method and device | |
CN108304412B (en) | Cross-language search method and device for cross-language search | |
WO2019109663A1 (en) | Cross-language search method and apparatus, and apparatus for cross-language search | |
CN110175223A (en) | A kind of method and device that problem of implementation generates | |
CN112286617B (en) | Operation guidance method and device and electronic equipment | |
CN107527619A (en) | The localization method and device of Voice command business | |
CN111428522B (en) | Translation corpus generation method, device, computer equipment and storage medium | |
CN105607757A (en) | Input method and device and device used for input | |
CN108073292A (en) | A kind of intelligent word method and apparatus, a kind of device for intelligent word | |
CN112269853A (en) | Search processing method, search processing device and storage medium | |
CN107515870A (en) | A kind of searching method and device, a kind of device for being used to search for | |
CN109460556A (en) | A kind of interpretation method and device | |
CN110502734A (en) | A kind of document creation method and device | |
CN106919642B (en) | Cross-language search method and device for cross-language search | |
CN108345625A (en) | A kind of information mining method and device, a kind of device for information excavating | |
CN113039513B (en) | Recommendation method for candidate content of input method and electronic equipment | |
CN108174270A (en) | Data processing method, device, storage medium and electronic equipment | |
CN111752436A (en) | Recommendation method and device and recommendation device | |
CN109947988B (en) | Information processing method and device, terminal equipment and server | |
KR102327790B1 (en) | Information processing methods, devices and storage media |
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 |