Enyclopedia entry processing method and device, equipment and medium

By highlighting and responding to user operations to create encyclopedia entries, the problem of new entries being unable to be created in time is solved, and the efficiency of information acquisition is improved.

CN119719347APending Publication Date: 2025-03-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311268253.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

During the creation of existing encyclopedia entries, new entries cannot be created in time, resulting in low efficiency in obtaining information for users.

Method used

By highlighting the target words that may be entries on the page and in response to user triggering operations, the entry editing interface is displayed, and an encyclopedia entry for the target words is created based on the interface.

Benefits of technology

The effect of timely creating new entries has been achieved, the efficiency of encyclopedia entries has been improved, and thus the efficiency of users to obtain information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119719347A_ABST
    Figure CN119719347A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an encyclopedic entry processing method and device, equipment and a medium. The method comprises the steps that a target content page is displayed; highlighting a target word in the target content page; and in response to a trigger operation on the target word, displaying an entry editing interface, and creating an encyclopedic entry of the target word based on the entry editing interface. According to the embodiment of the invention, the words possibly being entries are mined and highlighted, so that the prompt for creating the new entries is added, the user can quickly know the requirement for creating the new entries under the prompt, and the encyclopedic entries are quickly guided to be created through the interactive interface, so that the effect of creating the new entries in time is achieved, the efficiency of creating the encyclopedic entries is improved, and the user experience is improved. And the information acquisition efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment and medium for processing encyclopedia entries. Background Art

[0002] At present, encyclopedia entries are usually added and created manually to provide users with information search. For a new entry that has not been created, such as a new song or movie, it needs to be discovered and created manually, resulting in some new entries not being created in time, which in turn leads to low efficiency in users obtaining information. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a method, device, equipment and medium for processing encyclopedia entries.

[0004] The present disclosure provides a method for processing an encyclopedia entry, the method comprising:

[0005] Display the target content page;

[0006] highlighting a target word in the target content page;

[0007] In response to a triggering operation on the target word, an entry editing interface is displayed, and an encyclopedia entry for the target word is created based on the entry editing interface.

[0008] The present disclosure also provides a device for processing encyclopedia entries, the device comprising:

[0009] A first display module, used to display a target content page;

[0010] A second display module, used for highlighting the target word in the target content page;

[0011] A creation module is used to display an entry editing interface in response to a trigger operation on the target word, and to create an encyclopedia entry for the target word based on the entry editing interface.

[0012] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the encyclopedia entry processing method provided by the embodiment of the present disclosure.

[0013] The embodiments of the present disclosure also provide a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the method for processing encyclopedia entries as provided in the embodiments of the present disclosure.

[0014] Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has the following advantages: the processing solution of the encyclopedia entry provided by the embodiment of the present disclosure displays the target content page; highlights the target word in the target content page; in response to the trigger operation of the target word, displays the entry editing interface, and creates the encyclopedia entry of the target word based on the entry editing interface. The above technical solution is adopted, by highlighting the target word that may be the entry in the page, and then displaying the entry editing interface when the trigger operation of the target word is detected, and the encyclopedia entry of the target word can be created based on the entry editing interface. By mining and highlighting the words that may be the entry, a prompt for creating a new entry is added. Under this prompt, the user can quickly know the need to create a new entry, and quickly guide the creation of the encyclopedia entry through the interactive interface, so as to achieve the effect of timely creating a new entry, improve the efficiency of creating encyclopedia entries, and then improve the efficiency of users in obtaining information. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0016] Figure 1 A flowchart of a method for processing encyclopedia entries provided by an embodiment of the present disclosure;

[0017] Figure 2 A schematic diagram of a target content page provided by an embodiment of the present disclosure;

[0018] Figure 3 A schematic diagram of an entry editing interface provided by an embodiment of the present disclosure;

[0019] Figure 4 A schematic diagram of another entry editing interface provided by an embodiment of the present disclosure;

[0020] Figure 5 A schematic diagram of another entry editing interface provided by an embodiment of the present disclosure;

[0021] Figure 6 A flowchart of another method for processing encyclopedia entries provided by an embodiment of the present disclosure;

[0022] Figure 7 A schematic diagram of the structure of a device for processing encyclopedia entries provided by an embodiment of the present disclosure;

