Text-based content recommendation method, system, intelligent terminal and medium

By extracting the proper nouns and entity information of the target text content from the text to be processed, and performing text retrieval to generate recommended content, the problem of inaccurate positioning and low relevance in the existing technology is solved, and the user experience and recommendation quality are improved.

CN118364093BActive Publication Date: 2024-10-01INT DIGITAL ECONOMY ACAD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410791098.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-01
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

When the existing technology recommends entity information in text content that users are interested in, the positioning is not accurate enough and the relevance is low, resulting in poor user experience.

Method used

Obtain target text content from the text to be processed, extract proper nouns and determine entity information, and perform text retrieval through entity information to generate associated recommended content.

Benefits of technology

It improves the accuracy of text content positioning and the relevance of recommended content, and improves the user experience and the quality of recommended content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364093B_ABST
    Figure CN118364093B_ABST
Patent Text Reader

Abstract

The present application discloses a text-based content recommendation method, system, intelligent terminal and medium, which relates to the field of artificial intelligence technology, wherein the method comprises: obtaining target text content from a text to be processed; obtaining proper nouns in the target text content according to the target text content; determining entity information in the target text content according to the proper nouns; and performing text retrieval according to the entity information to generate recommended content associated with the entity information. The present application scheme can enhance user experience and is conducive to improving the accuracy and efficiency of content recommendation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a text-based content recommendation method, system, intelligent terminal and medium. Background Art

[0002] With the development of science and technology, more and more information needs to be processed, among which more and more information is presented in the form of electronic documents, and users' requirements for the processing of electronic documents are getting higher and higher.

[0003] When recommending relevant content based on relevant entity information in text content that users are interested in, existing recommendation systems fail to fully combine entity information, text relevance, etc. with respect to users' interactions with content that they are interested in in the text, resulting in a mismatch between the recommended content and user needs, which in turn affects the user experience.

[0004] Therefore, relevant technologies still need to be improved and developed. Summary of the invention

[0005] The main purpose of this application is to provide a text-based content recommendation method, system, intelligent terminal and medium, aiming to solve the technical problems in the related technology that when recommending entity information related content in text content of interest to users, the text content positioning is not accurate enough, the recommended content has low relevance and poor quality, and the user experience is not good.

[0006] In order to achieve the above object, the present application provides a text-based content recommendation method in a first aspect, wherein the text-based content recommendation method comprises:

[0007] Obtain target text content from the text to be processed;

[0008] According to the target text content, obtaining proper nouns in the target text content;

[0009] Determining entity information in the target text content according to the proper noun;

[0010] Text retrieval is performed according to the entity information to generate recommended content associated with the entity information.

[0011] Optionally, obtaining the target text content from the text to be processed includes:

[0012] Dividing the text to be processed into paragraphs to obtain multiple candidate paragraphs, and determining the position area corresponding to each of the candidate paragraphs;

[0013] The target text content is determined from the text to be processed according to the interactive position corresponding to the interactive operation triggered by the target object in the text to be processed and the position area corresponding to each of the candidate paragraphs.

[0014] Optionally, dividing the text to be processed into paragraphs to obtain a plurality of candidate paragraphs, and determining a location area corresponding to each of the candidate paragraphs includes:

[0015] If the data format of the text to be processed is a portable document format, locating the position area corresponding to each line of text in the text to be processed according to a preset portable document parser;

[0016] According to the position area corresponding to each line of text, the position area corresponding to each candidate paragraph is determined.

[0017] Optionally, determining the position area corresponding to each candidate paragraph according to the position area corresponding to each line of text includes:

[0018] Determine the line spacing between adjacent lines in the text to be processed according to the position area corresponding to each line of text;

[0019] Determining a paragraph correlation relationship between adjacent lines in the text to be processed according to the line spacing between adjacent lines in the text to be processed, wherein the paragraph correlation relationship is used to indicate whether two corresponding adjacent lines of text belong to the same paragraph;

[0020] Divide each line of the text to be processed into paragraphs according to the paragraph correlation relationship to obtain a plurality of candidate paragraphs;

[0021] The position area corresponding to the candidate paragraph is determined according to the position area corresponding to each line of text in the candidate paragraph.

[0022] Optionally, determining the paragraph correlation relationship between adjacent lines in the text to be processed according to the line spacing between adjacent lines in the text to be processed includes:

[0023] Determine the mean value of the line spacing corresponding to the text to be processed according to the line spacing between adjacent lines in the text to be processed;

[0024] The paragraph correlation relationship between adjacent lines in the text to be processed is determined according to the line spacing mean and the line spacing between adjacent lines in the text to be processed.

[0025] Optionally, dividing the text to be processed into paragraphs to obtain a plurality of candidate paragraphs, and determining a location area corresponding to each of the candidate paragraphs includes:

[0026] If the text to be processed is a web page text, dividing the text to be processed into paragraphs according to the web page paragraph tags to obtain a plurality of candidate paragraphs;

[0027] According to the element position acquisition function for the web page, the position area corresponding to each candidate paragraph is acquired.

[0028] Optionally, obtaining proper nouns in the target text content according to the target text content includes:

[0029] Performing word segmentation processing on the target text content to obtain candidate nouns in the target text content;

[0030] According to the candidate nouns, proper nouns in the target text content are screened.

[0031] Optionally, determining entity information in the target text content according to the proper noun includes:

[0032] According to a preset database, each of the proper nouns is matched to obtain entity information corresponding to the proper noun;

[0033] If the entity information corresponding to the proper noun is not matched, then according to the preset prompt, the entity information corresponding to the proper noun is obtained through the trained entity information matching model;

[0034] The proper noun corresponding to the obtained entity information is determined as the entity information in the target text content.

[0035] Optionally, the method further includes:

[0036] The entity information includes the category to which the entity belongs;

[0037] An indication mark is added to the entity information in the target text content according to the category to which the entity belongs.

[0038] Optionally, the entity information includes the name of the entity;

[0039] The performing text retrieval according to the entity information to generate recommended content associated with the entity information includes:

[0040] Perform text retrieval based on the name of the entity to obtain candidate text content associated with the entity information;

[0041] Calculating a comprehensive score of the candidate text content based on the candidate text content and the target text content;

[0042] The candidate text contents are sorted according to the comprehensive scores to generate recommended contents associated with the entity information.

