[go: up one dir, main page]

WO2023236795A1 - Encyclopedia entry processing method and apparatus, and electronic device, medium and program product - Google Patents

Encyclopedia entry processing method and apparatus, and electronic device, medium and program product Download PDF

Info

Publication number
WO2023236795A1
WO2023236795A1 PCT/CN2023/096691 CN2023096691W WO2023236795A1 WO 2023236795 A1 WO2023236795 A1 WO 2023236795A1 CN 2023096691 W CN2023096691 W CN 2023096691W WO 2023236795 A1 WO2023236795 A1 WO 2023236795A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
interpretation information
target
encyclopedia
highlighting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/096691
Other languages
French (fr)
Chinese (zh)
Inventor
马式超
陈爽
赵立悦
康斌
孙樱迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of WO2023236795A1 publication Critical patent/WO2023236795A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Definitions

  • This application relates to the field of Internet technology, and in particular to an encyclopedia entry processing method, device, electronic equipment, media and program products.
  • this application provides an encyclopedia entry processing method, device, electronic equipment, media and program products.
  • an encyclopedia entry processing method including:
  • the target paraphrase information is highlighted.
  • the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content.
  • the method also includes:
  • a highlighting control is presented, wherein the highlighting control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry.
  • the number of users with editing permissions on the text content is multiple;
  • the step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes:
  • the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;
  • the step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes:
  • the second target interpretation information is highlighted.
  • the text content includes: text content in an instant messaging session or text content in a cloud document.
  • highlighting the target interpretation information includes:
  • the target paraphrase information is displayed at the top of the plurality of paraphrase information.
  • displaying the target paraphrase information on top of the plurality of paraphrase information includes:
  • the target interpretation information is displayed on top of the plurality of interpretation information.
  • the method also includes:
  • the method also includes:
  • highlighting the target interpretation information includes:
  • the target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, underlining the target interpretation information, displaying the target interpretation information in italics, or highlighting the target interpretation information.
  • the method also includes:
  • positions of the text content also include the encyclopedia entries, in response to the interpretation display operation of the encyclopedia entries at other positions, display multiple encyclopedia entries at other positions according to the mapping relationship Paraphrase information.
  • mapping relationship including:
  • mapping relationship highlight the target interpretation information among the multiple interpretation information of the encyclopedia entry in other positions;
  • the plurality of interpretation information are displayed in the display order.
  • an encyclopedia entry processing device including:
  • the definition information display module is used to respond to the explanation of encyclopedia entries with multiple definitions.
  • the meaning display operation displays multiple meaning information of the encyclopedia entry;
  • a highlighting module configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information in the plurality of interpretation information.
  • the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content.
  • the encyclopedia entry processing device also includes:
  • a highlight control display module configured to present a highlight control in response to the user triggering the paraphrase display operation having editing rights to the text content, wherein the highlight control is used to trigger an edit of the encyclopedia entry Highlighting of one of the paraphrased information.
  • the number of users with editing permissions on the text content is multiple;
  • the highlighting module is specifically configured to respond to the highlighting operations of different paraphrase information among the multiple paraphrase information by multiple users who have editing permissions on the text content.
  • the priority of the user with authority is determined to determine the final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information.
  • the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;
  • the highlighting module is specifically configured to highlight the first target interpretation information in response to a highlighting operation of the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position; as well as
  • the second target interpretation information is highlighted.
  • the text content includes: text content in an instant messaging session or text content in a cloud document.
  • the highlighting module is specifically configured to display the target interpretation information at the top of the plurality of interpretation information in response to a pin operation on the target interpretation information in the plurality of interpretation information.
  • the highlighting module is specifically configured to display a pinned control in response to the first operation on the target interpretation information; and in response to the triggering operation of the pinned control, display the target interpretation information in the Display at the top of multiple interpretation information.
  • the encyclopedia entry processing device also includes:
  • a specific content display module is configured to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.
  • the encyclopedia entry processing device also includes:
  • a related content display module configured to display content related to the target interpretation information in response to a third operation on the target interpretation information.
  • the highlighting module is specifically configured to 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, underlining the target interpretation information, displaying the target interpretation information in italics, or highlighting the target interpretation information.
  • the encyclopedia entry processing device also includes:
  • a mapping relationship establishment module configured to establish 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;
  • the paraphrase information display module is also configured to, if other positions of the text content also include the encyclopedia entries, in response to the paraphrase display operation of the encyclopedia entries at other positions, display other positions according to the mapping relationship. Multiple interpretation information of the encyclopedia entry at the location.
  • the paraphrase information display module is also configured to, if the encyclopedia entry is included in other positions of the text content, respond to the paraphrase display operation of the encyclopedia entry in other positions, according to the mapping relationship, highlighting the target interpretation information among the multiple interpretation information of the encyclopedia entry at other locations; or, according to the mapping relationship, the context information of the encyclopedia entry at other locations and the multiple interpretations Information interaction information determines the display order of the plurality of interpretation information; displays the Multiple interpretation information.
  • an electronic device including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the encyclopedia described in the first aspect is implemented. Entry processing method.
  • a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the encyclopedia entry processing method described in the first aspect is implemented.
  • a computer program product When the computer program product is run on a computer, it causes the computer to execute the encyclopedia entry processing method described in the first aspect.
  • the user can perform a definition display operation on the encyclopedia entry, such as a hover operation, a click operation, etc.
  • the server may display multiple definition information of the encyclopedia entry. Since an encyclopedia entry with multiple definitions may have different meanings in different contexts, users with editing permissions can perform a highlighting operation, such as a click operation, on the target definition information in the multiple definition information to highlight it.
  • the target interpretation information for example, display the target interpretation information at the top, highlight the target interpretation information, etc.
  • Figure 1 shows a schematic diagram of the system architecture of an exemplary application environment that can be applied to the encyclopedia entry processing method according to the embodiment of the present application;
  • Figure 2 is a flow chart of the encyclopedia entry processing method in the embodiment of the present application.
  • Figure 3 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application.
  • Figure 4 is a schematic interface diagram of the encyclopedia entry processing method in the embodiment of the present application.
  • Figure 5 is a schematic interface diagram of the encyclopedia entry processing method in the embodiment of the present application.
  • Figure 6 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application.
  • Figure 7 is a flow chart of the encyclopedia entry processing method in the embodiment of the present application.
  • Figure 8 is a schematic structural diagram of an encyclopedia entry processing device in an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of the system architecture of an exemplary application environment that can be applied to the encyclopedia entry processing method according to the embodiment of the present application.
  • the system architecture 100 may include one or more of a terminal device 101 , a terminal device 102 , and a terminal device 103 , a network 104 and a server 105 .
  • the network 104 is a medium used to provide communication links between the terminal device 101 , the terminal device 102 , the terminal device 103 and the server 105 .
  • Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • Terminal device 101, terminal device 102, and terminal device 103 include but are not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the numbers of terminal devices, networks and servers in Figure 1 are only illustrative. sexual. You can have any number of end devices, networks, and servers depending on your implementation needs.
  • the server 105 may be a server cluster composed of multiple servers.
  • the encyclopedia entry processing method provided by the embodiment of the present application is generally executed by the server 105.
  • the encyclopedia entry processing device can be provided in the server 105.
  • the 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 include an encyclopedia entry with multiple interpretations.
  • the encyclopedia entry is PM, PM Definitions can include: project management (Project management), performance management (Performance Management), power management (Power Management), product manager (Product Manager) and time system (afternoon).
  • the user can display the above multiple paraphrase information, and the above multiple paraphrase 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, users who read the content can quickly understand the meaning of PM, thereby helping users to better understand the content.
  • Figure 2 is a flow chart of an encyclopedia entry processing method in an embodiment of the present application, which may include the following steps:
  • Step S210 In response to a definition display operation for an encyclopedia entry with multiple definitions, multiple definition information of the encyclopedia entry is displayed.
  • An encyclopedia entry has multiple meanings, which means that the encyclopedia entry contains multiple different meanings.
  • the encyclopedia entry "apple" can represent a fruit, a brand, or a movie.
  • Encyclopedia entries are usually included in the text content, especially for professional and technical terms, and the corresponding abbreviations are usually used.
  • encyclopedia entries are displayed in the text content in a display style that is different from other text in the text content. For example, other text is displayed in black font, and the encyclopedia entry of the text content can be displayed in black font bold, black font underlined, or 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 definition information of the encyclopedia entries, etc.
  • the encyclopedia entry PM can refer to project management, product manager, etc. exist
  • the encyclopedia entry PM usually has different meanings.
  • 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
  • readers they need to browse the multiple definitions of the encyclopedia entry PM and select the appropriate definition based on their own judgment. In this way, in order to obtain the correct interpretation in this context, the reader needs more time, and the interpretation finally determined by the reader is not necessarily the same as the content editor's original intention.
  • the server may display multiple definition information of the encyclopedia entry.
  • Multiple interpretation information can be arranged in a preset order. For example, multiple interpretation information can be sorted according to the phonetic sequence of the first characters of the multiple interpretation information, and the sorting results can be displayed. Alternatively, the multiple interpretation information can also be sorted according to the context information, the number of views of each interpretation information by the user group, the number of likes of each interpretation information by the user group, etc., and displayed according to the sorting results.
  • 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, the remaining other interpretation information can be collapsed, and when the user clicks the expand button, the remaining other interpretation information can be expanded.
  • the preset number for example, 5
  • FIG 3 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application. It can be seen that the content created by the content creator contains encyclopedia entry A, and encyclopedia entry A is displayed underlined to distinguish it from other content.
  • the encyclopedia entry A has multiple interpretations. When the interpretation display operation is performed on the encyclopedia entry A, the five interpretation information corresponding to the encyclopedia entry A are displayed in the new interface.
  • Step S220 In response to the highlighting operation of the target interpretation information in the plurality of interpretation information, the target interpretation information is highlighted.
  • an encyclopedia entry with multiple meanings corresponds to one meaning in a specific context.
  • the content created/edited by the content creator or editor contains an encyclopedia entry with multiple interpretations, he usually knows the interpretation information corresponding to the encyclopedia entry in the content, that is, the target interpretation information . Therefore, when creating/editing the content, it can directly select the target interpretation information and perform a highlighting operation on the target interpretation information, such as a click operation, a sliding operation, etc., to highlight the target interpretation information.
  • the creator did not highlight the target paraphrase information when creating the content, and when the content consumer reads the content, if he knows the paraphrase information corresponding to the encyclopedia entry in the content and has editing permissions ( (can read and write), and you can also perform a highlighting operation on the target interpretation information to highlight the target interpretation information. For consumers who do not have editing permissions, the highlighting operation cannot be performed on the target interpretation information.
  • a highlighting control is presented, wherein the highlighting control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry. That is to say, when a user with editing rights to the text content performs a paraphrase display operation, a highlight control can be displayed. Through the highlight control, the user can highlight any paraphrase information of the encyclopedia entry.
  • the highlighting control may be, for example, a highlighting control, a bolding control, etc.
  • the number of users with editing permissions on the text content is multiple.
  • the user can perform multiple operations according to the multiple paraphrase information.
  • the priority of a user with editing permissions on the text content is determined to determine the final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information.
  • the later the highlight operation is performed the higher the corresponding priority can be. That is, for the same encyclopedia entry, the number of highlighting operations may be performed multiple times, and the target interpretation information corresponding to multiple highlighting operations may be different. In this way, after each highlighting operation is performed, the corresponding interpretation information will be highlighted, and the last highlighted interpretation information will prevail.
  • consumer A of the content believes that the target interpretation information corresponding to the encyclopedia entry 1 in the content is interpretation information 1, and executes the operation on the interpretation information 1.
  • the highlight operation is performed, and the target interpretation information corresponding to the encyclopedia entry 1 is actually interpretation information 2.
  • content consumer B can re-perform the highlighting operation on encyclopedia entry 1, for example, perform the highlighting operation on paraphrase information 2, thereby highlighting the correct paraphrase information.
  • the user's editing permissions can be further determined based on the priorities of multiple users with editing permissions. For example, different priorities can be set in advance for creators and consumers of text content. Creators of text content have the highest priority, and consumers of 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 paraphrase information, then the consumer of the text content will not be able to highlight other paraphrase information. On the contrary, if the consumer of the text content performs a highlighting operation on a certain target paraphrase information, the creator of the text content can highlight other paraphrase information.
  • the highlighting operation can also be performed, and the display mode of the multiple interpretation information can be restored to the display mode in step S210.
  • the target paraphrase information in response to a pin operation on the target paraphrase information in the plurality of paraphrase information, is displayed at the top of the plurality of paraphrase information. In this way, content consumers can see the target paraphrase information first and understand the content they are reading more quickly. At the same time, you can also browse other interpretation information freely. Browsing other interpretation information does not affect the ranking of interpretation information seen by other consumers.
  • the pin operation may be, for example, a click operation, a sliding operation, etc., wherein the sliding operation may be, for example, an upward sliding operation, or the like.
  • the pinning operation may be one of the above operations, or may include two or more operations.
  • the target interpretation information in response to the first operation on the target interpretation information, for example For example, it can be a hover operation, a click operation, etc. to display the top control; in response to the triggering operation of the top control, the target interpretation information is displayed on top among multiple interpretation information.
  • Figure 4 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application. Assume that after performing a hover operation on paraphrase information 2 (i.e., target paraphrase information), a pinned control appears behind paraphrase information 2. After a triggering operation is performed on the pinned control, as shown in Figure 5, paraphrase information 2 is pinned to the top, and consumers can view it first. Go to paraphrase message 2.
  • paraphrase information 2 i.e., target paraphrase information
  • the specific content of the target interpretation information may be displayed, that is, the target interpretation information may be introduced in more detail.
  • Project management is a branch of management, and the definition of project management is: It refers to the process of using specialized knowledge, skills, tools and methods in project activities to enable the project to achieve or exceed the set needs and expectations within the constraints of limited resources.
  • content related to the target interpretation information in response to a third operation on the target interpretation information, which may be a click operation, etc., content related to the target interpretation information is displayed.
  • Content related to the target interpretation information may include: link addresses related to the target interpretation information, cloud documents related to the target interpretation information, etc.
  • the first operation and the third operation may be the same, that is, when performing the first operation or the third operation, the top control and content related to the target interpretation information may be displayed at the same time.
  • the top control and three documents related to paraphrase information are displayed at the same time.
  • the pinning operation is one operation
  • the third operation can be the same as the pinning operation, for example, both are click operations. Then, while pinning the target interpretation information to the top, cloud documents related to the target interpretation information can be displayed.
  • the same text content includes at least two identical encyclopedia entries, and the encyclopedia entry has multiple interpretations.
  • the interpretation display operation can be performed on at least two encyclopedia entries respectively, and the target interpretation information corresponding to at least two encyclopedia entries can be performed respectively.
  • a highlighting operation is performed, in which the target interpretation information corresponding to at least two encyclopedia entries can be different.
  • the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content, in response to multiple interpretations of the encyclopedia entry at the first position.
  • the operation of highlighting the first target interpretation information in the message highlights the first target interpretation information.
  • the highlighting operation of the second target paraphrase information among the plurality of paraphrase information of the encyclopedia entry located at the second position highlighting the second target paraphrase information.
  • the first position and the second position can be in the same paragraph or in different paragraphs.
  • the first and second paragraphs of the text content both contain encyclopedia entry 1 with multiple interpretations.
  • encyclopedia entry 1 with interpretation information A in the first paragraph
  • 1 Pin the paraphrase information B.
  • paraphrase information A may be displayed with priority in the first paragraph
  • paraphrase information B may be displayed with priority in the second paragraph.
  • the text content includes: text content in the instant messaging session or text content in the cloud document. That is, when a user is chatting with other users, if an encyclopedia entry with multiple meanings appears, the encyclopedia entry can also be highlighted. Alternatively, when the user is browsing a cloud document, if an encyclopedia entry with multiple definitions appears in the cloud document, the user can also perform a highlighting operation on the encyclopedia entry.
  • the target paraphrase information in response to the highlighting operation of the target paraphrase information in the multiple paraphrase information, can also be displayed, and other paraphrase information in the multiple paraphrase information can be hidden, that is, only the target paraphrase information is displayed to avoid Other paraphrase information causes interference to users. And/or, display the target interpretation information in one or more of the following ways: display the target interpretation information in bold, underline the target interpretation information, display the target interpretation information in italics, or highlight the target interpretation information.
  • the number of multiple paraphrase information is different, and the way of highlighting the target paraphrase information can also be different. If the amount of paraphrase information is large, for example, more than 5, the user can see the target paraphrase information first by displaying it at the top; if the amount of paraphrase information is small, the target paraphrase information can be directly displayed in bold or highlighted. Information etc.
  • the user with editing permissions can edit the target in the multiple interpretation information.
  • the paraphrase information performs a highlighting operation, such as a click operation, to highlight the target paraphrase information.
  • the target interpretation information can be displayed at the top, the target interpretation information can be highlighted, etc.
  • Figure 7 is a flow chart of an encyclopedia entry processing method in an embodiment of the present application, which may include the following steps:
  • Step S710 In response to a definition display operation for an encyclopedia entry with multiple definitions, multiple definition information of the encyclopedia entry is displayed.
  • Step S720 In response to the highlighting operation of the target interpretation information in the plurality of interpretation information, the target interpretation information is highlighted, and a mapping relationship between the encyclopedia entry, the text content of the encyclopedia entry, and the target interpretation information is established.
  • the same text content may contain multiple identical encyclopedia entries, and the encyclopedia entries have multiple interpretations.
  • a mapping relationship between the encyclopedia entry, the text content of the encyclopedia entry, and the target interpretation information can also be established. In this way, according to the mapping relationship, the display mode of the interpretation information of other encyclopedia entries that have not been highlighted can be determined.
  • Each text content can have corresponding ID information.
  • each cloud document and/or paragraph in the cloud document has a document ID/paragraph ID
  • each instant messaging session and/or message in the session has a session ID/ Message ID.
  • Multiple interpretation information corresponding to encyclopedia entries also have different ID information, and a mapping relationship between encyclopedia entries, text content ID information, and target interpretation information can be established.
  • Step S730 if other positions of the text content also include the encyclopedia entry, respond to The operation of displaying the interpretation of the encyclopedia entry in other locations displays multiple interpretation information of the encyclopedia entry in other locations according to the mapping relationship.
  • the target interpretation information among 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 other encyclopedia entries 2 in the text content except the encyclopedia entry 2 in paragraph 3, in When performing the definition display operation on other encyclopedia entries 2, you can directly highlight the definition information 1.
  • the display order of the multiple interpretation information can be determined based on the established mapping relationship, the context information of the encyclopedia entry in other locations and the interactive information of the multiple interpretation information, and the multiple interpretation information can be displayed according to the display order.
  • the target paraphrase information can be assigned a higher weight
  • the remaining paraphrase information can be assigned a lower weight.
  • Each interpretation information is assigned a weight according to the contextual information of the encyclopedia entry in other locations
  • each interpretation information is assigned a weight according to the interactive information of each interpretation information.
  • the interactive information of a single paraphrase information may be, for example, the number of views, number of likes, etc. for the paraphrase information by a certain user group.
  • different weights can be set for the number of views and the number of likes, and the weighted values of the number of views and the number of likes can be obtained. The higher the weighted value, the higher the weight assigned to the interpretation information.
  • the final weight of the paraphrase information can be determined based on the weight determined by the mapping relationship, the weight determined by the contextual information of the encyclopedia entry in other locations, and the weight determined by the interactive information. According to the final weight corresponding to the multiple interpretation information, the display order of the multiple interpretation information, the higher the weight, the higher the display.
  • the encyclopedia entry processing method in the embodiment of the present application can establish a mapping of 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 among the multiple interpretation information of the encyclopedia entry. relation.
  • the display mode of multiple interpretation information of other encyclopedia entries can be determined based on the mapping relationship. For example, other interpretation information of other encyclopedia entries can also be displayed directly.
  • the target definition information of the encyclopedia entry is highlighted.
  • mapping relationship assign a higher weight to the target interpretation information, and comprehensively consider the context information, interactive information for the interpretation information, etc., determine the final weight of each interpretation information, and conduct multiple interpretation information based on the final weight. Sort. In this way, when a user reads an encyclopedia entry elsewhere in the same text content, the most likely interpretation information is displayed first, thereby quickly helping the user understand the specific meaning of the encyclopedia entry, thereby improving the user's reading experience.
  • the encyclopedia entry processing device 800 includes:
  • a paraphrase information display module 810 configured to display multiple paraphrase information of the encyclopedia entry in response to a paraphrase display operation for an encyclopedia entry with multiple interpretations;
  • the highlighting module 820 is configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information in the plurality of interpretation information.
  • the encyclopedia entry is displayed in the text content in a display style that is different from other text in the text content.
  • the encyclopedia entry processing device also includes:
  • a highlight control display module is configured to present a highlight control in response to the user triggering the paraphrase display operation having editing rights to the text content, wherein the highlight control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry.
  • the number of users with editing permissions on the text content is multiple;
  • the highlighting module is specifically configured to respond to the highlighting operation of different interpretation information in the plurality of interpretation information by multiple users with editing permissions on the text content, and determine according to the priorities of the multiple users with editing permissions on the text content.
  • the final interpretation information is output, and the determined final interpretation information is highlighted as the target interpretation information.
  • the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;
  • a highlighting module specifically configured to highlight the first target interpretation information in response to a highlighting operation of the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position;
  • the second target interpretation information is highlighted.
  • the text content includes: text content in the instant messaging session or text content in the cloud document.
  • An optional highlighting module is specifically configured to display the target interpretation information at the top of the plurality of interpretation information in response to the operation of pinning the target interpretation information to the top of the plurality of interpretation information.
  • a highlighting module is specifically configured to display a top control in response to the first operation on the target interpretation information; and in response to a triggering operation on the top control, display the target interpretation information on top among multiple interpretation information.
  • the encyclopedia entry processing device also includes:
  • the specific content display module is configured to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.
  • the encyclopedia entry processing device also includes:
  • the related content display module is configured to display content related to the target interpretation information in response to the third operation on the target interpretation information.
  • highlighting module specifically used to display target interpretation information and hide other interpretation information in multiple interpretation information
  • Display the target interpretation information in one or more of the following ways: display the target interpretation information in bold, underline the target interpretation information, display the target interpretation information in italics, or highlight the target interpretation information.
  • the encyclopedia entry processing device also includes:
  • a mapping relationship establishment module used to establish a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information in response to the highlighting operation of the target interpretation information;
  • the paraphrase information display module is also used to display multiple paraphrases of the encyclopedia entries in other locations according to the mapping relationship in response to the paraphrase display operation of the encyclopedia entries in other locations if the text content also includes the encyclopedia entry. information.
  • the paraphrase information display module is also used to, if other positions of the text content also include encyclopedia entries, respond to the paraphrase display operation of the encyclopedia entries at other positions, and highlight the encyclopedia entries at other positions according to the mapping relationship.
  • Target interpretation information among multiple interpretation information or, determine the display order of multiple interpretation information based on the mapping relationship, contextual information of encyclopedia entries in other locations, and interactive information of multiple interpretation information; display multiple interpretation information in accordance with the display order Paraphrase information.
  • an electronic device including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the above encyclopedia entry in this exemplary embodiment Approach.
  • FIG. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application. It should be noted that the electronic device 900 shown in FIG. 9 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application.
  • the electronic device 900 includes a central processing unit (CPU) 901 that can operate according to a program stored in a read-only memory (ROM) 902 or loaded from a storage portion 908 into a random access memory (RAM) 903 And perform various appropriate actions and processing.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for system operation are also stored.
  • the central processing unit 901, ROM 902 and RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to bus 904.
  • 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., speakers, etc.; and a storage section 908 including a hard disk, etc. ; and include local area networks (LANs) such as Communication portion 909 of the network interface card of a card, modem, etc.
  • the communication section 909 performs communication processing via a network such as the Internet.
  • Driver 910 is also connected to I/O interface 905 as needed.
  • Removable media 911 such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via communication portion 909 and/or installed from removable media 911 .
  • the central processing unit 901 When the computer program is executed by the central processing unit 901, various functions defined in the device of the present application are executed.
  • a computer-readable storage medium is also provided, on which a computer program is stored.
  • the computer program is executed by a processor, the above-mentioned encyclopedia entry processing method is implemented.
  • the computer-readable storage medium shown in this application may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, random access memory, read only memory, erasable programmable read only memory (EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, radio frequency, etc., or any suitable combination of the above.
  • a computer program product is also provided.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute the above encyclopedia entry processing method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to an encyclopedia entry processing method and apparatus, and an electronic device, a medium and a program product, which are applied to the technical field of the Internet. The method comprises: in response to a paraphrase display operation for an encyclopedia entry which has a plurality of paraphrases, displaying a plurality of pieces of paraphrase information of the encyclopedia entry; and in response to a highlighting operation for a piece of target paraphrase information among the plurality of pieces of paraphrase information, highlighting the piece of target paraphrase information. If the content that a user is reading includes an encyclopedia entry which has a plurality of paraphrases, the present application can enable the user to better understand the specific meaning of the encyclopedia entry, thereby improving the reading experience of the user.

Description

百科词条处理方法、装置、电子设备、介质及程序产品Encyclopedia entry processing methods, devices, electronic equipment, media and program products

本申请要求申请日为2022年6月8日、名称为“百科词条处理方法、装置、电子设备、介质及程序产品”、申请号为202210645517.0的中国发明专利申请的优先权。This application requires priority for a Chinese invention patent application with a filing date of June 8, 2022, titled "Encyclopedia Entry Processing Methods, Devices, Electronic Equipment, Media and Program Products" and application number 202210645517.0.

技术领域Technical field

本申请涉及互联网技术领域,尤其涉及一种百科词条处理方法、装置、电子设备、介质及程序产品。This application relates to the field of Internet technology, and in particular to an encyclopedia entry processing method, device, electronic equipment, media and program products.

背景技术Background technique

目前存在大量的具有多个释义的百科词条。如果某个用户编辑的内容中存在具有多个释义的百科词条,其他用户可能难以确定该百科词条在特定的上下文中具体的释义,导致用户获取信息的效率偏低。There are currently a large number of encyclopedia entries with multiple definitions. If there is an encyclopedia entry with multiple definitions in the content edited by a user, it may be difficult for other users to determine the specific meaning of the encyclopedia entry in a specific context, resulting in low efficiency for users to obtain information.

发明内容Contents of the invention

为了解决上述技术问题,本申请提供了一种百科词条处理方法、装置、电子设备、介质及程序产品。In order to solve the above technical problems, this application provides an encyclopedia entry processing method, device, electronic equipment, media and program products.

根据本申请的第一方面,提供了一种百科词条处理方法,包括:According to the first aspect of this application, an encyclopedia entry processing method is provided, including:

响应于对具有多个释义的百科词条的释义显示操作,显示所述百科词条的多个释义信息;In response to a paraphrase display operation for an encyclopedia entry with multiple paraphrases, display multiple paraphrase information of the encyclopedia entry;

响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息。In response to a highlighting operation on target paraphrase information among the plurality of paraphrase information, the target paraphrase information is highlighted.

可选的,所述百科词条在文本内容中以区别于所述文本内容中的其他文本的显示样式显示。Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content.

可选的,所述方法还包括:Optionally, the method also includes:

响应于触发所述释义显示操作的用户具有对所述文本内容的编辑权限,呈现突出显示控件,其中,所述突出显示控件用于触发对所述百科词条的其中一个释义信息的突出显示。 In response to the user triggering the paraphrase display operation having editing rights to the text content, a highlighting control is presented, wherein the highlighting control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry.

可选的,对所述文本内容具有编辑权限的用户的数量为多个;Optionally, the number of users with editing permissions on the text content is multiple;

所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes:

响应于多个对所述文本内容具有编辑权限的用户对所述多个释义信息中不同的释义信息的突出显示操作,按照多个对所述文本内容具有编辑权限的用户的优先级,确定出最终的释义信息,并将所确定的最终的释义信息作为所述目标释义信息突出显示。In response to highlighting operations of different interpretation information among the plurality of interpretation information by multiple users with editing permissions on the text content, according to the priorities of the multiple users with editing permissions on the text content, determine final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information.

可选的,所述文本内容包括显示在所述文本内容的第一位置的所述百科词条以及显示在所述文本内容的第二位置的所述百科词条;Optionally, the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;

所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes:

响应于对位于第一位置的所述百科词条的所述多个释义信息中第一目标释义信息的突出显示操作,突出显示所述第一目标释义信息;In response to a highlighting operation of the 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 the 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.

可选的,所述文本内容包括:即时通讯会话中的文本内容或云文档中的文本内容。Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document.

可选的,所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:Optionally, in response to the highlighting operation of the target interpretation information in the plurality of interpretation information, highlighting the target interpretation information includes:

响应于对所述多个释义信息中目标释义信息的置顶操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。In response to a pin operation on the target paraphrase information in the plurality of paraphrase information, the target paraphrase information is displayed at the top of the plurality of paraphrase information.

可选的,所述响应于对所述多个释义信息中目标释义信息的置顶操作,将所述目标释义信息在所述多个释义信息中进行置顶显示,包括:Optionally, in response to a pin operation on the target paraphrase information in the plurality of paraphrase information, displaying the target paraphrase information on top of the plurality of paraphrase information includes:

响应于对所述目标释义信息的第一操作,显示置顶控件;In response to the first operation on the target interpretation information, display a top control;

响应于对所述置顶控件的触发操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。In response to a triggering operation on the top control, the target interpretation information is displayed on top of the plurality of interpretation information.

可选的,所述方法还包括: Optionally, the method also includes:

响应于对所述目标释义信息的第二操作,显示所述目标释义信息的具体内容。In response to the second operation on the target interpretation information, specific content of the target interpretation information is displayed.

可选的,所述方法还包括:Optionally, the method also includes:

响应于对所述目标释义信息的第三操作,显示与所述目标释义信息相关的内容。In response to a third operation on the target interpretation information, content related to the target interpretation information is displayed.

可选的,所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:Optionally, in response to the highlighting operation of the target interpretation information in the plurality of interpretation information, highlighting the target interpretation information includes:

显示所述目标释义信息,并隐藏所述多个释义信息中的其他释义信息;和/或,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, underlining the target interpretation information, displaying the target interpretation information in italics, or highlighting the target interpretation information.

可选的,所述方法还包括:Optionally, the method also includes:

当响应于对所述目标释义信息的突出显示操作时,建立所述百科词条与所述百科词条所在文本内容,以及所述目标释义信息的映射关系;When responding to a highlighting operation on the target interpretation information, establish a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information;

如果所述文本内容的其他位置还包括所述百科词条,响应于对其他位置的所述百科词条的释义显示操作,根据所述映射关系,显示其他位置的所述百科词条的多个释义信息。If other positions of the text content also include the encyclopedia entries, in response to the interpretation display operation of the encyclopedia entries at other positions, display multiple encyclopedia entries at other positions according to the mapping relationship Paraphrase information.

可选的,所述根据所述映射关系,显示其他位置的所述百科词条的多个释义信息,包括:Optionally, displaying multiple interpretation information of the encyclopedia entries at other locations according to the mapping relationship, including:

根据所述映射关系,突出显示其他位置的所述百科词条的多个释义信息中的所述目标释义信息;或者,According to the mapping relationship, highlight the target interpretation information among the multiple interpretation information of the encyclopedia entry in other positions; or,

根据所述映射关系、其他位置的所述百科词条的上下文信息和所述多个释义信息的交互信息,确定所述多个释义信息的显示顺序;Determine the display order of the plurality of interpretation information according to the mapping relationship, the context information of the encyclopedia entry at other positions and the interactive information of the plurality of interpretation information;

按照所述显示顺序显示所述多个释义信息。The plurality of interpretation information are displayed in the display order.

根据本申请的第二方面,提供了一种百科词条处理装置,包括:According to the second aspect of the present application, an encyclopedia entry processing device is provided, including:

释义信息显示模块,用于响应于对具有多个释义的百科词条的释 义显示操作,显示所述百科词条的多个释义信息;The definition information display module is used to respond to the explanation of encyclopedia entries with multiple definitions. The meaning display operation displays multiple meaning information of the encyclopedia entry;

突出显示模块,用于响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息。A highlighting module configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information in the plurality of interpretation information.

可选的,所述百科词条在文本内容中以区别于所述文本内容中的其他文本的显示样式显示。Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content.

可选的,所述百科词条处理装置还包括:Optionally, the encyclopedia entry processing device also includes:

突出显示控件显示模块,用于响应于触发所述释义显示操作的用户具有对所述文本内容的编辑权限,呈现突出显示控件,其中,所述突出显示控件用于触发对所述百科词条的其中一个释义信息的突出显示。a highlight control display module, configured to present a highlight control in response to the user triggering the paraphrase display operation having editing rights to the text content, wherein the highlight control is used to trigger an edit of the encyclopedia entry Highlighting of one of the paraphrased information.

可选的,对所述文本内容具有编辑权限的用户的数量为多个;Optionally, the number of users with editing permissions on the text content is multiple;

所述突出显示模块,具体用于响应于多个对所述文本内容具有编辑权限的用户对所述多个释义信息中不同的释义信息的突出显示操作,按照多个对所述文本内容具有编辑权限的用户的优先级,确定出最终的释义信息,并将所确定的最终的释义信息作为所述目标释义信息突出显示。The highlighting module is specifically configured to respond to the highlighting operations of different paraphrase information among the multiple paraphrase information by multiple users who have editing permissions on the text content. The priority of the user with authority is determined to determine the final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information.

可选的,所述文本内容包括显示在所述文本内容的第一位置的所述百科词条以及显示在所述文本内容的第二位置的所述百科词条;Optionally, the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;

所述突出显示模块,具体用于响应于对位于第一位置的所述百科词条的所述多个释义信息中第一目标释义信息的突出显示操作,突出显示所述第一目标释义信息;以及The highlighting module is specifically configured to highlight the first target interpretation information in response to a highlighting operation of the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position; as well as

响应于对位于第二位置的所述百科词条的所述多个释义信息中第二目标释义信息的突出显示操作,突出显示所述第二目标释义信息。In response to a highlighting operation on the 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.

可选的,所述文本内容包括:即时通讯会话中的文本内容或云文档中的文本内容。Optionally, the text content includes: text content in an instant messaging session or text content in a cloud document.

可选的,所述突出显示模块,具体用于响应于对所述多个释义信息中目标释义信息的置顶操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。 Optionally, the highlighting module is specifically configured to display the target interpretation information at the top of the plurality of interpretation information in response to a pin operation on the target interpretation information in the plurality of interpretation information.

可选的,所述突出显示模块,具体用于响应于对所述目标释义信息的第一操作,显示置顶控件;响应于对所述置顶控件的触发操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。Optionally, the highlighting module is specifically configured to display a pinned control in response to the first operation on the target interpretation information; and in response to the triggering operation of the pinned control, display the target interpretation information in the Display at the top of multiple interpretation information.

可选的,所述百科词条处理装置,还包括:Optionally, the encyclopedia entry processing device also includes:

具体内容显示模块,用于响应于对所述目标释义信息的第二操作,显示所述目标释义信息的具体内容。A specific content display module is configured to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.

可选的,所述百科词条处理装置,还包括:Optionally, the encyclopedia entry processing device also includes:

相关内容显示模块,用于响应于对所述目标释义信息的第三操作,显示与所述目标释义信息相关的内容。A related content display module, configured to display content related to the target interpretation information in response to a third operation on the target interpretation information.

可选的,所述突出显示模块,具体用于显示所述目标释义信息,并隐藏所述多个释义信息中的其他释义信息;和/或,Optionally, the highlighting module is specifically configured to 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, underlining the target interpretation information, displaying the target interpretation information in italics, or highlighting the target interpretation information.

可选的,所述百科词条处理装置,还包括:Optionally, the encyclopedia entry processing device also includes:

映射关系建立模块,用于当响应于对所述目标释义信息的突出显示操作时,建立所述百科词条与所述百科词条所在文本内容,以及所述目标释义信息的映射关系;A mapping relationship establishment module, configured to establish 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;

所述释义信息显示模块,还用于如果所述文本内容的其他位置还包括所述百科词条,响应于对其他位置的所述百科词条的释义显示操作,根据所述映射关系,显示其他位置的所述百科词条的多个释义信息。The paraphrase information display module is also configured to, if other positions of the text content also include the encyclopedia entries, in response to the paraphrase display operation of the encyclopedia entries at other positions, display other positions according to the mapping relationship. Multiple interpretation information of the encyclopedia entry at the location.

可选的,所述释义信息显示模块,还用于如果所述文本内容的其他位置还包括所述百科词条,响应于对其他位置的所述百科词条的释义显示操作,根据所述映射关系,突出显示其他位置的所述百科词条的多个释义信息中的所述目标释义信息;或者,根据所述映射关系、其他位置的所述百科词条的上下文信息和所述多个释义信息的交互信息,确定所述多个释义信息的显示顺序;按照所述显示顺序显示所述 多个释义信息。Optionally, the paraphrase information display module is also configured to, if the encyclopedia entry is included in other positions of the text content, respond to the paraphrase display operation of the encyclopedia entry in other positions, according to the mapping relationship, highlighting the target interpretation information among the multiple interpretation information of the encyclopedia entry at other locations; or, according to the mapping relationship, the context information of the encyclopedia entry at other locations and the multiple interpretations Information interaction information determines the display order of the plurality of interpretation information; displays the Multiple interpretation information.

根据本申请的第三方面,提供了一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现第一方面所述的百科词条处理方法。According to a third aspect of the present application, an electronic device is provided, including: a processor, the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the encyclopedia described in the first aspect is implemented. Entry processing method.

根据本申请的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的百科词条处理方法。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.

根据本申请的第五方面,提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面所述的百科词条处理方法。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, it causes the computer to execute the encyclopedia entry processing method described in the first aspect.

本申请实施例提供的技术方案与现有技术相比具有如下优点:Compared with the existing technology, the technical solution provided by the embodiment of the present application has the following advantages:

在用户编辑或阅读的内容中包含具有多个释义的百科词条(即多义词)的情况下,用户可以对该百科词条执行释义显示操作,例如悬停操作、单击操作等。服务器响应于该释义显示操作,可以显示百科词条的多个释义信息。由于具有多个释义的百科词条在不同的上下文中的释义可能不同,因此,具有编辑权限的用户可以对多个释义信息中的目标释义信息执行突出显示操作,例如单击操作,以突出显示该目标释义信息,例如置顶显示该目标释义信息、高亮显示该目标释义信息等。这样,可以在用户阅读该百科词条时,快速地帮助用户理解该百科词条在当前上下文中的具体含义,提升阅读者获取百科词条正确释义信息的效率,提升用户的阅读体验。When the content edited or read by the user contains an encyclopedia entry with multiple meanings (i.e., polysemy), the user can perform a definition display operation on the encyclopedia entry, such as a hover operation, a click operation, etc. In response to the definition display operation, the server may display multiple definition information of the encyclopedia entry. Since an encyclopedia entry with multiple definitions may have different meanings in different contexts, users with editing permissions can perform a highlighting operation, such as a click operation, on the target definition information in the multiple definition information to highlight it. The target interpretation information, for example, display the target interpretation information at the top, highlight the target interpretation information, etc. In this way, when the user reads the encyclopedia entry, it can quickly help the user understand the specific meaning of the encyclopedia entry in the current context, improve the efficiency of the reader in obtaining the correct interpretation information of the encyclopedia entry, and improve the user's reading experience.

附图说明Description of the drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前 提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to describe the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, without putting in creative labor, By the way, other drawings can also be obtained based on these drawings.

图1示出了可以应用于本申请实施例的百科词条处理方法的示例性应用环境的系统架构的示意图;Figure 1 shows a schematic diagram of the system architecture of an exemplary application environment that can be applied to the encyclopedia entry processing method according to the embodiment of the present application;

图2为本申请实施例中百科词条处理方法的一种流程图;Figure 2 is a flow chart of the encyclopedia entry processing method in the embodiment of the present application;

图3为本申请实施例中百科词条处理方法的一种界面示意图;Figure 3 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application;

图4为本申请实施例中百科词条处理方法的一种界面示意图;Figure 4 is a schematic interface diagram of the encyclopedia entry processing method in the embodiment of the present application;

图5为本申请实施例中百科词条处理方法的一种界面示意图;Figure 5 is a schematic interface diagram of the encyclopedia entry processing method in the embodiment of the present application;

图6为本申请实施例中百科词条处理方法的一种界面示意图;Figure 6 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application;

图7为本申请实施例中百科词条处理方法的一种流程图;Figure 7 is a flow chart of the encyclopedia entry processing method in the embodiment of the present application;

图8为本申请实施例中百科词条处理装置的一种结构示意图;Figure 8 is a schematic structural diagram of an encyclopedia entry processing device in an embodiment of the present application;

图9为本申请实施例中电子设备的一种结构示意图。Figure 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.

具体实施方式Detailed ways

为了能够更清楚地理解本申请的上述目的、特征和优点,下面将对本申请的方案进行进一步描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above objects, features and advantages of the present application more clearly, the solution of the present application will be further described below. It should be noted that, as long as there is no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本申请,但本申请还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本申请的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to fully understand the present application, but the present application can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only part of the embodiments of the present application, and Not all examples.

图1示出了可以应用于本申请实施例的百科词条处理方法的示例性应用环境的系统架构的示意图。FIG. 1 shows a schematic diagram of the system architecture of an exemplary application environment that can be applied to the encyclopedia entry processing method according to the embodiment of the present application.

如图1所示,系统架构100可以包括终端设备101、终端设备102、终端设备103中的一个或多个,网络104和服务器105。网络104用以在终端设备101、终端设备102、终端设备103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。终端设备101、终端设备102、终端设备103包括但不限于台式计算机、便携式计算机、智能手机和平板电脑等等。应该理解,图1中的终端设备、网络和服务器的数量仅仅是示意 性的。根据实现需要,可以具有任意数量的终端设备、网络和服务器。比如服务器105可以是多个服务器组成的服务器集群等。As shown in FIG. 1 , the system architecture 100 may include one or more of a terminal device 101 , a terminal device 102 , and a terminal device 103 , a network 104 and a server 105 . The network 104 is a medium used to provide communication links between the terminal device 101 , the terminal device 102 , the terminal device 103 and the server 105 . Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others. Terminal device 101, terminal device 102, and terminal device 103 include but are not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the numbers of terminal devices, networks and servers in Figure 1 are only illustrative. sexual. You can have any number of end devices, networks, and servers depending on your implementation needs. For example, the server 105 may be a server cluster composed of multiple servers.

本申请实施例所提供的百科词条处理方法一般由服务器105执行,相应地,百科词条处理装置可以设置于服务器105中。举例而言,用户可以通过终端设备101、终端设备102、终端设备103阅读服务器105中的内容,用户编辑的内容中可以包含具有多个释义的百科词条,例如该百科词条为PM,PM的释义可以包括:项目管理(Project management)、绩效管理(Performance Management)、电源管理(Power Management)、产品经理(Product Manager)和时间制式(午后)。用户通过对PM执行释义显示操作,可以显示上述多个释义信息,上述多个释义信息可以按照预设的推荐算法进行排列。假设用户编辑的内容中PM的含义是绩效管理,用户可以选择对绩效管理进行突出显示。这样,阅读该内容的用户可以快速地理解PM的含义,从而帮助用户能够更好地理解该内容。The encyclopedia entry processing method provided by the embodiment of the present application is generally executed by the server 105. Correspondingly, the encyclopedia entry processing device can be provided in the server 105. For example, the 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 include an encyclopedia entry with multiple interpretations. For example, the encyclopedia entry is PM, PM Definitions can include: project management (Project management), performance management (Performance Management), power management (Power Management), product manager (Product Manager) and time system (afternoon). By performing a paraphrase display operation on the PM, the user can display the above multiple paraphrase information, and the above multiple paraphrase 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, users who read the content can quickly understand the meaning of PM, thereby helping users to better understand the content.

参见图2,图2为本申请实施例中百科词条处理方法的一种流程图,可以包括以下步骤:Referring to Figure 2, Figure 2 is a flow chart of an encyclopedia entry processing method in an embodiment of the present application, which may include the following steps:

步骤S210,响应于对具有多个释义的百科词条的释义显示操作,显示百科词条的多个释义信息。Step S210: In response to a definition display operation for an encyclopedia entry with multiple definitions, multiple definition information of the encyclopedia entry is displayed.

百科词条具有多个释义,是指该百科词条包含多个不同的含义。例如,百科词条“苹果”可以表示一种水果,也可以表示一个品牌,还可以表示一部电影。在文本内容中通常包含百科词条,尤其对于专业技术名词,通常使用相应的简称。在一些实施例中,百科词条在文本内容中以区别于文本内容中的其他文本的显示样式显示。例如,其他文本以黑色字体显示,文本内容的百科词条可以以黑色字体加粗显示、以黑色字体加下划线显示或以红色字体显示等。这样,可以使阅读文本内容的用户方便地区分文本内容中的百科词条和非百科词条,并查看百科词条的释义信息等。An encyclopedia entry has multiple meanings, which means that the encyclopedia entry contains multiple different meanings. For example, the encyclopedia entry "apple" can represent a fruit, a brand, or a movie. Encyclopedia entries are usually included in the text content, especially for professional and technical terms, and the corresponding abbreviations are usually used. In some embodiments, encyclopedia entries are displayed in the text content in a display style that is different from other text in the text content. For example, other text is displayed in black font, and the encyclopedia entry of the text content can be displayed in black font bold, black font underlined, or 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 definition information of the encyclopedia entries, etc.

例如,百科词条PM,可以指项目管理,也可以指产品经理等。在 不同的上下文中,百科词条PM所对应的释义通常不同。虽然内容的编辑者知晓PM在上下文中的含义,但是阅读该内容的用户,即内容的消费者,未必知晓PM在该上下文中的准确含义。对阅读者而言,需要浏览PM这一百科词条的多个释义,并依照自己的判断从中选取恰当的释义。这样一来,为了获取在该上下文中的正确释义,阅读者所需要的时间更多,并且,阅读者最终确定出的释义也并不一定与内容编辑者的本意相同。For example, the encyclopedia entry PM can refer to project management, product manager, etc. exist In different contexts, the encyclopedia entry PM usually has different meanings. 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 necessarily know the accurate meaning of PM in the context. For readers, they need to browse the multiple definitions of the encyclopedia entry PM and select the appropriate definition based on their own judgment. In this way, in order to obtain the correct interpretation in this context, the reader needs more time, and the interpretation finally determined by the reader is not necessarily the same as the content editor's original intention.

针对具有多个释义的百科词条,用户(例如,百科词条所在的文本内容的内容创建者、内容编辑者和阅读者)可以对该百科词条执行释义显示操作,例如,悬停操作(将鼠标的指针悬停在该百科词条上)、单击操作等。服务器响应于该释义显示操作,可以显示百科词条的多个释义信息。多个释义信息可以按照预设顺序排列,例如,可以按照多个释义信息的首字符的音序进行排序,并按照排序结果进行显示。或者,也可以根据上下文信息、用户群体对各个释义信息的查看数量、用户群体对各个释义信息的点赞数量等,对多个释义信息进行排序,并按照排序结果进行显示。For encyclopedia entries with multiple definitions, users (for example, content creators, content editors and readers of the text content where the encyclopedia entry is located) can perform a definition display operation on the encyclopedia entry, for example, a hover operation ( Hover the mouse pointer over the encyclopedia entry), click, etc. In response to the definition display operation, the server may display multiple definition information of the encyclopedia entry. Multiple interpretation information can be arranged in a preset order. For example, multiple interpretation information can be sorted according to the phonetic sequence of the first characters of the multiple interpretation information, and the sorting results can be displayed. Alternatively, the multiple interpretation information can also be sorted according to the context information, the number of views of each interpretation information by the user group, the number of likes of each interpretation information by the user group, etc., and displayed according to the sorting results.

另外,如果多个释义信息的数量小于或等于预设数量(例如5个),可以直接显示多个释义信息。如果多个释义信息的数量大于预设数量,可以在界面中显示预设数量个释义信息,收起剩余其他释义信息,当用户点击展开按钮时,再展开剩余其他释义信息。In addition, if the number of multiple interpretation information is less than or equal to the preset number (for example, 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, the remaining other interpretation information can be collapsed, and when the user clicks the expand button, the remaining other interpretation information can be expanded.

参见图3,图3为本申请实施例中百科词条处理方法的一种界面示意图。可以看出,内容的创建者所创建的内容中包含百科词条A,百科词条A以加下划线的方式显示,从而与其他内容进行区分。该百科词条A具有多个释义,当对百科词条A执行释义显示操作时,在新的界面中显示百科词条A对应的5个释义信息。Refer to Figure 3, which is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application. It can be seen that the content created by the content creator contains encyclopedia entry A, and encyclopedia entry A is displayed underlined to distinguish it from other content. The encyclopedia entry A has multiple interpretations. When the interpretation display operation is performed on the encyclopedia entry A, the five interpretation information corresponding to the encyclopedia entry A are displayed in the new interface.

步骤S220,响应于对多个释义信息中目标释义信息的突出显示操作,突出显示目标释义信息。Step S220: In response to the highlighting operation of the target interpretation information in the plurality of interpretation information, the target interpretation information is highlighted.

一般而言,具有多个释义的百科词条在特定的上下文中对应一种 释义,因此,内容的创建者或者编辑者所创建/编辑的内容中如果包含具有多个释义的百科词条,其通常知晓该百科词条在该内容中所对应的释义信息,即目标释义信息。因此,其可以在创建/编辑该内容时,直接选取目标释义信息,并对目标释义信息执行突出显示操作,例如可以是单击操作、滑动操作等,以突出显示目标释义信息。Generally speaking, an encyclopedia entry with multiple meanings corresponds to one meaning in a specific context. Interpretation, therefore, if the content created/edited by the content creator or editor contains an encyclopedia entry with multiple interpretations, he usually knows the interpretation information corresponding to the encyclopedia entry in the content, that is, the target interpretation information . Therefore, when creating/editing the content, it can directly select the target interpretation information and perform a highlighting operation on the target interpretation information, such as a click operation, a sliding operation, etc., to highlight the target interpretation information.

或者,创建者在创建内容时没有对目标释义信息执行突出显示操作,而内容的消费者在阅读该内容时,如果知晓该百科词条在该内容中所对应的释义信息,并且具有编辑权限(可以进行读和写),也可以对目标释义信息执行突出显示操作,以突出显示目标释义信息。对于不具有编辑权限的消费者,则无法对目标释义信息执行突出显示操作。Or, the creator did not highlight the target paraphrase information when creating the content, and when the content consumer reads the content, if he knows the paraphrase information corresponding to the encyclopedia entry in the content and has editing permissions ( (can read and write), and you can also perform a highlighting operation on the target interpretation information to highlight the target interpretation information. For consumers who do not have editing permissions, the highlighting operation cannot be performed on the target interpretation information.

可选的,响应于触发释义显示操作的用户具有对文本内容的编辑权限,呈现突出显示控件,其中,突出显示控件用于触发对百科词条的其中一个释义信息的突出显示。也就是,对文本内容具有编辑权限的用户在执行释义显示操作时,可以呈现突出显示控件,用户通过突出显示控件,可以对百科词条的任意一个释义信息进行突出显示。突出显示控件例如可以是高亮显示控件、加粗显示控件等。Optionally, in response to the user triggering the paraphrase display operation having editing permissions on the text content, a highlighting control is presented, wherein the highlighting control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry. That is to say, when a user with editing rights to the text content performs a paraphrase display operation, a highlight control can be displayed. Through the highlight control, the user can highlight any paraphrase information of the encyclopedia entry. The highlighting control may be, for example, a highlighting control, a bolding control, etc.

在一些实施例中,对文本内容具有编辑权限的用户的数量为多个,响应于多个对文本内容具有编辑权限的用户对多个释义信息中不同的释义信息的突出显示操作,可按照多个对文本内容具有编辑权限的用户的优先级,确定出最终的释义信息,并将所确定的最终的释义信息作为目标释义信息突出显示。In some embodiments, the number of users with editing permissions on the text content is multiple. In response to the highlighting operations of the multiple users with editing permissions on the text content on different paraphrase information in the multiple paraphrase information, the user can perform multiple operations according to the multiple paraphrase information. The priority of a user with editing permissions on the text content is determined to determine the final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information.

在一种场景下,针对多个对文本内容具有编辑权限的用户,执行突出显示操作的时刻越靠后,对应的优先级可以越高。即,对同一百科词条,执行突出显示操作的数量可以为多次,多次突出显示操作所对应的目标释义信息可以不同。这样,在每次执行完突出显示操作后,均会突出显示相应的释义信息,最终以最后一次突出显示的释义信息为准。例如,内容的消费者A根据自己对上下文的理解,认为该内容中的百科词条1对应的目标释义信息为释义信息1,对释义信息1执行 了突出显示操作,而该百科词条1对应的目标释义信息实际为释义信息2。为了避免误导其他消费者,内容的消费者B可以对百科词条1重新执行突出显示操作,例如对释义信息2执行了突出显示操作,从而突出显示正确的释义信息。In one scenario, for multiple users with editing permissions on the text content, the later the highlight operation is performed, the higher the corresponding priority can be. That is, for the same encyclopedia entry, the number of highlighting operations may be performed multiple times, and the target interpretation information corresponding to multiple highlighting operations may be different. In this way, after each highlighting operation is performed, the corresponding interpretation information will be highlighted, and the last highlighted interpretation information will prevail. For example, based on his own understanding of the context, consumer A of the content believes that the target interpretation information corresponding to the encyclopedia entry 1 in the content is interpretation information 1, and executes the operation on the interpretation information 1. The highlight operation is performed, and the target interpretation information corresponding to the 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 the highlighting operation on paraphrase information 2, thereby highlighting the correct paraphrase information.

在又一种场景下,可以根据多个具有编辑权限的用户的优先级,进一步确定用户的编辑权限。例如,可以预先为文本内容的创建者、消费者设置不同的优先级,文本内容的创建者的优先级最高,文本内容的消费者可以对应一个或多个不同的优先级。如果文本内容的创建者对某一个目标释义信息执行了突出显示操作,那么,文本内容的消费者将无法突出显示其他释义信息。反之,如果文本内容的消费者对某一个目标释义信息执行了突出显示操作,文本内容的创建者则可以突出显示其他释义信息。In another scenario, the user's editing permissions can be further determined based on the priorities of multiple users with editing permissions. For example, different priorities can be set in advance for creators and consumers of text content. Creators of text content have the highest priority, and consumers of 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 paraphrase information, then the consumer of the text content will not be able to highlight other paraphrase information. On the contrary, if the consumer of the text content performs a highlighting operation on a certain target paraphrase information, the creator of the text content can highlight other paraphrase information.

类似地,如果文本内容的消费者1的优先级高于文本内容的消费者2的优先级,文本内容的消费者1对某一个目标释义信息执行了突出显示操作,文本内容的消费者2将无法突出显示其他释义信息;反之,如果文本内容的消费者2对某一个目标释义信息执行了突出显示操作,文本内容的消费者1则可以突出显示其他释义信息。这样,可以避免具有较低权限的用户对目标释义信息的任意修改。Similarly, if the priority of text content consumer 1 is higher than the priority 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 Other paraphrase information cannot be highlighted; conversely, if consumer 2 of the text content performs a highlighting operation on a certain target paraphrase information, consumer 1 of the text content can highlight other paraphrase information. In this way, arbitrary modification of the target interpretation information by users with lower permissions can be avoided.

在对该百科词条进行突出显示操作后,还可以执行取消突出显示操作,多个释义信息的显示方式可以恢复至步骤S210中的显示方式。After the highlighting operation is performed on the encyclopedia entry, the highlighting operation can also be performed, and the display mode of the multiple interpretation information can be restored to the display mode in step S210.

在一些实施例中,响应于对多个释义信息中目标释义信息的置顶操作,将目标释义信息在多个释义信息中进行置顶显示。这样,内容的消费者可以优先看到该目标释义信息,从而更快速地理解阅读的内容。同时,也可以自由浏览其他释义信息,浏览其他释义信息时不影响其他消费者看到的释义信息的排序。In some embodiments, in response to a pin operation on the target paraphrase information in the plurality of paraphrase information, the target paraphrase information is displayed at the top of the plurality of paraphrase information. In this way, content consumers can see the target paraphrase information first and understand the content they are reading more quickly. At the same time, you can also browse other interpretation information freely. Browsing other interpretation information does not affect the ranking of interpretation information seen by other consumers.

置顶操作例如可以是单击操作、滑动操作等,其中滑动操作例如可以是向上滑动操作等。置顶操作可以是上述一个操作,也可以包括两个或更多个操作。可选的,响应于对目标释义信息的第一操作,例 如可以是悬停操作、单击操作等,显示置顶控件;响应于对置顶控件的触发操作,将目标释义信息在多个释义信息中进行置顶显示。The pin operation may be, for example, a click operation, a sliding operation, etc., wherein the sliding operation may be, for example, an upward sliding operation, or the like. The pinning operation may be one of the above operations, or may include two or more operations. Optional, in response to the first operation on the target interpretation information, for example For example, it can be a hover operation, a click operation, etc. to display the top control; in response to the triggering operation of the top control, the target interpretation information is displayed on top among multiple interpretation information.

参见图4,图4为本申请实施例中百科词条处理方法的一种界面示意图。假设对释义信息2(即目标释义信息)执行悬停操作后,释义信息2后面出现置顶控件,对该置顶控件执行触发操作后,如图5所示,释义信息2置顶,消费者可以优先看到释义信息2。Referring to Figure 4, Figure 4 is a schematic interface diagram of an encyclopedia entry processing method in an embodiment of the present application. Assume that after performing a hover operation on paraphrase information 2 (i.e., target paraphrase information), a pinned control appears behind paraphrase information 2. After a triggering operation is performed on the pinned control, as shown in Figure 5, paraphrase information 2 is pinned to the top, and consumers can view it first. Go to paraphrase message 2.

在一些实施例中,响应于对目标释义信息的第二操作,例如可以是双击操作等,可以显示目标释义信息的具体内容,即更详细地对目标释义信息进行介绍。In some embodiments, in response to a second operation on the target interpretation information, which may be a double-click operation, etc., the specific content of the target interpretation information may be displayed, that is, the target interpretation information may be introduced in more detail.

例如,百科词条为PM,目标释义信息为项目管理,那么,项目释义信息的具体内容可以为项目管理的详细解释,例如:项目管理是管理学的一个分支学科,对项目管理的定义是:指在项目活动中运用专门的知识、技能、工具和方法,使项目能够在有限资源限定条件下,实现或超过设定的需求和期望的过程……。For example, if 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, and the definition of project management is: It refers to the process of using specialized knowledge, skills, tools and methods in project activities to enable the project to achieve or exceed the set needs and expectations within the constraints of limited resources...

在一些实施例中,响应于对目标释义信息的第三操作,例如可以是单击操作等,显示与目标释义信息相关的内容。与目标释义信息相关的内容可以包括:与目标释义信息相关的链接地址、与目标释义信息相关的云文档等。In some embodiments, in response to a third operation on the target interpretation information, which may be a click operation, etc., content related to the target interpretation information is displayed. Content related to the target interpretation information may include: link addresses related to the target interpretation information, cloud documents related to the target interpretation information, etc.

本申请实施例中,第一操作和第三操作可以相同,也就是,在执行第一操作或第三操作,可以同时显示置顶控件,以及与目标释义信息相关的内容。如图6所示,当对释义信息2执行悬停操作时,同时显示有置顶控件和释义信息相关的三个文档。或者,置顶操作为一个操作的情况下,第三操作也可以和置顶操作相同,例如均为单击操作,那么,将目标释义信息置顶的同时,可以显示与目标释义信息相关的云文档。In the embodiment of the present application, the first operation and the third operation may be the same, that is, when performing the first operation or the third operation, the top control and content related to the target interpretation information may be displayed at the same time. As shown in Figure 6, when the hover operation is performed on paraphrase information 2, the top control and three documents related to paraphrase information are displayed at the same time. Or, when the pinning operation is one operation, the third operation can be the same as the pinning operation, for example, both are click operations. Then, while pinning the target interpretation information to the top, cloud documents related to the target interpretation information can be displayed.

在一些场景下,同一文本内容中包括至少两个相同的百科词条,且该百科词条具有多个释义。此时,可以对至少两个百科词条分别执行释义显示操作,以及对至少两个百科词条分别对应的目标释义信息 执行突出显示操作,其中,至少两个百科词条对应的目标释义信息可以不同。In some scenarios, the same text content includes at least two identical encyclopedia entries, and the encyclopedia entry has multiple interpretations. At this time, the interpretation display operation can be performed on at least two encyclopedia entries respectively, and the target interpretation information corresponding to at least two encyclopedia entries can be performed respectively. A highlighting operation is performed, in which the target interpretation information corresponding to at least two encyclopedia entries can be different.

可选的,文本内容包括显示在文本内容的第一位置的该百科词条以及显示在文本内容的第二位置的该百科词条,响应于对位于第一位置的百科词条的多个释义信息中第一目标释义信息的突出显示操作,突出显示第一目标释义信息。以及响应于对位于第二位置的百科词条的多个释义信息中第二目标释义信息的突出显示操作,突出显示第二目标释义信息。第一位置和第二位置可以位于同一段落,也可以位于不同段落。Optionally, the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content, in response to multiple interpretations of the encyclopedia entry at the first position. The operation of highlighting the first target interpretation information in the message highlights the first target interpretation information. and in response to the highlighting operation of the second target paraphrase information among the plurality of paraphrase information of the encyclopedia entry located at the second position, highlighting the second target paraphrase information. The first position and the second position can be in the same paragraph or in different paragraphs.

例如,在文本内容的第一段落和第二段落中均包含具有多个释义的百科词条1,第一段落中对百科词条1置顶释义信息A后,还可以在第二段落中对百科词条1置顶释义信息B。相应地,在第一段落中可以优先显示释义信息A,在第二段落中可以优先显示释义信息B。For example, the first and second paragraphs of the text content both contain encyclopedia entry 1 with multiple interpretations. After pinning encyclopedia entry 1 with interpretation information A in the first paragraph, you can also add encyclopedia entry 1 in the second paragraph. 1 Pin the paraphrase information B. Correspondingly, paraphrase information A may be displayed with priority in the first paragraph, and paraphrase information B may be displayed with priority in the second paragraph.

可选的,文本内容包括:即时通讯会话中的文本内容或云文档中的文本内容。也就是,在用户与其他用户聊天的过程中,如果出现具有多个释义的百科词条,也可以对该百科词条执行突出显示操作。或者,用户在浏览某个云文档时,如果该云文档中出现具有多个释义的百科词条,也可以对该百科词条执行突出显示操作。Optionally, the text content includes: text content in the instant messaging session or text content in the cloud document. That is, when a user is chatting with other users, if an encyclopedia entry with multiple meanings appears, the encyclopedia entry can also be highlighted. Alternatively, when the user is browsing a cloud document, if an encyclopedia entry with multiple definitions appears in the cloud document, the user can also perform a highlighting operation on the encyclopedia entry.

在一些实施例中,响应于对多个释义信息中目标释义信息的突出显示操作,还可以显示目标释义信息,并隐藏多个释义信息中的其他释义信息,即只显示目标释义信息,以避免其他释义信息对用户造成干扰。和/或,按照以下一种或多种方式显示目标释义信息:加粗显示目标释义信息、加下划线显示目标释义信息、斜体显示目标释义信息、高亮显示目标释义信息。当然,多个释义信息的数量不同,突出显示目标释义信息的方式也可以不同。如果释义信息的数量较多,例如大于5,通过置顶显示,可以使用户优先看到目标释义信息;如果释义信息的数量较少,则可以直接加粗显示目标释义信息、或高亮显示目标释义信息等。 In some embodiments, in response to the highlighting operation of the target paraphrase information in the multiple paraphrase information, the target paraphrase information can also be displayed, and other paraphrase information in the multiple paraphrase information can be hidden, that is, only the target paraphrase information is displayed to avoid Other paraphrase information causes interference to users. And/or, display the target interpretation information in one or more of the following ways: display the target interpretation information in bold, underline the target interpretation information, display the target interpretation information in italics, or highlight the target interpretation information. Of course, the number of multiple paraphrase information is different, and the way of highlighting the target paraphrase information can also be different. If the amount of paraphrase information is large, for example, more than 5, the user can see the target paraphrase information first by displaying it at the top; if the amount of paraphrase information is small, the target paraphrase information can be directly displayed in bold or highlighted. Information etc.

本申请实施例的百科词条处理方法,在用户编辑或阅读的内容中包含具有多个释义的百科词条(即多义词)的情况下,具有编辑权限的用户可以对多个释义信息中的目标释义信息执行突出显示操作,例如单击操作,以突出显示该目标释义信息。例如,可以置顶显示该目标释义信息、高亮显示该目标释义信息等。这样,可以在用户阅读该百科词条时,快速地帮助用户理解该百科词条的具体含义,从而可以提升用户获取百科词条正确释义信息的效率,提升用户的阅读体验。According to the encyclopedia entry processing method of the embodiment of the present application, when the content edited or read by the user contains encyclopedia entries with multiple interpretations (i.e., polysemy), the user with editing permissions can edit the target in the multiple interpretation information. The paraphrase information performs a highlighting operation, such as a click operation, to highlight the target paraphrase information. For example, the target interpretation information can be displayed at the top, the target interpretation information can be highlighted, etc. In this way, when the user reads the encyclopedia entry, it can quickly help the user understand the specific meaning of the encyclopedia entry, thereby improving the efficiency of the user in obtaining the correct interpretation information of the encyclopedia entry and improving the user's reading experience.

参见图7,图7为本申请实施例中百科词条处理方法的一种流程图,可以包括以下步骤:Referring to Figure 7, Figure 7 is a flow chart of an encyclopedia entry processing method in an embodiment of the present application, which may include the following steps:

步骤S710,响应于对具有多个释义的百科词条的释义显示操作,显示百科词条的多个释义信息。Step S710: In response to a definition display operation for an encyclopedia entry with multiple definitions, multiple definition information of the encyclopedia entry is displayed.

步骤S720,响应于对多个释义信息中目标释义信息的突出显示操作,突出显示目标释义信息,并建立百科词条与百科词条所在文本内容,以及目标释义信息的映射关系。Step S720: In response to the highlighting operation of the target interpretation information in the plurality of interpretation information, the target interpretation information is highlighted, and a mapping relationship between the encyclopedia entry, the text content of the encyclopedia entry, and the target interpretation information is established.

本申请实施例中,同一文本内容中可以包含多个相同的百科词条,且该百科词条具有多个释义。在对目标释义信息执行突出显示操作以突出显示目标释义信息时,还可以建立百科词条与百科词条所在文本内容,以及目标释义信息的映射关系。这样,根据该映射关系,可以确定其他未执行突出显示操作的该百科词条的释义信息的显示方式。In this embodiment of the present application, the same text content may contain multiple identical encyclopedia entries, and the encyclopedia entries have multiple interpretations. When performing a highlighting operation on the target interpretation information to highlight the target interpretation information, a mapping relationship between the encyclopedia entry, the text content of the encyclopedia entry, and the target interpretation information can also be established. In this way, according to the mapping relationship, the display mode of the interpretation information of other encyclopedia entries that have not been highlighted can be determined.

每个文本内容均可以具有对应的ID信息,例如,每个云文档和/或云文档中的段落具有文档ID/段落ID,每个即时通讯的会话和/或会话中的消息具有会话ID/消息ID。百科词条对应的多个释义信息也具有不同的ID信息,可以建立百科词条、文本内容ID信息、目标释义信息之间的映射关系。Each text content can have corresponding ID information. For example, each cloud document and/or paragraph in the cloud document has a document ID/paragraph ID, and each instant messaging session and/or message in the session has a session ID/ Message ID. Multiple interpretation information corresponding to encyclopedia entries also have different ID information, and a mapping relationship between encyclopedia entries, text content ID information, and target interpretation information can be established.

需要说明的是,如果同一文本内容中包括多个段落,且多个段落中包括该百科词条,也可以建立百科词条与百科词条所在文本内容、百科词条所在段落以及目标释义信息的映射关系。It should be noted that if the same text content includes multiple paragraphs, and the multiple paragraphs include the encyclopedia entry, you can also create a link 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. Mapping relations.

步骤S730,如果文本内容的其他位置还包括该百科词条,响应于 对其他位置的该百科词条的释义显示操作,根据映射关系,显示其他位置的该百科词条的多个释义信息。Step S730, if other positions of the text content also include the encyclopedia entry, respond to The operation of displaying the interpretation of the encyclopedia entry in other locations displays multiple interpretation information of the encyclopedia entry in other locations according to the mapping relationship.

通常情况下,同一文本内容中多个相同的百科词条对应相同的释义。在一些实施例中,可以根据已建立的映射关系,直接突出显示其他位置的该百科词条的多个释义信息中的目标释义信息。例如,文本内容中对段落3中的一个百科词条2的释义信息1执行了突出显示操作,那么,针对文本内容中除了段落3中该百科词条2之外的其他百科词条2,在对其他百科词条2执行释义显示操作时,可以直接突出显示释义信息1。Usually, multiple identical encyclopedia entries in the same text content correspond to the same meaning. In some embodiments, the target interpretation information among 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 other encyclopedia entries 2 in the text content except the encyclopedia entry 2 in paragraph 3, in When performing the definition display operation on other encyclopedia entries 2, you can directly highlight the definition information 1.

或者,也可以根据已建立的映射关系、其他位置的该百科词条的上下文信息和多个释义信息的交互信息,确定多个释义信息的显示顺序,并按照该显示顺序显示多个释义信息。例如,根据映射关系可以为目标释义信息分配较高的权重,剩余其他释义信息分配较低的权重。根据其他位置的该百科词条的上下文信息,为各个释义信息分配权重,根据各个释义信息的交互信息为各个释义信息分配权重。单个释义信息的交互信息例如可以是某个用户群体针对该释义信息的查看数量、点赞数量等。例如可以为查看数量和点赞数量设置不同的权重,得到查看数量和点赞数量的加权值,加权值越高,为该释义信息分配的权重也会越高。Alternatively, the display order of the multiple interpretation information can be determined based on the established mapping relationship, the context information of the encyclopedia entry in other locations and the interactive information of the multiple interpretation information, and the multiple interpretation information can be displayed according to the display order. For example, according to the mapping relationship, the target paraphrase information can be assigned a higher weight, and the remaining paraphrase information can be assigned a lower weight. Each interpretation information is assigned a weight according to the contextual information of the encyclopedia entry in other locations, and each interpretation information is assigned a weight according to the interactive information of each interpretation information. The interactive information of a single paraphrase information may be, for example, the number of views, number of likes, etc. for the paraphrase information by a certain user group. For example, different weights can be set for the number of views and the number of likes, and the weighted values of the number of views and the number of likes can be obtained. The higher the weighted value, the higher the weight assigned to the interpretation information.

针对单个释义信息,可以根据映射关系确定的权重、其他位置的该百科词条的上下文信息确定的权重和根据交互信息确定的权重,确定该释义信息的最终权重。根据多个释义信息分别对应的最终权重,对多个释义信息的显示顺序,权重越高,显示越靠前。For a single paraphrase information, the final weight of the paraphrase information can be determined based on the weight determined by the mapping relationship, the weight determined by the contextual information of the encyclopedia entry in other locations, and the weight determined by the interactive information. According to the final weight corresponding to the multiple interpretation information, the display order of the multiple interpretation information, the higher the weight, the higher the display.

本申请实施例的百科词条处理方法,在对百科词条的多个释义信息中的目标释义信息执行突出显示操作时,可以建立百科词条、百科词条所在文本内容和目标释义信息的映射关系。这样,在同一文本内容中还包括其他该百科词条的情况下,可以根据该映射关系,确定其他该百科词条的多个释义信息的显示方式,例如,也可以直接对其他 该百科词条的目标释义信息进行突出显示。或者,根据该映射关系,为目标释义信息分配较高的权重,并综合考虑上下文信息、针对释义信息的交互信息等,确定每个释义信息的最终权重,并根据最终权重为多个释义信息进行排序。这样,在用户阅读同一文本内容中其他位置的百科词条时,优先展示可能性最高的释义信息,从而快速地帮助用户理解该百科词条的具体含义,从而可以提升用户的阅读体验。The encyclopedia entry processing method in the embodiment of the present application can establish a mapping of 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 among the multiple interpretation information of the encyclopedia entry. relation. In this way, when the same text content also includes other encyclopedia entries, the display mode of multiple interpretation information of other encyclopedia entries can be determined based on the mapping relationship. For example, other interpretation information of other encyclopedia entries can also be displayed directly. The target definition information of the encyclopedia entry is highlighted. Or, according to the mapping relationship, assign a higher weight to the target interpretation information, and comprehensively consider the context information, interactive information for the interpretation information, etc., determine the final weight of each interpretation information, and conduct multiple interpretation information based on the final weight. Sort. In this way, when a user reads an encyclopedia entry elsewhere in the same text content, the most likely interpretation information is displayed first, thereby quickly helping the user understand the specific meaning of the encyclopedia entry, thereby improving the user's reading experience.

相应于上述方法实施例,本申请实施例还提供了一种百科词条处理装置,参见图8,百科词条处理装置800包括:Corresponding to the above method embodiments, embodiments of the present application also provide an encyclopedia entry processing device. Referring to Figure 8, the encyclopedia entry processing device 800 includes:

释义信息显示模块810,用于响应于对具有多个释义的百科词条的释义显示操作,显示百科词条的多个释义信息;A paraphrase information display module 810, configured to display multiple paraphrase information of the encyclopedia entry in response to a paraphrase display operation for an encyclopedia entry with multiple interpretations;

突出显示模块820,用于响应于对多个释义信息中目标释义信息的突出显示操作,突出显示目标释义信息。The highlighting module 820 is configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information in the plurality of interpretation information.

可选的,百科词条在文本内容中以区别于文本内容中的其他文本的显示样式显示。Optionally, the encyclopedia entry is displayed in the text content in a display style that is different from other text in the text content.

可选的,百科词条处理装置还包括:Optionally, the encyclopedia entry processing device also includes:

突出显示控件显示模块,用于响应于触发释义显示操作的用户具有对文本内容的编辑权限,呈现突出显示控件,其中,突出显示控件用于触发对百科词条的其中一个释义信息的突出显示。A highlight control display module is configured to present a highlight control in response to the user triggering the paraphrase display operation having editing rights to the text content, wherein the highlight control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry.

可选的,对文本内容具有编辑权限的用户的数量为多个;Optionally, the number of users with editing permissions on the text content is multiple;

突出显示模块,具体用于响应于多个对文本内容具有编辑权限的用户对多个释义信息中不同的释义信息的突出显示操作,按照多个对文本内容具有编辑权限的用户的优先级,确定出最终的释义信息,并将所确定的最终的释义信息作为目标释义信息突出显示。The highlighting module is specifically configured to respond to the highlighting operation of different interpretation information in the plurality of interpretation information by multiple users with editing permissions on the text content, and determine according to the priorities of the multiple users with editing permissions on the text content. The final interpretation information is output, and the determined final interpretation information is highlighted as the target interpretation information.

可选的,文本内容包括显示在文本内容的第一位置的该百科词条以及显示在文本内容的第二位置的该百科词条;Optionally, the text content includes the encyclopedia entry displayed at the first position of the text content and the encyclopedia entry displayed at the second position of the text content;

突出显示模块,具体用于响应于对位于第一位置的百科词条的多个释义信息中第一目标释义信息的突出显示操作,突出显示第一目标释义信息;以及 A highlighting module, specifically configured to highlight the first target interpretation information in response to a highlighting operation of the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position; and

响应于对位于第二位置的百科词条的多个释义信息中第二目标释义信息的突出显示操作,突出显示第二目标释义信息。In response to the highlighting operation of the 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.

可选的,文本内容包括:即时通讯会话中的文本内容或云文档中的文本内容。Optionally, the text content includes: text content in the instant messaging session or text content in the cloud document.

可选的,突出显示模块,具体用于响应于对多个释义信息中目标释义信息的置顶操作,将目标释义信息在多个释义信息中进行置顶显示。An optional highlighting module is specifically configured to display the target interpretation information at the top of the plurality of interpretation information in response to the operation of pinning the target interpretation information to the top of the plurality of interpretation information.

可选的,突出显示模块,具体用于响应于对目标释义信息的第一操作,显示置顶控件;响应于对置顶控件的触发操作,将目标释义信息在多个释义信息中进行置顶显示。Optional, a highlighting module is specifically configured to display a top control in response to the first operation on the target interpretation information; and in response to a triggering operation on the top control, display the target interpretation information on top among multiple interpretation information.

可选的,百科词条处理装置,还包括:Optional, the encyclopedia entry processing device also includes:

具体内容显示模块,用于响应于对目标释义信息的第二操作,显示目标释义信息的具体内容。The specific content display module is configured to display the specific content of the target interpretation information in response to the second operation on the target interpretation information.

可选的,百科词条处理装置,还包括:Optional, the encyclopedia entry processing device also includes:

相关内容显示模块,用于响应于对目标释义信息的第三操作,显示与目标释义信息相关的内容。The related content display module is configured to display content related to the target interpretation information in response to the third operation on the target interpretation information.

可选的,突出显示模块,具体用于显示目标释义信息,并隐藏多个释义信息中的其他释义信息;和/或,Optional, highlighting module, specifically used to display target interpretation information and hide other interpretation information in multiple interpretation information; and/or,

按照以下一种或多种方式显示目标释义信息:加粗显示目标释义信息、加下划线显示目标释义信息、斜体显示目标释义信息、高亮显示目标释义信息。Display the target interpretation information in one or more of the following ways: display the target interpretation information in bold, underline the target interpretation information, display the target interpretation information in italics, or highlight the target interpretation information.

可选的,百科词条处理装置,还包括:Optional, the encyclopedia entry processing device also includes:

映射关系建立模块,用于当响应于对目标释义信息的突出显示操作时,建立百科词条与百科词条所在文本内容,以及目标释义信息的映射关系;A mapping relationship establishment module, used to establish a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information in response to the highlighting operation of the target interpretation information;

释义信息显示模块,还用于如果文本内容的其他位置还包括该百科词条,响应于对其他位置的百科词条的释义显示操作,根据映射关系,显示其他位置的百科词条的多个释义信息。 The paraphrase information display module is also used to display multiple paraphrases of the encyclopedia entries in other locations according to the mapping relationship in response to the paraphrase display operation of the encyclopedia entries in other locations if the text content also includes the encyclopedia entry. information.

可选的,释义信息显示模块,还用于如果文本内容的其他位置还包括百科词条,响应于对其他位置的百科词条的释义显示操作,根据映射关系,突出显示其他位置的百科词条的多个释义信息中的目标释义信息;或者,根据映射关系、其他位置的百科词条的上下文信息和多个释义信息的交互信息,确定多个释义信息的显示顺序;按照显示顺序显示多个释义信息。Optionally, the paraphrase information display module is also used to, if other positions of the text content also include encyclopedia entries, respond to the paraphrase display operation of the encyclopedia entries at other positions, and highlight the encyclopedia entries at other positions according to the mapping relationship. Target interpretation information among multiple interpretation information; or, determine the display order of multiple interpretation information based on the mapping relationship, contextual information of encyclopedia entries in other locations, and interactive information of multiple interpretation information; display multiple interpretation information in accordance with the display order Paraphrase information.

上述装置中各模块或单元的具体细节已经在对应的方法中进行了详细的描述,因此此处不再赘述。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 described again here.

应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of 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 may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into being embodied by multiple modules or units.

在本申请的示例性实施例中,还提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,处理器被配置为执行本示例实施方式中上述百科词条处理方法。In an exemplary embodiment of the present application, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the above encyclopedia entry in this exemplary embodiment Approach.

图9为本申请实施例中电子设备的一种结构示意图。需要说明的是,图9示出的电子设备900仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 9 is a schematic structural diagram of an electronic device in an embodiment of the present application. It should be noted that the electronic device 900 shown in FIG. 9 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application.

如图9所示,电子设备900包括中央处理单元(CPU)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储部分908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有系统操作所需的各种程序和数据。中央处理单元901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG. 9 , the electronic device 900 includes a central processing unit (CPU) 901 that can operate according to a program stored in a read-only memory (ROM) 902 or loaded from a storage portion 908 into a random access memory (RAM) 903 And perform various appropriate actions and processing. In RAM 903, various programs and data required for system operation are also stored. The central processing unit 901, ROM 902 and RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.

以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如局域网(LAN) 卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。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., speakers, etc.; and a storage section 908 including a hard disk, etc. ; and include local area networks (LANs) such as Communication portion 909 of the network interface card of a card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. Driver 910 is also connected to I/O interface 905 as needed. Removable media 911, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.

特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。在该计算机程序被中央处理单元901执行时,执行本申请的装置中限定的各种功能。In particular, according to embodiments of the present application, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication portion 909 and/or installed from removable media 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.

本申请实施例中,还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述百科词条处理方法。In an embodiment of the present application, a computer-readable storage medium is also 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.

需要说明的是,本申请所示的计算机可读存储介质例如可以是—但不限于—电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器、只读存储器、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、射频等等,或者上述的任意合适的组合。It should be noted that the computer-readable storage medium shown in this application may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, random access memory, read only memory, erasable programmable read only memory (EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, radio frequency, etc., or any suitable combination of the above.

本申请实施例中,还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述百科词条处理方法。 In an embodiment of the present application, a computer program product is also provided. When the computer program product is run on a computer, it causes the computer to execute the above encyclopedia entry processing method.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。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 these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

以上所述仅是本申请的具体实施方式,使本领域技术人员能够理解或实现本申请。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above descriptions are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the application. Therefore, the present application is not to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (17)

一种百科词条处理方法,其特征在于,所述方法包括:A method for processing encyclopedia entries, characterized in that the method includes: 响应于对具有多个释义的百科词条的释义显示操作,显示所述百科词条的多个释义信息;In response to a paraphrase display operation for an encyclopedia entry with multiple paraphrases, display multiple paraphrase information of the encyclopedia entry; 响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息。In response to a highlighting operation on target paraphrase information among the plurality of paraphrase information, the target paraphrase information is highlighted. 根据权利要求1所述的方法,其特征在于,所述百科词条在文本内容中以区别于所述文本内容中的其他文本的显示样式显示。The method of claim 1, wherein the encyclopedia entry is displayed in the text content in a display style that is different from other texts in the text content. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising: 响应于触发所述释义显示操作的用户具有对所述文本内容的编辑权限,呈现突出显示控件,其中,所述突出显示控件用于触发对所述百科词条的其中一个释义信息的突出显示。In response to the user triggering the paraphrase display operation having editing rights to the text content, a highlighting control is presented, wherein the highlighting control is used to trigger highlighting of one of the paraphrase information of the encyclopedia entry. 根据权利要求2所述的方法,其特征在于,对所述文本内容具有编辑权限的用户的数量为多个;The method according to claim 2, characterized in that the number of users with editing permissions for the text content is multiple; 所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes: 响应于多个对所述文本内容具有编辑权限的用户对所述多个释义信息中不同的释义信息的突出显示操作,按照多个对所述文本内容具有编辑权限的用户的优先级,确定出最终的释义信息,并将所确定的最终的释义信息作为所述目标释义信息突出显示。In response to highlighting operations of different interpretation information among the plurality of interpretation information by multiple users with editing permissions on the text content, according to the priorities of the multiple users with editing permissions on the text content, determine final interpretation information, and the determined final interpretation information is highlighted as the target interpretation information. 根据权利要求2所述的方法,其特征在于,所述文本内容包括显示在所述文本内容的第一位置的所述百科词条以及显示在所述文本内容的第二位置的所述百科词条;The method of claim 2, wherein the text content includes the encyclopedia entry displayed at a first position of the text content and the encyclopedia word displayed at a second position of the text content. strip; 所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes: 响应于对位于所述第一位置的所述百科词条的所述多个释义信息中第一目标释义信息的突出显示操作,突出显示所述第一目标释义信 息;In response to a highlighting operation of the first target interpretation information among the plurality of interpretation information of the encyclopedia entry located at the first position, the first target interpretation information is highlighted interest; 响应于对位于所述第二位置的所述百科词条的所述多个释义信息中第二目标释义信息的突出显示操作,突出显示所述第二目标释义信息。In response to a highlighting operation of 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. 根据权利要求2所述的方法,其特征在于,所述文本内容包括:即时通讯会话中的文本内容或云文档中的文本内容。The method of claim 2, wherein the text content includes: text content in an instant messaging session or text content in a cloud document. 根据权利要求1所述的方法,其特征在于,所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The method according to claim 1, wherein the step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes: 响应于对所述多个释义信息中目标释义信息的置顶操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。In response to a pin operation on the target paraphrase information in the plurality of paraphrase information, the target paraphrase information is displayed at the top of the plurality of paraphrase information. 根据权利要求7所述的方法,其特征在于,所述响应于对所述多个释义信息中目标释义信息的置顶操作,将所述目标释义信息在所述多个释义信息中进行置顶显示,包括:The method according to claim 7, characterized in that, in response to the operation of pinning the target interpretation information in the plurality of interpretation information, the target interpretation information is displayed as the top in the plurality of interpretation information, include: 响应于对所述目标释义信息的第一操作,显示置顶控件;In response to the first operation on the target interpretation information, display a top control; 响应于对所述置顶控件的触发操作,将所述目标释义信息在所述多个释义信息中进行置顶显示。In response to a triggering operation on the top control, the target interpretation information is displayed on top of the plurality of interpretation information. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising: 响应于对所述目标释义信息的第二操作,显示所述目标释义信息的具体内容。In response to the second operation on the target interpretation information, specific content of the target interpretation information is displayed. 根据权利要求1或9所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 9, characterized in that, the method further includes: 响应于对所述目标释义信息的第三操作,显示与所述目标释义信息相关的内容。In response to a third operation on the target interpretation information, content related to the target interpretation information is displayed. 根据权利要求1所述的方法,其特征在于,所述响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息,包括:The method according to claim 1, wherein the step of highlighting the target interpretation information in response to the highlighting operation of the target interpretation information in the plurality of interpretation information includes: 显示所述目标释义信息,并隐藏所述多个释义信息中的其他释义 信息;和/或,Display the target interpretation information and hide other interpretations in the plurality of interpretation information information; and/or, 按照以下一种或多种方式显示所述目标释义信息:加粗显示所述目标释义信息、加下划线显示所述目标释义信息、斜体显示所述目标释义信息、高亮显示所述目标释义信息。The target interpretation information is displayed in one or more of the following ways: displaying the target interpretation information in bold, underlining the target interpretation information, displaying the target interpretation information in italics, or highlighting the target interpretation information. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising: 当响应于对所述目标释义信息的突出显示操作时,建立所述百科词条与所述百科词条所在文本内容,以及所述目标释义信息的映射关系;When responding to a highlighting operation on the target interpretation information, establish a mapping relationship between the encyclopedia entry, the text content where the encyclopedia entry is located, and the target interpretation information; 如果所述文本内容的其他位置还包括所述百科词条,响应于对其他位置的所述百科词条的释义显示操作,根据所述映射关系,显示其他位置的所述百科词条的多个释义信息。If other positions of the text content also include the encyclopedia entries, in response to the interpretation display operation of the encyclopedia entries at other positions, display multiple encyclopedia entries at other positions according to the mapping relationship Paraphrase information. 根据权利要求12所述的方法,其特征在于,所述根据所述映射关系,显示其他位置的所述百科词条的多个释义信息,包括:The method according to claim 12, characterized in that displaying multiple interpretation information of the encyclopedia entries 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 in other positions; or, 根据所述映射关系、其他位置的所述百科词条的上下文信息和所述多个释义信息的交互信息,确定所述多个释义信息的显示顺序;Determine the display order of the plurality of interpretation information according to the mapping relationship, the context information of the encyclopedia entry at other positions and the interactive information of the plurality of interpretation information; 按照所述显示顺序显示所述多个释义信息。The plurality of interpretation information are displayed in the display order. 一种百科词条处理装置,其特征在于,所述装置包括:An encyclopedia entry processing device, characterized in that the device includes: 释义信息显示模块,用于响应于对具有多个释义的百科词条的释义显示操作,显示所述百科词条的多个释义信息;A paraphrase information display module, configured to display multiple paraphrase information of the encyclopedia entry in response to a paraphrase display operation on an encyclopedia entry with multiple interpretations; 突出显示模块,用于响应于对所述多个释义信息中目标释义信息的突出显示操作,突出显示所述目标释义信息。A highlighting module configured to highlight the target interpretation information in response to a highlighting operation on the target interpretation information in the plurality of interpretation information. 一种电子设备,其特征在于,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现权利要求1-13任一项所述的百科词条处理方法。An electronic device, characterized in that it includes: a processor, the processor is used to execute a computer program stored in a memory, and when the computer program is executed by the processor, the encyclopedia described in any one of claims 1-13 is implemented. Article processing method. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-13任一项所述的 百科词条处理方法。A computer-readable storage medium with a computer program stored thereon, characterized in that when the computer program is executed by a processor, the method described in any one of claims 1-13 is implemented. Encyclopedia entry processing methods. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行权利要求1-13任一项所述的百科词条处理方法。 A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute the encyclopedia entry processing method described in any one of claims 1-13.
PCT/CN2023/096691 2022-06-08 2023-05-26 Encyclopedia entry processing method and apparatus, and electronic device, medium and program product Ceased WO2023236795A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210645517.0A CN115062589B (en) 2022-06-08 2022-06-08 Encyclopedia entry processing method, device, electronic device, medium and program product
CN202210645517.0 2022-06-08

Publications (1)

Publication Number Publication Date
WO2023236795A1 true WO2023236795A1 (en) 2023-12-14

Family

ID=83201012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096691 Ceased WO2023236795A1 (en) 2022-06-08 2023-05-26 Encyclopedia entry processing method and apparatus, and electronic device, medium and program product

Country Status (2)

Country Link
CN (1) CN115062589B (en)
WO (1) WO2023236795A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115062589B (en) * 2022-06-08 2024-10-18 北京字跳网络技术有限公司 Encyclopedia entry processing method, device, electronic device, medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080091411A1 (en) * 2006-10-12 2008-04-17 Frank John Williams Method for identifying a meaning of a word capable of identifying several meanings
CN112395524A (en) * 2020-11-24 2021-02-23 广州市久邦数码科技有限公司 Method, device and storage medium for displaying word annotation and paraphrase
CN113127641A (en) * 2021-04-23 2021-07-16 北京字节跳动网络技术有限公司 Encyclopedic entry display method, encyclopedic entry display device, encyclopedic entry display equipment, encyclopedic entry display medium and program product
CN115062589A (en) * 2022-06-08 2022-09-16 北京字跳网络技术有限公司 Encyclopedic entry processing method, encyclopedic entry processing device, electronic equipment, medium and program product

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8108204B2 (en) * 2006-06-16 2012-01-31 Evgeniy Gabrilovich Text categorization using external knowledge
CN103455524B (en) * 2012-06-05 2021-06-22 北京搜狗信息服务有限公司 Method and device for displaying and acquiring entry information
US20140067731A1 (en) * 2012-09-06 2014-03-06 Scott Adams Multi-dimensional information entry prediction
CN104182469B (en) * 2014-07-25 2020-04-21 北京搜狗科技发展有限公司 Method for annotating document and input method system
CN105808515A (en) * 2016-03-04 2016-07-27 北京奇虎科技有限公司 Editing method and editing device of encyclopedic entry on the basis of clause
CN107402909A (en) * 2017-06-16 2017-11-28 合肥龙图腾信息技术有限公司 A kind of encyclopaedia content input method and system
US10769424B2 (en) * 2019-02-11 2020-09-08 Google Llc Interactive editing of electronic text
CN114372122A (en) * 2021-12-08 2022-04-19 阿里云计算有限公司 Information acquisition method, computing device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080091411A1 (en) * 2006-10-12 2008-04-17 Frank John Williams Method for identifying a meaning of a word capable of identifying several meanings
CN112395524A (en) * 2020-11-24 2021-02-23 广州市久邦数码科技有限公司 Method, device and storage medium for displaying word annotation and paraphrase
CN113127641A (en) * 2021-04-23 2021-07-16 北京字节跳动网络技术有限公司 Encyclopedic entry display method, encyclopedic entry display device, encyclopedic entry display equipment, encyclopedic entry display medium and program product
CN115062589A (en) * 2022-06-08 2022-09-16 北京字跳网络技术有限公司 Encyclopedic entry processing method, encyclopedic entry processing device, electronic equipment, medium and program product

Also Published As

Publication number Publication date
CN115062589A (en) 2022-09-16
CN115062589B (en) 2024-10-18

Similar Documents

Publication Publication Date Title
CN109923568B (en) Mobile Data Insights Platform for Data Analytics
US11132114B2 (en) Method and apparatus for generating customized visualization component
US9880989B1 (en) Document annotation service
CN106919711B (en) Method and device for labeling information based on artificial intelligence
US20150026146A1 (en) System and method for applying a set of actions to one or more objects and interacting with the results
US20220121668A1 (en) Method for recommending document, electronic device and storage medium
CN107330087B (en) Method and device for generating page file
US20170235582A1 (en) Systems and methods method for providing an interactive help file for host software user interfaces
US20200265113A1 (en) Transforming Digital Text Content using Expressions
CN107797804A (en) The method and apparatus for generating front end interactive interface
WO2024099171A1 (en) Video generation method and apparatus
CN111782850A (en) A method and device for searching items based on hand drawing
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN113076499A (en) Page interaction method, device, equipment, medium and program product
US10545640B1 (en) Previewing electronic content within third-party websites
US11907639B2 (en) Electronic publishing platform
CN110519155B (en) Information processing method and system
WO2023236795A1 (en) Encyclopedia entry processing method and apparatus, and electronic device, medium and program product
CN113238747B (en) Label generation method and system for self-adaptive container display
CN107341237A (en) Method and apparatus for processing information
US10878005B2 (en) Context aware document advising
CN118175400A (en) Video editing method and device, and electronic device
CN113179183B (en) Service switch state control device and method
CN117289869B (en) Data processing method, device, equipment and storage medium
US10311524B2 (en) Hashtag segmentation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23818960

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 18/03/2025)

122 Ep: pct application non-entry in european phase

Ref document number: 23818960

Country of ref document: EP

Kind code of ref document: A1