[0023] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] In order to solve the problem of untimely creation of encyclopedia entries in the related art, the present disclosure provides a method for processing encyclopedia entries, which is introduced below in conjunction with specific embodiments.

[0031] Figure 1 The present invention provides a flowchart of a method for processing encyclopedia entries provided in an embodiment of the present invention. The method can be executed by an encyclopedia entry processing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:

[0032] Step 101: Display the target content page.

[0033] Among them, the target content page can be any page including text content. In the embodiment of the present disclosure, the target content page takes an instant messaging session page or a cloud document page as an example, that is, the target content page can include text content in an instant messaging session or text content in a cloud document. The text content in the instant messaging session can be the text content in the process of a user chatting with other users, and the cloud document can be a document that can be accessed through a browser.

[0034] Specifically, the encyclopedia entry processing device may display the target content page in response to a user's display triggering operation on the target content page.

[0035] Step 102: highlight the target word in the target content page.

[0036] The target word may be a word in the target content page for which an encyclopedia entry may be created, and may be mined from multiple words included in the text content of the target content page. The number of the target words may be one or more, and is not specifically limited.

[0037] After displaying the target content page, the encyclopedia entry processing device can highlight the target word in the target content page to provide a prompt for creating an encyclopedia entry, so that the user can quickly know that the target word has a need to create an encyclopedia entry. Here, highlighting the target word can be displaying the target word in a first style, which is different from the display style of other text in the text content of the target content page, and can specifically include multiple styles, for example, the first style can be highlighting, bolding, underlining, etc.

[0038] The target content page of the embodiment of the present disclosure takes an instant messaging session page or a cloud document page as an example, that is, when a user is chatting with other users, if the text content includes a target word that may require the creation of an encyclopedia entry, the target word can be highlighted; or, when a user is browsing a cloud document, if the text content of the cloud document includes a target word that may require the creation of an encyclopedia entry, the target word can also be highlighted.

[0039] Step 103: In response to a trigger operation on the target word, an entry editing interface is displayed, and an encyclopedia entry of the target word is created based on the entry editing interface.

[0040] The trigger operation may include a gesture control operation (such as clicking, long pressing, double clicking, etc.), a voice control operation, or an expression control operation on the target word, etc., which is not limited in the embodiments of the present disclosure. The entry editing interface may be an interface for editing the content of the encyclopedia entry, and the editing operation may include operations such as adding, deleting, and modifying. The entry editing interface may include multiple editing controls, and the editing control may be a functional control for quickly editing the content. The user can quickly create an encyclopedia entry through the editing control.

[0041] An encyclopedia entry may be a specific form of an entry and is a basic unit constituting an encyclopedia. The encyclopedia here may be an online encyclopedia using the Internet as a carrier. In the disclosed embodiment, an encyclopedia entry may include at least one of name information, interpretation information, and resource information. The name information may include information such as the entry name, alias, full name, and abbreviation of a word. The entry name may be the same as the word. The interpretation information may be an explanatory description of the content corresponding to an entry and may be composed of text and / or images. The resource information may include links to resources such as documents, pictures, and videos related to an entry. The resource types may include multiple types, without specific limitation.

[0042] Specifically, the encyclopedia entry processing device can display an entry editing interface in response to a trigger operation on a target word, and can create an encyclopedia entry for the target word in response to a user's operation on multiple editing controls included in the entry editing interface.

[0043] When the entry editing interface is displayed as above, it can be displayed directly, or the entry creation entrance can be displayed first, and the entry editing interface can be displayed in response to the triggering operation of the entry creation entrance. Optionally, an ignore control can also be displayed while displaying the entry creation entrance. In response to the triggering operation of the ignore control, the highlighting of the target word is canceled, the user is no longer prompted to create an encyclopedia entry, and the entry creation entrance and the ignore control are closed. Through the setting of the ignore control, when a word is manually determined to not need to be explained, the highlighting of the word can be canceled, that is, the prompt to create an encyclopedia entry can be closed, avoiding subsequent interference to other users, which is more in line with actual scenarios.