[0043] Optionally, calculating a comprehensive score of the candidate text content according to the candidate text content and the target text content includes:

[0044] Obtaining the importance score of the entity information in the target text content;

[0045] Obtaining a first relevance score between the entity information and the candidate text content, a second relevance score between the candidate text content and the target text content, and an information freshness score corresponding to the candidate text content;

[0046] A comprehensive score of the candidate text content associated with the entity information is obtained according to the importance score, the first relevance score, the second relevance score and the information freshness score.

[0047] Optionally, after sorting the candidate text contents according to the comprehensive scores to generate recommended contents associated with the entity information, the method further includes:

[0048] Determining interactive text content of the target object in the recommended content according to the interactive operation of the target object in the recommended content;

[0049] According to the interactive text content, updating the comprehensive score of the interactive text content;

[0050] According to the updated comprehensive score of the interactive text content, the ranking of the candidate text content in the recommended content is updated to obtain the updated recommended content.

[0051] Optionally, updating the comprehensive score of the interactive text content according to the interactive text content includes:

[0052] According to the interactive text content, respectively updating the importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content;

[0053] According to the updated importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content, respectively updating each score weight;

[0054] A comprehensive score of the interactive text content is determined based on the updated score weights, the updated importance score, the first relevance score, the second relevance score and the information freshness score.

[0055] A second aspect of the present application provides a text-based content recommendation system, wherein the text-based content recommendation system includes:

[0056] A target text content determination module is used to obtain the target text content from the text to be processed;

[0057] A proper noun determination module, used to obtain proper nouns in the target text content according to the target text content;

[0058] An entity acquisition module, used to determine entity information in the target text content according to the proper noun;

[0059] The retrieval module is used to perform text retrieval according to the entity information to generate recommended content associated with the entity information.

[0060] A third aspect of the present application provides an intelligent terminal, which includes a memory, a processor, and a text-based content recommendation program stored in the memory and executable on the processor, wherein the text-based content recommendation program implements any one of the steps of the text-based content recommendation method when executed by the processor.

[0061] A fourth aspect of the present application provides a computer-readable storage medium, on which a text-based content recommendation program is stored. When the text-based content recommendation program is executed by a processor, the steps of any one of the text-based content recommendation methods are implemented.

[0062] As can be seen from the above, in the present application scheme, target text content is obtained from the text to be processed; based on the target text content, proper nouns in the target text content are obtained; based on the proper nouns, entity information in the target text content is determined; and text retrieval is performed based on the entity information to generate recommended content associated with the entity information.

[0063] Compared with the prior art, the present application can extract the target text content that the user is interested in from the text to be processed, and obtain the corresponding proper nouns for the target text content, thereby determining the entity information in the target text based on the proper nouns, performing text retrieval based on the entity information, and obtaining recommended content associated with the entity in the target text content. This is conducive to improving the accuracy of text content positioning during text processing, and can also improve the relevance of recommended content to the target text content that the user is interested in, and can improve the quality of recommended content, thereby enhancing the user experience.

[0064] Furthermore, by preprocessing and locating the text to be processed (such as PDF documents or web page text), the interactive operations of the target object (i.e., user) can be accurately matched to the specific target text content, making information recommendations more accurate and relevant, thereby improving the user experience and the quality of recommended content. By performing word segmentation and proper noun extraction on the text content that the user is interested in, the entity information in the target text content is obtained based on the proper nouns, which effectively improves the accuracy of entity information acquisition, and highlights the entity information in the target text, which is conducive to improving the user experience. By performing multi-dimensional scoring on the content associated with the entity information, and adaptively adjusting the scoring weights of each dimension, recommended content associated with the entity information in the target text content is generated, so that the recommended content matches the user's needs as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0066] Figure 1 It is a flowchart of a text-based content recommendation method provided in an embodiment of the present application;

[0067] Figure 2 This is a schematic diagram of a candidate paragraph position area division provided in an embodiment of the present application;

[0068] Figure 3 This is another schematic diagram of dividing candidate paragraph position areas provided in an embodiment of the present application;

[0069] Figure 4 This is a schematic diagram of the components of a text-based content recommendation system provided by an embodiment of the present application;

[0070] Figure 5 It is a block diagram of the internal structure principle of a smart terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0072] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0073] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0074] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0075] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to being classified into," depending on the context. Similarly, the phrase "if it is determined" or "if classified into [described condition or event]" may be interpreted as meaning "upon determination" or "in response to determining" or "upon classification into [described condition or event]" or "in response to being classified into [described condition or event]," depending on the context.

[0076] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0077] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0078] At present, more and more information is presented in the form of electronic text, that is, stored as electronic documents. And users have higher and higher requirements for processing and interacting with electronic text. In one application scenario, users are provided with the function of text retrieval and recommendation based on the content of the entire text. However, the current document interaction technology has great limitations. Specifically, the current document processing technology lacks the ability to efficiently locate and interact with specific paragraphs or sentences in the document, which affects the user's experience when reading, analyzing or extracting information. Especially in a business environment where a large number of documents need to be quickly browsed and operated, it is difficult to accurately locate the content that users are really interested in and accurately recommend related content.

[0079] At the same time, current text-based content recommendation methods have certain limitations when processing text, especially when processing Chinese text, such as inaccurate recognition of proper nouns and / or inaccurate entity links. Moreover, for specific professional fields (such as finance), due to the lack of training samples and less training of proprietary models, the accuracy of proper noun recognition and entity information acquisition may be lower, and the lack of effective processing of proper nouns and entity information may lead to incomplete data and misleading information, affecting the user experience. In addition, existing recommendation methods have failed to fully combine the relevance of entity information and text, so that the recommended content does not match the user's needs, affecting the user experience.

[0080] Furthermore, recommendation systems in related technologies usually only recommend text based on content relevance, and fail to fully combine the importance of entities, the relevance of texts, and the freshness of information, which may result in a mismatch between recommended content and user needs.

[0081] In order to solve at least one of the multiple technical problems, in the solution of the present application, target text content is obtained from the text to be processed; based on the target text content, proper nouns in the target text content are obtained; based on the proper nouns, entity information in the target text content is determined; and text retrieval is performed based on the entity information to generate recommended content associated with the entity information.

