CN108614831A - Semantic primitive display methods and device, the device shown for semantic primitive - Google Patents

Semantic primitive display methods and device, the device shown for semantic primitive Download PDF

Info

Publication number
CN108614831A
CN108614831A CN201611141800.0A CN201611141800A CN108614831A CN 108614831 A CN108614831 A CN 108614831A CN 201611141800 A CN201611141800 A CN 201611141800A CN 108614831 A CN108614831 A CN 108614831A
Authority
CN
China
Prior art keywords
semantic
language
user
certain
primitive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611141800.0A
Other languages
Chinese (zh)
Inventor
张骏
许静芳
翟飞飞
祝天刚
薛征山
于恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201611141800.0A priority Critical patent/CN108614831A/en
Publication of CN108614831A publication Critical patent/CN108614831A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of semantic primitive display methods and device, the devices shown for semantic primitive, belong to information technology field.This method includes:Obtain the specify information page to be shown;Each semantic primitive that the traversal specify information page includes, judges whether the semantic primitive belongs to presetting database respectively, if it is, determining that the semantic primitive is certain semantic unit;The presetting database is used to collect the semantic primitive for the first language for being different from source language that user specifies;When showing the specify information page, the certain semantic unit determined is highlighted.The present invention helps user to filter out the certain semantic unit collected in the preset database, substantially increases presentation of information efficiency.Moreover, by the context of the certain semantic unit in the specify information page, provides to the user and read with the relevant extension of the certain semantic unit, user is contributed to learn the meaning of the certain semantic unit in the language environment that the specify information page provides.

Description

