Enterprise policy recommendation method based on text similarity calculation
Through a method based on text similarity calculation, combined with a multi-layer label system and an enterprise information vector database, personalized matching and real-time updating of enterprise policy recommendations are achieved, solving the problems of information overload and insufficient synchronization, and improving the targeting of policy dissemination. performance and response speed.
Patent Information
- Application Number
- CN202411067786.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-15
AI Technical Summary
Information overload in existing policy recommendation practices leads to insufficient personalized matching, which cannot accurately target the specific needs of enterprises, and policy updates are not synchronized with changes in enterprise needs.
An enterprise policy recommendation method based on text similarity calculation is adopted. By constructing a multi-layer label system and enterprise information vector database, policy text characteristics are obtained and analyzed in real time, the similarity between enterprises and policies is calculated, and personalized policy information is recommended.
It improves the pertinence and effectiveness of policy dissemination, ensures that policy resources accurately match enterprise needs, reduces information noise, enhances the response speed and flexibility of the policy information system, and improves the market competitiveness and policy adaptability of enterprises.
Smart Images

Figure CN118779405A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of enterprise management technology, and in particular to an enterprise policy recommendation method based on text similarity calculation. Background Art
[0002] With the development of cloud computing, big data, artificial intelligence and other technologies, more and more digital service platforms and official government websites have emerged, dedicated to providing customized policy information services to enterprises. These platforms use algorithmic technologies such as machine learning and natural language processing to automatically screen, classify and recommend from massive policy documents, improving the efficiency and accuracy of policy push.
[0003] At present, the practical methods of recommending policies to enterprises are mostly based on traditional information dissemination channels and basic information technology. These methods have promoted the popularization of policies to a certain extent, but they also show some limitations.
[0004] On the one hand, the policy recommendation process often relies on traditional channels such as official announcements, email notifications or industry conferences, which have limited information transmission efficiency and coverage. Enterprises need to actively search and screen information that is applicable to them, which is time-consuming and labor-intensive and easy to miss important policies. In addition, the push of information generally lacks personalized considerations and usually adopts a "one-size-fits-all" approach without fully considering the actual needs, development stages and industry particularities of different enterprises. This leads to a low match between policy resources and enterprise needs, reducing the effectiveness of policy implementation and the participation of enterprises.
[0005] On the other hand, the dynamic and complex nature of the policy environment requires the recommendation system to be highly flexible and responsive. However, the existing policy dissemination mechanism often lags behind in terms of information update speed and adaptability. When a policy changes or is added, there is a time lag between its release and the receipt of the policy by the enterprise, and there is a lack of effective mechanisms to continuously track the policy content and provide immediate feedback and adjustments. At the same time, in the face of rapidly changing market demands and corporate operating environments, existing recommendation systems often find it difficult to adjust recommendation strategies in a timely manner to meet the urgent needs of enterprises for policy guidance in a specific period, affecting the decision-making efficiency of enterprises and the use of policy dividends.
[0006] Therefore, although the existing policy recommendation practices provide certain conveniences for enterprises to obtain policy information, there is still significant room for improvement in improving personalized matching, enhancing information screening efficiency, and keeping pace with the market and policy environment. Summary of the invention
[0007] This application mainly addresses the problem that the current policy recommendation practice method is insufficient in personalized matching due to information overload, cannot accurately point to the specific needs of enterprises, and the policy updates are not synchronized with changes in enterprise needs.
[0008] An embodiment of the present application provides a method for recommending enterprise policies based on text similarity calculation, and the method includes: At least one label based on at least one label dimension is provided; each of the label dimensions includes at least two label layers set in order from top to bottom, and each of the label layers includes at least one label; in each of the label dimensions, each label of the lower label layer belongs to any label of the upper label layer; the label dimension is classified according to the jurisdiction or industry field, and the label is used to indicate the jurisdiction or industry field where the enterprise is located; Providing an enterprise information vector database including at least one enterprise information vector; each of the enterprise information vectors includes at least one enterprise information feature and is correspondingly provided with at least one tag; Obtain the current policy text based on public channels in real time, extract the policy features of the current policy text, and obtain the current policy information vector; Matching the policy features of the current policy text with at least one label, and obtaining at least one target label matching the policy features of the current policy text; According to at least one of the target tags, all potential target tags are acquired; the potential target tags are tags that are in a relatively lower tag layer of the target tag and are subordinate to the target tag; Determining, according to the target tag and the potential target tag, a quasi-target enterprise information vector corresponding to the target tag and the potential target tag; Calculate the similarity between the quasi-target enterprise information vector and the current policy information vector, obtain the target enterprise vector, and recommend the current policy text to the enterprise corresponding to the target enterprise information vector.
[0009] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred scheme, there are two label dimensions, namely the first label dimension and the second label dimension. The label of the first label dimension is used to indicate the jurisdiction of the enterprise, and the label of the second label dimension is used to indicate the industry field in which the enterprise is located.
[0010] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, each of the label dimensions at least includes a first label layer, a second label layer and a third label layer; Each of the first label layers corresponds to at least one second label layer, and each of the second label layers corresponds to at least one third label layer; When the label dimension is classified according to jurisdiction, the first label layer corresponds to the provincial jurisdiction, the second label layer corresponds to the municipal jurisdiction, and the third label layer corresponds to the county jurisdiction; When the label dimension is classified according to industry fields, the first label layer corresponds to the industry field, the second label layer corresponds to the industry branch field under each industry field, and the third label layer corresponds to the professional production field under each industry branch field.
[0011] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the enterprise information vector and the policy information vector each include at least one vector and a vector value corresponding to each vector, and the vector value is the weight of the vector in the enterprise information vector or the policy information vector; The vector of the enterprise information vector is the enterprise information feature, including at least basic information, market information, scientific and technological information, production information, sales information, policy information, financial information, legal information, credit information and enterprise label features; The vector of the policy information vector is a policy feature, which at least includes policy theme, applicable objects, policy content, geographical information, issuing agency, timeliness information, keyword features, economic impact, industry impact and policy label features.
[0012] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the real-time acquisition of the current policy text based on public channels and the extraction of policy features of the current policy text include: Setting a public channel for policy release and obtaining the current policy text of the public channel in real time; Perform text cleaning on the current policy text to obtain the current target text; Perform feature extraction on the current target text to obtain the policy features of the current policy text.
[0013] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the step of calculating the similarity between the quasi-target enterprise information vector and the current policy information vector to obtain the target enterprise vector includes: Get the target enterprise information vector All enterprise vector values in ; Get the current policy information vector The total policy vector value in ; Calculate the cosine similarity between the quasi-target enterprise information vector and the current policy information vector, and use the quasi-target enterprise information vector whose cosine similarity with the current policy information vector exceeds a threshold as the target enterprise vector; in: The threshold is a preset value; Quasi-targeted business information vector and the current policy information vector Included in Enterprise information characteristics, , enterprise vector value Targeted corporate information vector In the The value of the enterprise information feature, the current policy vector value is the current policy information vector In the The value of a policy feature.
[0014] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the acquisition of the quasi-target enterprise information vector All enterprise vector values in ,include: Target corporate information vector All enterprise vector values in are all set to the same specific value of 1.
[0015] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the current policy information vector is obtained. The total policy vector value in ,include: Calculate the current policy information vector The word frequency of each policy feature in the current policy text; Calculate the current policy information vector The inverse document frequency of each policy feature in the current policy text; Combine word frequency and inverse document frequency to calculate the weight of each policy feature, that is, the policy vector value .
[0016] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the current policy information vector is calculated by the following formula: The frequency of each policy feature in the current policy text : ; The current policy information vector is calculated by the following formula The inverse document frequency of each policy feature in the current policy text : ; The weight of each policy feature is calculated by the following formula, that is, the policy vector value : ; in, As a policy feature, For the current policy text, Policy Features In the current policy text The number of times it appears in For all policy features, For current policy text The total number of times the policy feature appears in is the total number of all policy texts, and the current policy text is one of all policy texts. Include policy features in all policy texts The number of policy texts.
[0017] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the calculation of the cosine similarity between the quasi-target enterprise information vector and the current policy information vector includes: The cosine similarity between the quasi-target enterprise information vector and the current policy information vector is calculated by the following formula : ; in, For vector and vector The dot product of and The vectors are and vector Model.
[0018] According to the enterprise policy recommendation method based on text similarity calculation in the above-mentioned embodiment, a sophisticated user portrait model is constructed by deeply integrating multi-dimensional enterprise data, including specific attributes, historical behaviors and development needs, which can accurately identify the personalized needs of each enterprise and realize customized push of policy information. Compared with the traditional method of casting a wide net, this application significantly improves the pertinence and practical effectiveness of policy dissemination, ensuring that policy resources are accurately matched with the actual needs of enterprises; this application introduces a label classification system, which quickly focuses on the target enterprise group based on the industry characteristics, scale, geographical location and other factors of the enterprise, which can not only effectively filter irrelevant information and reduce unnecessary information noise, but also promote the efficient allocation of resources, making policy information delivery more accurate, avoiding waste of resources, and improving the efficiency of policy services; this application updates the current policy text in real time, closely tracks the policy release and revision dynamics, and ensures that enterprises can obtain the latest policy guidance in real time, thereby enhancing the response speed and flexibility of the policy information system, enabling enterprises to quickly adapt to the ever-changing market and policy environment, seize development opportunities, reduce the risks caused by information lags, and enhance the market competitiveness and policy adaptability of enterprises. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1Flow chart (I) of the enterprise policy recommendation method based on text similarity calculation provided in an embodiment of the present application; Figure 2 Flow chart (II) of the enterprise policy recommendation method based on text similarity calculation provided in the embodiment of the present application; Figure 3 Flowchart (III) of the enterprise policy recommendation method based on text similarity calculation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The present application is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are intended to enable the present application to be better understood. However, those skilled in the art can easily recognize that some of the features can be omitted in different situations, or can be replaced by other elements, materials, and methods. In some cases, some operations related to the present application are not shown or described in the specification, in order to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0021] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0022] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0023] Please refer to Figure 1 In order to solve the problems in current policy recommendation practice methods, such as insufficient personalized matching due to information overload, inability to accurately point to the specific needs of enterprises, and poor synchronization between policy updates and changes in enterprise needs, a method for enterprise policy recommendation based on text similarity calculation is provided in an embodiment of the present application, and the method includes the following steps.
[0024] Step S101, provide at least one label based on at least one label dimension. Each of the label dimensions includes at least two label layers set in sequence from top to bottom, and each of the label layers includes at least one label; in each of the label dimensions, each label of the lower label layer belongs to any label of the upper label layer; the label dimension is classified according to the jurisdiction or industry field, and the label is used to indicate the jurisdiction or industry field where the enterprise is located. By constructing a multi-layer label system based on jurisdictions and industry fields, a highly structured classification of enterprises and their policy environment is achieved. This top-down label hierarchy not only covers macro-regional characteristics, but also refines to specific industry segments, ensuring accurate definition of the scope of policy application; compared with traditional methods, the label division of this application can more accurately map enterprise-specific needs and reduce matching errors caused by information overload.
[0025] In some embodiments, the constructed labeling system is not limited to basic industry or regional classifications, but deepens to secondary or even more specific labeling layers, such as the company's business scale, development stage, technological innovation level, etc., to form a three-dimensional labeling network to ensure the multi-level and multi-dimensional nature of corporate labels, which helps to capture the specific needs of the company from the details, and achieve more accurate personalized matching even within the same industry, thereby effectively alleviating the problem of inaccurate matching caused by information overload.
[0026] Step S102: Provide an enterprise information vector database containing at least one enterprise information vector. Each enterprise information vector includes at least one enterprise information feature and is correspondingly provided with at least one label. Converting enterprise information into vector form is not only convenient for storage and processing, but also can efficiently perform similarity calculation using a vector space model. The features carried by each enterprise information vector are associated with the label, which further strengthens the personalized basis of the recommendation and ensures that the recommended content closely matches the actual situation of the enterprise.
[0027] In some embodiments, the enterprise information vector database not only stores basic information, but also integrates dynamic information such as enterprise behavior data, historical policy benefits, and social media sentiment analysis to form a comprehensive enterprise portrait. The weight of each feature is dynamically adjusted through machine learning algorithms to enhance the expression ability of the vector, so that when making recommendations, the current status and potential needs of the enterprise can be more deeply understood, which improves the pertinence and effectiveness of the recommendations.
[0028] Step S103: obtaining the current policy text disclosed through public channels in real time, extracting the policy features of the current policy text, and obtaining the current policy information vector.
[0029] In some embodiments, real-time acquisition of policy information does not rely solely on a single channel, but integrates multi-source data, including government official websites, authoritative news media, professional policy interpretation platforms, etc., to ensure the comprehensiveness and timeliness of policy content. Automatic summarization and keyword extraction using natural language processing technology make policy feature extraction fast and accurate, solving the problem of poor synchronization between policy updates and corporate needs.
[0030] Step S104: Match the policy features of the current policy text with at least one tag, and obtain at least one target tag that matches the policy features of the current policy text. The latest policy text is captured and analyzed in real time, key features are extracted and matched with the tag library, and the associated target tags are quickly located, which improves the timeliness of policy updates and recommendations, and ensures that enterprises can keep abreast of the latest policy trends related to them.
[0031] In some embodiments, fuzzy matching logic is introduced in the matching process. Even if the policy features are not completely consistent with the labels, the most suitable label matches can be found based on keyword similarity, upper and lower label relationships, etc., which increases the flexibility and inclusiveness of the matching and further improves the breadth and depth of the recommendations.
[0032] Step S105: Obtain all potential target tags according to at least one of the target tags. The potential target tags are tags that are in a relatively lower tag layer of the target tag and are subordinate to the target tag. By performing a lower-level expansion on the matched target tag and incorporating all potentially related sub-tags, the coverage of the policy recommendation is expanded while maintaining the pertinence of the recommendation to avoid missing out on enterprise groups that may benefit.
[0033] In some embodiments, in the process of expanding potential target tags, the correlation between tags is analyzed through algorithms, and those lower-level tags that are highly correlated with the target tags are given priority to avoid blind expansion and resulting in an overabundance of recommendations. This allows the accuracy and relevance of recommendations to be maintained while increasing coverage, thereby ensuring the efficient execution of recommendation strategies.
[0034] Step S106: Determine, according to the target tag and the potential target tag, the quasi-target enterprise information vector corresponding to the target tag and the potential target tag.
[0035] In some embodiments, when determining the quasi-target enterprise information vector, a hybrid strategy based on rules and machine learning is introduced, which can not only quickly associate enterprises directly according to labels, but also discover potential and non-intuitive enterprise and policy matching relationships through pattern recognition, thereby improving the intelligence level of recommendations.
[0036] Step S107: Calculate the similarity between the quasi-target enterprise information vector and the current policy information vector, obtain the target enterprise vector, and recommend the current policy text to the enterprise corresponding to the target enterprise information vector. Based on the target and potential target labels, filter out the quasi-target enterprise information vectors, and accurately locate the target enterprise by calculating the similarity between these vectors and the current policy information vector. This process ensures high accuracy of the recommendation, and only pushes the most relevant policy information to the enterprises that really need it, thereby maximizing the effect and efficiency of policy dissemination.
[0037] In some embodiments, similarity calculation is not only based on traditional cosine similarity, but can also incorporate deep learning models such as Siamese Networks or BERT, using deep feature representation to enhance the comparison between vectors, making the similarity calculation more delicate and accurate, and ultimately ensuring that the policy text recommended to the enterprise is highly relevant and has practical value.
[0038] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred scheme, there are two label dimensions, namely the first label dimension and the second label dimension. The label of the first label dimension is used to indicate the jurisdiction of the enterprise, and the label of the second label dimension is used to indicate the industry field in which the enterprise is located.
[0039] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, each of the label dimensions includes at least a first label layer, a second label layer and a third label layer; each of the first label layer corresponds to at least one second label layer, and each of the second label layer corresponds to at least one third label layer; when the label dimension is classified according to jurisdiction, the first label layer corresponds to the provincial jurisdiction, the second label layer corresponds to the municipal jurisdiction, and the third label layer corresponds to the county jurisdiction; when the label dimension is classified according to industry field, the first label layer corresponds to the industry field, the second label layer corresponds to the industry branch field under each industry field, and the third label layer corresponds to the professional production field under each industry branch field.
[0040] In some embodiments, when the label dimension is classified according to industry fields, the first label layer can be divided as follows: Primary industry: refers to industries that directly obtain primary products from nature, mainly including agriculture, forestry, animal husbandry, fishery and mining; Secondary industry: involves processing and manufacturing of raw materials to produce finished products. This includes but is not limited to manufacturing, construction, and some energy production and supply industries; Tertiary industry: covers economic activities that provide services rather than physical goods, including but not limited to finance, education, medical care, information technology, retail, wholesale, transportation, accommodation and catering, entertainment, communications, professional services, etc.; Quaternary industry: information industry, knowledge economy, etc.; Fifth industry: creative industry, cultural industry, etc. The first label layer is: primary industry, secondary industry, tertiary industry, quaternary industry and quintuple industry.
[0041] For the second label layer, taking the primary industry as an example, the labels of the second label layer can be agriculture, forestry, animal husbandry, fishery and mining.
[0042] For the third label layer, taking the animal husbandry label of the second label layer as an example, the label of the third label layer can be cattle breeding, sheep breeding, poultry breeding, pig breeding, etc.
[0043] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred scheme, the enterprise information vector and the policy information vector each include at least one vector and a vector value corresponding to each vector, and the vector value is the weight of the vector in the enterprise information vector or the policy information vector; the vector of the enterprise information vector is the enterprise information feature, including at least basic information, market information, scientific and technological information, production information, sales information, policy information, financial information, legal information, credit information and enterprise label features; the vector of the policy information vector is the policy feature, including at least policy theme, applicable object, policy content, geographical information, issuing agency, timeliness information, keyword features, economic impact, industry impact and policy label features.
[0044] In some embodiments, the enterprise information vector and the policy information vector may be designed according to the following structure: For the enterprise information vector, there is the following data structure: Basic information: company name, industry category, establishment time, registration place, etc.; Market information: target market, market share, competitor situation, etc.; Scientific and technological information: R&D capabilities, technological innovation, number of patents, etc.; Production information: production capacity, production technology, supply chain details, etc.; Sales information: sales channels, sales performance, customer distribution, etc.; Policy information: beneficiary policies, compliance records, policy adaptability, etc.; Financial information: financial status, financing history, return on investment, etc.; Legal information: legal disputes, compliance status, contract terms, etc.; Credit information: credit rating, debt repayment ability, credit history, etc.; Enterprise label characteristics: Based on the industry field, administrative division and other labels to which the enterprise belongs, these labels themselves can also be converted into vector form for calculation.
[0045] For the policy information vector, there is the following data structure: Policy topics: core policy areas of concern, such as technological innovation, environmental regulations, and fiscal subsidies; Applicable objects: entities targeted by the policy, such as small and micro enterprises, high-tech enterprises, specific industries, etc.; Policy content: specific terms, incentives, restrictions, implementation period, etc.; Geographic information: the geographical scope of policy implementation, such as provincial, municipal, or national level; Issuing agency: the unit that formulates and issues policies, such as government departments, industry associations, etc. Time limit information: the effective time range of the policy; Keyword features: extract keywords from policy texts to reflect the core points of the policy; Economic impact: expected economic effects, such as promoting employment, increasing investment, etc.; Industry impact: the extent and direction of impact on specific industries; Policy label features: labels such as the industry to which the policy belongs, policy type (such as tax incentives, financial subsidies, etc.), etc., as components of the vector.
[0046] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred scheme, the real-time acquisition of the current policy text disclosed based on public channels and the extraction of policy features of the current policy text include: setting a public channel for policy release and acquiring the current policy text of the public channel in real time; performing text cleaning on the current policy text to obtain the current target text; performing feature extraction on the current target text to obtain the policy features of the current policy text.
[0047] Please refer to Figure 2 In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the calculation of the similarity between the quasi-target enterprise information vector and the current policy information vector to obtain the target enterprise vector includes the following steps: Step S201: Obtaining the Quasi-Target Enterprise Information Vector All enterprise vector values in .
[0048] Step S202: Obtain current policy information vector The total policy vector value in .
[0049] Step S203: Calculate the cosine similarity between the quasi-target enterprise information vector and the current policy information vector, and use the quasi-target enterprise information vector whose cosine similarity with the current policy information vector exceeds a threshold as the target enterprise vector.
[0050] Where: the threshold is the preset value; the quasi-target enterprise information vector and the current policy information vector Included in Enterprise information characteristics, , enterprise vector value Targeted corporate information vector In the The value of the enterprise information feature, the current policy vector value is the current policy information vector In the The value of a policy feature.
[0051] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the acquisition of the quasi-target enterprise information vector All enterprise vector values in , including: vectoring the target enterprise information All enterprise vector values in are all set to the same specific value of 1.
[0052] Please refer to Figure 3 In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the current policy information vector is obtained The total policy vector value in , including the following steps: Step S301: Calculate the current policy information vector The word frequency of each policy feature in the current policy text.
[0053] Step S302: Calculate the current policy information vector The inverse document frequency of each policy feature in the current policy text.
[0054] Step S303: Calculate the weight of each policy feature, i.e., the policy vector value, by combining the word frequency and the inverse document frequency. .
[0055] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the current policy information vector is calculated by the following formula: The frequency of each policy feature in the current policy text : ; The current policy information vector is calculated by the following formula The inverse document frequency of each policy feature in the current policy text : ; The weight of each policy feature is calculated by the following formula, that is, the policy vector value : ; in, As a policy feature, For the current policy text, Policy Features In the current policy text The number of times it appears in For all policy features, For current policy text The total number of times the policy feature appears in is the total number of all policy texts, and the current policy text is one of all policy texts. Include policy features in all policy texts The number of policy texts.
[0056] In the above-mentioned enterprise policy recommendation method based on text similarity calculation, as a preferred solution, the calculation of the cosine similarity between the quasi-target enterprise information vector and the current policy information vector includes: The cosine similarity between the quasi-target enterprise information vector and the current policy information vector is calculated by the following formula : ; in, For vector and vector The dot product of and The vectors are and vector Model.
[0057] In some embodiments, the enterprise vector value are all set to the same specific value 1, then the cosine similarity between the quasi-target enterprise information vector and the current policy information vector is calculated by the following formula : .
[0058] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0059] The above specific examples are used to illustrate the present application, which is only used to help understand the present application and is not intended to limit the present application. For technicians in the technical field to which the present application belongs, they can also make some simple deductions, deformations or substitutions based on the ideas of the present application.
Claims
1. A method for recommending enterprise policies based on text similarity calculation, characterized in that: The enterprise policy recommendation method includes: At least one label based on at least one label dimension is provided; each of the label dimensions includes at least two label layers set in order from top to bottom, and each of the label layers includes at least one label; in each of the label dimensions, each label of the lower label layer belongs to any label of the upper label layer; the label dimension is classified according to the jurisdiction or industry field, and the label is used to indicate the jurisdiction or industry field where the enterprise is located; Providing an enterprise information vector database including at least one enterprise information vector; each of the enterprise information vectors includes at least one enterprise information feature and is correspondingly provided with at least one tag; Obtain the current policy text based on public channels in real time, extract the policy features of the current policy text, and obtain the current policy information vector; Matching the policy features of the current policy text with at least one label, and obtaining at least one target label matching the policy features of the current policy text; According to at least one of the target tags, all potential target tags are acquired; the potential target tags are tags that are in a relatively lower tag layer of the target tag and are subordinate to the target tag; Determining, according to the target tag and the potential target tag, a quasi-target enterprise information vector corresponding to the target tag and the potential target tag; Calculate the similarity between the quasi-target enterprise information vector and the current policy information vector, obtain the target enterprise vector, and recommend the current policy text to the enterprise corresponding to the target enterprise information vector.
2. The enterprise policy recommendation method based on text similarity calculation according to claim 1, characterized in that: There are two label dimensions, namely a first label dimension and a second label dimension. The label of the first label dimension is used to indicate the jurisdiction where the enterprise is located, and the label of the second label dimension is used to indicate the industry field in which the enterprise is located.
3. The enterprise policy recommendation method based on text similarity calculation according to claim 2, characterized in that: Each of the label dimensions includes at least a first label layer, a second label layer and a third label layer; Each of the first label layers corresponds to at least one second label layer, and each of the second label layers corresponds to at least one third label layer; When the label dimension is classified according to jurisdiction, the first label layer corresponds to the provincial jurisdiction, the second label layer corresponds to the municipal jurisdiction, and the third label layer corresponds to the county jurisdiction; When the label dimension is classified according to industry fields, the first label layer corresponds to the industry field, the second label layer corresponds to the industry branch field under each industry field, and the third label layer corresponds to the professional production field under each industry branch field.
4. The enterprise policy recommendation method based on text similarity calculation according to claim 1, characterized in that: The enterprise information vector and the policy information vector each include at least one vector and a vector value corresponding to each vector, wherein the vector value is a weight of the vector in the enterprise information vector or the policy information vector; The vector of the enterprise information vector is the enterprise information feature, including at least basic information, market information, scientific and technological information, production information, sales information, policy information, financial information, legal information, credit information and enterprise label features; The vector of the policy information vector is a policy feature, which at least includes policy theme, applicable objects, policy content, geographical information, issuing agency, timeliness information, keyword features, economic impact, industry impact and policy label features.
5. The enterprise policy recommendation method based on text similarity calculation according to claim 1, characterized in that: The real-time acquisition of the current policy text disclosed through public channels and the extraction of policy features of the current policy text include: Setting a public channel for policy release and obtaining the current policy text of the public channel in real time; Perform text cleaning on the current policy text to obtain the current target text; Perform feature extraction on the current target text to obtain the policy features of the current policy text.
6. The enterprise policy recommendation method based on text similarity calculation according to claim 1, characterized in that: The calculating the similarity between the quasi-target enterprise information vector and the current policy information vector to obtain the target enterprise vector includes: Get the target enterprise information vector All enterprise vector values in ; Get the current policy information vector The total policy vector value in ; Calculate the cosine similarity between the quasi-target enterprise information vector and the current policy information vector, and use the quasi-target enterprise information vector whose cosine similarity with the current policy information vector exceeds a threshold as the target enterprise vector; in: The threshold is a preset value; Quasi-targeted business information vector and the current policy information vector Included in Enterprise information characteristics, , enterprise vector value Targeted corporate information vector In the The value of the enterprise information feature, the current policy vector value is the current policy information vector In the The value of a policy feature.
7. The enterprise policy recommendation method based on text similarity calculation according to claim 6, characterized in that: The acquisition of the quasi-target enterprise information vector All enterprise vector values in ,include: Target corporate information vector All enterprise vector values in are all set to the same specific value of 1.
8. The enterprise policy recommendation method based on text similarity calculation according to claim 6, characterized in that: The current policy information vector is obtained The total policy vector value in ,include: Calculate the current policy information vector The word frequency of each policy feature in the current policy text; Calculate the current policy information vector The inverse document frequency of each policy feature in the current policy text; Combine word frequency and inverse document frequency to calculate the weight of each policy feature, that is, the policy vector value .
9. The enterprise policy recommendation method based on text similarity calculation according to claim 8, characterized in that: The current policy information vector is calculated by the following formula The frequency of each policy feature in the current policy text : ; The current policy information vector is calculated by the following formula The inverse document frequency of each policy feature in the current policy text : ; The weight of each policy feature is calculated by the following formula, that is, the policy vector value : ; in, As a policy feature, For the current policy text, Policy Features In the current policy text The number of times it appears in For all policy features, For current policy text The total number of times the policy feature appears in is the total number of all policy texts, and the current policy text is one of all policy texts. Include policy features in all policy texts The number of policy texts.
10. The enterprise policy recommendation method based on text similarity calculation according to claim 6, characterized in that: The calculating of the cosine similarity between the quasi-target enterprise information vector and the current policy information vector includes: The cosine similarity between the quasi-target enterprise information vector and the current policy information vector is calculated by the following formula : ; in, For vector and vector The dot product of and Respectively, vector and vector Model.
Citation Information
Patent Citations
Enterprise policy matching method based on label similarity
CN112380318A
Precise policy recommendation method and system and medium
CN116775851A