[0082] Compared with the prior art, the present application can accurately locate and extract the target text content that the user is interested in from the text to be processed, and obtain the corresponding proper nouns for the target text content, thereby determining the entity information in the target text based on the proper nouns, performing text retrieval based on the entity information, and obtaining recommended content associated with the entity in the target text content. This is conducive to improving the accuracy of text content positioning during text processing, and can also improve the relevance of recommended content to the target text content that the user is interested in, and can improve the quality of recommended content, thereby enhancing the user experience.

[0083] Exemplary Methods

[0084] like Figure 1 As shown, the embodiment of the present application provides a text-based content recommendation method. Specifically, the method includes the following steps:

[0085] Step S100, obtaining target text content from the text to be processed.

[0086] The text to be processed is an electronic text that the user needs to interact with, and the relevant recommended content is obtained according to the entity information in the text content of the user interaction. Specifically, the text to be processed can be one of the documents in multiple data formats, for example, the text to be processed can be a text in a portable document format (PDF, Portable Document Format), text in a web page, text in an image, etc.

[0087] In one application scenario, if the text to be processed is text in an image, optical character recognition (OCR) can be performed on the image to obtain a text document, and then subsequent processing can be performed. Alternatively, the image can be converted into a PDF document, and then processed in the same way as the PDF document, which is not specifically limited here.

[0088] Specifically, obtaining the target text content from the text to be processed includes:

[0089] Dividing the text to be processed into paragraphs to obtain multiple candidate paragraphs, and determining the position area corresponding to each of the candidate paragraphs;

[0090] The target text content is determined from the text to be processed according to the interactive position corresponding to the interactive operation triggered by the target object in the text to be processed and the position area corresponding to each of the candidate paragraphs.

[0091] Wherein, the target text content is the content that the user (i.e., the target object) is interested in in the text to be processed. The target text content is at least one target paragraph, at least one target sentence, or at least one target word determined from the candidate paragraphs. Based on the method provided in the embodiment of the present application, text-based content recommendation can be performed for each target paragraph, each target sentence, or each target word to determine the corresponding recommended content. In the embodiment of the present application, the target text content includes only one natural paragraph (i.e., the target paragraph) as an example for specific description, but it is not specifically limited. If the target text content includes multiple natural paragraphs and / or multiple target sentences and target words, each natural paragraph and / or multiple target sentences and target words can be respectively processed in the same manner based on the embodiment of the present application.

[0092] In one application scenario, a corresponding coordinate system is established for the PDF document or web page where the text to be processed is located. The method of establishing the coordinate system can be selected and adjusted according to actual needs. For example, the coordinate system can be established with the upper left corner of the PDF document or web page as the coordinate origin, the wide side (horizontal direction) as the x-axis, and the long side (vertical direction) as the y-axis. A multi-page PDF document will establish a coordinate system for each page.

[0093] Furthermore, for PDF documents and web pages, corresponding paragraph division methods can be selected based on the characteristics of the data format itself.

[0094] Specifically, dividing the text to be processed into paragraphs to obtain a plurality of candidate paragraphs, and determining a location area corresponding to each of the candidate paragraphs includes:

[0095] If the data format of the text to be processed is a portable document format, locating the position area corresponding to each line of text in the text to be processed according to a preset portable document parser;

[0096] According to the position area corresponding to each line of text, the position area corresponding to each candidate paragraph is determined.

[0097] Furthermore, the determining the position area corresponding to each candidate paragraph according to the position area corresponding to each line of text includes:

[0098] Determine the line spacing between adjacent lines in the text to be processed according to the position area corresponding to each line of text;

[0099] Determining a paragraph correlation relationship between adjacent lines in the text to be processed according to the line spacing between adjacent lines in the text to be processed, wherein the paragraph correlation relationship is used to indicate whether two corresponding adjacent lines of text belong to the same paragraph;

[0100] Divide each line of the text to be processed into paragraphs according to the paragraph correlation relationship to obtain a plurality of candidate paragraphs;

[0101] The position area corresponding to the candidate paragraph is determined according to the position area corresponding to each line of text in the candidate paragraph.

[0102] In this embodiment, the text to be processed is first subjected to content preprocessing. Specifically, each natural paragraph obtained after dividing the text to be processed into paragraphs is used as a candidate paragraph, and the position area corresponding to each candidate paragraph is determined to facilitate the subsequent determination of the target text content that the user is interested in according to the interactive operation of the user (i.e., the target object).

[0103] Specifically, for a PDF document (i.e., a text document in a portable document format), the range of each line of text can be located according to a preset PDF parser (i.e., a portable document parser). In one application scenario, the range of each line of text can be located using To indicate the The position of the line text, where For the The coordinates of the upper left corner of the rectangular box corresponding to the line of text. For the The coordinates of the lower right corner of the rectangle corresponding to the line of text.

[0104] The line spacing between adjacent lines can be calculated by the coordinates of the corresponding rectangular boxes of the text lines, for example Line text and The line spacing of line text can be expressed as Furthermore, after obtaining the line spacing between adjacent lines, it is possible to determine whether two adjacent lines belong to the same natural paragraph based on the line spacing between adjacent lines.

[0105] In an application scenario, the line spacing between adjacent lines can be compared with a preset line spacing threshold. If it is greater than the preset line spacing threshold, it means that the two adjacent lines do not belong to the same natural segment. Otherwise, it means that the two adjacent lines belong to the same natural segment.

[0106] In the embodiment of the present application, the mean value of the line spacing is used as the line spacing threshold, and the paragraph correlation between each adjacent line is determined based on the mean value of the line spacing, so that the paragraph correlation can be determined according to the actual situation of the text document, thereby improving the accuracy of the natural paragraph division. And according to the paragraph correlation, the adjacent lines belonging to the same natural paragraph are divided into the same candidate paragraph, and then the position area corresponding to the candidate paragraph is determined according to the position area corresponding to each line of text in the candidate paragraph.

[0107] Specifically, determining the paragraph correlation relationship between adjacent lines in the text to be processed according to the line spacing between adjacent lines in the text to be processed includes:

[0108] Determine the mean value of the line spacing corresponding to the text to be processed according to the line spacing between adjacent lines in the text to be processed;