[0044] For example, Figure 2 A schematic diagram of a target content page provided by an embodiment of the present disclosure, such as Figure 2 As shown in the figure, an exemplary target content page 200 is shown. The text content of the target content page 200 includes 4 target words. The 4 target words are displayed in an underlined display style to achieve highlighting and distinguish them from other text content. The user triggers the A in the target word to directly display the target word. Figure 3In the entry editing interface in the example, the entry creation entry 203 and the ignore control 204 can also be displayed in the interface 202. The entry creation entry 203 displays the text "supplementary interpretation" to prompt the user. After the user performs a trigger operation on the entry creation entry 203, the Figure 3 When the user triggers the ignore control 204, the underline of the target word A can be cancelled to cancel the highlighting, close the prompt, and close the interface 202.

[0045] For example, Figure 3 A schematic diagram of an entry editing interface provided by an embodiment of the present disclosure, such as Figure 3 As shown, the figure shows an exemplary entry editing interface 300, which may include multiple editing controls, such as adding an alias or full name, entering a definition, adding related contacts, adding related documents, canceling, completing editing, etc. The creation of encyclopedia entries can be achieved by operating multiple editing controls.

[0046] In some embodiments, displaying the entry editing interface may include: if there is a corresponding draft entry for the target word, displaying the draft entry in the entry editing interface. Optionally, creating an encyclopedia entry for the target word based on the entry editing interface includes: creating an encyclopedia entry for the target word in response to an editing operation on the draft entry in the entry editing interface.

[0047] The draft entry can be understood as an encyclopedia entry that has been created in the past but not yet successfully created. That is, if the content of an encyclopedia entry of a target word has been edited but has not been successfully created due to reasons such as review, the edited content will be stored as a draft entry.

[0048] When displaying the entry editing interface, the processing device of the encyclopedia entry can first determine whether there is a corresponding draft entry for the target word. If so, the draft entry can be displayed while displaying the entry editing interface, and the content of the draft entry supports editing operations; then the user's editing operations such as adding, deleting, and modifying the draft entry can be received, and then the creation of the encyclopedia entry can be completed by saving the edited draft entry, or the edited draft entry can be submitted to obtain the encyclopedia entry of the target word after subsequent review.

[0049] For example, Figure 4 A schematic diagram of another entry editing interface provided by an embodiment of the present disclosure, such as Figure 4As shown, the figure shows an entry editing interface 400 including a draft entry, in which the name information, definition information, resource information, etc. have been edited, and the user is reminded that the current entry is a draft entry by displaying "under review, will be displayed to all staff after approval". The user can add, delete, and modify the content in the draft entry in the entry editing interface 400 to complete the creation of the encyclopedia entry.

[0050] In the above scheme, when a word has a draft entry that has been edited historically, the editing can continue based on the draft entry, so that the creation of the encyclopedia entry can be completed more quickly based on the history.

[0051] In other embodiments, displaying the entry editing interface may include: determining the recommended interpretation information corresponding to the target word, and displaying the recommended interpretation information corresponding to the target word in the entry editing interface. Optionally, creating an encyclopedia entry for the target word based on the entry editing interface may include: creating an encyclopedia entry for the target word in response to an editing operation on an editing control of the entry editing interface and the recommended interpretation information of the target word.

[0052] The recommended interpretation information may be the most likely interpretation information corresponding to a term determined by an algorithm, and may be screened and determined from a plurality of possible interpretation information.

[0053] When displaying the entry editing interface, the processing device of the encyclopedia entry can first determine the recommended interpretation information corresponding to the target word, and display the recommended interpretation information while displaying the entry editing interface; because the recommended interpretation information supports editing operations, it can then receive the user's editing operations such as modification and deletion of the recommended interpretation information, generate the interpretation information of the encyclopedia entry, and generate other contents of the encyclopedia entry in response to the user's editing operations on multiple editing controls, and then save the edited content to complete the creation of the encyclopedia entry, or submit the edited content for subsequent review and approval to obtain the encyclopedia entry of the target word.

[0054] For example, Figure 5 A schematic diagram of another entry editing interface provided by an embodiment of the present disclosure is shown as follows: Figure 5 As shown, a term editing interface 500 including recommended interpretation information 501 is shown. The recommended interpretation information 501 can be used by clicking, and can also support operations such as modification and deletion.

[0055] Optionally, determining recommended interpretation information corresponding to the target word includes: inputting the target word and context information associated with the target word into a pre-built interpretation model, extracting the subject and interpretation in the context information; if the subject matches the target word, generating recommended interpretation information corresponding to the target word based on the interpretation corresponding to the subject.