Semantic primitive display methods and device, the device shown for semantic primitive
Technical field
The present invention relates to information technology field, more particularly to a kind of semantic primitive display methods and device are used for semantic list The device of member display.
Background technology
With the development of globalization of information technology, the spread scope of the network information is gradually expanded, and causes to show in network Show from the network information in each area in the world, be greatly enriched the visual field of user, enhances the contact between the user of various regions. And the network information is actually to be made of semantic primitives such as vocabulary, phrases, needs to show the network in display networks Semantic primitive in information.
In the related technology, can be according to unified display format when getting the information page comprising the network information, display Multiple semantic primitives in the network information.And for a certain user, the semantic primitive which understands is limited, works as user When browsing the information page, some semantic primitives user may and not know about in multiple semantic primitive, at this point, the user can To find out oneself uncomprehending semantic primitive from multiple semantic primitive, and learn these semantic primitives by inquiring dictionary Meaning.
In the implementation of the present invention, inventor has found that the relevant technologies at least have the following defects:
Upper meaning elements display methods needs user to filter out the semantic primitive to be learnt from multiple semantic primitives, right User's is more demanding.Correspondingly, for the angle of presentation of information, user's screening is can do nothing to help when showing multiple semantic primitives Go out the semantic primitive to be learnt, presentation of information efficiency is very low.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of semantic primitive display methods and device, The device shown for semantic primitive.The technical solution is as follows:
In a first aspect, a kind of semantic primitive display methods is provided, the method includes:
Obtain the specify information page to be shown;
Each semantic primitive that the specify information page includes is traversed, judges whether institute's meaning elements belong to respectively Presetting database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is for collecting user The semantic primitive of the specified first language for being different from source language;
When showing the specify information page, the certain semantic unit determined is highlighted.
Optionally, when the described pair of certain semantic unit determined highlights, the method further includes:
Show that the corresponding description information of the certain semantic unit, the description information are used for source language to the spy Determine semantic primitive to be described.
Optionally, the corresponding description information of the display certain semantic unit, including:
The corresponding description information of the certain semantic unit is obtained from the presetting database, and is shown, it is described default Database is used to collect the description information of semantic primitive and the corresponding source language of institute's meaning elements that user specifies;Or Person,
By calling the interface of dictionary for translation to obtain the description information of the corresponding source language of the certain semantic unit, and Display.
Optionally, the described pair of certain semantic unit determined highlights, including:
The label option that user is each certain semantic unit addition is obtained, it is corresponding aobvious according to the label option Show form, highlights the certain semantic unit;The label option is for showing user to the certain semantic unit Memory degree.
Optionally, the method further includes:
When detecting the collection instruction operation for the semantic primitive for including to current display page, institute's meaning elements are added To in the presetting database.
Optionally, the method further includes:
Obtain user for the source language of institute meaning elements editor description information, establish the description information with it is described The correspondence of semantic primitive, and be added in the presetting database;Alternatively,
By calling the interface of dictionary for translation to obtain the description information of the corresponding source language of institute's meaning elements, institute is established The correspondence of description information and institute's meaning elements is stated, and is added in the presetting database.
Optionally, the method further includes:
According to the certain semantic unit and history retrieval semantic primitive in the presetting database, obtains and recommend semantic list Member;
The recommendation semantic primitive is highlighted in the specify information page.
Optionally, the acquisition specify information page to be shown, including:
Obtain the search result of the corresponding a plurality of first language of term;
According to the historical operation record of the user of current input term, the language grade of the user is obtained, it is described to go through History operation note is used to record the operation that the user executes the semantic primitive of first language, and the language grade is for indicating Qualification of the user to the first language;
By the search result with the language ratings match in a plurality of search result, it is shown in result of page searching In, as the specify information page to be shown.
Optionally, when showing the specify information page, the method further includes:
The language grade for obtaining user obtains the certain semantic with the language ratings match from the presetting database Unit;The qualification that the language grade is used to show the user to the first language;
When the specify information page of the first language to be shown includes the specific language with the language ratings match When adopted unit, pair highlighted with the certain semantic unit of the language ratings match.
Second aspect, provides a kind of semantic primitive display device, and described device includes:
Page acquisition module, for obtaining the specify information page to be shown;
Determining module, each semantic primitive for including for traversing the specify information page, judges institute's predicate respectively Whether adopted unit belongs to presetting database, if it is, determining that institute's meaning elements are certain semantic unit;The preset data Library is used to collect the semantic primitive for the first language for being different from source language that user specifies;
Display module, for when showing the specify information page, being highlighted to the certain semantic unit determined.
Optionally, described device further includes:
Description information display module, for showing the corresponding description information of the certain semantic unit, the description information For the certain semantic unit to be described with the semantic primitive of source language.
Optionally, the description information display module includes:
First display sub-module, for obtaining the corresponding description letter of the certain semantic unit from the presetting database Breath, and show, the presetting database is used to collect the semantic primitive that user specifies and institute's meaning elements are corresponding original The description information of language;Alternatively,
Second display sub-module, for by calling the interface of dictionary for translation to obtain the corresponding original of the certain semantic unit The description information of beginning language, and show.
Optionally, the display module includes:Mark submodule and third display sub-module;
Submodule is marked, for obtaining the label option that user is each certain semantic unit addition;
Third display sub-module, for according to the corresponding display format of the label option, highlighting the specific language Adopted unit;The memory degree that the label option is used to show user to the certain semantic unit.
Optionally, described device further includes:Collect module;
The collection module, when for detecting that the collection for the semantic primitive for including to current display page indicates operation, Institute's meaning elements are added in the presetting database.
Optionally, described device further includes:First add module or the second add module;
First add module, the description information for obtaining user as the source language of institute meaning elements editor, The correspondence of the description information and institute's meaning elements is established, and is added in the presetting database;
Second add module, for corresponding original by calling the interface of dictionary for translation to obtain institute's meaning elements The description information of language, establishes the correspondence of the description information and institute's meaning elements, and is added to the preset data In library.
Optionally, described device further includes:Recommending module and recommendation display module;
The recommending module, for according to the certain semantic unit and the semantic list of history retrieval in the presetting database Member obtains and recommends semantic primitive;
The recommendation display module, for highlighting the recommendation semantic primitive in the specify information page.
Optionally, the page acquisition module includes:
As a result acquisition submodule, the search result for obtaining the corresponding a plurality of first language of term;
Grade acquisition submodule, the historical operation for the user according to current input term record, and obtain the use The language grade at family, the operation that the historical operation record executes the semantic primitive of first language for recording the user, The qualification that the language grade is used to indicate the user to the first language;
As a result display sub-module is used for the search result with the language ratings match in a plurality of search result, It is shown in result of page searching.
Optionally, described device further includes:Semantic primitive acquisition module;
Semantic primitive acquisition module, for when showing the specify information page, the language grade of user being obtained, from institute State the certain semantic unit obtained in presetting database with the language ratings match;The language grade is for showing the use Qualification of the family to the first language;
The display module, the specify information page for being additionally operable to work as the first language to be shown include and institute's predicate When saying the certain semantic unit of ratings match, pair highlighted with the certain semantic unit of the language ratings match.
The third aspect provides a kind of device shown for semantic primitive, includes memory and one or one A above program, either more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for being operated below that the above processor, which executes the one or more programs,:
Obtain the specify information page to be shown;
Each semantic primitive that the specify information page includes is traversed, judges whether institute's meaning elements belong to respectively Presetting database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is for collecting user The semantic primitive of the specified first language for being different from source language;
When showing the specify information page, the certain semantic unit determined is highlighted.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Method and device provided in an embodiment of the present invention collects certain semantic unit by presetting database, specified at this The certain semantic unit that the presetting database includes is determined in information page, when showing the specify information page, to wherein Certain semantic unit highlighted, help user filter out the certain semantic unit collected in the preset database, Substantially increase presentation of information efficiency.It is user moreover, by the context of the certain semantic unit in the specify information page It provides and is read with the relevant extension of the certain semantic unit, the language environment for contributing to user to be provided in the specify information page The middle meaning for learning the certain semantic unit.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow chart of semantic primitive display methods provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of semantic primitive display device provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of device shown for semantic primitive provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of semantic primitive display methods provided in an embodiment of the present invention.The inventive embodiments are held Row main body is semantic primitive processing unit, and referring to Fig. 1, this method includes:
101, the specify information page to be shown is obtained.
Wherein, which can be any appliance with Language Processing function, such as terminal or service Device etc., certain semantic primitive processing unit may be the semantic primitive processing client installed in terminal, search engine visitor Family end etc., the embodiment of the present invention do not limit the semantic primitive processing unit.The semantic primitive processing unit local terminal is provided with Source language, the source language may be considered the language that user can skillfully grasp, i.e. " mother tongue " of user.The semantic primitive Processing unit mainly provides service with the semantic primitive of the source language, and when such as the source language of setting is Chinese, the semanteme is single The function menu that first processing unit provides is menu in Chinese.
The specify information page can be the displayable any page of the semantic primitive processing unit, the applications pages such as opened Face, the webpage of access, the result of page searching etc. that is got according to term, the embodiment of the present invention is to the specify information page Type does not limit.
102, in the specify information page, the certain semantic unit that presetting database includes is determined.
Specifically, traversing each semantic primitive that the specify information page includes, institute's meaning elements are judged respectively Whether presetting database is belonged to, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is used for The semantic primitive for the first language for being different from source language that collection user specifies.
Wherein, which can be difference and aforementioned user " mother tongue ", that is, be different from the languages of source language.Example Such as, if setting source language is Chinese, the first language can be English, Japan, French etc..
In the embodiment of the present invention, semantic primitive may include word, word, phrase, phrase or sentence etc., the embodiment of the present invention The concrete form of the semantic primitive is not limited.
The presetting database is used to collect the certain semantic unit for the first language that user specifies.Optionally, first language Speech can be any language for being different from the source language, then the presetting database can collect its for being different from the source language The semantic primitive of his any language, i.e. " foreign language semantic primitive " or the first language can also be different from the source language A certain language-specific, then the presetting database only collect the semantic primitive for the language-specific for being different from the source language, i.e., it is " special Fixed foreign language semantic primitive ".For example, when the source language is Chinese, which can be English, Japanese, French etc..
May include at least one semantic primitive in the presetting database, which can be defeated by user Enter, either selected from external dictionary by user or specify by other means, it is not limited in the embodiment of the present invention.
The semantic primitive processing unit can obtain the semantic primitive that user specifies, and be collected according to the instruction of user In the presetting database.Specifically, this method may comprise steps of 100:
When 100, detecting the collection instruction operation of the semantic primitive for the first language for including to current display page, by this Semantic primitive is added in the presetting database, which is used to collect that user to specify is different from the of source language The semantic primitive of one language.
In the embodiment of the present invention, certain semantic unit which enters presetting database may include word, word, phrase or Sentence etc., the embodiment of the present invention do not limit the concrete form of the certain semantic unit.The certain semantic unit is the first language The semantic primitive of speech, the first language can be to be different from any language of the source language or to be different from the source language A certain language-specific.
It, can be with when some semantic primitive of the first language shown in user wishes to current display page is collected It triggers the collection to the semantic primitive and indicates operation, when which detects collection instruction operation, by this Semantic primitive is added to as certain semantic unit in the presetting database.
Wherein, show that the page of the semantic primitive can be five application page, webpage, the search knot got according to term Fruit page etc., or the page etc. of dictionary for translation, the embodiment of the present invention do not limit the page.Collection instruction operation It can be triggered by favorite, which can provide the collection of semantic primitive when showing semantic primitive Option, then collection instruction operation is clicking operation of the user to the favorite of the semantic primitive.
For example, the semantic primitive can be vocabulary, user is after the vocabulary for inquiring certain first language using dictionary for translation, point Favorite is hit, which is saved in the presetting database, so as to subsequently when the webpage that user opens includes the vocabulary When, the vocabulary in webpage is highlighted into call user's attention, realizes at any time study of the user to the vocabulary.
Further, if the presetting database is only used for the certain semantic unit of collection first language, the semanteme is single First processing unit provides favorite when showing semantic primitive for the semantic primitive of the first language language, and is no longer original The semantic primitive of language provides favorite.Wherein, which can be configured by user or by the semantic primitive Processing unit default setting.
Further, for the ease of being translated to the certain semantic unit, which is being added to this After presetting database, the description information of the source language of the certain semantic unit can also be obtained, establishes pair between the two It should be related to, the correspondence between the description information and certain semantic unit and description information is added to the presetting database In.Wherein, the description information is for being described the certain semantic unit with source language, when user checks the description information When be appreciated that the meaning of the certain semantic unit.The description information may include the original with the certain semantic unit identical meanings Beginning language semantic unit, such as the paraphrase of the certain semantic unit, dependent parser information, common phrases and example sentence, synonymous or close Adopted word, phonetic symbol, demonstration pronunciation etc., and the description information can also include the occupation mode of the certain semantic unit, as this is specific Part of speech, usage scenario of semantic primitive etc., the embodiment of the present invention do not limit the particular content of the description information.
It, can be with it should be noted that when description information includes the pronunciation or phonetic symbol information of the certain semantic unit Loudspeaker form provides the interface of demonstration pronunciation, and the demonstration that user can obtain the certain semantic unit by triggering the interface is read Sound.
Specifically, the process for obtaining the description information of the certain semantic unit may comprise steps of 1001 or step 1002:
Step 1001, the description information for obtaining the source language that user is certain semantic unit editor, establish the description The correspondence of information and the certain semantic unit, and be added in the presetting database.
For example, when the semantic primitive processing unit detects the instruction operation of the collection to the certain semantic unit, it can be with It shows input field, obtains the description information that user inputs in the input field, and establish the certain semantic unit and believe with the description The correspondence of breath is added in the presetting database.
In fact, user can carry out the presetting database personalized editor, personalization editor may include for this Any semantic primitive editing specification information in presetting database, added into the presetting database new semantic primitive, from this Any semantic primitive etc. is deleted in presetting database, the embodiment of the present invention does not limit edit mode.
Step 1002, the description that the corresponding source language of certain semantic unit is obtained by the interface of calling dictionary for translation Information, establishes the correspondence of the description information and the certain semantic unit, and is added in the presetting database.
Dictionary for translation can be installed or be may link to the semantic primitive processing unit, which can be by a kind of language The semantic primitive of speech is converted to the semantic primitive of the identical meanings of another language, but also can provide releasing for semantic primitive Justice, example sentence, pronunciation, occupation mode etc..The dictionary for translation can provide interface, then the semantic primitive processing unit can pass through tune With the interface of the dictionary for translation, the certain semantic unit is provided for the dictionary for translation, by the dictionary for translation by the certain semantic list Member is converted to the description information of source language form, and returns to the semantic primitive processing unit by the interface, and the semanteme is single First processing unit can get the description information.
It should be noted is that the embodiment of the present invention is only to indicate operation collection semantic primitive according to the collection of user For illustrate, and other than above-mentioned collection mode, which can also use other modes to collect Semantic primitive.Optionally, which can imported into the preset data by the semantic primitive in external dictionary In library, which can be the dictionary of certain language or the dictionary etc. of certain professional domain, and the outside dictionary can be with It is selected by user, the embodiment of the present invention does not limit the outside dictionary.Alternatively, the semantic primitive processing unit can also obtain What other users were sent shares link, this shares semantic primitive of the link for linking to other users collection, then this end subscriber When clicking this and sharing link, which can share link according to this, and the semanteme of other users collection is single Member is imported into the presetting database of this end subscriber.
Needing the second point illustrated is, which can be according to user identifier, to the pre- of different user If database distinguishes.The user identifier can be user account, user's pet name, electricity for determining unique corresponding user Talk about number etc..So, when which collects semantic primitive every time, the user's mark currently logged in can be obtained Know, which is added in the corresponding presetting database of the user identifier.When the follow-up display specify information page, also may be used Before executing step 102, according to the user identifier currently logged in, to determine presetting database corresponding with the user identifier.
Correspondingly, when getting the specify information page to be shown, which includes multiple semantic single Whether member when being then based on presetting database execution step 102, judges in the specify information page to include to wrap in presetting database The certain semantic unit included, if so, then when showing the specify information page, it is specific in presetting database by being included in Semantic primitive is highlighted.
It that is to say, each semantic primitive that the traversal specify information page includes judges whether semantic primitive belongs to respectively Presetting database can determine the specify information page if it is, determining that semantic primitive is certain semantic unit after traversal One or more of face certain semantic unit.
Specifically, which carries out semantic primitive division to the content of the specify information page, obtains Multiple semantic primitives, and by after the invalid semantic primitive removal in multiple semantic primitives, get remaining effective semantic primitive. Later, each of include certain semantic that effective semantic primitive includes respectively with the presetting database by the specify information page Unit is matched, when determining any spy in any effective semantic primitive in the specify information page and the presetting database When attribute justice units match, you can determine that effective semantic primitive belongs to the presetting database;Above-mentioned matching step is repeated, it can be with Determine all certain semantic units belonged in the specify information page in the presetting database.
Wherein, invalid semantic primitive may include auxiliary word, modal particle or the not no word etc. of physical meaning, as " ", " ", " " etc., it is not limited in the embodiment of the present invention.
103, when showing the specify information page, according to the first display format, to the certain semantic unit of the determination into Row highlights.
It, should for the ease of user's browsing if the specify information page includes the certain semantic unit in the presetting database Certain semantic unit, the semantic primitive processing unit is when showing the specify information page, according to the first display format, to determination The certain semantic unit gone out is highlighted.
Wherein, which can be by the way of the first display color, which can be The obvious color of visual effect, alternatively, first display format can be by the way of the first font size, first font size Can be the larger font size of size ratio, alternatively, first display format can be by the way of the first font, first font It can be form font more outstanding.
In fact, the display format of other semantic primitives in the specify information page in addition to the certain semantic unit with First display format is different, for example, the certain semantic unit is different from the display color of other semantic primitives, font size difference or Person's font difference etc..Reach by using different display format and highlighted effect carried out to the certain semantic unit, Such as general rise of prices of the stocks and other securities plus frame, highlighted, mark Huang etc. so that when user browses the specify information page, it is specific that this can be quickly found Semantic primitive is screened without oneself, improves the efficiency of presentation of information.
Further, can also include 104 after step 103 in the present embodiment:
104, when detecting the instruction operation of the translation to the certain semantic unit, show that the certain semantic unit is corresponding The description information of source language.
Specifically, user is in the certain semantic unit for checking other language, if it is desired to turn over the certain semantic unit It is translated into source language, the instruction operation of the translation to the certain semantic unit can be triggered, which detects When translation instruction operation, the description information of the corresponding source language of certain semantic unit is shown.
It indicates to operate about the translation, translation instruction operation can be that cursor hovers in the behaviour on the certain semantic unit Make, can also be cursor is stopped on the certain semantic unit and stay time more than preset duration operation;Alternatively, the translation Indicate that operation can also be to click the operation of the certain semantic unit, or click the behaviour of the translation option of the certain semantic unit Make etc., it is not limited in the embodiment of the present invention.
The acquisition process of description information about the corresponding source language of certain semantic unit, may comprise steps of 1041 or step 1042:
Step 1041, the presetting database are used to collect certain semantic unit and the certain semantic unit is corresponding original The description information of language, then the semantic primitive processing unit can be obtained from the presetting database certain semantic unit correspondence Source language description information.
Referring to above-mentioned steps 1001 and 1002, the certain semantic unit can be corresponded to when collecting the certain semantic unit The description information of source language be added in the presetting database, then detected during showing the certain semantic unit When indicating operation to the translation of the certain semantic unit, you can directly obtain the description information from the presetting database, and show Show.
When the corresponding description information of semantic primitive is not collected in step 1042, the presetting database, semantic primitive processing Device can be by calling the interface of dictionary for translation to obtain the description information of the corresponding source language of certain semantic unit.
Specific acquisition process is similar with above-mentioned steps 1002, and details are not described herein, differs only in above-mentioned steps 1002 It is carried out when collecting the semantic primitive, and step 1042 carries out after collecting the semantic primitive when showing the semantic primitive.
About the display mode of the description information, the description information of the corresponding source language of certain semantic unit is shown When, can beside the certain semantic unit, the upper layer of the specify information page pop up a floating layer format the translation page, Show the description information in the translation page, alternatively, can also in the specify information page certain semantic unit lower section Show that the description information, the embodiment of the present invention do not limit the display mode of the description information.
User can collect certain foreign language semantic primitive in the preset database.When user checks some information page, If the information page includes the foreign language semantic primitive collected, the foreign language semantic primitive that this has been collected is highlighted, Ensure that user can be quickly found out the foreign language semantic primitive collected, moreover it is possible to which, in conjunction with the context of the semantic primitive, study is arrived The meaning or occupation mode of the semantic primitive.Moreover, when user's mouse-over is on the foreign language semantic primitive or click should When foreign language semantic primitive, show that the description informations such as the translation of the foreign language semantic primitive to user, ensure that user can easily obtain Know the meaning of the foreign language semantic primitive.
Further, in the related technology when the page that user currently checks includes some foreign language semantic primitive, if Need to check the translation information of the foreign language semantic primitive, it usually needs open dictionary for translation, it is outer to input this in the dictionary for translation Language semantic primitive, to obtain the translation of the foreign language semantic primitive.And in the embodiment of the present invention, it can show this in current page While foreign language semantic primitive, the interface provided by dictionary for translation obtains the translation of the foreign language semantic primitive, and is directly working as The translation of the foreign language semantic primitive is supplied to user in the preceding display page so that user is not necessarily to input the foreign language semantic primitive Into dictionary for translation, the operation of user is simplified, conveniently and efficiently learns the foreign language semantic primitive convenient for user.
Method provided in an embodiment of the present invention collects certain semantic unit, in the specify information page by presetting database The certain semantic unit that the presetting database includes is determined in face, when showing the specify information page, according to the first display Form highlights certain semantic unit therein, helps user to filter out and has collected in the preset database specific Semantic primitive substantially increases presentation of information efficiency.Moreover, by the specify information page certain semantic unit up and down Text has provided to the user and has been read with the relevant extension of the certain semantic unit, user is contributed to be provided in the specify information page Language environment in learn the meaning of the certain semantic unit.
Further, easy to operate and follow-up by indicating operation collection semantic primitive according to the collection of user Certain semantic unit can be identified according to the presetting database, and highlights certain semantic unit, substantially increase information Display efficiency.
For synthesis, the present invention can provide collection function so as to subsequently can be with for the semantic primitive do not collected The semantic primitive is learnt, and the semantic primitive for being collected, user can be given by being highlighted The chance for reviewing the semantic primitive, to deepen understanding of the user to the semantic primitive.
Further, certain semantic unit be foreign language semantic primitive when, by the specify information page to certain semantic Unit is highlighted, and user can be helped to learn the meaning of the certain semantic unit in true language environment, in turn Promote foreign language aptitude.The article for example, user may search for or learn foreign languages, scans for for term, to which study is outer Compatriots are how to use the term.But also the translation of the certain semantic unit can be got, ensure that user can be square Just know the meaning of the certain semantic unit, user is it is not necessary that the certain semantic unit to be input in dictionary for translation, operation side Just quick.
On the basis of embodiment shown in Fig. 1, when the semantic primitive processing unit shows certain semantic unit, Yong Huye The certain semantic unit can be marked.Specifically, after step 103, this method can also include:
The label option that user is each certain semantic unit addition is obtained, according to the corresponding display shape of the label option Formula highlights the certain semantic unit;The label option is for showing memory degree of the user to the certain semantic unit.
Based on this, in the embodiment of the present application, can also include:The work(for obtaining label option is provided certain semantic unit It can so that multiple certain semantic units that user can include to current display page carry out distinguishing mark, to be conducive to The further study in later stage.Specifically, multiple label options can be provided to user on the specified display page so that Yong Huke To mark option accordingly to the memory degree selection of the certain semantic unit according to oneself;Isolabeling option does not correspond to different Mode is highlighted, which can highlight each spy according to the corresponding display format of each label option Semantic primitive is determined, to show difference.
Further, the application further includes:It establishes the certain semantic unit and marks the correspondence of option, be stored in pre- If in database.So that when the page that user is again turned on includes the certain semantic unit, semantic primitive processing Device can obtain the label option of each certain semantic unit, according to the label according to the correspondence from presetting database The corresponding display format of option highlights the certain semantic unit.
Specifically, can set the first label option for indicate user to the memory degree of the certain semantic unit compared with Height, the second label option is for indicating that user is relatively low to the memory degree of the certain semantic unit.
When detecting the confirmation operation to the first label option of the certain semantic unit, the certain semantic unit is established With the correspondence of the first label option, preserve in the preset database, when the specified display page includes the specific language When adopted unit, according to the corresponding display format of the first label option, the certain semantic unit is highlighted;When detecting to this When the confirmation operation of the second label option of certain semantic unit, pair of the certain semantic unit and the second label option is established It should be related to, preserve in the preset database, when the specified display page includes the certain semantic unit, according to second mark Remember the corresponding display format of option, highlights the certain semantic unit.
Wherein, the corresponding display format of the first label option is different from the corresponding display format of the second label option, Optionally, compared with the corresponding display format of the first label option, the corresponding display format of the second label option is more prominent Go out, can more highlight the certain semantic unit.
For example, when the semantic primitive processing unit shows the certain semantic unit, label option can be provided Function is to user, such as provides the first label option " having remembered " and the second label option " not remembeing ", at this point, user can root According to oneself memory degree to the certain semantic unit, the confirmation operation to any label option is triggered.If detecting user To this first label option " having remembered " confirmation operation when, can with the gray display certain semantic unit, indicate user Through remembeing the certain semantic unit, no longer need to significantly be shown.And if detecting user to the second label option " not Remember " confirmation operation when, can with the red display certain semantic unit, indicate user do not remember the certain semantic list also Member may be used mode more outstanding and show the certain semantic unit, when meeting the certain semantic unit so as to user, continues to learn Practise the occupation mode of the certain semantic unit.
In addition, other than above-mentioned mark mode, user can also carry out other kinds of label to the certain semantic unit. Such as, no longer the certain semantic unit is highlighted after user wishes, then cancellation of the triggering to the certain semantic unit The certain semantic unit can be labeled as prominent aobvious without carrying out by the confirmation operation of prompt options, the semantic primitive processing unit The semantic primitive shown subsequently is shown when the certain semantic unit without being highlighted to the certain semantic unit.Alternatively, right In the certain semantic unit that some users often ignore, it can be marked as the semantic primitive being not concerned with, subsequently show the spy Determine to may be used display format more not outstanding when semantic primitive to be shown, such as continuously decreases the color of the vocabulary.Or Person often stops some cursors and without the semantic primitive of labeled " not remembeing ", it is believed that user is single to the semanteme Member is unfamiliar with, therefore the certain semantic unit can be labeled as needing to carry out highlighted language by the semantic primitive processing unit Adopted unit can be highlighted when subsequently showing the certain semantic unit.
Further, in addition to this is shown according to the corresponding display format of label option of confirmation, follow-up every When secondary display certain semantic unit, it can continue to continue to show according to the corresponding display format of label option.Specifically, should When semantic primitive processing unit detects confirmation operation of the user to any label option of the certain semantic unit, the spy is established The incidence relation between semantic primitive display format corresponding with the label option is determined, subsequently when the display certain semantic unit When, by inquiring the incidence relation, it may be determined that the corresponding display format of certain semantic unit, so as to continue according to this Display format shows the certain semantic unit.
Further, it is contemplated that even if some semantic primitives user has remembered, be also possible to after a period of time Forget, for this purpose, the semantic primitive processing unit establishes certain semantic unit display format corresponding with the first label option Between incidence relation after, after preset duration, which can be revised as the certain semantic unit with should Incidence relation between the corresponding display format of second label option.Wherein, which can be by user setting or root The memory time of the semantic primitive newly learnt is arranged according to common people, the embodiment of the present invention does not limit the preset duration.
In practical application, for multiple certain semantic units, aforesaid way can be used and shown that then user is to multiple When the memory degree difference of certain semantic unit, multiple certain semantic units, user can be shown by different display format The certain semantic unit of different memory degree can be filtered out according to the display format.
For example, when user opens a new page, the semantic primitive with gray display be before user Semantic primitive through remembeing, and be the semantic primitive that do not remember before user with the semantic primitive of red display, then, it uses Attention can be placed in the semantic primitive that do not remember before these by family, pay close attention to these with the semantic primitive of red display, Learn the meaning of these semantic primitives, and no longer pays close attention to these with the semantic primitive of gray display, to improve learning efficiency.
Method provided in an embodiment of the present invention, operation that can be according to user to the certain semantic unit record or sentence Disconnected user prompts the degree of understanding of the certain semantic unit to dynamically adjust the display format of the certain semantic unit User pays attention to the semantic primitive that do not grasp, and no longer pays close attention to the semantic primitive grasped.
Further, for the multiple certain semantic units collected, shown that then user is to more according to memory degree When the memory degree difference of a certain semantic unit, multiple certain semantic units can be shown by different display format, used Family can filter out the certain semantic unit of different memory degree according to the display format.
On the basis of embodiment shown in Fig. 1, when the semantic primitive processing unit shows the specify information page, not only It can show original semantic primitive in the specify information page, can also show recommendation semantic primitive.Specifically, this method can To include the following steps:
The semantic primitive processing unit is according to the certain semantic unit and the semantic list of history retrieval in the presetting database Member obtains and recommends semantic primitive, which is added in the specify information page.
Correspondingly, in step 103, which highlights when showing the specify information page The relevant recommendation semantic primitive of semantic primitive has been collected with this.
It further, can be prominent according to second display format different from first display format in order to be distinguished with showing Show the recommendation semantic primitive.
Certain semantic unit in the presetting database may be considered the semantic primitive that user wishes study, history retrieval Semantic primitive is the semantic primitive that user once retrieved, these semantic primitives are all the more interested semantic primitives of user, Therefore the possible interested semantic primitive of user can be obtained according to the certain semantic unit and history retrieval semantic primitive, It is recommendation semantic primitive, to help user development semantic primitive amount.
For example, can obtain identical with the certain semantic unit or the history retrieval type of semantic primitive semantic single Member is as recommendation semantic primitive.Or if the certain semantic unit and history retrieval semantic primitive are the first language When semantic primitive, these semantic primitives can embody the ability that user uses the first language, and hence it is also possible to from first language It calls the turn, the semantic primitive of the ratings match with the certain semantic unit and history retrieval semantic primitive is chosen, as recommendation language Adopted unit, so that the recommendation semantic primitive is matched with user using the ability of the first language.
Wherein, semantic primitive ratings match refers to the semanteme that two semantic primitives belong to same difficulty in the first language Unit.Use the above-mentioned way of recommendation that can recommend some possible interested foreign language semantic primitives, these foreign languages semantic for user Unit is matched with user using the ability of foreign language, both will not it is too simple will not be excessively complicated, contribute to user's study outer Language.
Further, after semantic primitive is recommended in display, when user clicks the recommendation semantic primitive, at the semantic primitive Reason device can be scanned for based on the recommendation semantic primitive, obtain search result corresponding with the recommendation semantic primitive, be shown To user, so that user learns the recommendation semantic primitive.
Method provided in an embodiment of the present invention can be according to the spy when the certain semantic unit is foreign language semantic primitive Determine semantic primitive and history retrieval semantic primitive, recommends some possible interested foreign language semantic primitives, these foreign languages for user Semantic primitive is matched with user using the ability of foreign language, both will not it is too simple will not be excessively complicated, contribute to user to learn Foreign language is practised, user development foreign vocabulary is helped.
On the basis of embodiment shown in Fig. 1, if the specify information page is to be got according to the term of input Result of page searching may include then a plurality of search result in the result of page searching.Comprising the in a plurality of search result When the semantic primitive of one language, including semantic primitive it is different, the grade of search result is also different, which can indicate to understand The grade for the first language that user reaches is needed when the meaning of the search result.Since user is had using the ability of the first language Limit, when user checks a plurality of search result, the meaning of some search results is for users it will be understood that and some are searched The meaning of hitch fruit is difficult to understand for for users.Therefore, which can be to a plurality of first language Search result is suitably screened.
Specifically, this method may comprise steps of:
The search result of the corresponding a plurality of first language of term of semantic primitive processing unit acquisition input, and according to The historical operation record for currently inputting the user of the term, obtains the language grade of user, from a plurality of search result, choosing At least one search result with the language ratings match is taken, includes in the result of page searching by least one search result In.
Wherein, which may include with the relevant webpage of the term, article, news etc., and the present invention is real Example is applied not limit search result.The historical operation is recorded for recording one or more languages of the user to the first language The operation that adopted unit executes can determine the semantic primitive, not for the first language that user has remembered according to historical operation record The semantic primitive etc. of the semantic primitive for the first language remembered or browsed multiple first language, then according to the history Operation note can get the language grade of user, and the language grade is for indicating skilled journey of the user to the first language Degree, it is believed that when search result and the language ratings match, user it will be appreciated that the search result meaning, and search result When being mismatched with the language grade, when as excessive higher than the language grade such as search result, user can not understand the search result Meaning, and when search result is excessive less than the language grade, user although it is understood that the search result meaning, but this is searched Hitch fruit cannot help user to promote the ability using the first language.Therefore, at least one with the language ratings match is chosen Search result is supplied to user user can be helped preferably to learn first language.
Further, the mode of above-mentioned screening search results can be carried out only in the case where learning search pattern, that is to say, When opening study search pattern, which may be used above-mentioned screening mode to a plurality of search knot that gets Fruit is screened, and will include in result of page searching at least one search result of the language ratings match so that user It can not only scan for, while the first language can also be learnt, promote the ability using the first language.And it is not opening When learning search pattern, it that is to say under normal searching pattern, which is no longer screened, and will directly be obtained The a plurality of search result got is shown in the result of page searching.
Method provided in an embodiment of the present invention, is recorded by historical operation, it can be determined that goes out the first language that user is grasped The vocabulary of speech and the ability for using the first language can be according to the practical foreign languages of user after user enters study search pattern Ability calculates word or the possible interested word of user that the word, user that how many user does not grasp in search result can be grasped Deng to which removal is excessively easy or excessively difficult search result for users, being screened to search result, be user The search result that can preferably understand is provided, user is allowed preferably to learn.
On the basis of embodiment shown in Fig. 1, in the presetting database collection there are one or multiple certain semantic units, can Classified with the grade to the certain semantic unit collected in presetting database, and is carried out according to the grade of certain semantic unit Display.
Specifically, the language grade for obtaining user is obtained specific with the language ratings match from the presetting database Semantic primitive is being shown when the specify information page to be shown includes the certain semantic unit with the language ratings match When the specify information page, pair highlighted with the certain semantic unit of the language ratings match.
Wherein, the language grade of user can be recorded by user setting, or according to the corresponding historical operation of first language It obtains, the grade of certain semantic unit can be determined according to the complexity of the certain semantic unit.
Moreover, in practical applications, user can update the language grade of oneself according to the study situation of oneself, then should Semantic primitive processing unit can get matched certain semantic unit according to updated language grade.
For example, the vocabulary in the presetting database is divided into level Four vocabulary and six grades of vocabularies, the language of user When grade is level Four, level Four vocabulary is obtained, it, will when the specify information page includes the vocabulary that the level Four vocabulary includes Level Four vocabulary in the specify information page is highlighted.Subsequently when the language grade of user reaches six grades, six are obtained Grade vocabulary will be in the specify information page when the specify information page includes the vocabulary that six grades of vocabularies include Six grades of vocabulary are highlighted.
By the way of language ratings match, it is ensured that user can be learnt according to the level of learning of oneself selection The no longer higher semantic primitive of In Grade is highlighted the junior user of language by semantic primitive, i.e., will be right Semantic primitive partially difficult, which is temporarily skipped, for user does not learn, waits for that user improves language grade and then provides grade to the user Higher semantic primitive.
Fig. 2 is a kind of structural schematic diagram of semantic primitive display device provided in an embodiment of the present invention, referring to Fig. 2, the dress Set including:
Page acquisition module 201, for obtaining the specify information page to be shown;
Determining module 202, each semantic primitive for including for traversing the specify information page, judges the semanteme respectively Whether unit belongs to presetting database, if it is, determining that the semantic primitive is certain semantic unit;The presetting database is used for The semantic primitive for the first language for being different from source language that collection user specifies;
Display module 203, for when showing the specify information page, protruding the certain semantic unit determined aobvious Show.
Device provided in an embodiment of the present invention collects certain semantic unit, in the specify information page by presetting database The certain semantic unit that the presetting database includes is determined in face, when showing the specify information page, to therein specific Semantic primitive is highlighted, and is helped user to filter out the certain semantic unit collected in the preset database, is carried significantly High presentation of information efficiency.Moreover, by the context of the certain semantic unit in the specify information page, provide to the user It is read with the relevant extension of the certain semantic unit, user is contributed to learn in the language environment that the specify information page provides The meaning of the certain semantic unit.
Optionally, which further includes:Description information display module, for showing the corresponding description of certain semantic unit Information, the description information is for being described the certain semantic unit with the semantic primitive of source language.
Optionally, which includes:
First display sub-module, for obtaining the corresponding description information of certain semantic unit from the presetting database, And show, which is used to collect retouching for semantic primitive that user specifies and the corresponding source language of the semantic primitive State information;Alternatively,
Second display sub-module, for corresponding original by calling the interface of dictionary for translation to obtain the certain semantic unit The description information of language, and show.
Optionally, which includes:Mark submodule and third display sub-module;
Submodule is marked, for obtaining the label option that user is each certain semantic unit addition;
Third display sub-module, for according to the corresponding display format of label option, highlighting the certain semantic list Member;The label option is for showing memory degree of the user to the certain semantic unit.
Optionally, which further includes:Collect module;
The collection module will when for detecting that the collection for the semantic primitive for including to current display page indicates operation The semantic primitive is added in the presetting database.
Optionally, which further includes:First add module or the second add module;
First add module, the description information for obtaining the source language that user is semantic primitive editor, is established The correspondence of the description information and the semantic primitive, and be added in the presetting database;
Second add module, for by calling the interface of dictionary for translation to obtain the corresponding source language of the semantic primitive Description information, establish the correspondence of the description information and the semantic primitive, and be added in the presetting database.
Optionally, which further includes:Recommending module and recommendation display module;
The recommending module is used for according to the certain semantic unit and history retrieval semantic primitive in the presetting database, It obtains and recommends semantic primitive;
The recommendation display module, for highlighting the recommendation semantic primitive in the specify information page.
Optionally, which includes:
As a result acquisition submodule, the search result for obtaining the corresponding a plurality of first language of term;
Grade acquisition submodule, the historical operation for the user according to current input term record, and obtain the user Language grade, the operation that historical operation record executes the semantic primitive of first language for recording the user, the language The qualification that grade is used to indicate the user to the first language;
As a result display sub-module, for by the search result with the language ratings match in a plurality of search result, showing In result of page searching.
Optionally, which further includes:Semantic primitive acquisition module;
Semantic primitive acquisition module, it is pre- from this for when showing the specify information page, obtaining the language grade of user If obtaining the certain semantic unit with the language ratings match in database;The language grade for show the user to this first The qualification of language;
The display module 203, the specify information page for being additionally operable to work as the first language to be shown include and the language When the certain semantic unit of ratings match, pair highlighted with the certain semantic unit of the language ratings match.
It should be noted that:Above-described embodiment provide semantic primitive display device when showing semantic primitive, only more than The division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by difference Function module complete, i.e., the internal structure of semantic primitive processing unit is divided into different function modules, more than completion The all or part of function of description.In addition, semantic primitive display device and the semantic primitive display side of above-described embodiment offer Method embodiment belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 3 is a kind of block diagram of device 800 shown for semantic primitive provided in an embodiment of the present invention.For example, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
With reference to Fig. 3, device 800 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes instruction for any application program or method that are operated on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 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 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may 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 action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when 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 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 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 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detect the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at 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 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 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 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 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 800 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 executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.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..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row so that terminal is able to carry out a kind of semantic primitive display methods, the method includes:
Obtain the specify information page to be shown;
Each semantic primitive that the specify information page includes is traversed, judges whether institute's meaning elements belong to respectively Presetting database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is for collecting user The semantic primitive of the specified first language for being different from source language;
When showing the specify information page, the certain semantic unit determined is highlighted.
Fig. 4 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can because configuration or Performance is different and generates bigger difference, may include one or more central processing units (central Processing units, CPU) 1922 (for example, one or more processors) and memory 1932, one or one with The storage medium 1930 (such as one or more mass memory units) of upper storage application program 1942 or data 1944.Its In, 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 May include one or more modules (diagram does not mark), each module may include to the series of instructions in server Operation.Further, central processing unit 1922 could be provided as communicating with storage medium 1930, be executed on server 1900 Series of instructions operation in storage medium 1930.
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..
The server 1900 is used to execute the semantic primitive display methods shown in above-described embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
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.

Claims (11)

1. a kind of semantic primitive display methods, which is characterized in that the method includes:
Obtain the specify information page to be shown;
Each semantic primitive that the specify information page includes is traversed, judges whether institute's meaning elements belong to default respectively Database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is specified for collecting user The first language for being different from source language semantic primitive;
When showing the specify information page, the certain semantic unit determined is highlighted.
2. according to the method described in claim 1, it is characterized in that, the described pair of certain semantic unit determined highlights When, the method further includes:
Show that the corresponding description information of the certain semantic unit, the description information are used for source language to the specific language Adopted unit is described.
3. according to the method described in claim 2, it is characterized in that, the corresponding description letter of the display certain semantic unit Breath, including:
The corresponding description information of the certain semantic unit is obtained from the presetting database, and is shown, the preset data Library is used to collect the description information of semantic primitive and the corresponding source language of institute's meaning elements that user specifies;Alternatively,
By calling the interface of dictionary for translation to obtain the description information of the corresponding source language of the certain semantic unit, and show Show.
4. according to the method described in claim 1, it is characterized in that, the described pair of certain semantic unit determined highlights, Including:
The label option that user is each certain semantic unit addition is obtained, according to the corresponding display shape of the label option Formula highlights the certain semantic unit;The label option is for showing memory of the user to the certain semantic unit Degree.
5. method according to claim 1 or 2, which is characterized in that the method further includes:
When detecting the collection instruction operation for the semantic primitive for including to current display page, institute's meaning elements are added to institute It states in presetting database.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
It is the description information of the source language of institute meaning elements editor to obtain user, establishes the description information and the semanteme The correspondence of unit, and be added in the presetting database;Alternatively,
By calling the interface of dictionary for translation to obtain the description information of the corresponding source language of institute's meaning elements, retouched described in foundation The correspondence of information and institute's meaning elements is stated, and is added in the presetting database.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
According to the certain semantic unit and history retrieval semantic primitive in the presetting database, obtains and recommend semantic primitive;
The recommendation semantic primitive is highlighted in the specify information page.
8. according to the method described in claim 1, it is characterized in that, described obtain the specify information page to be shown, including:
Obtain the search result of the corresponding a plurality of first language of term of source language;
According to the historical operation record of the user of current input term, the language grade of the user, the history behaviour are obtained The operation noted down for recording semantic primitive execution of the user to first language, the language grade is for indicating described Qualification of the user to the first language;
It is shown in the search result with the language ratings match in a plurality of search result in result of page searching, makees For the specify information page to be shown.
9. according to the method described in claim 1, it is characterized in that, when showing the specify information page, the method is also Including:
The language grade for obtaining user obtains the certain semantic list with the language ratings match from the presetting database Member;The qualification that the language grade is used to show the user to the first language;
When the specify information page to be shown includes the certain semantic unit with the language ratings match, pair and institute The certain semantic unit of predicate speech ratings match is highlighted.
10. a kind of semantic primitive display device, which is characterized in that described device includes:
Page acquisition module, for obtaining the specify information page to be shown;
Determining module, each semantic primitive for including for traversing the specify information page judge described semantic single respectively Whether member belongs to presetting database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is used In the semantic primitive for the first language for being different from source language that collection user specifies;
Display module, for when showing the specify information page, being highlighted to the certain semantic unit determined.
11. a kind of device shown for semantic primitive, which is characterized in that include memory and one or one with On program, one of them either more than one program be stored in memory and be configured to by one or more than one It includes the instruction for being operated below that processor, which executes the one or more programs,:
Obtain the specify information page to be shown;
Each semantic primitive that the specify information page includes is traversed, judges whether institute's meaning elements belong to default respectively Database, if it is, determining that institute's meaning elements are certain semantic unit;The presetting database is specified for collecting user The first language for being different from source language semantic primitive;
When showing the specify information page, the certain semantic unit determined is highlighted.
CN201611141800.0A 2016-12-12 2016-12-12 Semantic primitive display methods and device, the device shown for semantic primitive Pending CN108614831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611141800.0A CN108614831A (en) 2016-12-12 2016-12-12 Semantic primitive display methods and device, the device shown for semantic primitive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611141800.0A CN108614831A (en) 2016-12-12 2016-12-12 Semantic primitive display methods and device, the device shown for semantic primitive

Publications (1)

Publication Number Publication Date
CN108614831A true CN108614831A (en) 2018-10-02

Family

ID=63657690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611141800.0A Pending CN108614831A (en) 2016-12-12 2016-12-12 Semantic primitive display methods and device, the device shown for semantic primitive

Country Status (1)

Country Link
CN (1) CN108614831A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813470A (en) * 2020-06-12 2020-10-23 北京邮电大学 Initial interactive interface optimization method and device
CN115484478A (en) * 2021-05-31 2022-12-16 上海哔哩哔哩科技有限公司 Subtitle processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268326A (en) * 2013-05-02 2013-08-28 百度在线网络技术(北京)有限公司 Personalized cross-language retrieval method and device
US20150317388A1 (en) * 2014-05-02 2015-11-05 Samsung Electronics Co., Ltd. Information search system and method
CN105138519A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Lexical translation method and device
CN105243058A (en) * 2015-09-30 2016-01-13 北京奇虎科技有限公司 Webpage content translation method and electronic apparatus
CN105575384A (en) * 2016-01-13 2016-05-11 广东小天才科技有限公司 Method, device and equipment for automatically adjusting playing resources according to user level

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268326A (en) * 2013-05-02 2013-08-28 百度在线网络技术(北京)有限公司 Personalized cross-language retrieval method and device
US20150317388A1 (en) * 2014-05-02 2015-11-05 Samsung Electronics Co., Ltd. Information search system and method
CN105138519A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Lexical translation method and device
CN105243058A (en) * 2015-09-30 2016-01-13 北京奇虎科技有限公司 Webpage content translation method and electronic apparatus
CN105575384A (en) * 2016-01-13 2016-05-11 广东小天才科技有限公司 Method, device and equipment for automatically adjusting playing resources according to user level

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813470A (en) * 2020-06-12 2020-10-23 北京邮电大学 Initial interactive interface optimization method and device
CN111813470B (en) * 2020-06-12 2021-03-23 北京邮电大学 Initial interactive interface optimization method and device
CN115484478A (en) * 2021-05-31 2022-12-16 上海哔哩哔哩科技有限公司 Subtitle processing method and device

Similar Documents

Publication Publication Date Title
CN107357779B (en) A kind of method and device obtaining organization names
CN107330019A (en) Searching method and device
CN107102746A (en) Candidate word generation method, device and the device generated for candidate word
CN109002184A (en) A kind of association method and device of input method candidate word
CN104461348B (en) Information choosing method and device
CN108509412A (en) A kind of data processing method, device, electronic equipment and storage medium
CN108121736A (en) A kind of descriptor determines the method for building up, device and electronic equipment of model
WO2020240838A1 (en) Conversation control program, conversation control method, and information processing device
CN108038102A (en) Recommendation method, apparatus, terminal and the storage medium of facial expression image
CN108958503A (en) input method and device
CN107423296A (en) Searching method, device and the device for search
CN106202150A (en) Method for information display and device
CN108345608A (en) A kind of searching method, device and equipment
CN108073606A (en) A kind of news recommends method and apparatus, a kind of device recommended for news
CN108829686A (en) Translation information display methods, device, equipment and storage medium
CN110222256A (en) A kind of information recommendation method, device and the device for information recommendation
CN112882623B (en) Text processing method and device, electronic equipment and storage medium
CN116166843B (en) Text video cross-modal retrieval method and device based on fine granularity perception
CN108334526A (en) The methods of exhibiting and device of search result items
CN110244860A (en) A kind of input method, device and electronic equipment
CN106774969A (en) A kind of input method and device
CN110020361A (en) A kind of web page processing method, device, storage medium and electronic equipment
CN108614831A (en) Semantic primitive display methods and device, the device shown for semantic primitive
CN106339160A (en) Browsing interactive processing method and device
CN113552977A (en) Data processing method and device, electronic equipment and computer storage medium

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