[0109] The paragraph correlation relationship between adjacent lines in the text to be processed is determined according to the line spacing mean and the line spacing between adjacent lines in the text to be processed.

[0110] In this embodiment, the row spacings of all adjacent rows are counted and the average row spacing is calculated. As the threshold. Line text and Line spacing for line text Less than It is considered that the two lines of text belong to the same natural paragraph, thus completing the segmentation of the PDF document.

[0111] For web page text, paragraph division can be performed based on HTML code. Specifically, the paragraph division of the text to be processed to obtain multiple candidate paragraphs and determine the location area corresponding to each candidate paragraph includes:

[0112] If the text to be processed is a web page text, dividing the text to be processed into paragraphs according to the web page paragraph tags to obtain a plurality of candidate paragraphs;

[0113] According to the element position acquisition function for the web page, the position area corresponding to each candidate paragraph is acquired.

[0114] In this embodiment, for web page text, the paragraph tag in the html code can be used to And <\p> to segment the paragraphs to obtain each candidate paragraph. And you can use the getBoundingClientRect() function in JavaScript (that is, the element position acquisition function for the web page) to obtain the position of the text element relative to the top, bottom, left and right sides of the viewport, that is, to obtain the first The position area corresponding to the candidate paragraphs .

[0115] For PDF documents, if the Line text to If the lines of text belong to the same candidate paragraph and the total number of words in the candidate paragraph exceeds the preset paragraph word count threshold, then define , , , , that is, to obtain the The position area corresponding to the candidate paragraphs The paragraph word count threshold can be set and adjusted according to actual needs, for example, set to 50 to avoid dividing too little text into one paragraph, thereby making the division and processing of candidate paragraphs more accurate.

[0116] In the embodiment of the present application, the information of each candidate paragraph is recorded in the following json format to facilitate information calling of each candidate paragraph and improve data processing efficiency: [

[0118] {

[0119] "Page Number":1,

[0120] "Coordinate Range": (102,524,1063,590)

[0121] "Text":"Event: The company's 2022 annual revenue was 3.093 billion yuan, a year-on-year increase of 12.46%; net profit attributable to the parent was 108 million yuan, a year-on-year decrease of 71.33%; net profit attributable to the parent after deducting non-recurring items was 119 million yuan, a year-on-year decrease of 43.74%."

[0122] }, ...

[0124] ].

[0125] Figure 2 is a schematic diagram of a candidate paragraph position area division provided in an embodiment of the present application, Figure 3 is another schematic diagram of dividing candidate paragraph position regions provided in an embodiment of the present application. Specifically, Figure 2 It is directly based on the candidate paragraph division and position area determination results obtained by the existing PDF parser. Figure 3 It is the result of candidate paragraph division and location area determination obtained by the text-based content recommendation method provided in the embodiment of the present application. It should be noted that Figure 2 and Figure 3 The fields shown in are only used to illustrate the effect of paragraph division, so text symbols without actual meaning are used as an illustration, but not as a limitation of the present application. Figure 2 and Figure 3 The "XXX" in can represent any text.

[0126] according to Figure 2 and Figure 3 It can be seen that based on the embodiment scheme of the present application, the position of each candidate paragraph (i.e., natural paragraph) in a PDF document or web page can be located more accurately, which is conducive to accurately extracting text information in the PDF document or web page.

[0127] In the embodiment of the present application, the interactive operation may include mouse clicks, touch screen operations, specifying paragraph numbers, etc., and may also include other interactive operations, which are not specifically limited here.

[0128] In the embodiment of the present application, the front end monitors the user's (i.e., target object's) behavior in real time to obtain the text paragraph that the user is interested in as the target text content. Specifically, the front end monitors the mouse click and word stroke behavior, obtains and calculates the position where the mouse is clicked as the interactive position, and directly obtains the coordinates (or coordinate sequence) of the mouse click if a coordinate system is established.

[0129] The coordinates of the interaction position are matched with the position area corresponding to each candidate paragraph to determine the target text content. Specifically, the coordinates of the interaction position are matched with the coordinates of the rectangular box corresponding to each candidate paragraph. If the coordinates of the interaction position of the mouse are , then find out whether there is a rectangular box ,satisfy ,and , if it exists, the candidate paragraph corresponding to the rectangular box is used as the target text content, that is, the text paragraph that the user is actually interested in. In this way, the content that the user is interested in can be judged in real time based on the user's behavior, and accurately conveyed to the back-end algorithm for analysis and data processing, so as to make accurate content recommendations for users.

[0130] It should be noted that, based on the coordinate range corresponding to the user interaction position, the target sentence and / or target word within the coordinate range may also be determined, which will not be elaborated here.

[0131] Step S200: obtaining proper nouns in the target text content according to the target text content.

[0132] Specifically, the target text content may be segmented according to a preset segmentation algorithm or a pre-trained segmentation model, thereby extracting nouns from the target text content, which is not specifically limited here.

[0133] In the embodiment of the present application, obtaining the proper nouns in the target text content according to the target text content includes:

[0134] Performing word segmentation processing on the target text content to obtain candidate nouns in the target text content;

[0135] According to the candidate nouns, proper nouns in the target text content are screened.

[0136] Specifically, the common nouns in the candidate nouns may be filtered according to a preset common word database or common word list to obtain the proper nouns in the target text content.

[0137] Among them, the preset common word database is a pre-set database for storing common nouns. In this embodiment, the "Modern Chinese Common Word List" can be used as the preset common word list to filter out common nouns in the text and screen out proper nouns, thereby obtaining proper nouns in the target text content.

[0138] In actual use, a high-frequency word list may be set to filter high-frequency words in candidate nouns, and / or stop word filtering may be performed to further improve the usability of the acquired proper nouns, which is not specifically limited here.

[0139] Step S300: determining entity information in the target text content according to the proper noun.

[0140] Entity information may include the category to which the entity belongs, the name of the entity, etc. It should be noted that the proper noun and the entity information may be the same or different. If the proper noun itself is entity information, the proper noun may be directly used as the entity information of the target text content; or the corresponding entity information may be obtained by matching keywords in a database, or by model matching, or based on other methods, such as uploading to a corresponding entity information matching platform, etc., which are not specifically limited here, and the corresponding proper noun matched to the entity information is used as the entity information in the target content. It should be further noted that the proper noun and the name of the entity in its entity information may be the same or different, which are not specifically limited here.