[0056] Among them, the context information associated with the target word can be the target text paragraph where the target word is located. The interpretation model can be a model for extracting possible subjects in a text and interpretations of the subjects. The model can be a deep learning model, and the subject can be a word to be interpreted. The interpretation model can include an interpretation subject model and an interpretation discrimination model. The interpretation subject model is used to extract possible subjects in a text, and the interpretation discrimination model is used to extract possible interpretations in a text. The two models can be used together to extract the subject and interpretation to be interpreted when a text is a text that interprets a word. The above-mentioned text can be a text paragraph.

[0057] When determining the recommended interpretation information corresponding to a target word, the processing device of the encyclopedia entry can input the target word and the context information associated with the target word into the interpretation model, and output the subject and the interpretation included in the context information; then the subject can be matched with the target word, and the specific matching process can determine whether the similarity between the subject and the target word is greater than the similarity threshold. If so, the match is successful, and the interpretation corresponding to the subject is determined as the recommended interpretation information corresponding to the target word; if the similarity between the subject and the target word is not greater than the similarity threshold, the match fails, and then other methods can be used to determine the recommended interpretation information of the target word.

[0058] Optionally, determining the recommended interpretation information corresponding to the target word may include: performing text similarity matching between the target word and the target text paragraph where the target word is located in the interpretation library, and taking the interpretation with the greatest text similarity as the recommended interpretation information corresponding to the target word.

[0059] Among them, the interpretation library can be a database including multiple interpretations, each interpretation can be a specific explanation of the content of an entry, and the interpretation library can include multiple types of interpretation libraries, for example, it can include a recommended interpretation library and a mined interpretation library, etc. The interpretations stored in different interpretation libraries can be different.

[0060] When determining the recommended interpretation information corresponding to the target word, the processing device of the encyclopedia entry can perform text similarity matching on the target word and the target text paragraph where the target word is located in the interpretation library. The specific matching method can be ES text fuzzy matching. Through matching, multiple candidate interpretations with text similarity greater than a similarity threshold can be recalled from the interpretation library. After that, the recalled multiple candidate interpretations can be scored through the disambiguation model to determine whether they are the correct interpretations of the target word in the context. After removing the interpretations with the same semantics, the multiple candidate interpretations are sorted through the de-duplication sorting module, and the candidate interpretation with the highest ranking is determined as the recommended interpretation information of the target word.

[0061] It is understandable that the above two methods of determining the recommended interpretation information corresponding to the target word through the interpretation model and matching in the interpretation library can be used separately or in combination according to actual needs, without limitation.

[0062] In the above scheme, by providing recommended interpretation information when creating an encyclopedia entry, the user can continue to edit or directly select the interpretation information based on the recommended interpretation information, which effectively improves the efficiency of creating encyclopedia entries. In addition, when determining the recommended interpretation information of the target word, the recommended interpretation information can be determined by using the model and matching in the interpretation library, which ensures the accuracy and reliability of the determination of the recommended interpretation information.

[0063] The processing scheme for encyclopedia entries provided by the embodiments of the present disclosure displays a target content page; highlights a target word in the target content page; displays an entry editing interface in response to a trigger operation on the target word; and creates an encyclopedia entry for the target word based on the entry editing interface. The above technical scheme is adopted, by highlighting a target word that may be an entry on a page, and then displaying an entry editing interface when a trigger operation is detected on the target word. An encyclopedia entry for the target word can be created based on the entry editing interface. By mining and highlighting words that may be entries, a prompt for creating a new entry is added. Under this prompt, the user can quickly learn of the need to create a new entry, and quickly guide the creation of an encyclopedia entry through an interactive interface, so as to achieve the effect of timely creating new entries, improve the efficiency of creating encyclopedia entries, and further improve the efficiency of users in obtaining information.

[0064] In some embodiments, before displaying the entry editing interface, the method for processing encyclopedia entries may further include: matching the target word in the encyclopedia entry library, and determining whether there is a corresponding encyclopedia entry for the target word based on the matching result; wherein, displaying the entry editing interface includes: if the matching result is a matching failure, determining that there is no corresponding encyclopedia entry for the target word, and executing the display of the entry editing interface.

[0065] The encyclopedia entry database may be a pre-created database including a plurality of encyclopedia entries.

