Encyclopedia entry processing method, device, electronic device, medium and program product
By displaying multiple interpretation information in the encyclopedia entry processing method and allowing the user to highlight the target interpretation, the problem of determining the interpretation of the encyclopedia entry in the case of multiple meanings is solved, and the information acquisition efficiency and user experience are improved.
Patent Information
- Application Number
- CN202210645517.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-06-08
AI Technical Summary
When existing encyclopedia entries have multiple definitions, it is difficult for users to determine their specific meaning in a specific context, resulting in low efficiency in information acquisition.
Provides an encyclopedia entry processing method that displays multiple interpretation information in response to the user's interpretation display operation, and allows users with editing permissions to highlight the target interpretation information, such as pinning or highlighting, and determines the final interpretation based on user priority. information.
It improves the efficiency of users in understanding the specific meaning of encyclopedia entries when reading them, and improves the reading experience and the accuracy of information acquisition.
Smart Images

Figure CN115062589B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an encyclopedia entry processing method, device, electronic device, medium and program product. Background Art
[0002] Currently, there are a large number of encyclopedia entries with multiple definitions. If an encyclopedia entry with multiple definitions exists in the content edited by a user, other users may find it difficult to determine the specific definition of the encyclopedia entry in a specific context, resulting in low efficiency in users obtaining information. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides an encyclopedia entry processing method, device, electronic device, medium and program product.
[0004] According to a first aspect of the present application, a method for processing encyclopedia entries is provided, comprising:
[0005] In response to a definition display operation for an encyclopedia entry having multiple definitions, displaying multiple definition information of the encyclopedia entry;
[0006] In response to a highlighting operation on target paraphrase information among the plurality of paraphrase information, the target paraphrase information is highlighted.
[0007] Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other text in the text content.
[0008] Optionally, the method further includes:
[0009] In response to the user who triggers the definition display operation having the editing authority for the text content, a highlight control is presented, wherein the highlight control is used to trigger highlighting of one of the definition information of the encyclopedia entry.
[0010] Optionally, there are multiple users who have editing authority for the text content;
[0011] In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises:
[0012] In response to highlighting operations of different interpretation information among the multiple interpretation information by multiple users who have editing authority over the text content, final interpretation information is determined according to the priorities of the multiple users who have editing authority over the text content, and the determined final interpretation information is highlighted as the target interpretation information.
[0013] Optionally, the text content includes the encyclopedia entry displayed at a first position of the text content and the encyclopedia entry displayed at a second position of the text content;
[0014] In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises:
[0015] In response to a highlighting operation on a first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at a first position, highlighting the first target interpretation information;
[0016] In response to a highlighting operation on second target interpretation information among the plurality of interpretation information of the encyclopedia entry located at a second position, the second target interpretation information is highlighted.
[0017] Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document.
[0018] Optionally, in response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises:
[0019] In response to an operation of placing the target interpretation information on top among the plurality of interpretation information, the target interpretation information is placed on top and displayed among the plurality of interpretation information.
[0020] Optionally, in response to the operation of placing the target interpretation information at the top among the plurality of interpretation information, placing the target interpretation information at the top among the plurality of interpretation information for display includes:
[0021] In response to a first operation on the target interpretation information, displaying a top control;
[0022] In response to a triggering operation on the top control, the target interpretation information is displayed on the top of the multiple interpretation information.
[0023] Optionally, the method further includes:
[0024] In response to a second operation on the target interpretation information, specific content of the target interpretation information is displayed.
[0025] Optionally, the method further includes:
[0026] In response to a third operation on the target interpretation information, content related to the target interpretation information is displayed.
[0027] Optionally, in response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises:
[0028] Display the target interpretation information and hide other interpretation information in the plurality of interpretation information; and / or,
[0029] The target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, displaying the target interpretation information in underline, displaying the target interpretation information in italics, and displaying the target interpretation information in highlight.
[0030] Optionally, the method further includes:
[0031] In response to a highlighting operation on the target interpretation information, a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information is established;
[0032] If the encyclopedia entry is also included in other locations of the text content, in response to an operation of displaying the definition of the encyclopedia entry in other locations, multiple definition information of the encyclopedia entry in other locations is displayed according to the mapping relationship.
[0033] Optionally, displaying multiple interpretation information of the encyclopedia entry at other locations according to the mapping relationship includes:
[0034] According to the mapping relationship, highlight the target interpretation information among the multiple interpretation information of the encyclopedia entry at other locations; or,
[0035] Determining a display order of the plurality of interpretation information according to the mapping relationship, context information of the encyclopedia entry at other locations, and interaction information of the plurality of interpretation information;
[0036] The plurality of interpretation information are displayed in the display order.
[0037] According to a second aspect of the present application, there is provided an encyclopedia entry processing device, comprising:
[0038] A definition information display module, for displaying a plurality of definition information of an encyclopedia entry in response to a definition display operation on the encyclopedia entry having a plurality of definitions;
[0039] The highlighting module is used for highlighting the target interpretation information in response to a highlighting operation on the target interpretation information among the plurality of interpretation information.
[0040] Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other text in the text content.
[0041] Optionally, the encyclopedia entry processing device further includes:
[0042] A highlight control display module is used to present a highlight control in response to the user who triggers the interpretation display operation having editing authority over the text content, wherein the highlight control is used to trigger highlighting of one of the interpretation information of the encyclopedia entry.
[0043] Optionally, there are multiple users who have editing authority for the text content;
[0044] The highlighting module is specifically used to respond to highlighting operations on different interpretation information among the multiple interpretation information by multiple users who have editing authority over the text content, determine the final interpretation information according to the priority of the multiple users who have editing authority over the text content, and highlight the determined final interpretation information as the target interpretation information.
[0045] Optionally, the text content includes the encyclopedia entry displayed at a first position of the text content and the encyclopedia entry displayed at a second position of the text content;
[0046] The highlighting module is specifically configured to highlight the first target interpretation information in response to a highlighting operation on the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position, and to highlight the first target interpretation information; and
[0047] In response to a highlighting operation on second target interpretation information among the plurality of interpretation information of the encyclopedia entry located at a second position, the second target interpretation information is highlighted.
[0048] Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document.
[0049] Optionally, the highlighting module is specifically configured to, in response to an operation of placing a target interpretation information at the top among the plurality of interpretation information, display the target interpretation information at the top among the plurality of interpretation information.
[0050] Optionally, the highlighting module is specifically configured to display a top control in response to a first operation on the target interpretation information; and to display the target interpretation information at the top of the multiple interpretation information in response to a triggering operation on the top control.
[0051] Optionally, the encyclopedia entry processing device further includes:
[0052] The specific content display module is used to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.
[0053] Optionally, the encyclopedia entry processing device further includes:
[0054] The related content display module is used to display content related to the target interpretation information in response to a third operation on the target interpretation information.
[0055] Optionally, the highlighting module is specifically used to display the target interpretation information and hide other interpretation information in the multiple interpretation information; and / or,
[0056] The target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, displaying the target interpretation information in underline, displaying the target interpretation information in italics, and displaying the target interpretation information in highlight.
[0057] Optionally, the encyclopedia entry processing device further includes:
[0058] A mapping relationship establishing module, for establishing a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information in response to a highlighting operation on the target interpretation information;
[0059] The interpretation information display module is also used to display multiple interpretation information of the encyclopedia entry at other locations according to the mapping relationship in response to the interpretation display operation of the encyclopedia entry at other locations if the encyclopedia entry is also included at other locations of the text content.
[0060] Optionally, the interpretation information display module is also used for, if the encyclopedia entry is also included in other locations of the text content, in response to the interpretation display operation of the encyclopedia entry in other locations, highlighting the target interpretation information among multiple interpretation information of the encyclopedia entry in other locations according to the mapping relationship; or, determining the display order of the multiple interpretation information according to the mapping relationship, context information of the encyclopedia entry in other locations and interaction information of the multiple interpretation information; and displaying the multiple interpretation information according to the display order.
[0061] According to a third aspect of the present application, an electronic device is provided, comprising: a processor, the processor being configured to execute a computer program stored in a memory, the computer program implementing the encyclopedia entry processing method described in the first aspect when executed by the processor.
[0062] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the encyclopedia entry processing method described in the first aspect is implemented.
[0063] According to a fifth aspect of the present application, a computer program product is provided. When the computer program product is run on a computer, the computer is caused to execute the encyclopedia entry processing method described in the first aspect.
[0064] Compared with the prior art, the technical solution provided by the embodiments of the present application has the following advantages:
[0065] When the content edited or read by the user contains an encyclopedia entry with multiple definitions (i.e., a polysemous word), the user can perform a definition display operation on the encyclopedia entry, such as a hover operation, a single-click operation, etc. In response to the definition display operation, the server can display multiple definition information of the encyclopedia entry. Since the definitions of an encyclopedia entry with multiple definitions may be different in different contexts, a user with editing authority can perform a highlighting operation on target definition information among the multiple definition information, such as a single-click operation, to highlight the target definition information, such as pinning the target definition information to the top, highlighting the target definition information, etc. In this way, when the user reads the encyclopedia entry, the user can quickly understand the specific meaning of the encyclopedia entry in the current context, improve the efficiency of the reader in obtaining the correct definition information of the encyclopedia entry, and improve the user's reading experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0067] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0068] Figure 1 A schematic diagram showing a system architecture of an exemplary application environment of the encyclopedia entry processing method that can be applied to an embodiment of the present application;
[0069] Figure 2 A flow chart of the encyclopedia entry processing method in the embodiment of the present application;
[0070] Figure 3 A schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application;
[0071] Figure 4 A schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application;
[0072] Figure 5 A schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application;
[0073] Figure 6 A schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application;
[0074] Figure 7 A flow chart of the encyclopedia entry processing method in the embodiment of the present application;
[0075] Figure 8 A schematic diagram of the structure of an encyclopedia entry processing device in an embodiment of the present application;
[0076] Fig. 9 A schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0078] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0079] Figure 1 A schematic diagram of the system architecture of an exemplary application environment that can be applied to the encyclopedia entry processing method of the embodiment of the present application is shown.
[0080] like Figure 1 As shown, the system architecture 100 may include one or more of the terminal devices 101, 102, and 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, and 103 include but are not limited to desktop computers, portable computers, smart phones, and tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.
[0081] The encyclopedia entry processing method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the encyclopedia entry processing device can be set in the server 105. For example, a user can read the content in the server 105 through the terminal device 101, the terminal device 102, and the terminal device 103. The content edited by the user can contain an encyclopedia entry with multiple interpretations. For example, the encyclopedia entry is PM, and the interpretation of PM can include: project management, performance management, power management, product manager, and time format (afternoon). The user can display the above multiple interpretation information by performing an interpretation display operation on PM, and the above multiple interpretation information can be arranged according to a preset recommendation algorithm. Assuming that the meaning of PM in the content edited by the user is performance management, the user can choose to highlight performance management. In this way, the user who reads the content can quickly understand the meaning of PM, thereby helping the user to better understand the content.
[0082] See also Figure 2 , Figure 2 A flowchart of the encyclopedia entry processing method in the embodiment of the present application may include the following steps:
[0083] Step S210, in response to a definition display operation for an encyclopedia entry having multiple definitions, display multiple definition information of the encyclopedia entry.
[0084] An encyclopedia entry has multiple interpretations, which means that the encyclopedia entry contains multiple different meanings. For example, the encyclopedia entry "apple" can mean a kind of fruit, a brand, or a movie. Encyclopedia entries are usually included in text content, especially for professional and technical terms, corresponding abbreviations are usually used. In some embodiments, the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content. For example, other texts are displayed in black font, and the encyclopedia entry of the text content can be displayed in bold black font, underlined in black font, or in red font, etc. In this way, users who read the text content can easily distinguish between encyclopedia entries and non-encyclopedia entries in the text content, and view the interpretation information of the encyclopedia entry, etc.
[0085] For example, the encyclopedia entry PM can refer to project management or product manager, etc. In different contexts, the corresponding interpretation of the encyclopedia entry PM is usually different. Although the editor of the content knows the meaning of PM in the context, the user who reads the content, that is, the consumer of the content, may not know the exact meaning of PM in the context. For the reader, it is necessary to browse multiple interpretations of the encyclopedia entry PM and select the appropriate interpretation according to his own judgment. In this way, in order to obtain the correct interpretation in the context, the reader needs more time, and the interpretation finally determined by the reader may not be the same as the original intention of the content editor.
[0086] For an encyclopedia entry with multiple definitions, a user (e.g., a content creator, content editor, and reader of the text content in which the encyclopedia entry is located) can perform a definition display operation on the encyclopedia entry, such as a hover operation (hovering the mouse pointer over the encyclopedia entry), a click operation, and the like. In response to the definition display operation, the server can display multiple definition information of the encyclopedia entry. Multiple definition information can be arranged in a preset order, for example, they can be sorted according to the phonetic sequence of the first characters of the multiple definition information, and displayed according to the sorting result. Alternatively, multiple definition information can also be sorted according to context information, the number of views of each definition information by a user group, the number of likes of each definition information by a user group, and the likes of each definition information by a user group, and the likes of the user group, and the likes can be displayed according to the sorting result.
[0087] In addition, if the number of multiple interpretation information is less than or equal to a preset number (e.g., 5), the multiple interpretation information can be directly displayed. If the number of multiple interpretation information is greater than the preset number, the preset number of interpretation information can be displayed in the interface, and the remaining other interpretation information can be folded. When the user clicks the expand button, the remaining other interpretation information can be expanded.
[0088] See also Figure 3 , Figure 3 This is a schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application. It can be seen that the content created by the content creator includes encyclopedia entry A, and encyclopedia entry A is displayed in an underlined manner to distinguish it from other content. The encyclopedia entry A has multiple definitions. When the definition display operation is performed on the encyclopedia entry A, the 5 definition information corresponding to the encyclopedia entry A is displayed in a new interface.
[0089] Step S220 , in response to the highlighting operation on the target interpretation information among the plurality of interpretation information, highlighting the target interpretation information.
[0090] Generally speaking, an encyclopedia entry with multiple definitions corresponds to one definition in a specific context. Therefore, if the content created / edited by the content creator or editor contains an encyclopedia entry with multiple definitions, he / she usually knows the definition information corresponding to the encyclopedia entry in the content, that is, the target definition information. Therefore, when creating / editing the content, he / she can directly select the target definition information and perform a highlighting operation on the target definition information, such as a single click operation, a sliding operation, etc., to highlight the target definition information.
[0091] Alternatively, when the creator creates the content, he does not perform the highlighting operation on the target interpretation information. When the content consumer reads the content, if he knows the interpretation information corresponding to the encyclopedia entry in the content and has the editing authority (can read and write), he can also perform the highlighting operation on the target interpretation information to highlight the target interpretation information. For consumers who do not have the editing authority, the highlighting operation cannot be performed on the target interpretation information.
[0092] Optionally, in response to the user who triggers the definition display operation having the editing authority for the text content, a highlight control is presented, wherein the highlight control is used to trigger the highlighting of one of the definition information of the encyclopedia entry. That is, when the user who has the editing authority for the text content performs the definition display operation, the highlight control may be presented, and the user may highlight any definition information of the encyclopedia entry through the highlight control. The highlight control may be, for example, a highlight control, a bold control, etc.
[0093] In some embodiments, there are multiple users with editing permissions for the text content. In response to highlighting operations of different interpretation information among multiple interpretation information by multiple users with editing permissions for the text content, final interpretation information can be determined according to the priorities of the multiple users with editing permissions for the text content, and the determined final interpretation information can be highlighted as target interpretation information.
[0094] In one scenario, for multiple users who have editing authority over text content, the later the highlighting operation is performed, the higher the corresponding priority can be. That is, for the same encyclopedia entry, the number of highlighting operations performed can be multiple times, and the target interpretation information corresponding to the multiple highlighting operations can be different. In this way, after each highlighting operation is performed, the corresponding interpretation information will be highlighted, and the interpretation information highlighted for the last time will prevail. For example, based on his understanding of the context, content consumer A believes that the target interpretation information corresponding to encyclopedia entry 1 in the content is interpretation information 1, and performs a highlighting operation on interpretation information 1, while the target interpretation information corresponding to encyclopedia entry 1 is actually interpretation information 2. In order to avoid misleading other consumers, content consumer B can re-perform the highlighting operation on encyclopedia entry 1, for example, perform a highlighting operation on interpretation information 2, so as to highlight the correct interpretation information.
[0095] In another scenario, the user's editing authority can be further determined based on the priorities of multiple users with editing authority. For example, different priorities can be set in advance for the creator and consumer of the text content, the creator of the text content has the highest priority, and the consumer of the text content can correspond to one or more different priorities. If the creator of the text content performs a highlighting operation on a certain target interpretation information, then the consumer of the text content will not be able to highlight other interpretation information. Conversely, if the consumer of the text content performs a highlighting operation on a certain target interpretation information, the creator of the text content can highlight other interpretation information.
[0096] Similarly, if the priority of text content consumer 1 is higher than that of text content consumer 2, and text content consumer 1 performs a highlighting operation on a certain target interpretation information, text content consumer 2 will not be able to highlight other interpretation information; conversely, if text content consumer 2 performs a highlighting operation on a certain target interpretation information, text content consumer 1 can highlight other interpretation information. In this way, it is possible to prevent users with lower permissions from arbitrarily modifying the target interpretation information.
[0097] After the encyclopedia entry is highlighted, a cancel highlighting operation may be performed, and the display mode of the plurality of interpretation information may be restored to the display mode in step S210.
[0098] In some embodiments, in response to a pinning operation on target paraphrase information among multiple paraphrase information, the target paraphrase information is pinned and displayed at the top of the multiple paraphrase information. In this way, consumers of the content can see the target paraphrase information first, so as to understand the content more quickly. At the same time, they can also browse other paraphrase information freely without affecting the order of the paraphrase information seen by other consumers.
[0099] The top operation may be, for example, a single click operation, a sliding operation, etc., wherein the sliding operation may be, for example, an upward sliding operation, etc. The top operation may be one of the above operations, or may include two or more operations. Optionally, in response to a first operation on the target interpretation information, such as a hover operation, a single click operation, etc., a top control is displayed; in response to a trigger operation on the top control, the target interpretation information is displayed on top of the multiple interpretation information.
[0100] See also Figure 4 , Figure 4 Schematic diagram of an interface of the encyclopedia entry processing method in the embodiment of the present application. Assume that after performing a hover operation on interpretation information 2 (i.e., target interpretation information), a top control appears behind interpretation information 2. After performing a trigger operation on the top control, such as Figure 5 As shown, interpretation information 2 is placed at the top, and consumers can see interpretation information 2 first.
[0101] In some embodiments, in response to a second operation on the target interpretation information, such as a double-click operation, the specific content of the target interpretation information may be displayed, that is, the target interpretation information may be introduced in more detail.
[0102] For example, the encyclopedia entry is PM, and the target interpretation information is project management. Then, the specific content of the project interpretation information can be a detailed explanation of project management. For example, project management is a branch of management. The definition of project management is: It refers to the process of using specialized knowledge, skills, tools and methods in project activities to enable projects to achieve or exceed the set requirements and expectations under limited resource constraints...
[0103] In some embodiments, in response to a third operation on the target interpretation information, such as a single-click operation, the content related to the target interpretation information is displayed. The content related to the target interpretation information may include: a link address related to the target interpretation information, a cloud document related to the target interpretation information, and the like.
[0104] In the embodiment of the present application, the first operation and the third operation may be the same, that is, when the first operation or the third operation is executed, the top control and the content related to the target interpretation information may be displayed at the same time. Figure 6As shown, when the hover operation is performed on the interpretation information 2, the top control and three documents related to the interpretation information are displayed at the same time. Alternatively, when the top operation is one operation, the third operation can also be the same as the top operation, for example, both are single-click operations, then, while the target interpretation information is topped, the cloud documents related to the target interpretation information can be displayed.
[0105] In some scenarios, the same text content includes at least two identical encyclopedia entries, and the encyclopedia entry has multiple definitions. In this case, the definition display operation can be performed on the at least two encyclopedia entries respectively, and the highlighting operation can be performed on the target definition information corresponding to the at least two encyclopedia entries respectively, wherein the target definition information corresponding to the at least two encyclopedia entries can be different.
[0106] Optionally, the text content includes the encyclopedia entry displayed at a first position of the text content and the encyclopedia entry displayed at a second position of the text content, and in response to a highlighting operation on a first target interpretation information among a plurality of interpretation information of the encyclopedia entry located at the first position, the first target interpretation information is highlighted. And in response to a highlighting operation on a second target interpretation information among a plurality of interpretation information of the encyclopedia entry located at the second position, the second target interpretation information is highlighted. The first position and the second position may be located in the same paragraph or in different paragraphs.
[0107] For example, the first paragraph and the second paragraph of the text content both contain an encyclopedia entry 1 with multiple interpretations. After the interpretation information A is placed at the top of the encyclopedia entry 1 in the first paragraph, the interpretation information B can also be placed at the top of the encyclopedia entry 1 in the second paragraph. Accordingly, the interpretation information A can be displayed preferentially in the first paragraph, and the interpretation information B can be displayed preferentially in the second paragraph.
[0108] Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document. That is, when a user is chatting with other users, if an encyclopedia entry with multiple definitions appears, the encyclopedia entry can also be highlighted. Alternatively, when a user is browsing a cloud document, if an encyclopedia entry with multiple definitions appears in the cloud document, the encyclopedia entry can also be highlighted.
[0109] In some embodiments, in response to the highlighting operation of the target interpretation information among the multiple interpretation information, the target interpretation information can also be displayed, and the other interpretation information among the multiple interpretation information can be hidden, that is, only the target interpretation information is displayed to avoid interference to the user by other interpretation information. And / or, the target interpretation information is displayed in one or more of the following ways: the target interpretation information is displayed in bold, the target interpretation information is displayed in underline, the target interpretation information is displayed in italics, and the target interpretation information is displayed in highlight. Of course, the number of multiple interpretation information is different, and the way of highlighting the target interpretation information can also be different. If the number of interpretation information is large, for example, greater than 5, the user can see the target interpretation information first by displaying it at the top; if the number of interpretation information is small, the target interpretation information can be directly displayed in bold, or the target interpretation information can be highlighted, etc.
[0110] In the encyclopedia entry processing method of the embodiment of the present application, when the content edited or read by the user contains an encyclopedia entry with multiple definitions (i.e., a polysemous word), the user with editing authority can perform a highlighting operation on the target definition information among the multiple definitions, such as a single-click operation, to highlight the target definition information. For example, the target definition information can be displayed on top, highlighted, etc. In this way, when the user reads the encyclopedia entry, the user can be quickly helped to understand the specific meaning of the encyclopedia entry, thereby improving the efficiency of the user in obtaining the correct definition information of the encyclopedia entry and improving the user's reading experience.
[0111] See also Figure 7 , Figure 7 A flowchart of the encyclopedia entry processing method in the embodiment of the present application may include the following steps:
[0112] Step S710, in response to a definition display operation for an encyclopedia entry having multiple definitions, display multiple definition information of the encyclopedia entry.
[0113] Step S720, in response to the highlighting operation on the target interpretation information among the plurality of interpretation information, the target interpretation information is highlighted, and a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information is established.
[0114] In the embodiment of the present application, the same text content may contain multiple identical encyclopedia entries, and the encyclopedia entry has multiple interpretations. When a highlighting operation is performed on target interpretation information to highlight the target interpretation information, a mapping relationship between the encyclopedia entry and the text content where the encyclopedia entry is located, and the target interpretation information can also be established. In this way, based on the mapping relationship, the display mode of the interpretation information of other encyclopedia entries that have not been highlighted can be determined.
[0115] Each text content may have corresponding ID information, for example, each cloud document and / or paragraph in a cloud document has a document ID / paragraph ID, and each instant messaging session and / or message in a session has a session ID / message ID. Multiple interpretation information corresponding to an encyclopedia entry also has different ID information, and a mapping relationship between the encyclopedia entry, text content ID information, and target interpretation information can be established.
[0116] It should be noted that if the same text content includes multiple paragraphs, and multiple paragraphs include the encyclopedia entry, a mapping relationship between the encyclopedia entry and the text content where the encyclopedia entry is located, the paragraph where the encyclopedia entry is located, and the target interpretation information can also be established.
[0117] Step S730, if the encyclopedia entry is also included in other locations of the text content, in response to the interpretation display operation of the encyclopedia entry in other locations, multiple interpretation information of the encyclopedia entry in other locations is displayed according to the mapping relationship.
[0118] Normally, multiple identical encyclopedia entries in the same text content correspond to the same interpretation. In some embodiments, the target interpretation information in the multiple interpretation information of the encyclopedia entry in other locations can be directly highlighted according to the established mapping relationship. For example, if the interpretation information 1 of an encyclopedia entry 2 in paragraph 3 is highlighted in the text content, then for the other encyclopedia entries 2 in the text content except the encyclopedia entry 2 in paragraph 3, when the interpretation display operation is performed on the other encyclopedia entries 2, the interpretation information 1 can be directly highlighted.
[0119] Alternatively, the display order of multiple interpretation information may be determined based on the established mapping relationship, the context information of the encyclopedia entry at other locations, and the interactive information of multiple interpretation information, and the multiple interpretation information may be displayed in the display order. For example, a higher weight may be assigned to the target interpretation information based on the mapping relationship, and a lower weight may be assigned to the remaining other interpretation information. A weight may be assigned to each interpretation information based on the context information of the encyclopedia entry at other locations, and a weight may be assigned to each interpretation information based on the interactive information of each interpretation information. Among them, the interactive information of a single interpretation information may be, for example, the number of views and the number of likes for the interpretation information by a certain user group. For example, different weights may be set for the number of views and the number of likes to obtain weighted values of the number of views and the number of likes. The higher the weight, the higher the weight, the higher the weight assigned to the interpretation information.
[0120] For a single interpretation information, the final weight of the interpretation information can be determined based on the weight determined by the mapping relationship, the weight determined by the context information of the encyclopedia entry in other locations, and the weight determined by the interactive information. According to the final weights corresponding to the multiple interpretation information, the display order of the multiple interpretation information is determined, and the higher the weight, the higher the display.
[0121] The encyclopedia entry processing method of the embodiment of the present application can establish a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information when performing a highlighting operation on the target interpretation information in the multiple interpretation information of the encyclopedia entry. In this way, when other encyclopedia entries are also included in the same text content, the display mode of multiple interpretation information of other encyclopedia entries can be determined according to the mapping relationship. For example, the target interpretation information of other encyclopedia entries can also be directly highlighted. Alternatively, according to the mapping relationship, a higher weight is assigned to the target interpretation information, and the final weight of each interpretation information is determined by comprehensively considering the context information, the interactive information for the interpretation information, etc., and the multiple interpretation information is sorted according to the final weight. In this way, when the user reads the encyclopedia entry in other positions in the same text content, the interpretation information with the highest possibility is displayed first, so as to quickly help the user understand the specific meaning of the encyclopedia entry, thereby improving the user's reading experience.
[0122] Corresponding to the above method embodiment, the present application embodiment also provides an encyclopedia entry processing device, see Figure 8 , the encyclopedia entry processing device 800 includes:
[0123] The interpretation information display module 810 is used to display multiple interpretation information of the encyclopedia entry in response to the interpretation display operation of the encyclopedia entry with multiple interpretations;
[0124] The highlighting module 820 is used for highlighting the target interpretation information in response to the highlighting operation on the target interpretation information among the plurality of interpretation information.
[0125] Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other text in the text content.
[0126] Optionally, the encyclopedia entry processing device further includes:
[0127] The highlight control display module is used to present a highlight control in response to the user who triggers the interpretation display operation having the editing authority for the text content, wherein the highlight control is used to trigger the highlighting of one of the interpretation information of the encyclopedia entry.
[0128] Optionally, the number of users who have editing rights to the text content is multiple;
[0129] The highlighting module is specifically used to respond to the highlighting operation of different interpretation information among multiple interpretation information by multiple users who have editing authority on the text content, determine the final interpretation information according to the priority of the multiple users who have editing authority on the text content, and highlight the determined final interpretation information as the target interpretation information.
[0130] Optionally, the text content includes the encyclopedia entry displayed at a first position in the text content and the encyclopedia entry displayed at a second position in the text content;
[0131] a highlighting module, specifically configured to highlight the first target interpretation information in response to a highlighting operation on the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position, and to highlight the first target interpretation information; and
[0132] In response to a highlighting operation on the second target paraphrase information among the plurality of paraphrase information of the encyclopedia entry located at the second position, the second target paraphrase information is highlighted.
[0133] Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document.
[0134] Optionally, the highlighting module is specifically configured to display the target interpretation information at the top of the multiple interpretation information in response to an operation of placing the target interpretation information at the top.
[0135] Optionally, the highlighting module is specifically configured to display a top control in response to a first operation on the target interpretation information; and to display the target interpretation information at the top among the multiple interpretation information in response to a triggering operation on the top control.
[0136] Optionally, the encyclopedia entry processing device further includes:
[0137] The specific content display module is used to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.
[0138] Optionally, the encyclopedia entry processing device further includes:
[0139] The related content display module is used to display content related to the target interpretation information in response to a third operation on the target interpretation information.
[0140] Optionally, a highlighting module is specifically used to display the target interpretation information and hide other interpretation information in the plurality of interpretation information; and / or,
[0141] The target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, displaying the target interpretation information in underline, displaying the target interpretation information in italics, and displaying the target interpretation information in highlight.
[0142] Optionally, the encyclopedia entry processing device further includes:
[0143] A mapping relationship establishment module, for establishing a mapping relationship between an encyclopedia entry, a text content where the encyclopedia entry is located, and the target interpretation information in response to a highlighting operation on the target interpretation information;
[0144] The interpretation information display module is also used to display multiple interpretation information of the encyclopedia entry at other locations according to the mapping relationship in response to the interpretation display operation of the encyclopedia entry at other locations if the encyclopedia entry is also included at other locations of the text content.
[0145] Optionally, the interpretation information display module is also used to, if other locations of the text content also include encyclopedia entries, in response to the interpretation display operation of the encyclopedia entries in other locations, highlight the target interpretation information among the multiple interpretation information of the encyclopedia entries in other locations according to the mapping relationship; or, determine the display order of the multiple interpretation information according to the mapping relationship, the context information of the encyclopedia entries in other locations and the interactive information of the multiple interpretation information; and display the multiple interpretation information in the display order.
[0146] The specific details of each module or unit in the above device have been described in detail in the corresponding method, so they will not be repeated here.
[0147] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0148] In an exemplary embodiment of the present application, an electronic device is also provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the above-mentioned encyclopedia entry processing method in this exemplary embodiment.
[0149] Fig. 9 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. It should be noted that: Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0150] like Fig. 9As shown, electronic device 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In RAM 903, various programs and data required for system operation are also stored. Central processing unit 901, ROM 902 and RAM 903 are connected to each other via a bus 904. Input / output (I / O) interface 905 is also connected to bus 904.
[0151] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a local area network (LAN) card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0152] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a 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 a network through the communication part 909, and / or installed from a removable medium 911. When the computer program is executed by the central processing unit 901, various functions defined in the device of the present application are executed.
[0153] In an embodiment of the present application, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned encyclopedia entry processing method is implemented.
[0154] It should be noted that the computer-readable storage medium shown in the present application 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, a read-only memory, 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 application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency, etc., or any suitable combination of the above.
[0155] In an embodiment of the present application, a computer program product is also provided. When the computer program product is run on a computer, the computer executes the above-mentioned encyclopedia entry processing method.
[0156] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0157] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing encyclopedia entries, characterized in that: The method comprises: In response to a definition display operation for an encyclopedia entry having multiple definitions, multiple definition information of the encyclopedia entry is displayed; the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content; In response to a highlighting operation on target paraphrase information among the plurality of paraphrase information, highlighting the target paraphrase information; In response to the user who triggered the interpretation display operation not having the editing authority for the text content, the highlighting operation is prohibited, and the highlighted interpretation information is highlighted.
2. The method according to claim 1, characterized in that The method further comprises: In response to the user who triggers the definition display operation having the editing authority for the text content, a highlight control is presented, wherein the highlight control is used to trigger highlighting of one of the definition information of the encyclopedia entry.
3. The method according to claim 1, characterized in that There are multiple users who have editing rights to the text content; In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises: In response to highlighting operations of different interpretation information among the multiple interpretation information by multiple users who have editing authority over the text content, final interpretation information is determined according to the priorities of the multiple users who have editing authority over the text content, and the determined final interpretation information is highlighted as the target interpretation information.
4. The method according to claim 1, characterized in that The text content includes the encyclopedia entry displayed at a first position of the text content and the encyclopedia entry displayed at a second position of the text content; In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises: In response to a highlighting operation on a first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position, highlighting the first target interpretation information; In response to a highlighting operation on second target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the second position, the second target interpretation information is highlighted.
5. The method according to claim 1, characterized in that The text content includes: text content in an instant messaging session or text content in a cloud document.
6. The method according to claim 1, characterized in that In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises: In response to an operation of placing the target interpretation information on top among the plurality of interpretation information, the target interpretation information is placed on top and displayed among the plurality of interpretation information.
7. The method according to claim 6, characterized in that In response to the operation of placing the target interpretation information on the top among the plurality of interpretation information, placing the target interpretation information on the top among the plurality of interpretation information for display includes: In response to a first operation on the target interpretation information, displaying a top control; In response to a triggering operation on the top control, the target interpretation information is displayed on the top of the multiple interpretation information.
8. The method according to claim 1, characterized in that The method further comprises: In response to a second operation on the target interpretation information, specific content of the target interpretation information is displayed.
9. The method according to claim 1 or 8, characterized in that: The method further comprises: In response to a third operation on the target interpretation information, content related to the target interpretation information is displayed.
10. The method according to claim 1, characterized in that In response to the highlighting operation on target interpretation information among the plurality of interpretation information, highlighting the target interpretation information comprises: Display the target interpretation information and hide other interpretation information in the plurality of interpretation information; and / or, The target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, displaying the target interpretation information in underline, displaying the target interpretation information in italics, and displaying the target interpretation information in highlight.
11. The method according to claim 1, characterized in that: The method further comprises: In response to a highlighting operation on the target interpretation information, a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information is established; If the encyclopedia entry is also included in other locations of the text content, in response to an operation of displaying the definition of the encyclopedia entry in other locations, multiple definition information of the encyclopedia entry in other locations is displayed according to the mapping relationship.
12. The method according to claim 11, characterized in that The displaying of multiple interpretation information of the encyclopedia entry at other locations according to the mapping relationship includes: According to the mapping relationship, highlight the target interpretation information among the multiple interpretation information of the encyclopedia entry at other locations; or, Determining a display order of the plurality of interpretation information according to the mapping relationship, context information of the encyclopedia entry at other locations, and interaction information of the plurality of interpretation information; The plurality of interpretation information are displayed in the display order.
13. An encyclopedia entry processing device, characterized in that: The device comprises: A definition information display module, for displaying multiple definition information of an encyclopedia entry in response to a definition display operation for the encyclopedia entry having multiple definitions; the encyclopedia entry is displayed in the text content in a display style different from other texts in the text content; a highlighting module, configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information among the plurality of interpretation information; In response to the user who triggered the interpretation display operation not having the editing authority for the text content, the highlighting operation is prohibited, and the highlighted interpretation information is highlighted.
14. An electronic device, characterized in that: include: A processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program, when executed by the processor, implements the encyclopedia entry processing method according to any one of claims 1 to 12.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the encyclopedia entry processing method described in any one of claims 1 to 12 is implemented.
16. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the encyclopedia entry processing method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Word annotation and paraphrase display method and device and storage medium
CN112395524A
Encyclopedia entry display method and device, equipment, medium and program product
CN113127641A
Method for identifying a meaning of a word capable of identifying several meanings
US20080091411A1