[0141] In the embodiment of the present application, determining the entity information in the target text content according to the proper noun includes:

[0142] According to a preset database, each of the proper nouns is matched to obtain entity information corresponding to the proper noun;

[0143] If the entity information corresponding to the proper noun is not matched, the entity information corresponding to the proper noun is obtained through a trained entity information matching model according to a preset prompt.

[0144] The proper noun corresponding to the obtained entity information is determined as the entity information in the target text content.

[0145] The name of the entity may include the full name, abbreviation, alias, etc. of the entity. It should be noted that the entity information may also include other information, which is not specifically limited here.

[0146] It should be noted that the embodiments of the present application are described by taking text retrieval and content recommendation of entity information in the economic field as an example, but in actual use, it can be applied to other fields and is not specifically limited here.

[0147] In one application scenario, a preset database containing names of industries, companies, products, financial indicators, etc. is used to fuzzy match proper nouns in the database to find the entity information referred to by the proper nouns and obtain the name, category, and other information associated with the entity.

[0148] If the entity information matching based on the database fails, the entity information corresponding to the proper noun can be obtained according to the entity information matching model. The entity information matching model is a pre-trained large language model. In one application scenario, text retrieval can be performed from the Internet, and the standard name of the corresponding proper noun (a proper noun may include multiple standard names) can be analyzed using a large language model and prompts to determine the corresponding entity information. Specifically, the prompt can be set to "Please analyze the given proper noun based on the above materials to see whether it belongs to an industry, company or product, and what its official name or commonly used abbreviation is" + [retrieved text content].

[0149] In a specific scenario, the proper noun for which entity information matching failed is "Wei, Xiao, Li". Searching for "Wei, Xiao, Li" on the Internet yields the following text: "Because from the perspective of sales volume, company market value, revenue, profit, etc., the gap between the three brothers, Ideal, Xiaopeng and Weilai, is actually too big..." The big language model thus analyzes that "Wei, Xiao, Li" refers to the three companies Weilai, Xiaopeng and Ideal.

[0150] Step S400: performing text retrieval according to the entity information to generate recommended content associated with the entity information.

[0151] Among them, one or more recommended contents associated with entity information corresponding to the target text content can be obtained according to the text-based content recommendation method. In the present application, obtaining multiple recommended contents is taken as an example for specific description, but it is not a specific limitation.

[0152] Specifically, a text search can be performed in a pre-set text database according to the entity information to obtain corresponding recommended content. It should be noted that in the embodiment of the present application, text search for the economic field and recommendation of relevant content of entity information are used as an example for explanation, so the pre-set text database is also a text database in the economic field, but this is not a specific limitation.

[0153] In the embodiment of the present application, the entity information includes the name of the entity, and text retrieval is performed based on the name of the entity. The name may include the official name and / or abbreviation corresponding to the entity.

[0154] It should be noted that during the search process, one or more recommended contents associated with the entity information of the target text content can be searched based on all entity information in the target text content. One or more recommended contents corresponding to each entity information in the target text content can also be searched based on each entity information (i.e., one entity information can correspond to multiple recommended contents), which is not specifically limited here.

[0155] In one application scenario, the method further includes:

[0156] The entity information includes the category to which the entity belongs;

[0157] An indication mark is added to the entity information in the target text content according to the category to which the entity belongs.

[0158] It should be noted that the category to which the entity belongs can also be obtained by other means, such as by performing noun classification through a pre-trained noun classification model to obtain the category to which the corresponding entity belongs, so that for proper nouns that fail to match entity information, the category to which the corresponding entity belongs can also be obtained.

[0159] Among them, the indicator mark can be a highlight mark, an annotation mark, an underline mark, etc., which is not specifically limited here. In this embodiment, the entity information in the target text content is highlighted in the original text with a specific color according to their respective categories (such as industry, company, product, etc.). It should be noted that the multiple entity information in the target text content is classified according to the category to which the entity belongs. For entity information belonging to the same category, the same color can be used for highlighting. In this way, the proper nouns appearing in the text can be accurately found and associated with specific entities in reality. They can be highlighted in PDF documents or web pages, which is conducive to improving the user's reading experience.

[0160] Furthermore, the entity information includes the name of the entity;

[0161] The performing text retrieval according to the entity information to generate recommended content associated with the entity information includes:

[0162] Perform text retrieval based on the name of the entity to obtain candidate text content associated with the entity information;

[0163] Calculating a comprehensive score of the candidate text content based on the candidate text content and the target text content;

[0164] The candidate text contents are sorted according to the comprehensive scores to generate recommended contents associated with the entity information.

[0165] Specifically, the calculating the comprehensive score of the candidate text content according to the candidate text content and the target text content includes:

[0166] Obtaining the importance score of the entity information in the target text content;

[0167] Obtaining a first relevance score between the entity information and the candidate text content, a second relevance score between the candidate text content and the target text content, and an information freshness score corresponding to the candidate text content;

[0168] A comprehensive score of the candidate text content associated with the entity information is obtained according to the importance score, the first relevance score, the second relevance score and the information freshness score.

[0169] Specifically, a text search can be performed in a preset database of recommended content according to the name of the entity in the entity information to obtain candidate text content corresponding to the entity information. The database of recommended content can be set and adjusted according to actual needs. In one application scenario, a corresponding database of recommended content (text database) is constructed based on text information such as relevant research reports, announcements, and news.

[0170] It should be noted that text search can also be performed in other preset information storage spaces based on the name of the entity in the entity information to obtain candidate text content corresponding to the entity information. For example, text search can be performed on a web page based on the name of the entity, or text search can be performed in a preset content storage medium. No specific limitation is made here.

[0171] The importance score is used to indicate the importance of the entity information in the target text content, and can be determined based on the frequency of the entity name appearing in the target text content. The importance score is calculated as follows: the number of times the entity name appears in the target text content, the number of times the entity name appears as a sentence subject in the target text content, and the number of times the entity name appears in the first and last sentences of the target text content are counted, and the sum of the three is used as the corresponding importance score.