[0066] After highlighting the target word in the target content page, the processing device of the encyclopedia entry can detect the user's trigger operation. After detecting the user's trigger operation on a target word, since the target word corresponding to the trigger operation may have a historically created encyclopedia entry, it can be determined whether the target word corresponding to the trigger operation has a corresponding encyclopedia entry. When determining whether the target word has a corresponding encyclopedia entry, the target word can be matched in the encyclopedia entries. If there is an encyclopedia entry with a matching degree greater than the matching degree threshold, the match is successful, and it is determined that the target word has a corresponding encyclopedia entry; if there is no encyclopedia entry with a matching degree greater than the matching degree threshold, the match fails, and it is determined that the target word does not have a corresponding encyclopedia entry. Through matching, it can be quickly determined whether the target word triggered by the user has a corresponding encyclopedia entry, and then it can quickly guide the creation of an encyclopedia entry.

[0067] In some embodiments, after determining whether there is a corresponding encyclopedia entry for the target word according to the matching result, the encyclopedia entry processing method may further include: if the matching result is a successful match, determining that there is a corresponding encyclopedia entry for the target word, and displaying the encyclopedia entry for the target word. That is, if the encyclopedia entry processing device determines that there is an encyclopedia entry with a matching degree greater than a matching degree threshold, the match is successful, and it is determined that there is a corresponding encyclopedia entry for the target word, and the encyclopedia entry can be directly displayed to the user so that the user can understand the content of the current encyclopedia entry.

[0068] In some embodiments, the encyclopedia entry processing method may further include: in response to the target content page having a created word, highlighting the created word, wherein the created word has a corresponding encyclopedia entry. Optionally, the display style of the created word is different from that of the target word.

[0069] The created words may be words for which corresponding encyclopedia entries have been created, and the number of the created words may be one or more, with no specific limitation.

[0070] After displaying the target content page, the encyclopedia entry processing device can highlight the created word if the text content in the target content page includes the created word. Since the target word is also highlighted, the display style of the created word here can be different from that of the target word. The target word is displayed in a first style and the created word is displayed in a second style. The first style is different from the second style. For example, when the first style is highlighted, the second style can be displayed in red font.

[0071] In the above scheme, by highlighting the created words of the existing encyclopedia entries on the page, the user can be reminded of the existence of the encyclopedia entries, so that the user can avoid the created words when creating encyclopedia entries, and view the existing encyclopedia entries when needed, which is more in line with the user's actual application scenarios and improves the guidance creation and display effects of encyclopedia entries.

[0072] In some embodiments, highlighting a target word in a target content page includes: determining an entity word in text content in the target content page; determining a target word in the entity word, and displaying the target word in a display style that is different from other text in the text content.

[0073] Among them, entity words can be words with specific meanings, for example, entity words can include names of people, places, organizations, proper nouns, etc.

[0074] The processing device of the encyclopedia entry can identify the text content in the target content page and determine multiple entity words therein. The specific identification methods may include multiple methods, such as the identification through named entity recognition model, regular expression, high-quality word library, etc. Specifically, the named entity recognition (NER) model is used to identify multiple entity words of predefined entity types in the text content of the target content page, such as product software, organizational structure, technical concept, indicator, etc.; the abbreviations in the text content of the target content page are identified as entity words through regular expression; the text content in the target content page is matched with the pre-built high-quality word library to obtain the corresponding multiple entity words; in addition, by identifying specific areas in the text content of the target content page, these areas are excluded from identification. The feature area can be an area that does not need to be identified, such as a specific area can be an area where a link, a file path, etc. are located, so as to reduce false recall and improve the accuracy of identification. Then, the target word among the multiple entity words is determined, and the target word is displayed in a first style, which is different from the display style of other texts in the text content, and can specifically include multiple styles, such as the first style can be highlighted, bolded, underlined, etc.

[0075] Optionally, determining a target word from among a plurality of entity words may include: extracting feature information of each entity word; filtering the entity words according to the feature information of each entity word to obtain a target word, wherein the number of target words is at least one. Optionally, filtering the entity words according to the feature information of each entity word to obtain a target word includes: inputting the feature information of each entity word into a pre-constructed filtering model for filtering, and determining the filtered entity word as the target word, wherein the filtering model includes at least one of a value filtering model, a high-frequency filtering model, and a rule filtering model.

