Tender demand hotspot identification method, device, storage medium and electronic device
By preprocessing and subject model analysis of the bidding demand text, combined with the TF-IDF value and topic association matching degree, the bidding demand hot spots are identified, which solves the problem of efficiency and accuracy of identifying industry hot demand information in the existing technology, and achieves Fast and convenient recognition effect.
Patent Information
- Application Number
- CN202210929119.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-08-03
AI Technical Summary
It is difficult to quickly and accurately identify industry hot demand information in massive bidding texts with existing technology. Traditional methods are mainly based on the probability distribution of word meaning weights and cannot effectively refine the hot demand in the bidding industry.
By preprocessing the bidding demand text, keywords are generated and a corpus is constructed, the topic model is used to extract the topic-word probability, and the bidding demand hot spots are determined by combining the TF-IDF value and topic association matching degree.
It improves the accuracy and efficiency of identification of hot spots in bidding requirements and enables fast and convenient identification of industry hot demand information. It is more accurate and simple than extracting topic models directly from the original text.
Smart Images

Figure CN115238676B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of emerging information technology, and in particular to a bidding demand hotspot identification method, a bidding demand hotspot identification system, a computer storage medium and an electronic device. Background Art
[0002] my country is currently in an era of comprehensive development of the digital industry, which is also an important period of opportunity for the development and construction of 5G in my country. The three major operators are actively planning the digitalization and informatization of the industry, and striving to seek new opportunities and business opportunities.
[0003] However, with the vigorous development of emerging technologies and industries, the procurement websites of government agencies, public institutions, and state-owned enterprises across the country publish tens of thousands of bidding information every day. The traditional method of marking requirements based on manual or expert experience can no longer meet the information processing and mining of massive bidding texts. Currently, there are few methods for constructing text topic mining for bidding data. The topic mining in the text is mainly based on the weighted probability distribution of word meanings in the text, and lacks the extraction of hot demand information in the bidding industry.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application. Summary of the invention
[0005] The purpose of this application is to provide a bidding demand hotspot identification method, a bidding demand hotspot identification system, a computer storage medium and an electronic device, thereby achieving, at least to a certain extent, rapid, convenient and accurate identification of industry hotspot demand information in the bidding text.
[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0007] According to a first aspect of the present application, a method for identifying hot spots of bidding requirements is provided, comprising:
[0008] Preprocessing each tender demand text in the tender demand text set corresponding to the target industry to obtain keywords corresponding to the tender demand text, and generating a tender demand corpus according to the keywords;
[0009] Inputting the bidding requirement corpus into a topic model, and extracting information from the bidding requirement corpus through the topic model to obtain a topic-word probability;
[0010] The subject association matching degree is determined according to the TF-IDF value corresponding to the keyword and the subject word probability, and the bidding demand hotspot corresponding to the target industry is determined according to the subject association matching degree.
[0011] According to a second aspect of the present application, a bidding demand hotspot identification device is provided, comprising:
[0012] A preprocessing module, used to preprocess each tender demand text in the tender demand text set corresponding to the target industry to obtain keywords corresponding to the tender demand text, and generate a tender demand corpus according to the keywords;
[0013] A topic processing module, used for inputting the bidding requirement corpus into a topic model, and extracting information from the bidding requirement corpus through the topic model to obtain topic-word probability;
[0014] The hot spot identification module is used to determine the subject association matching degree according to the TF-IDF value corresponding to the keyword and the subject word probability, and determine the bidding demand hot spot corresponding to the target industry according to the subject association matching degree.
[0015] In one embodiment of the present application, the preprocessing module is configured as follows:
[0016] Segmenting and removing stop words from the bidding demand text to obtain a text to be processed;
[0017] Calculate the TF-IDF value of each word in the text to be processed, and sort all the words contained in the bidding requirement text set from large to small according to the TF-IDF value to obtain a word sequence;
[0018] A preset number of segmented words are sequentially acquired from the segmented word sequence as the keywords.
[0019] In one embodiment of the present application, the bidding requirement corpus includes a plurality of bidding requirement texts and keywords corresponding to each of the bidding requirement texts; the topic processing module is configured as follows:
[0020] Obtaining a text vector corresponding to the bidding requirement text and a word vector corresponding to the keyword, and constructing an input matrix according to the text vector and the word vector;
[0021] The input matrix is input into the topic model, and information is extracted from the input matrix through the topic model to output the topic-word probability, where the topic-word probability is used to indicate the probability that each keyword in the bidding requirement text corresponds to a preset topic.
[0022] In one embodiment of the present application, the subject processing module is further configured to:
[0023] Before inputting the bidding demand corpus into the topic model, calculating the perplexity corresponding to the topic model when setting different numbers of topics;
[0024] Constructing a topic number-perplexity graph according to the topic number and the perplexity, and obtaining an inflection point in the topic number-perplexity graph;
[0025] The number of topics corresponding to the inflection point is taken as the optimal number of topics, and the topic-word probability is determined based on the optimal number of topics.
[0026] In one embodiment of the present application, the bidding demand hotspot identification device further includes:
[0027] A sample acquisition module, used for acquiring a sample set of tender demand texts corresponding to the target industry before inputting the tender demand corpus into the topic model;
[0028] A sample preprocessing module, used for preprocessing each tender requirement text sample in the tender requirement text sample set to obtain a keyword sample corresponding to the tender requirement text sample;
[0029] The training module is used to generate a bidding requirement corpus sample library according to the keyword sample, and train the to-be-trained subject model according to the bidding requirement corpus sample library to obtain the subject model.
[0030] In an exemplary embodiment of the present application, the hotspot identification module includes:
[0031] A calculation unit, used to determine a plurality of topic association matching degrees corresponding to each of the bidding requirement texts according to the TF-IDF value corresponding to each of the keywords in each of the bidding requirement texts and the topic-word probability;
[0032] The determination unit is configured to use the maximum subject relevance matching degree among the plurality of subject relevance matching degrees corresponding to each of the tender requirement texts as the target subject relevance matching degree corresponding to the tender requirement text.
[0033] In an exemplary embodiment of the present application, the computing unit is configured as follows:
[0034] The subject association matching degree is calculated according to formula (1):
[0035]
[0036] Among them, p(T) is the topic correlation matching degree corresponding to the current topic T, v i is the ith keyword in the keyword set V corresponding to the current topic T, α is the topic weight, α∈[0,1], TF vi For the keyword v i Corresponding TF value, IDF vi For the keyword v i The corresponding IDF value, p(vi |T) is the keyword v i The topic-word probability between and the current topic T.
[0037] In an exemplary embodiment of the present application, the hotspot identification module is further configured to:
[0038] The topic corresponding to the target topic association matching degree is used as the bidding demand hotspot.
[0039] In an exemplary embodiment of the present application, the bidding demand hotspot identification device 600 is further configured as follows:
[0040] Before preprocessing each tender demand text in the tender demand text set corresponding to the target industry, obtaining a tender text set corresponding to the target industry, wherein the tender text set includes one or more tender texts;
[0041] The target text corresponding to the service requirement in the bidding text is extracted, and the bidding requirement text set is constructed according to the target text.
[0042] According to a third aspect of the present application, there is provided a computer storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the above-mentioned bidding demand hotspot identification method is implemented.
[0043] According to a fourth aspect of the present application, there is provided an electronic device, characterized in that it includes:
[0044] Processor; and
[0045] A memory, configured to store executable instructions of the processor;
[0046] Wherein, the processor is configured to execute the above-mentioned bidding demand hotspot identification method by executing the executable instructions.
[0047] It can be seen from the above technical solutions that the bidding demand hotspot identification method, bidding demand hotspot identification device, computer storage medium and electronic device in the exemplary embodiments of the present application have at least the following advantages and positive effects:
[0048] The method for identifying hot spots of bidding requirements in the present application obtains a set of bidding requirement texts corresponding to the target industry, pre-processes each bidding requirement text in the set of bidding requirement texts to obtain the corresponding keywords, and generates a bidding requirement corpus based on the keywords, then extracts information from the bidding requirement corpus through a topic model to obtain the subject-word probability, and finally calculates the subject correlation matching degree between the subject and the bidding text based on the TF-IDF value and subject-word probability corresponding to the keyword, and obtains the bidding requirement hot spots based on the subject correlation matching degree. On the one hand, the embodiment of the present application can effectively integrate the keyword probability information and the subject-word probability information to calculate the correlation matching degree between the subject and the bidding text, which improves the recognition accuracy of the bidding requirement hot spots compared to directly extracting the subject model on the original text; on the other hand, since the bidding requirement hot spots only need to be identified based on the keyword probability information and the subject-word probability information, the bidding requirement hot spots identification method in the present application is convenient, simple and fast to implement.
[0049] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 A schematic diagram of the structure of the system architecture of the bidding demand hotspot identification method in the embodiment of the present application is schematically shown.
[0052] Figure 2 The flowchart of the bidding demand hotspot identification method in the embodiment of the present application is schematically shown.
[0053] Figure 3 The flowchart of obtaining keywords in the embodiment of the present application is schematically shown.
[0054] Figure 4 The flowchart of determining the optimal number of topics based on perplexity in an embodiment of the present application is schematically shown.
[0055] Figure 5 A schematic diagram of a process for obtaining hot spots of bidding demand in the construction industry in an embodiment of the present application is schematically shown.
[0056] Figure 6 The structural block diagram of the bidding demand hotspot identification device in this application is schematically shown.
[0057] Figure 7 The structure block diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0058] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0059] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0060] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0061] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0062] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0063] In the related technologies of this application, when text topic mining is performed on bidding documents, it is mainly based on the weighted probability distribution of word meanings in the text. However, this mining method cannot effectively obtain the hot spots of bidding demand in the bidding documents. For bidding companies, it is impossible to grasp industry business opportunities in a timely and accurate manner, which will cause great economic losses to the bidding companies.
[0064] In response to the problems existing in the relevant technologies, this application proposes a method for identifying bidding demand hotspots, which involves a virtualized network element selecting a corresponding acceleration solution for message forwarding according to different business scenarios.
[0065] Before describing in detail the technical solutions in the embodiments of the present application, the technical terms that may be involved in the embodiments of the present application are first explained and illustrated.
[0066] (1) TF-IDF: term frequency–inverse document frequency, is a commonly used weighting technique for information retrieval and data mining. TF stands for term frequency and IDF stands for inverse document frequency.
[0067] (2) LDA topic model: Latent Dirichlet Allocation, latent Dirichlet distribution topic model, is used to infer the topic distribution of documents. It can give the topic of each document in the document set in the form of probability distribution, so that after analyzing some documents and extracting their topic distribution, topic clustering or text classification can be performed based on the topic distribution.
[0068] (3) Tendering: is a term in the bidding industry, which refers to the act of the tenderer (buyer) issuing a tender notice or tender form in advance, proposing the variety, quantity, technical requirements and related transaction conditions at a specified time and place, and inviting bidders (sellers) to participate in the bidding.
[0069] (4) Bidding: is a professional term for bidding, which refers to the act of a bidder submitting a bid to the tenderer within the specified period upon invitation by the tenderer, in accordance with the conditions specified in the tender notice or tender invitation letter.
[0070] After introducing the technical terms that may be involved in the embodiments of the present application, the bidding demand hotspot identification method in the present application is described in detail.
[0071] Figure 1 The following schematically shows an exemplary system architecture block diagram applying the technical solution of the present application.
[0072] like Figure 1As shown, the system architecture 100 may include a terminal device 101, a server 102, and a network 103. The terminal device 101 may include various electronic devices with display screens, such as smart phones, tablet computers, laptop computers, desktop computers, smart TVs, and smart car terminals. The server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The network 103 may be a communication medium of various connection types that can provide a communication link between the terminal device 101 and the server 102, such as a wired communication link or a wireless communication link.
[0073] According to implementation requirements, the system architecture in the embodiment of the present application may have any number of terminal devices, networks and servers. For example, the server may be a server group composed of multiple server devices.
[0074] The technical solution provided in the embodiment of the present application can be applied to the terminal device 101 or the server 102. When the bidding demand hotspot identification method in the present application is executed by the server 102, the server can be a cloud server that provides cloud computing services.
[0075] Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, allowing various application systems to obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". From the user's perspective, the resources in the "cloud" are infinitely scalable and can be obtained at any time, used on demand, expanded at any time, and paid for by use.
[0076] As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service) platform) will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.
[0077] According to the logical function division, the PaaS (Platform as a Service) layer can be deployed on the IaaS (Infrastructure as a Service) layer, and the SaaS (Software as a Service) layer can be deployed on the PaaS layer. SaaS can also be deployed directly on IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is a variety of business software, such as web portals, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
[0078] The following is a detailed description of the technical solutions such as the bidding demand hotspot identification method, bidding demand hotspot identification device, computer-readable medium and electronic device provided in this application in combination with specific implementation methods.
[0079] Figure 2 A flowchart of the bidding demand hotspot identification method is shown in FIG. Figure 2 As shown, the bidding demand hotspot identification method includes:
[0080] Step S210: pre-processing each tender requirement text in the tender requirement text set corresponding to the target industry to obtain keywords corresponding to the tender requirement text, and generating a tender requirement corpus according to the keywords;
[0081] Step S220: inputting the bidding requirement corpus into a topic model, and extracting information from the bidding requirement corpus through the topic model to obtain topic-word probability;
[0082] Step S230: determining a topic association matching degree according to the TF-IDF value corresponding to the keyword and the subject word probability, and determining a bidding demand hotspot corresponding to the target industry according to the topic association matching degree.
[0083] The bidding demand hotspot identification method of the present application obtains a bidding demand text set corresponding to the target industry, pre-processes each bidding demand text in the bidding demand text set to obtain the corresponding keywords, and generates a bidding demand corpus based on the keywords, then extracts information from the bidding demand corpus through a topic model to obtain the subject-word probability, and finally calculates the subject correlation matching degree between the subject and the bidding text according to the TF-IDF value and subject-word probability corresponding to the keyword, and obtains the bidding demand hotspot according to the subject correlation matching degree. On the one hand, the embodiment of the present application can effectively integrate the keyword probability information and the subject-word probability information to calculate the correlation matching degree between the subject and the bidding text, which improves the recognition accuracy of the bidding demand hotspot compared to directly extracting the subject model on the original text; on the other hand, since the bidding demand hotspot identification only needs to be performed based on the keyword probability information and the subject-word probability information, the bidding demand hotspot identification method in the present application is convenient, simple and fast to implement.
[0084] Below Figure 2 The various steps of the bidding demand hotspot identification method shown are described in detail.
[0085] In step S210, each tender requirement text in the tender requirement text set corresponding to the target industry is preprocessed to obtain keywords corresponding to the tender requirement text, and a tender requirement corpus is generated according to the keywords.
[0086] In an exemplary embodiment of the present application, in order to obtain the hot spots of bidding demand, it is first necessary to obtain a bidding text set containing bidding texts, the bidding text set containing one or more bidding texts, and then extract the hot spots of bidding demand from each bidding text in the bidding text set. When obtaining the bidding text set, a large number of bidding texts can be downloaded from the bidding website to form a bidding text set by logging on to a public bidding website on the Internet. Of course, a large number of bidding texts can also be collected by other means, which is not specifically limited in the embodiments of the present application.
[0087] In an exemplary embodiment of the present application, after obtaining a tender text set, the tender demand text corresponding to the service demand can be extracted from each tender text contained in the tender text set, and then a tender demand text set can be constructed based on the tender demand text corresponding to each tender text. Further, tender demand hotspots can be identified and obtained from the tender demand text set. The reason for extracting the target text corresponding to the service demand is related to the technical problem to be solved by the present application. Usually, the project service requirements section of the tender text will record in detail the specific requirements of the tenderer to the bidder, and the tender demand hotspots are precisely the specific requirements of the tenderer to the bidder. Therefore, the tender demand text corresponding to the service demand can be directly extracted from the tender text, which can reduce the amount of information processing and improve the efficiency and accuracy of identifying tender demand hotspots.
[0088] In an exemplary embodiment of the present application, after obtaining the tender requirement text set, each tender requirement text contained therein may be preprocessed to obtain keywords corresponding to the tender requirement text.
[0089] Figure 3 The schematic diagram of the process of obtaining keywords is shown schematically. Figure 3 As shown, in step S301, the bidding requirement text is segmented and stop words are removed to obtain a text to be processed; in step S302, the TF-IDF value of each segmentation in the text to be processed is calculated, and all the segmentations contained in the bidding requirement text set are sorted from large to small according to the TF-IDF value to obtain a segmentation sequence; in step S303, a preset number of segmentations are sequentially obtained from the segmentation sequence as the keywords.
[0090] Among them, in step S301, when tokenizing the tender requirement text, it can be tokenized according to a dictionary or by a machine learning model based on statistics. When tokenizing according to a dictionary, methods such as forward maximum matching, reverse maximum matching, and bidirectional matching tokenization can be used. When tokenizing by a machine learning model based on statistics, a tokenizer that combines a machine learning algorithm and a dictionary can be implemented. The machine learning algorithm can specifically be algorithms such as Hidden Markov Model (HMM), conditional random field (CRF), Support Vector Machine (SVM), and deep learning. Of course, the tokenization methods in the embodiments of the present application include but are not limited to the above-mentioned tokenization methods, and the embodiments of the present application will not elaborate here. Stop words refer to certain words or terms that are automatically filtered out before or after processing natural language data or text in information retrieval to save storage space and improve search efficiency. These words or terms are called stop words. Stop words can be, for example, "de", "a", "such as", and so on.
[0091] In step S302, after obtaining the tokens corresponding to the tender requirement text, the TF-IDF values corresponding to each token can be calculated. Among them, the TF value is the proportion of a certain term in a certain text, and the IDF value is obtained by dividing the total number of texts by the number of texts containing a certain term and then taking the logarithm of the obtained quotient with base 10. According to the above calculation method, the TF-IDF values corresponding to each token can be calculated. When the frequency of a high-frequency term in a certain tender requirement text is low in the tender requirement text set, the larger the TF-IDF value, the greater the probability that the high-frequency term becomes a keyword. Since keywords are related to the theme of the tender text and the hotspots of tender requirements, keywords can be determined from all the tokens in the tender requirement text set according to the TF-IDF values corresponding to the tokens, and a tender requirement corpus can be constructed based on the keywords.
[0092] When determining keywords according to the TF-IDF values corresponding to the tokens, specifically, the TF-IDF values corresponding to all tokens can be sorted from large to small to form a token sequence, and then a preset number of tokens can be sequentially obtained from the token sequence as keywords. The preset number can be, for example, 50%, 60%, etc. of the total number of tokens. The embodiments of the present application do not make specific limitations on this, as long as the tender requirement corpus determined based on the keywords can accurately identify the hotspots of tender requirements.
[0093] In step S220, the tender requirement corpus is input into the topic model, and the topic model extracts information from the tender requirement corpus to obtain the topic-word probability.
[0094] In an exemplary embodiment of the present application, after obtaining a tender requirement corpus, information can be extracted from the tender requirement corpus through a trained topic model to obtain the topic-word probability corresponding to the tender requirement text, wherein the topic model is specifically an LDA topic model, and of course it can also be other topic models, and the embodiment of the present application does not make specific limitations on this.
[0095] In an exemplary embodiment of the present application, the tender requirement corpus includes all tender requirement texts in a tender requirement text set and keywords contained in each tender requirement text. When extracting information from the tender requirement corpus through a topic model, the tender requirement texts and keywords in the tender requirement corpus are first converted into text vectors and word vectors, and then an input matrix is constructed based on the text vectors and word vectors. Information extraction is performed on the input matrix through the topic model to obtain the probability that each keyword contained in each tender requirement text corresponds to a preset topic. Since the same tender requirement text may correspond to multiple topics, each topic corresponds to multiple keywords, and accordingly, the same keyword may correspond to multiple different topics, the information finally output by the topic model is the probability value of each keyword in each tender requirement text corresponding to a different topic, that is, the topic-word probability, that is, the probability p(W|T) that the keyword is W when the current topic T is.
[0096] In an exemplary embodiment of the present application, before using the LDA topic model to process the tender requirement corpus to obtain the topic-word probability, the optimal number of topics can be determined based on the topic consistency or the optimal number of topics selection method based on perplexity, and then the topic-word probability corresponding to each keyword in each tender requirement text can be determined based on the determined optimal number of topics. Figure 4 The schematic diagram of the process of determining the optimal number of topics based on perplexity is shown as follows: Figure 4 As shown, in step S401, the perplexity corresponding to the topic model when setting different numbers of topics is calculated; in step S402, a topic number-perplexity graph is constructed according to the number of topics and the perplexity, and an inflection point in the topic number-perplexity graph is obtained; in step S403, the number of topics corresponding to the inflection point is taken as the optimal number of topics, and the topic-word probability is determined based on the optimal number of topics.
[0097] In an exemplary embodiment of the present application, before using a trained topic model to extract information from a tender demand corpus, it is necessary to train the topic model to be trained to obtain a stable topic model. When training the topic model to be trained, it is first necessary to obtain a tender demand text sample set corresponding to the target industry, and build a tender demand corpus sample library based on the tender demand text sample set, and then train the topic model to be trained based on the tender demand corpus sample library. The method for obtaining a tender demand corpus sample library is similar to the method for obtaining a tender demand corpus in the embodiment of the present application, both of which involve segmenting the tender demand text samples in the tender demand text sample set, removing stop words, and other processing to obtain keywords corresponding to the tender demand text samples, and then generating a tender demand corpus sample library based on the keywords.
[0098] In step S230, a topic association matching degree is determined according to the TF-IDF value corresponding to the keyword and the topic-word probability, and a bidding demand hotspot corresponding to the target industry is determined according to the topic association matching degree.
[0099] In an exemplary embodiment of the present application, after obtaining the subject-word probability, the matching degree of the subject and the tender text, i.e., the subject-related matching degree, can be determined according to the TF-IDF value corresponding to the keyword and the subject-word probability. Among them, the TF-IDF value corresponding to the keyword reflects the particularity of the current keyword, that is, the ability to distinguish the tender text containing the current keyword from other tender texts, and the subject-word probability reflects the relevance between the current keyword and the current subject. By comprehensively considering the particularity of the current keyword and the relevance of the current keyword and the current subject, the relevance between the current subject and the tender text containing the current keyword can be accurately determined.
[0100] In an exemplary embodiment of the present application, the particularity of the current keyword and the relevance of the current keyword to the current topic can be comprehensively considered by weighted summation. Specifically, the topic association matching degree can be calculated according to the topic weight, the TF-IDF value corresponding to the keyword and the topic-word probability. The specific calculation formula is shown in formula (1):
[0101]
[0102] Among them, p(T) is the topic correlation matching degree corresponding to the current topic T, v i is the ith keyword in the keyword set V corresponding to the current topic T, α is the topic weight, α∈[0,1], TF vi For the keyword v i Corresponding TF value, IDF vi For the keyword v i The corresponding IDF value, p(v i |T) is the keyword vi The topic-word probability between and the current topic T.
[0103] Furthermore, the value of α can be set according to business needs. For example, when the service requirements in the tender demand text are relatively broad and there are no specific requirements, the value of α can be set larger, for example, it can be set to 0.8, etc. In other words, the topic association matching degree is mainly determined by the size of the topic-word probability between the current topic and the current keyword. When the service requirements in the tender demand text are relatively specific, the value of α can be set smaller, for example, it can be set to 0.2, etc. In other words, the topic association matching degree is mainly determined by the TF-IDF value of the current keyword.
[0104] In an exemplary embodiment of the present application, the set of tender demand texts corresponding to the target industry includes one or more tender demand texts, and each tender demand text may correspond to the same or different topics, so it is necessary to determine the tender demand hotspot corresponding to the target industry according to the topic corresponding to each tender demand text. In an embodiment of the present application, firstly, the multiple topic association matching degrees corresponding to each tender demand text can be determined according to the TF-IDF value and topic-word probability corresponding to each keyword in each tender demand text; then, the maximum topic association matching degree among the multiple topic association matching degrees corresponding to each tender demand text is respectively used as the target topic association matching degree corresponding to the tender demand text; finally, the topic corresponding to the target topic association matching degree is used as the tender demand hotspot corresponding to the target industry. For example, the bidding demand text set includes bidding demand texts A and B. The keywords contained in text A are w1 and w2, and the keywords contained in text B are w3, w4 and w5. The optimal number of topics is 3, and the corresponding topics are a, b and c respectively. According to formula (1), the topic correlation matching degrees between different topics and different bidding demand texts are: {a, A, 0.8}, {b, A, 0.5}, {c, A, 0.6}, {a, B, 0.3}, {b, B, 0.5}, {c, B, 0.6} respectively. Then it can be determined that the target topic correlation matching degree corresponding to bidding demand text A is 0.8, and the target topic correlation matching degree corresponding to bidding demand text B is 0.6. Accordingly, topics a and c are the bidding demand hot spots corresponding to the target industry.
[0105] The bidding demand hotspot identification method in this application can be applied to any industry, such as the construction industry, medical industry, education industry, transportation industry, etc. In order to make the bidding demand hotspot identification method in this application clearer, the bidding demand hotspot identification method in this application is specifically described by taking the construction industry as an example.
[0106] Figure 5 The schematic diagram shows the process of obtaining the hot spots of bidding demand in the construction industry, such as Figure 5 As shown, in step S501, a bidding text set corresponding to the construction industry is obtained; in step S502, a target text corresponding to the service demand is extracted from the bidding texts contained in the bidding text set, and a bidding demand text set is constructed according to the target text; in step S503, the bidding demand texts in the bidding demand text set are preprocessed to obtain keywords corresponding to each bidding demand text; in step S504, a bidding demand corpus is constructed according to the TF-IDF values corresponding to the keywords; in step S505, the bidding demand corpus is input into a topic model with an optimal number of topics set to obtain the topic-word probability corresponding to each keyword in each bidding demand text; in step S506, the topic association matching degree of each bidding demand document corresponding to different topics is calculated according to the TF-IDF value and topic-word probability corresponding to each keyword in each bidding demand document; in step S507, the maximum topic association matching degree corresponding to each bidding demand document is obtained; in step S508, the topic corresponding to each maximum topic association matching degree is used as the bidding demand hotspot corresponding to the construction industry.
[0107] The method for identifying hot spots of bidding requirements in the embodiment of the present application obtains a set of bidding requirement texts corresponding to the target industry, pre-processes each bidding requirement text in the set of bidding requirement texts to obtain the corresponding keywords, and generates a bidding requirement corpus based on the keywords, then extracts information from the bidding requirement corpus through a topic model to obtain the subject-word probability, and finally calculates the subject correlation matching degree between the subject and the bidding text based on the TF-IDF value and subject-word probability corresponding to the keyword, and obtains the bidding requirement hot spots based on the subject correlation matching degree. On the one hand, the embodiment of the present application can effectively integrate the keyword probability information and the subject-word probability information to calculate the correlation matching degree between the subject and the bidding text, which improves the recognition accuracy of the bidding requirement hot spots compared to directly extracting the subject model on the original text; on the other hand, since the bidding requirement hot spots only need to be identified based on the keyword probability information and the subject-word probability information, the bidding requirement hot spots identification method in the present application is convenient, simple and fast to implement.
[0108] This application also provides a bidding demand hotspot identification device, Figure 6 The schematic diagram of the structure of the bidding demand hot spot identification device is shown as follows: Figure 6 As shown, the bidding demand hotspot identification device 600 may include a pre-processing module 601, a subject processing module 602 and a hotspot identification module 603. Among them:
[0109] A preprocessing module 601 is used to preprocess each tender requirement text in the tender requirement text set corresponding to the target industry to obtain keywords corresponding to the tender requirement text, and generate a tender requirement corpus according to the keywords;
[0110] The topic processing module 602 is used to input the bidding requirement corpus into a topic model, and extract information from the bidding requirement corpus through the topic model to obtain topic-word probability;
[0111] The hot spot identification module 603 is used to determine the subject association matching degree according to the TF-IDF value corresponding to the keyword and the subject word probability, and determine the bidding demand hot spot corresponding to the target industry according to the subject association matching degree.
[0112] In one embodiment of the present application, the preprocessing module 601 is configured as follows:
[0113] Segmenting and removing stop words from the bidding demand text to obtain a text to be processed;
[0114] Calculate the TF-IDF value of each word in the text to be processed, and sort all the words contained in the bidding requirement text set from large to small according to the TF-IDF value to obtain a word sequence;
[0115] A preset number of segmented words are sequentially acquired from the segmented word sequence as the keywords.
[0116] In one embodiment of the present application, the bidding requirement corpus includes a plurality of bidding requirement texts and keywords corresponding to each of the bidding requirement texts; the topic processing module 602 is configured as follows:
[0117] Obtaining a text vector corresponding to the bidding requirement text and a word vector corresponding to the keyword, and constructing an input matrix according to the text vector and the word vector;
[0118] The input matrix is input into the topic model, and information is extracted from the input matrix through the topic model to output the topic-word probability, where the topic-word probability is used to indicate the probability that each keyword in the bidding requirement text corresponds to a preset topic.
[0119] In one embodiment of the present application, the subject processing module 602 is further configured to:
[0120] Before inputting the bidding demand corpus into the topic model, calculating the perplexity corresponding to the topic model when setting different numbers of topics;
[0121] Constructing a topic number-perplexity graph according to the topic number and the perplexity, and obtaining an inflection point in the topic number-perplexity graph;
[0122] The number of topics corresponding to the inflection point is taken as the optimal number of topics, and the topic-word probability is determined based on the optimal number of topics.
[0123] In one embodiment of the present application, the bidding demand hotspot identification device 600 further includes:
[0124] A sample acquisition module, used for acquiring a sample set of tender demand texts corresponding to the target industry before inputting the tender demand corpus into the topic model;
[0125] A sample preprocessing module, used for preprocessing each tender requirement text sample in the tender requirement text sample set to obtain a keyword sample corresponding to the tender requirement text sample;
[0126] The training module is used to generate a bidding requirement corpus sample library according to the keyword sample, and train the to-be-trained subject model according to the bidding requirement corpus sample library to obtain the subject model.
[0127] In an exemplary embodiment of the present application, the hotspot identification module 603 includes:
[0128] A calculation unit, used to determine a plurality of topic association matching degrees corresponding to each of the bidding requirement texts according to the TF-IDF value corresponding to each of the keywords in each of the bidding requirement texts and the topic-word probability;
[0129] The determination unit is configured to use the maximum subject relevance matching degree among the plurality of subject relevance matching degrees corresponding to each of the tender requirement texts as the target subject relevance matching degree corresponding to the tender requirement text.
[0130] In an exemplary embodiment of the present application, the computing unit is configured as follows:
[0131] The subject association matching degree is calculated according to formula (1):
[0132]
[0133] Among them, p(T) is the topic correlation matching degree corresponding to the current topic T, v i is the ith keyword in the keyword set V corresponding to the current topic T, α is the topic weight, α∈[0,1], TF vi For the keyword v i Corresponding TF value, IDF vi For the keyword v i The corresponding IDF value, p(v i |T) is the keyword v i The topic-word probability between and the current topic T.
[0134] In an exemplary embodiment of the present application, the hotspot identification module 603 is further configured to:
[0135] The topic corresponding to the target topic association matching degree is used as the bidding demand hotspot.
[0136] In an exemplary embodiment of the present application, the bidding demand hotspot identification device 600 is further configured as follows:
[0137] Before preprocessing each tender demand text in the tender demand text set corresponding to the target industry, obtaining a tender text set corresponding to the target industry, wherein the tender text set includes one or more tender texts;
[0138] The target text corresponding to the service requirement in the bidding text is extracted, and the bidding requirement text set is constructed according to the target text.
[0139] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0140] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0141] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0142] Figure 7 A computer system structure block diagram of an electronic device for implementing an embodiment of the present application is schematically shown, and the electronic device may be arranged in a terminal device or a server.
[0143] It should be noted that Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0144] like Figure 7 As shown, the computer system 700 includes a central processing unit 701 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 702 (ROM) or the program loaded from the storage part 708 to the random access memory 703 (RAM). Various programs and data required for system operation are also stored in the random access memory 703. The central processing unit 701, the read-only memory 702 and the random access memory 703 are connected to each other through a bus 704. An input / output interface 705 (Input / Output interface, i.e., I / O interface) is also connected to the bus 704.
[0145] In some embodiments, the following components are connected to the input / output interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a local area network card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0146] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processor 701, various functions defined in the system of the present application are executed.
[0147] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable medium or any combination of the above two. Computer-readable media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fibers, portable compact disk read-only memories (Compact Disc Read-Only Memory, CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present application, a computer-readable medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0148] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0149] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0150] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable an electronic device to execute the method according to the implementation methods of the present application.
[0151] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for identifying hot spots of bidding demand, characterized in that: include: Preprocessing each tender requirement text in the tender requirement text set corresponding to the target industry to obtain keywords corresponding to the tender requirement text, and generating a tender requirement corpus according to the keywords; Inputting the bidding requirement corpus into a topic model, and extracting information from the bidding requirement corpus through the topic model to obtain a topic-word probability; Determine a topic association matching degree according to the TF-IDF value corresponding to the keyword and the topic-word probability, and determine a bidding demand hotspot corresponding to the target industry according to the topic association matching degree; Wherein, determining the subject association matching degree according to the TF-IDF value corresponding to the keyword and the subject-word probability includes: determining a plurality of subject association matching degrees corresponding to each of the bidding requirement texts according to the TF-IDF value corresponding to each of the keywords in each of the bidding requirement texts and the subject-word probability; taking the maximum subject association matching degree among the plurality of subject association matching degrees corresponding to each of the bidding requirement texts as the target subject association matching degree corresponding to the bidding requirement text; The determining of a plurality of topic association matching degrees corresponding to each of the bidding requirement texts according to the TF-IDF value corresponding to each of the keywords in each of the bidding requirement texts and the topic-word probability comprises: The subject association matching degree is calculated according to formula (1): Among them, p(T) is the topic correlation matching degree corresponding to the current topic T, v i is the ith keyword in the keyword set V corresponding to the current topic T, α is the topic weight, α∈[0,1], TF vi For the keyword v i Corresponding TF value, IDF vi For the keyword v i The corresponding IDF value, p(v i |T) is the keyword v i The topic-word probability between and the current topic T.
2. The method according to claim 1, characterized in that The preprocessing of each tender requirement text in the tender requirement text set corresponding to the target industry to obtain keywords corresponding to the tender requirement text includes: Segmenting and removing stop words from the bidding demand text to obtain a text to be processed; Calculate the TF-IDF value of each word in the text to be processed, and sort all the words contained in the bidding requirement text set from large to small according to the TF-IDF value to obtain a word sequence; A preset number of segmented words are sequentially acquired from the segmented word sequence as the keywords.
3. The method according to claim 1, characterized in that: The bidding requirement corpus includes a plurality of bidding requirement texts and keywords corresponding to each of the bidding requirement texts; The step of inputting the bidding requirement corpus into a topic model and extracting information from the bidding requirement corpus through the topic model to obtain a topic-word probability includes: Obtaining a text vector corresponding to the bidding requirement text and a word vector corresponding to the keyword, and constructing an input matrix according to the text vector and the word vector; The input matrix is input into the topic model, and information is extracted from the input matrix through the topic model to output the topic-word probability, where the topic-word probability is used to indicate the probability that each keyword in the bidding requirement text corresponds to a preset topic.
4. The method according to claim 3, characterized in that The method further comprises: Before inputting the bidding demand corpus into the topic model, calculating the perplexity corresponding to the topic model when setting different numbers of topics; Constructing a topic number-perplexity graph according to the topic number and the perplexity, and obtaining an inflection point in the topic number-perplexity graph; The number of topics corresponding to the inflection point is taken as the optimal number of topics, and the topic-word probability is determined based on the optimal number of topics.
5. The method according to claim 1, characterized in that Before inputting the bidding requirement corpus into the topic model, the method further includes: Obtain a sample set of bidding requirement texts corresponding to the target industry; Preprocessing each tender requirement text sample in the tender requirement text sample set to obtain a keyword sample corresponding to the tender requirement text sample; A bidding requirement corpus sample library is generated according to the keyword samples, and a to-be-trained topic model is trained according to the bidding requirement corpus sample library to obtain the topic model.
6. The method according to claim 1, characterized in that Determining the bidding demand hotspot corresponding to the target industry according to the subject association matching degree includes: The topic corresponding to the target topic association matching degree is used as the bidding demand hotspot.
7. The method according to claim 1, characterized in that Before preprocessing each bidding requirement text in the bidding requirement text set corresponding to the target industry, the method further includes: Acquire a tender text set corresponding to the target industry, wherein the tender text set includes one or more tender texts; The target text corresponding to the service requirement in the bidding text is extracted, and the bidding requirement text set is constructed according to the target text.
8. A bidding demand hotspot identification device, characterized in that: include: A preprocessing module, used to preprocess each tender requirement text in the tender requirement text set corresponding to the target industry to obtain keywords corresponding to the tender requirement text, and generate a tender requirement corpus according to the keywords; A topic processing module, used for inputting the bidding requirement corpus into a topic model, and processing the bidding requirement corpus through the topic model to obtain topic-word probability; A hotspot identification module, used to determine a topic association matching degree according to the TF-IDF value corresponding to the keyword and the topic-word probability, and determine a bidding demand hotspot corresponding to the target industry according to the topic association matching degree; The hotspot identification module is further used to: determine multiple topic association matching degrees corresponding to each of the bidding requirement texts according to the TF-IDF value corresponding to each of the keywords in each of the bidding requirement texts and the topic-word probability; and use the maximum topic association matching degree among the multiple topic association matching degrees corresponding to each of the bidding requirement texts as the target topic association matching degree corresponding to the bidding requirement text; The hotspot identification module is further used to calculate the topic association matching degree according to formula (1): Among them, p(T) is the topic correlation matching degree corresponding to the current topic T, v i is the ith keyword in the keyword set V corresponding to the current topic T, α is the topic weight, α∈[0,1], TF vi For the keyword v i Corresponding TF value, IDF vi For the keyword v i The corresponding IDF value, p(v i |T) is the keyword v i The topic-word probability between and the current topic T.
9. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the bidding demand hotspot identification method described in any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the bidding demand hotspot identification method described in any one of claims 1 to 7 by executing the executable instructions.