[0172] The first relevance score between the entity information and the candidate text content is used to indicate the relevance between the entity information and the candidate text content, and can be determined based on the frequency of the entity name appearing in the candidate text content. The first relevance score is calculated as follows: the number of times the entity name appears in the candidate text content, the number of times the entity name appears as a sentence subject in the candidate text content, and the number of times the entity name appears in the first and last sentences of the candidate text content are counted, and the sum of the three is used as the corresponding first relevance score.

[0173] The second relevance score between the candidate text content and the target text content is used to indicate the content relevance between the candidate text content and the target text content, and can be determined based on the similarity between the target text content and the candidate text content. The second relevance score is calculated as follows: the two paragraphs of text are mapped to a continuous vector space using paragraph embedding technology and then the cosine similarity is calculated, and the cosine similarity is used as the corresponding second relevance score.

[0174] The information freshness score is used to indicate the real-time degree of the candidate text content, which can be determined according to the release time of the candidate text content. The candidate text content with a newer release time has a higher corresponding information freshness. In an application scenario, the candidate text content can be directly sorted from the nearest to the farthest from the current time according to the release time, and the sorting sequence number is used as the information freshness score.

[0175] It should be noted that the scoring calculation method is only used as an example. In actual use, other scoring calculation methods can also be used, such as scoring through a pre-trained model, which is not specifically limited here.

[0176] For each candidate text content, the corresponding comprehensive score is determined according to the importance score, the first relevance score, the second relevance score, and the information freshness score determined according to the release time. Specifically, first, the importance score, the first relevance score, the second relevance score, and the information freshness score are standardized to obtain the indicator standard score corresponding to each indicator. For example, for each score, the scores are sorted from low to high according to the score (or release time), and the ranking is used as the indicator standard score of each indicator. For example, if 100 candidate text contents are retrieved, the indicator standard score corresponding to the first relevance score between each candidate text content and the proper noun entity is calculated, and then the first relevance score is sorted from low to high. The corresponding indicator standard score of the first place is 1, and so on. The corresponding indicator standard score of the 100th place is 100. Similar processing is used for other indicators to obtain the indicator standard score corresponding to each indicator.

[0177] Then, the index standard scores corresponding to each index are added together to obtain the comprehensive score corresponding to the candidate text content. The candidate text content can be sorted from high to low according to the comprehensive score to obtain a better recommendation effect.

[0178] In one application scenario, the standard scores of the indicators corresponding to the indicators can be weighted and summed according to the weight values ​​to obtain the comprehensive score corresponding to the candidate text content. In this way, the influence of each indicator on the comprehensive score can be adjusted according to the weight, so as to be closer to user needs.

[0179] Specifically, for a piece of candidate text content, the index standard scores corresponding to the importance score, the first relevance score, the second relevance score, and the information freshness score are respectively , , and The weight values ​​corresponding to each indicator are , , and The comprehensive score of the candidate text is calculated based on the weight value and the standard score of each indicator. Specifically, the weighted sum is calculated based on the weight value and the standard score of each indicator, and then the average value of the sum is calculated based on the weight value as the comprehensive score corresponding to the candidate text content. Specifically, the comprehensive score Among them, the weight value , , and It can be pre-set or adjusted according to actual needs. For example, initially set each weight equal to 1, that is, add the weights equally to get the corresponding comprehensive score. In addition, you can also set interactive plug-ins in the interactive interface for users to adjust the weights of each indicator according to their preferences. For example, if the user clicks to increase the weight corresponding to the release time (i.e., the information freshness score), the corresponding weight The value is increased, for example, adjusted to 110% of the original value, and the value is decreased to 90% of the original value. The specific adjustment method and adjustment range can be set and adjusted according to actual needs, and are not specifically limited here.

[0180] In another application scenario, the weight can be adjusted automatically and intelligently based on the user's interaction to automatically obtain a comprehensive score that is closer to the user's habits and provide the user with a better user experience. Specifically, the text-based content recommendation system intelligently analyzes the indicators that the user cares about, and calculates the average score of each indicator in the user's click record in the recommended content as a new adaptive weight, so as to obtain the comprehensive score based on the new weight calculation, and sort the candidate text content from high to low based on the new comprehensive score to obtain new recommended content.

[0181] In an application scenario, after sorting the candidate text contents according to the comprehensive scores to generate recommended contents associated with the entity information, the method further includes:

[0182] Determining interactive text content of the target object in the recommended content according to the interactive operation of the target object in the recommended content;

[0183] According to the interactive text content, updating the comprehensive score of the interactive text content;

[0184] According to the updated comprehensive score of the interactive text content, the ranking of the candidate text content in the recommended content is updated to obtain the updated recommended content.

[0185] Further, updating the comprehensive score of the interactive text content according to the interactive text content includes:

[0186] According to the interactive text content, respectively updating the importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content;

[0187] According to the updated importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content, respectively updating each score weight;

[0188] A comprehensive score of the interactive text content is determined based on the updated score weights, the updated importance score, the first relevance score, the second relevance score and the information freshness score.

[0189] It should be noted that, in the present embodiment, the corresponding scoring weight is determined only based on the interactive text content with which the target object has interacted in the recommended content, rather than based on all the historical content with which the target object has interacted, so as to reduce the amount of data calculation and obtain a more accurate recommendation effect for the current recommended content.

[0190] For example, if the target object (i.e. user) has previously clicked on Paragraph text (interactive text content), The index standard scores corresponding to the four indicators of the paragraph text are , , and , then the new adaptive weight is: , , and For example, if the user's historical clicks are interactive text content with high information freshness, the subsequent recommendations will increase the weight of this indicator to provide personalized recommendations for the user.

[0191] However, in actual application, the corresponding scoring weight can also be determined by comprehensively considering all the interactive text contents with which the target object has interacted historically. The interactive text content is not necessarily included in the current recommended content or candidate text content, so as to better integrate the user's overall usage habits to determine the scoring weight and make recommendations, while avoiding the situation where the scoring weight cannot be calculated when the user has not interacted with the current recommended content.

[0192] As can be seen from the above, in the text-based content recommendation method provided in the embodiment of the present application, the target text content of interest to the user can be extracted from the text to be processed, and the corresponding proper nouns can be obtained for the target text content, thereby determining the entity information in the target text based on the proper nouns, performing text retrieval based on the entity information, and obtaining recommended content associated with the entity in the target text content. In this way, it is beneficial to improve the accuracy of text content positioning during text processing, and can also improve the relevance of the recommended content with the target text content of interest to the user, and can improve the quality of the recommended content, thereby enhancing the user experience.