[0076] Among them, the feature information may include multiple features. In the embodiment of the present disclosure, the feature information includes at least one of a vocabulary feature, a word frequency feature, a composition feature, and a context feature. The vocabulary feature indicates whether the entity word can achieve prefix matching and / or suffix matching in a preset vocabulary. The preset vocabulary may include multiple common words that do not need to be explained. For example, the growth rate is a common word. An entity word is prefix matched and / or suffix matched with each common word in the preset vocabulary. The matching result is determined as the vocabulary feature of the entity word. The matching result may be able to achieve prefix matching and / or suffix matching, and may not achieve prefix matching and / or suffix matching. The word frequency feature indicates the word frequency of the entity word and / or the number of associated information of the entity word. The associated information of the entity word may include associated users, associated documents, associated pictures, associated communication groups, etc. The composition feature may refer to the internal structural features of an entity word, for example, it may include length, morphology, character components, etc. The context feature may be a context-related feature obtained by analyzing the context information of an entity word in the text, for example, it may include language, context length, and whether it is in a specific area, etc. The specific area may be an area that does not need to be identified.

[0077] The filtering model may be a pre-set model for filtering multiple entity words, for example, the filtering model may be a deep learning model. The filtering model may include at least one of a value filtering model, a high-frequency filtering model, and a rule filtering model. The value filtering model may determine the value score of each entity word based on its feature information, and filter entity words with a value score lower than a preset score; the high-frequency filtering model may filter high-frequency irrelevant words in each entity word to avoid interference; the rule filtering model may filter multiple entity words according to preset rules, and the preset rules support dynamic updates.

[0078] When determining a target word among multiple entity words, the processing device of the encyclopedia entry can first extract feature information of each entity word through a feature extraction model, and then input the feature information of each entity word into a filtering model for filtering to obtain at least one filtered entity word, and determine the at least one filtered entity word as the target word.

[0079] In the above scheme, by mining the text content in the target content page, entity words with certain value can be extracted as target words that may need to create encyclopedia entries. The detection process can mine words with high accuracy and usability through the combination of various algorithm models.

[0080] For example, Figure 6 A flowchart of another method for processing encyclopedia entries provided by an embodiment of the present disclosure is shown as follows: Figure 6As shown in the figure, the processing process of the encyclopedia entry is shown, which may specifically include: the target word is highlighted, and the entry creation interface is displayed after clicking, and the highlight disappears if it is ignored; the entry creation interface is edited and submitted after completion. If it is exempted from review, the encyclopedia entry of the target word is obtained and the creation is completed; if it is not exempted from review, a draft entry of the target word is obtained.

[0081] In this solution, when the target content page with document content is displayed, at least one target word can be mined in real time, and at least one target word can be highlighted to increase the prompt for creating an entry. After the target word is triggered, the entry editing interface that guides the creation can be displayed. If the creation of the entry has been submitted in the past but has not been successfully created, the draft entry is displayed; if the entry has been successfully created, only the encyclopedia entry after the successful creation is displayed; if the user clicks Ignore, the user will no longer be prompted to create, that is, the target word will no longer be highlighted; if the creation and error correction of the encyclopedia entry conflict, only the error correction process will be carried out; for the entry editing interface, the target word can be filled into the entry name, support modification, support adding aliases, full names or abbreviations, support adding interpretation information and resource information, and the entry editing interface can display recommended interpretation information and support one-click clearing; edit the entry creation interface, and submit it after completion to realize the creation of the encyclopedia entry; by clicking the Ignore control, the user will no longer be guided to create the encyclopedia entry for the target word.

[0082] This solution uses algorithms to mine words that may be created as entries, guide their creation, level out information differences, and provide entry creation prompts and creation guidance in various scenarios of document content, so as to achieve the effect of timely creation of new entries, improve the efficiency of encyclopedia entry creation, increase the number of encyclopedia entries, and thus improve the efficiency of users in obtaining information and promote communication efficiency.

[0083] Figure 7 This is a schematic diagram of the structure of a device for processing encyclopedia entries provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 7 As shown, the device comprises:

[0084] The first display module 701 is used to display the target content page;

[0085] The second display module 702 is used to highlight the target word in the target content page;

[0086] The creation module 703 is used to display an entry editing interface in response to a trigger operation on the target word, and create an encyclopedia entry of the target word based on the entry editing interface.

[0087] Optionally, the second display module 702 includes:

