Method, device, computer equipment and storage medium for displaying comment content
By generating and displaying comment tags, the problem that readers cannot quickly understand the characteristics of books is solved, and the efficiency of reading decisions is improved.
Patent Information
- Application Number
- CN202211007748.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-08-22
AI Technical Summary
In the prior art, too much book review content and less information are made, which makes readers unable to quickly understand the characteristics of the book, affecting the efficiency of reading decisions.
By refining the target entity words and target attribute characteristic words in the comment content, generating comment tags, and displaying these tags and comment content on the target page, adjusting the label arrangement order using reading conversion rates to filter related comment content.
It improves the decision-making efficiency of readers to quickly understand the characteristics of books through comment content, and helps readers quickly make decisions about whether to read.
Smart Images

Figure CN115374380B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a method, apparatus, computer equipment, and storage medium for displaying comment content. Background Art
[0002] With the development of Internet technology, more and more readers are reading books through electronic reading methods, such as reading on applications (APPs) that provide book resources. Such apps can not only display the content of the books, but also display the comments posted by readers on the books.
[0003] Readers can browse the displayed reviews to determine whether the current book is one they are interested in and would like to read. However, due to the large number of reviews and the limited information that can help readers make decisions, readers cannot quickly understand the book itself through the reviews, which affects their decision-making efficiency. Summary of the Invention
[0004] The embodiments of the present disclosure at least provide a method, apparatus, computer device, and storage medium for displaying comment content.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for displaying comment content, including:
[0006] In response to a review content display trigger operation for a target book, a plurality of review tags corresponding to the target book and the review content under each review tag are obtained; the review tags are determined based on target entity words in the review content and target attribute feature words associated with the target entity words;
[0007] A plurality of the comment tags and the comment content under the target comment tag are displayed on the target page; the target comment tag is the comment tag selected from the plurality of the comment tags.
[0008] In an optional implementation, the comment tag is determined by the following steps:
[0009] Determine target keywords whose appearance frequency in the review content is greater than a set threshold; the target keywords include entity words and attribute feature words;
[0010] Determine a plurality of candidate phrases based on the entity words and the attribute feature words; each candidate phrase includes one entity word and one attribute feature word;
[0011] Determining a target phrase from the plurality of candidate phrases based on the association between the entity words and the attribute feature words in each candidate phrase;
[0012] The target entity words and target attribute feature words in the target phrase are concatenated to obtain the comment label.
[0013] In an optional implementation, displaying a plurality of comment tags on a target page includes:
[0014] The plurality of review tags are displayed on the target page in the order in which the review tags are arranged; wherein the order in which the plurality of review tags are arranged is determined based on the reading conversion rate of each review tag; the reading conversion rate is used to represent the proportion of reading behaviors of each user for the target book after consuming the review content under the review tag.
[0015] In an optional implementation, the method further includes:
[0016] Periodically updating the reading conversion rate of each comment tag;
[0017] Based on the updated reading conversion rate, the arrangement order of the plurality of comment tags is updated.
[0018] In an optional implementation, the comment content under each comment tag is determined according to the following steps:
[0019] Determine, from each review content, a target entity word in the review tag or an entity word identical to the entity object referred to by the target entity word, and / or an attribute feature word in the review tag or a word semantically identical to the attribute feature word as candidate review content;
[0020] From the candidate review contents, target review contents whose semantic relevance to the review tag meets preset conditions are selected as review contents under the review tag.
[0021] In an optional implementation, displaying the comment content under the target comment tag on the target page includes:
[0022] Based on the interactive behavior data corresponding to each target comment content under the comment tag, the plurality of target comment contents are sorted, and the comment content under the target comment tag is displayed according to the sorting result.
[0023] In an optional implementation, displaying the plurality of comment tags and the comment content under the target comment tag on the target page includes:
[0024] Displaying a plurality of the comment tags and the number of comment contents corresponding to each of the comment tags in a first area of the target page;
[0025] The second area in the target page displays the comment content under the target comment tag.
[0026] In a second aspect, the present disclosure also provides a review content display device, including:
[0027] An acquisition module is configured to, in response to a review content display trigger operation for a target book, acquire a plurality of review tags corresponding to the target book and the review content under each review tag; the review tags are determined based on target entity words in the review content and target attribute feature words associated with the target entity words;
[0028] The display module is used to display multiple comment tags and the comment content under the target comment tag on the target page; the target comment tag is the comment tag selected from the multiple comment tags.
[0029] In a third aspect, an embodiment of the present disclosure further provides a computer device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are performed.
[0030] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.
[0031] The review content display method provided by the embodiment of the present disclosure extracts the content that can represent the characteristics of the book in the review content, generates a simple review tag, and displays the review content on the target page for displaying the review content. Here, the review tag is determined based on the target entity word in the review content and the target attribute features associated with the target entity word. By extracting the target entity word and target attribute features in the review content, it is possible to more accurately summarize the book feature information that assists users in making decisions, so that users can quickly understand some characteristics of the target book through the review tag, thereby improving the decision-making efficiency of whether to read.
[0032] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0034] Figure 1 A flowchart of a method for displaying comment content provided by an embodiment of the present disclosure is shown;
[0035] Figure 2 A schematic diagram of a target page provided by an embodiment of the present disclosure is shown;
[0036] Figure 3 A schematic diagram showing another target page provided by an embodiment of the present disclosure is shown;
[0037] Figure 4 A schematic diagram showing another target page provided by an embodiment of the present disclosure is shown;
[0038] Figure 5 A schematic diagram showing the structure of a review content display device provided by an embodiment of the present disclosure is shown;
[0039] Figure 6 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure for which protection is sought, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0041] Currently, there are many different book options, and many readers like to read book reviews to help them decide whether to read a book. However, the large amount of review information does not allow readers to quickly understand the core content of the book, which affects the efficiency of their decision-making.
[0042] Based on this, the embodiment of the present disclosure provides a review content display method, which extracts the content in the review content that can represent the characteristics of the book, generates simple review tags, and displays them on the target page for displaying the review content, that is, in response to the review content display trigger operation for the target book, obtains multiple review tags corresponding to the target book and the review content under each review tag; the review tags here are determined based on the target entity words in the review content and the target attribute feature words associated with the target entity words; after obtaining the review tags and review content, the obtained multiple review tags and the review content under the selected target review tag among the multiple review tags are displayed on the target page.
[0043] By displaying multiple extracted review tags, users can quickly understand some characteristics of the target book and improve the efficiency of deciding whether to read it. In addition, the review content display method provided by the embodiment of the present disclosure obtains multiple review tags of the target book based on the target entity words in the review content and the target attribute features associated with the target entity words. By extracting the target entity words and target attribute features in the review content, the book feature information that assists users in making decisions can be summarized more accurately, so that users can quickly understand some characteristics of the target book through the review tags and improve the efficiency of deciding whether to read it.
[0044] The defects of the above solutions and the proposed solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.
[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0046] To facilitate understanding of this embodiment, a comment content display method disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the comment content display method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities.
[0047] The following describes the comment content display method provided by the embodiment of the present disclosure by taking the execution subject as a terminal device as an example.
[0048] See also Figure 1 FIG. 1 is a flowchart of a method for displaying comment content provided by an embodiment of the present disclosure, wherein the method includes S101 to S102, wherein:
[0049] S101: In response to a trigger operation for displaying review content for a target book, a plurality of review tags corresponding to the target book and the review content under each review tag are obtained; the review tags are determined based on target entity words in the review content and target attribute feature words associated with the target entity words.
[0050] S102: Displaying a plurality of the comment tags and the comment content under a target comment tag on a target page; the target comment tag is a comment tag selected from the plurality of comment tags.
[0051] In the disclosed embodiments, the target book may be a book displayed on a book recommendation page or any book resource page of an application or website that provides book resources. The review content display triggering operation may include opening the target book (for example, by clicking on the book cover), entering the target book details page, or triggering the review content display control for the target book (for example, by clicking on a "Comment" button).
[0052] In one embodiment, the multiple review tags corresponding to the target book and the review content under each review tag can be obtained by the terminal device from the server. In a specific implementation, after receiving a trigger operation for displaying the review content of the target book, the terminal device sends a review content acquisition request to the server. After receiving the review content acquisition request, the server generates review tags for the target book and synchronously sends the review tags and the review content under each review tag to the terminal device. Alternatively, after receiving the review content acquisition request, the server can synchronously send pre-generated review tags and the review content under each review tag to the terminal device.
[0053] The disclosed embodiment can assist users in quickly understanding some characteristics of target books by displaying multiple refined review tags, thereby improving the efficiency of decision-making on whether to read the books.
[0054] Here, the review label is obtained by language extraction of the review content. The target entity words in the review content often represent the entity object of the user's review, and the target attribute feature words corresponding to the target entity words often represent the attribute characteristics of the entity object of the user's review. The review label obtained by combining the target entity words and the target attribute feature words can reflect some characteristics of the book content. The target entity words in the review label can include words that represent entity objects such as people, things, and concepts; the target attribute feature words include words that can represent the attribute characteristics of the entity object referred to by the target entity words, such as kindness, humor, and many.
[0055] By extracting target entity words and target attribute features from review content to generate review tags, we can more accurately summarize the characteristics of books that assist users in making decisions. This allows users to quickly understand some characteristics of the target books through review tags and improve the efficiency of deciding whether to read.
[0056] In one embodiment, the comment tag may be generated by the following steps:
[0057] Step 11: Determine target keywords whose appearance frequency in the review content is greater than a set threshold; the target keywords include entity words and attribute feature words.
[0058] Step 12: Based on each of the entity words and the attribute feature words, determine a plurality of candidate phrases; each of the candidate phrases includes one of the entity words and one of the attribute feature words.
[0059] Step 13: Determine a target phrase from the plurality of candidate phrases based on the association between the entity words and the attribute feature words in each candidate phrase.
[0060] Step 14: Concatenate the target entity words and target attribute feature words in the target phrase to obtain the comment label.
[0061] In the above embodiment, after obtaining the review content published on the target book, the review content can be pre-processed, such as word segmentation, stop word removal, etc., to obtain the various keywords in the review content. Then, the frequency of occurrence of each keyword in the review content is determined respectively, and the keywords with an occurrence frequency greater than the set threshold are used as target keywords, with the purpose of screening target keywords with a higher occurrence frequency. The target keywords can be target keywords for noun parts of speech and target keywords for adjective parts of speech. In one embodiment, the target keywords for noun parts of speech may include entity words, and the target keywords for adjective parts of speech may include attribute feature words. Among them, entity words include words that can represent entities such as people, things, and concepts; attribute feature words include words that can represent the attribute characteristics of entities, such as kindness, humor, and a lot.
[0062] Candidate phrases can be formed by any combination of entity words and attribute feature words. The correlation between entity words and attribute feature words in each candidate phrase can be determined based on the co-occurrence of the entity words and attribute feature words. The co-occurrence of the entity words and attribute feature words can include the number of times or frequency that the entity words and attribute feature words co-occur.
[0063] Here, a relevance threshold can be set, and the candidate phrases whose corresponding relevance exceeds the relevance threshold can be used as target phrases. Next, the target entity words and target attribute features in the target phrase can be spliced according to preset rules. In one embodiment, the target entity word can be set in front of the target attribute feature. For example, if the target entity word is "plot" and the target attribute feature associated with the target entity word is "complex", "plot" and "complex" can be spliced into a comment label of "complex plot".
[0064] The comment content under the comment tag may include the target entity word in the comment tag or the entity word that is the same as the entity object referred to by the target entity word, and / or include the attribute feature word in the comment tag or a word with the same semantics as the attribute feature word.
[0065] The target page may refer to a page used to display comment tags and comment content. Multiple comment tags may be displayed simultaneously on the target page. If at least one of the multiple comment tags is selected, the comment content under the selected comment tag (i.e., the target comment tag) may be displayed.
[0066] In one embodiment, the multiple comment tags may be displayed on the target page in the order in which the multiple comment tags are arranged.
[0067] The arrangement order of the plurality of comment tags may be determined based on the reading conversion rate of each comment tag, and the arrangement order may be obtained by the terminal device from the server. In a specific implementation, the comment tag with a higher reading conversion rate has a higher corresponding arrangement order.
[0068] Among them, the reading conversion rate can be used to characterize the proportion of users who engage in reading behavior for the target book after consuming the comment content under the comment tag. Specifically, users can consume comment content by clicking, viewing, commenting, forwarding, etc. When the user engages in reading behavior for the target book after consuming the comment content in at least one of the above methods, it can be said that a reading conversion has occurred. In practice, reading conversion may not necessarily occur after the user consumes the comment content in at least one of the above methods. Here, the probability of the user having a reading conversion can be determined. Specifically, for the comment content under each comment tag, the number of first users who consumed the comment content under the comment tag and the number of second users among the first users who engaged in reading behavior for the target book after consuming the comment content under the comment tag can be obtained, and the ratio of the number of second users to the number of first users can be determined, that is, the reading conversion rate of the comment tag.
[0069] In specific implementation, when there are a large number of comment tags, the comment tags can be displayed in multiple rows or columns. Figure 2The schematic diagram of a target page shown in FIG. 1 shows two rows of comment tags, i.e., comment tag 1, comment tag 2, comment tag 3, comment tag 4, and comment tag 5. The comment tags can be displayed in order from top to bottom and from left to right. The comment tag 1 displayed on the leftmost side of the upper row has the highest reading conversion rate, and the comment tag 5 displayed on the rightmost side of the lower row has the lowest reading conversion rate. Content related to the target book can also be displayed in other areas of the target page, such as the comment content under the comment tag. The specific display content is not limited here.
[0070] In the disclosed embodiment, the arrangement order of multiple review tags is updated periodically. As the user's consumption of the review content under each review tag changes, the reading conversion rate of the review tag will also change. Therefore, in one embodiment, the reading conversion rate of each review tag can be updated periodically; based on the updated reading conversion rate, the arrangement order of multiple review tags is updated. In a specific implementation, for example, it can be updated every other day. By periodically updating the arrangement order of multiple review tags, review tags with higher reading conversion rates can be displayed first, so that users can give priority to review tags with high reading conversion rates, and then quickly understand the core content of the target book, thereby improving the user's decision-making efficiency.
[0071] In the embodiment of the present disclosure, a preset number of review tags can be displayed on the target page. In addition to the review tags determined according to the review content, the multiple review tags can also include default review tags, such as "all", "latest", etc. Different target books can correspond to the same default review tag. Figure 3 The schematic diagram of another target page shown shows the comment tags "All", "Latest", "Comment Tag 1", "Comment Tag 2", and "Comment Tag 3" from top to bottom and from left to right. The above comment tags can be arranged according to the highest reading conversion rate, among which "All" and "Latest" are the default comment tags and are displayed before other comment tags. Content related to the target book can also be displayed in other areas of the target page, such as the comment content under the comment tag. The specific display content is not limited here.
[0072] The target page may include a first area and a second area, such as Figure 4In the schematic diagram of another target page shown, the first area is located above the second area, and the first area of the target page displays the comment labels "Comment Label 1", "Comment Label 2", "Comment Label 3", "Comment Label 4", and "Comment Label 5", and the second area of the target page displays the comment content under the target comment label. Among them, under each comment content, other users' interactive data on the comment content can also be displayed, which can specifically include the number of likes, dissents, and comment content for the comment content. Figure 4 In the target page, a third area is also shown, and the third area can be located above the first area. The third area shows the rating information of the target book by the user, and the rating information can include a review score and a rating level.
[0073] Considering the limited content displayed on the target page, in order to allow users to more quickly understand the core content of the target book, in one embodiment, the comments under each comment tag can be filtered to select the comments that are more relevant to the comment tag and displayed. Specifically, in one embodiment, the comments under each comment tag can be determined according to the following steps:
[0074] Step 21: From each comment content, determine the target entity word in the comment tag or the entity word that is the same as the entity object referred to by the target entity word, and / or the attribute feature word in the comment tag or the word with the same semantics as the attribute feature word as the candidate comment content.
[0075] Step 22: From each of the candidate review contents, select a target review content whose semantic relevance to the review tag meets a preset condition as the review content under the review tag.
[0076] In the above implementation, the target entity word in the comment tag, the entity word that is the same as the entity object referred to by the target entity word, the attribute feature word in the comment tag, and the word that is semantically identical to the attribute feature word can all be used as candidate comment content.
[0077] For example, the target entity word may be "female protagonist", and the entity word that is the same as the entity object referred to by the target entity word may be the name of the "female protagonist" "AA", etc.
[0078] In a specific implementation, a threshold of semantic relevance may be set. Here, target review content may be selected whose semantic relevance to the review tag is greater than or equal to the threshold of semantic relevance.
[0079] In the disclosed embodiments, the comments under the target comment tag can be sorted, and the comments with more user interactions can be displayed first. In one embodiment, multiple target comment contents can be sorted based on the interaction behavior data corresponding to each target comment content under the comment tag, and the comment contents under the target comment tag can be displayed according to the sorting results.
[0080] Interactive behaviors may include clicks, views, comments, and forwarding of target review content. The interactive behavior data corresponding to each target review content may include data such as the number of interactions and the number of interactive words. In one implementation, multiple target review contents may be sorted according to the numerical values corresponding to the interactive behavior data, and the review contents with larger numerical values corresponding to the interactive behavior data are arranged in front. The review contents displayed by the sorting results obtained by the sorting method described above can enable users to read the review contents with corresponding larger numerical values of the interactive behavior data first, so that the core content of the target book can be obtained more quickly.
[0081] The comment content under each comment tag can be updated over time. Therefore, in one embodiment, the updated target comment content can be periodically obtained, and then the sorting results can be updated based on the updated target comment content, so that the comment content under the target comment tag can be displayed according to the updated sorting results.
[0082] Through the above-mentioned review content display method provided by the embodiment of the present disclosure, the content in the review content that can represent the characteristics of the book is refined, a simple review tag is generated, and the review is displayed on the target page for displaying the review content. Here, the review tag is determined based on the target entity word in the review content and the target attribute features associated with the target entity word. By refining the target entity word and target attribute features in the review content, the book feature information that assists user decision-making can be summarized more accurately, so that users can quickly understand some characteristics of the target book through the review tag, thereby improving the decision-making efficiency of whether to read.
[0083] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0084] Based on the same inventive concept, the embodiment of the present disclosure also provides a comment content display device corresponding to the comment content display method. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned comment content display method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0085] Reference Figure 5 FIG. 5 is a schematic diagram of a review content display device provided by an embodiment of the present disclosure, wherein the device includes: an acquisition module 501 and a display module 502, wherein:
[0086] An acquisition module 501 is configured to, in response to a review content display triggering operation for a target book, acquire a plurality of review tags corresponding to the target book and the review content under each review tag; the review tags are determined based on target entity words in the review content and target attribute feature words associated with the target entity words;
[0087] The display module 502 is used to display multiple comment tags and the comment content under the target comment tag on the target page; the target comment tag is the comment tag selected from the multiple comment tags.
[0088] In an optional embodiment, the device further includes:
[0089] The first determining module is configured to:
[0090] Determine target keywords whose appearance frequency in the review content is greater than a set threshold; the target keywords include entity words and attribute feature words;
[0091] Determine a plurality of candidate phrases based on the entity words and the attribute feature words; each candidate phrase includes one entity word and one attribute feature word;
[0092] Determining a target phrase from the plurality of candidate phrases based on the association between the entity words and the attribute feature words in each candidate phrase;
[0093] The target entity words and target attribute feature words in the target phrase are concatenated to obtain the comment label.
[0094] In an optional implementation, the display module 502 is specifically configured to:
[0095] The plurality of review tags are displayed on the target page in the order in which the review tags are arranged; wherein the order in which the plurality of review tags are arranged is determined based on the reading conversion rate of each review tag; the reading conversion rate is used to represent the proportion of reading behaviors of each user for the target book after consuming the review content under the review tag.
[0096] In an optional embodiment, the device further includes:
[0097] A first updating module, configured to periodically update the reading conversion rate of each comment tag;
[0098] The second updating module is used to update the arrangement order of the plurality of comment tags based on the updated reading conversion rate.
[0099] In an optional embodiment, the device further includes:
[0100] The second determining module is configured to:
[0101] Determine, from each review content, a target entity word in the review tag or an entity word identical to the entity object referred to by the target entity word, and / or an attribute feature word in the review tag or a word semantically identical to the attribute feature word as candidate review content;
[0102] From the candidate review contents, target review contents whose semantic relevance to the review tag meets preset conditions are selected as review contents under the review tag.
[0103] In an optional implementation, the display module 502 is specifically configured to:
[0104] Based on the interactive behavior data corresponding to each target comment content under the comment tag, the plurality of target comment contents are sorted, and the comment content under the target comment tag is displayed according to the sorting result.
[0105] In an optional implementation, the display module 502 is specifically configured to:
[0106] Displaying a plurality of the comment tags and the number of comment contents corresponding to each of the comment tags in a first area of the target page;
[0107] The second area in the target page displays the comment content under the target comment tag.
[0108] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0109] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 66 is a schematic diagram of the structure of a computer device 600 provided in an embodiment of the present disclosure, including a processor 601, a memory 602, and a bus 603. The memory 602 is used to store execution instructions and includes a memory 6021 and an external memory 6022. The memory 6021 is also referred to as internal memory and is used to temporarily store operation data in the processor 601 and data exchanged with an external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the computer device 600 is running, the processor 601 communicates with the memory 602 via the bus 603, so that the processor 601 executes the following instructions:
[0110] In response to a review content display trigger operation for a target book, a plurality of review tags corresponding to the target book and the review content under each review tag are obtained; the review tags are determined based on target entity words in the review content and target attribute feature words associated with the target entity words;
[0111] A plurality of the comment tags and the comment content under the target comment tag are displayed on the target page; the target comment tag is the comment tag selected from the plurality of the comment tags.
[0112] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program executes the steps of the method for displaying review content described in the above method embodiment. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0113] The present disclosure also provides a computer program product that carries program code. The program code includes instructions that can be used to execute the steps of the comment content display method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0114] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0116] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0117] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0118] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0119] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A method for displaying comment content, characterized in that: include: In response to a review content display triggering operation for a target book, obtaining a plurality of review tags corresponding to the target book and the review content under each of the review tags; The comment tag is determined based on a target entity word in the comment content and a target attribute feature word associated with the target entity word, wherein the target entity word represents multiple dimensions, including people, things, and concepts; Displaying a plurality of the comment tags and the comment content under the target comment tag on the target page; the target comment tag is the comment tag selected from the plurality of the comment tags; Wherein, a default tag is also displayed on the target page, used to represent the entirety and update of the comment tag, the default tag is displayed side by side with the comment tag, and the default tag is displayed in front of the comment tag; The comment label is determined by the following steps: Determine target keywords whose occurrence frequency in the review content is greater than a set threshold; the target keywords include keywords of the noun part of speech and keywords of the adjective part of speech; the keywords of the noun part of speech include entity words; the keywords of the adjective part of speech include attribute feature words; Arbitrarily combining the entity words and the attribute feature words to obtain a plurality of candidate phrases, each of the candidate phrases including one entity word and one attribute feature word; Determining a target phrase from the plurality of candidate phrases based on the association between the entity words and the attribute feature words in each of the candidate phrases; and The target entity words and target attribute feature words in the target phrase are concatenated to obtain the comment label.
2. The method according to claim 1, characterized in that The displaying of multiple comment tags on the target page includes: The plurality of review tags are displayed on the target page in the order in which the review tags are arranged; wherein the order in which the plurality of review tags are arranged is determined based on the reading conversion rate of each review tag; the reading conversion rate is used to represent the proportion of reading behaviors of each user for the target book after consuming the review content under the review tag.
3. The method according to claim 2, characterized in that The method further comprises: Periodically updating the reading conversion rate of each comment tag; Based on the updated reading conversion rate, the arrangement order of the plurality of comment tags is updated.
4. The method according to claim 1, wherein The content of comments under each of the comment tags is determined by the following steps: Determine, from each review content, a target entity word in the review tag or an entity word identical to the entity object referred to by the target entity word, and / or an attribute feature word in the review tag or a word semantically identical to the attribute feature word as candidate review content; From the candidate review contents, target review contents whose semantic relevance to the review tag meets preset conditions are selected as review contents under the review tag.
5. The method according to claim 4, characterized in that The display of the comment content under the target comment tag on the target page includes: Based on the interactive behavior data corresponding to each target comment content under the comment tag, the plurality of target comment contents are sorted, and the comment content under the target comment tag is displayed according to the sorting result.
6. The method according to claim 1, characterized in that The display of the plurality of comment tags and the comment content under the target comment tag on the target page includes: Displaying a plurality of the comment tags and the number of comment contents corresponding to each of the comment tags in a first area of the target page; The second area in the target page displays the comment content under the target comment tag.
7. A review content display device, characterized in that: include: An acquisition module, configured to acquire, in response to a review content display triggering operation for a target book, a plurality of review tags corresponding to the target book and the review content under each review tag; The comment tag is determined based on a target entity word in the comment content and a target attribute feature word associated with the target entity word, wherein the target entity word represents multiple dimensions, including people, things, and concepts; A display module, configured to display a plurality of the comment tags and the comment content under the target comment tag on a target page; the target comment tag is a comment tag selected from the plurality of the comment tags; Wherein, a default tag is also displayed on the target page, used to represent the entirety and update of the comment tag, the default tag is displayed side by side with the comment tag, and the default tag is displayed in front of the comment tag; The device further includes a first determining module, configured to: Determine target keywords whose occurrence frequency in the review content is greater than a set threshold; the target keywords include keywords of the noun part of speech and keywords of the adjective part of speech; the keywords of the noun part of speech include entity words; the keywords of the adjective part of speech include attribute feature words; Arbitrarily combining the entity words and the attribute feature words to obtain a plurality of candidate phrases, each candidate phrase including one entity word and one attribute feature word; Determining a target phrase from the plurality of candidate phrases based on the association between the entity words and the attribute feature words in each of the candidate phrases; and The target entity words and target attribute feature words in the target phrase are concatenated to obtain the comment label.
8. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor and the memory communicate through the bus. When the machine-readable instructions are executed by the processor, the steps of the comment content display method as described in any one of claims 1 to 6 are performed.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the comment content display method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for displaying information, electronic equipment and computer readable medium
CN111339295A
Movie comment data processing method and device
CN111787409A
A method and equipment for providing presentation information
CN111930277A