[0193] Specifically, in the embodiment of the present application, the PDF document or web page is divided into text paragraphs and the paragraphs are located, so that the user can interact with the specific paragraphs (or sentences) of the document. And the user's interactive behavior (such as mouse clicks and swipes) can be accurately matched to the specific document paragraphs, so that the information recommendation is more accurate and more relevant, while improving the user experience and the quality of the recommended content.

[0194] At the same time, combined with Chinese word segmentation, common word screening, database proper noun fuzzy matching, and search-enhanced financial entity linking solutions, the target text content clicked or swiped by the user is subjected to noun extraction and common noun filtering, retaining key proper nouns, and fuzzy matching in the financial noun database to obtain entity information in the target text content, effectively improving the accuracy of entity information acquisition, and can also highlight the proper nouns corresponding to the entity information. Retrieving based on the entity information corresponding to the proper nouns in the target text content, rather than searching based on all the contents of the target text content, can more accurately feedback user needs and avoid the situation where the common nouns are affected when searching for the entire text content, resulting in the recommended text being not strongly related to the entity information content that the user actually cares about.

[0195] Furthermore, it also combines indicators such as entity importance, text relevance, and information freshness for intelligent information recommendation. Combining official names and common abbreviations can retrieve information more comprehensively, and combining multiple indicators can recommend the most relevant and timely information to users. It can also adaptively adjust the weight of each indicator to make the recommended content more in line with user needs.

[0196] Exemplary Devices

[0197] like Figure 4 As shown in , corresponding to the text-based content recommendation method, the embodiment of the present application further provides a text-based content recommendation system, and the text-based content recommendation system includes:

[0198] The target text content determination module 410 is used to obtain the target text content from the text to be processed;

[0199] A proper noun determination module 420, configured to obtain proper nouns in the target text content according to the target text content;

[0200] An entity acquisition module 430, for determining entity information in the target text content according to the proper noun;

[0201] The retrieval module 440 is used to perform text retrieval according to the entity information to generate recommended content associated with the entity information.

[0202] In this way, the target text content that the user is interested in is determined from the text to be processed, and the proper nouns in the target text content are automatically screened out, and then the entity information corresponding to the proper nouns is automatically determined, so as to perform text retrieval based on the entity information and obtain recommended content associated with the entity in the target text content. That is, text retrieval is automatically performed based on the entity information corresponding to the key proper nouns in the target text content, which improves the user experience and is conducive to improving the accuracy and efficiency of the recommendation of content related to the entity information. It can also filter out the influence of unimportant words on the search process, which is conducive to improving the relevance of the recommended content related to the obtained entity information and the content that the user is actually interested in, and is conducive to improving the accuracy of the text content recommendation.

[0203] It should be noted that the specific structure and implementation of the text-based content recommendation system and its various modules or units may refer to the corresponding description in the method embodiment, and will not be repeated here.

[0204] It should be noted that the division method of each module of the text-based content recommendation system is not unique and is not specifically limited here.

[0205] Based on the embodiment, the present application also provides a smart terminal, whose principle block diagram can be as follows: Figure 5 As shown. The intelligent terminal includes a processor, a memory, a network interface and a display screen connected via a system bus. The processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a text-based content recommendation program. The internal memory provides an environment for the operation of the operating system and the text-based content recommendation program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal via a network connection. When the text-based content recommendation program is executed by the processor, the steps of any one of the text-based content recommendation methods are implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.

[0206] Those skilled in the art will understand that Figure 5 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the smart terminal to which the scheme of the present application is applied. The specific smart terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0207] In one embodiment, a smart terminal is provided, comprising a memory, a processor, and a text-based content recommendation program stored in the memory and executable on the processor, wherein the text-based content recommendation program, when executed by the processor, implements the steps of any one of the text-based content recommendation methods provided in the embodiments of the present application.

[0208] An embodiment of the present application further provides a computer-readable storage medium, on which a text-based content recommendation program is stored. When the text-based content recommendation program is executed by a processor, the steps of any one of the text-based content recommendation methods provided in the embodiments of the present application are implemented.

[0209] It should be understood that the serial numbers of the steps in the embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0210] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the functional units and modules is used as an example. In practical applications, the function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0211] In the embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0212] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0213] In the embodiments provided in the present application, it should be understood that the disclosed system / terminal device and method can be implemented in other ways. For example, the system / terminal device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0214] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of each method embodiment when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0215] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A text-based content recommendation method, characterized in that: The method comprises: Obtain target text content from the text to be processed; According to the target text content, obtaining proper nouns in the target text content; According to a preset database, each of the proper nouns is matched to obtain entity information corresponding to the proper noun; if the entity information corresponding to the proper noun is not matched, the entity information corresponding to the proper noun is obtained through a trained entity information matching model according to a preset prompt; the proper noun corresponding to the obtained entity information is determined as the entity information in the target text content; Performing text retrieval according to the entity information to generate recommended content associated with the entity information; Determine the interactive text content of the target object in the recommended content according to the interactive operation of the target object in the recommended content; update the comprehensive score of the interactive text content according to the interactive text content; update the ranking of the candidate text content in the recommended content according to the updated comprehensive score of the interactive text content to obtain the updated recommended content; The step of obtaining the target text content from the text to be processed includes: dividing the text to be processed into paragraphs to obtain a plurality of candidate paragraphs, and determining a position area corresponding to each of the candidate paragraphs; determining the target text content from the text to be processed according to an interactive position corresponding to an interactive operation triggered by a target object in the text to be processed, and a position area corresponding to each of the candidate paragraphs; The paragraph division of the text to be processed to obtain a plurality of candidate paragraphs, and determining the position area corresponding to each of the candidate paragraphs, includes: if the data format of the text to be processed is a portable document format, locating the position area corresponding to each line of text in the text to be processed according to a preset portable document parser; determining the line spacing between adjacent lines in the text to be processed according to the position area corresponding to each line of text; determining the average line spacing corresponding to the text to be processed according to the line spacing between adjacent lines in the text to be processed; determining the paragraph correlation relationship between adjacent lines in the text to be processed according to the average line spacing and the line spacing between adjacent lines in the text to be processed, wherein the paragraph correlation relationship is used to indicate whether two corresponding adjacent lines of text belong to the same paragraph; paragraph division of each line of text in the text to be processed according to the paragraph correlation relationship to obtain a plurality of candidate paragraphs; determining the position area corresponding to the candidate paragraph according to the position area corresponding to each line of text in the candidate paragraph; The entity information includes the name of the entity; the text retrieval based on the entity information to generate recommended content associated with the entity information includes: performing text retrieval based on the name of the entity to obtain candidate text content associated with the entity information; obtaining an importance score of the entity information in the target text content; obtaining a first relevance score between the entity information and the candidate text content, a second relevance score between the candidate text content and the target text content, and an information freshness score corresponding to the candidate text content; standardizing the importance score, the first relevance score, the second relevance score, and the information freshness score respectively to obtain an indicator standard score corresponding to each indicator, and obtaining a comprehensive score of the candidate text content associated with the entity information based on the indicator standard score corresponding to each indicator; sorting the candidate text content based on the comprehensive score to generate recommended content associated with the entity information; The updating of the comprehensive score of the interactive text content according to the interactive text content includes: According to the interactive text content, respectively updating the importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content; According to the updated importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content, respectively updating each score weight; Determining a comprehensive score of the interactive text content according to the updated score weights, the updated importance score, the first relevance score, the second relevance score, and the information freshness score; The first relevance score is calculated as follows: counting the number of times the name of the entity appears in the candidate text content, the number of times the name of the entity appears in the candidate text content as a sentence subject, and the number of times the name of the entity appears in the first and last sentences of the candidate text content, and taking the sum of the three as the corresponding first relevance score.