[0088] An extraction unit, used to determine entity words in the text content of the target content page;

[0089] The screening and displaying unit is used to determine the target word in the entity words, and display the target word in a display style different from other texts in the text content.

[0090] Optionally, the filter display unit is used to:

[0091] Extracting feature information of each entity word;

[0092] The entity words are filtered according to feature information of each of the entity words to obtain the target words, wherein the number of the target words is at least one.

[0093] Optionally, the feature information includes at least one of a vocabulary feature, a word frequency feature, a composition feature, and a context feature;

[0094] The vocabulary feature indicates whether the entity word can achieve prefix matching and / or suffix matching in a preset vocabulary, and the word frequency feature indicates the word frequency of the entity word and / or the amount of associated information of the entity word.

[0095] Optionally, the filter display unit is used to:

[0096] The feature information of each entity word is input into a pre-built filtering model for filtering, and the filtered entity word is determined as the target word.

[0097] Optionally, the filtering model includes at least one of a value filtering model, a high-frequency filtering model and a rule filtering model.

[0098] Optionally, the device further includes a judgment module, configured to:

[0099] Before displaying the entry editing interface, the target word is matched in the encyclopedia entry library, and it is determined whether the target word has a corresponding encyclopedia entry according to the matching result;

[0100] Wherein, the creation module 703 is used for:

[0101] If the matching result is a match failure, it is determined that there is no corresponding encyclopedia entry for the target word, and the display entry editing interface is executed.

[0102] Optionally, the device further includes a term display module, which is used to:

[0103] After determining whether the target word has a corresponding encyclopedia entry according to the matching result, if the matching result is a successful match, it is determined that the target word has a corresponding encyclopedia entry, and the encyclopedia entry of the target word is displayed.

[0104] Optionally, the creation module 703 includes a first display unit, which is used to:

[0105] If there is a corresponding draft entry for the target word, the draft entry is displayed in the entry editing interface.

[0106] Optionally, the creation module 703 includes a first editing unit, which is used to:

[0107] In response to an editing operation on the draft entry in the entry editing interface, an encyclopedia entry for the target word is created.

[0108] Optionally, the creation module 703 includes a second display unit, which is used to:

[0109] Determine the recommended interpretation information corresponding to the target word, and display the recommended interpretation information corresponding to the target word in the entry editing interface.

[0110] Optionally, the second display unit includes a first determining subunit, configured to:

[0111] Inputting the target word and context information associated with the target word into a pre-built interpretation model, and extracting the subject and interpretation in the context information;

[0112] If the subject matches the target word, recommended interpretation information corresponding to the target word is generated based on the interpretation corresponding to the subject.

[0113] Optionally, the second display unit includes a second determination subunit, configured to:

[0114] The target word and the target text paragraph where the target word is located are matched in the interpretation library in terms of text similarity, and the interpretation with the greatest text similarity is used as the recommended interpretation information corresponding to the target word.

[0115] Optionally, the creation module 703 includes a second editing unit, which is used to:

[0116] In response to editing operations on the editing controls of the entry editing interface and the recommended interpretation information of the target word, an encyclopedia entry of the target word is created.

[0117] Optionally, the device further includes a third display module, configured to:

[0118] In response to the existence of a created word on the target content page, the created word is highlighted, wherein the created word has a corresponding encyclopedia entry.

[0119] Optionally, the display style of the created word is different from that of the target word.

[0120] Optionally, the encyclopedia entry includes at least one of name information, definition information and resource information.

[0121] Optionally, the target content page includes text content in an instant messaging session or text content in a cloud document.

[0122] The encyclopedia entry processing device provided in the embodiments of the present disclosure can execute the encyclopedia entry processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0123] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for processing encyclopedia entries provided by any embodiment of the present disclosure.

[0124] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 8 , which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiment of the present disclosure. The electronic device 800 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0125] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0126] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0127] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the processing method of the encyclopedia entry of the embodiment of the present disclosure are executed.

[0128] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0129] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0130] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0131] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a target content page; highlights a target word in the target content page; displays an entry editing interface in response to a trigger operation on the target word, and creates an encyclopedia entry for the target word based on the entry editing interface.

[0132] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0133] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0134] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0135] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0136] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0137] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0138] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0139] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0140] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for processing encyclopedia entries, characterized in that: include: Display the target content page; highlighting a target word in the target content page; In response to a triggering operation on the target word, an entry editing interface is displayed, and an encyclopedia entry for the target word is created based on the entry editing interface.

2. The method according to claim 1, characterized in that The highlighting of the target word in the target content page includes: Determining entity words in the text content of the target content page; A target word in the entity words is determined, and the target word is displayed in a display style that is different from other texts in the text content.

3. The method according to claim 2, characterized in that Determining a target word in the entity word includes: Extracting feature information of each entity word; The entity words are filtered according to feature information of each of the entity words to obtain the target words, wherein the number of the target words is at least one.

4. The method according to claim 3, characterized in that The feature information includes at least one of a vocabulary feature, a word frequency feature, a composition feature, and a context feature; The vocabulary feature indicates whether the entity word can achieve prefix matching and / or suffix matching in a preset vocabulary, and the word frequency feature indicates the word frequency of the entity word and / or the amount of associated information of the entity word.

5. The method according to claim 3, characterized in that: Filtering the entity words according to the feature information of each entity word to obtain the target word includes: The feature information of each entity word is input into a pre-built filtering model for filtering, and the filtered entity word is determined as the target word.

6. The method according to claim 5, characterized in that The filtering model includes at least one of a value filtering model, a high-frequency filtering model and a rule filtering model.

7. The method according to claim 1, characterized in that Before displaying the entry editing interface, the method further includes: Matching the target word in an encyclopedia entry database, and determining whether there is a corresponding encyclopedia entry for the target word based on the matching result; Among them, the entry editing interface is displayed, including: If the matching result is a match failure, it is determined that there is no corresponding encyclopedia entry for the target word, and the display entry editing interface is executed.

8. The method according to claim 7, characterized in that After determining whether the target word has a corresponding encyclopedia entry according to the matching result, the method further includes: If the matching result is a successful match, it is determined that there is a corresponding encyclopedia entry for the target word, and the encyclopedia entry for the target word is displayed.

9. The method according to claim 1, characterized in that: The display entry editing interface includes: If there is a corresponding draft entry for the target word, the draft entry is displayed in the entry editing interface.

10. The method according to claim 9, characterized in that Creating an encyclopedia entry for the target word based on the entry editing interface includes: In response to an editing operation on the draft entry in the entry editing interface, an encyclopedia entry for the target word is created.

11. The method according to claim 1, characterized in that The display entry editing interface includes: Determine the recommended interpretation information corresponding to the target word, and display the recommended interpretation information corresponding to the target word in the entry editing interface.

12. The method according to claim 11, characterized in that Determining the recommended interpretation information corresponding to the target word includes: Inputting the target word and context information associated with the target word into a pre-built interpretation model, and extracting the subject and interpretation in the context information; If the subject matches the target word, recommended interpretation information corresponding to the target word is generated based on the interpretation corresponding to the subject.

13. The method according to claim 11, characterized in that Determining the recommended interpretation information corresponding to the target word includes: The target word and the target text paragraph where the target word is located are matched in the interpretation library in terms of text similarity, and the interpretation with the greatest text similarity is used as the recommended interpretation information corresponding to the target word.

14. The method according to claim 11, characterized in that Creating an encyclopedia entry for the target word based on the entry editing interface includes: In response to editing operations on the editing controls of the entry editing interface and the recommended interpretation information of the target word, an encyclopedia entry of the target word is created.

15. The method according to claim 1, characterized in that The method further comprises: In response to the existence of a created word on the target content page, the created word is highlighted, wherein the created word has a corresponding encyclopedia entry.

16. The method according to claim 15, characterized in that The display style of the created word is different from that of the target word.

17. The method according to any one of claims 1 to 16, characterized in that: The encyclopedia entry includes at least one of name information, definition information and resource information.

18. The method according to claim 1, characterized in that The target content page includes text content in an instant messaging session or text content in a cloud document.

19. A device for processing encyclopedia entries, characterized in that: include: A first display module, used to display a target content page; A second display module, used for highlighting the target word in the target content page; A creation module is used to display an entry editing interface in response to a trigger operation on the target word, and to create an encyclopedia entry for the target word based on the entry editing interface.

20. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the encyclopedia entry processing method described in any one of claims 1-18.

21. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method for processing encyclopedia entries described in any one of claims 1-18.