2. The text-based content recommendation method according to claim 1, characterized in that: The step of dividing the text to be processed into paragraphs to obtain a plurality of candidate paragraphs and determining a location area corresponding to each of the candidate paragraphs includes: If the text to be processed is a web page text, dividing the text to be processed into paragraphs according to the web page paragraph tags to obtain a plurality of candidate paragraphs; According to the element position acquisition function for the web page, the position area corresponding to each candidate paragraph is acquired.

3. The text-based content recommendation method according to claim 1, characterized in that: The obtaining of proper nouns in the target text content according to the target text content includes: Performing word segmentation processing on the target text content to obtain candidate nouns in the target text content; According to the candidate nouns, proper nouns in the target text content are screened.

4. The text-based content recommendation method according to claim 1, characterized in that: The method further comprises: The entity information includes the category to which the entity belongs; An indication mark is added to the entity information in the target text content according to the category to which the entity belongs.

5. A text-based content recommendation system, characterized in that: The system comprises: A target text content determination module is used to obtain the target text content from the text to be processed; A proper noun determination module, used to obtain proper nouns in the target text content according to the target text content; An entity acquisition module is used to match each of the proper nouns according to a preset database to obtain entity information corresponding to the proper noun; if the entity information corresponding to the proper noun is not matched, the entity information corresponding to the proper noun is obtained through a trained entity information matching model according to a preset prompt; and the proper noun corresponding to the obtained entity information is determined as the entity information in the target text content; A retrieval module, configured to perform text retrieval based on the entity information to generate recommended content associated with the entity information; The text-based content recommendation system is further used to: determine the interactive text content of the target object in the recommended content according to the interactive operation of the target object in the recommended content; update the comprehensive score of the interactive text content according to the interactive text content; update the ranking of the candidate text content in the recommended content according to the updated comprehensive score of the interactive text content to obtain the updated recommended content; The target text content determination module is specifically used to: divide the text to be processed into paragraphs to obtain multiple candidate paragraphs, and determine the position area corresponding to each of the candidate paragraphs; determine the target text content from the text to be processed according to the interactive position corresponding to the interactive operation triggered by the target object in the text to be processed and the position area corresponding to each of the candidate paragraphs; The target text content determination module is also specifically used for: if the data format of the text to be processed is a portable document format, locating the position area corresponding to each line of text in the text to be processed according to a preset portable document parser; determining the line spacing between adjacent lines in the text to be processed according to the position area corresponding to each line of text; determining the average line spacing corresponding to the text to be processed according to the line spacing between adjacent lines in the text to be processed; determining the paragraph correlation relationship between adjacent lines in the text to be processed according to the average line spacing and the line spacing between adjacent lines in the text to be processed, wherein the paragraph correlation relationship is used to indicate whether two corresponding adjacent lines of text belong to the same paragraph; dividing each line of text in the text to be processed into paragraphs according to the paragraph correlation relationship to obtain multiple candidate paragraphs; determining the position area corresponding to the candidate paragraph according to the position area corresponding to each line of text in the candidate paragraph; The entity information includes the name of the entity; the retrieval module is specifically used to: perform text retrieval according to the name of the entity to obtain candidate text content associated with the entity information; obtain an importance score of the entity information in the target text content; obtain a first relevance score between the entity information and the candidate text content, a second relevance score between the candidate text content and the target text content, and an information freshness score corresponding to the candidate text content; standardize the importance score, the first relevance score, the second relevance score, and the information freshness score respectively to obtain the indicator standard score corresponding to each indicator, and obtain a comprehensive score of the candidate text content associated with the entity information according to the indicator standard score corresponding to each indicator; sort the candidate text content according to the comprehensive score to generate recommended content associated with the entity information; The updating of the comprehensive score of the interactive text content according to the interactive text content includes: According to the interactive text content, respectively updating the importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content; According to the updated importance score, the first relevance score, the second relevance score and the information freshness score corresponding to the interactive text content, respectively updating each score weight; Determining a comprehensive score of the interactive text content according to the updated score weights, the updated importance score, the first relevance score, the second relevance score, and the information freshness score; The first relevance score is calculated as follows: counting the number of times the name of the entity appears in the candidate text content, the number of times the name of the entity appears in the candidate text content as a sentence subject, and the number of times the name of the entity appears in the first and last sentences of the candidate text content, and taking the sum of the three as the corresponding first relevance score.

6. An intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and a text-based content recommendation program stored in the memory and executable on the processor. When the text-based content recommendation program is executed by the processor, the steps of the text-based content recommendation method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a text-based content recommendation program, which, when executed by a processor, implements the steps of the text-based content recommendation method according to any one of claims 1 to 4.