Data processing system and method based on logistics recruitment text
Through the logistics recruitment text data processing system based on the BERT model, an 'industry-function-position-ability requirement' relationship network is formed, which solves the problems of unclear definition of classification topics and vague ability requirements in the existing system, and provides clear logistics talent needs. Analysis improves the efficiency and accuracy of recruitment work.
Patent Information
- Application Number
- CN202410751641.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-06
AI Technical Summary
The existing logistics recruitment text data processing system has problems such as unclear definition of classification topics and vague ability requirements. It is difficult to provide sufficient convenience for logistics talent recruitment, especially in the transformation period of the logistics industry, where new requirements for professional abilities, experience and educational background are required. requirements, lack of effective data support.
Design a data processing system based on logistics recruitment text, including data collection, pre-processing, model generation and post-processing modules. Through BERT model construction and training, the 'industry-function-position-ability requirements' relationship network is formed and the nodes are calculated. degree and intermediary degree, and clearly define job competency requirements.
It achieves in-depth analysis of logistics recruitment text data, provides clear job competency requirements and correlation analysis, saves manpower and time, and improves the efficiency and accuracy of recruitment work.
Smart Images

Figure CN118606474A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of text data processing, and in particular relates to a data processing system and method based on logistics recruitment text. Background Art
[0002] The in-depth application of emerging technologies such as big data, the Internet of Things, artificial intelligence, cloud computing, and blockchain has driven the rapid development of the logistics industry, bringing the logistics industry into a period of transformation. Therefore, it has put forward new requirements for the professional ability, experience requirements, educational background, basic professional qualities, and other abilities of logistics talents. In response to this phenomenon, a data processing system that can analyze logistics recruitment texts is designed in the existing technology to learn about the talent needs of various functional positions, thereby providing relevant assistance to recruiters and applicants to promote the smooth transformation of the logistics industry.
[0003] The existing research on logistics recruitment text data processing systems can be divided into three categories according to different analysis methods: the first is the descriptive analysis method, which directly draws conclusions about general ability requirements through keyword frequency statistics; the second is the content analysis method, which first divides the recruitment data into categories, and then analyzes the demand for logistics talents through text coding and statistical analysis; the third is cluster analysis based on the classification model in machine learning, such as using K-means and LDA topic models to cluster the recruitment data to derive the ability requirements of logistics talents. Among them, K-means and LDA are the English abbreviations of K-means algorithm and latent Dirichlet allocation respectively.
[0004] The above-mentioned logistics talent demand analysis based on network text, after the gradual evolution of analysis methods, has made the conclusions of related research on logistics talent demand analysis have general practical and theoretical significance. The application of cluster analysis methods in data processing systems has made the demand analysis of logistics talents more comprehensive and in-depth. However, the existing data processing system still has the shortcomings of unclear classification themes and vague ability requirements, which makes it difficult to provide sufficient convenience for the recruitment of logistics talents. It can be seen that the logistics industry, which is in a period of transformation, urgently needs to develop a text data processing system that can effectively make up for the above shortcomings. Summary of the invention
[0005] The purpose of the present invention is to provide a data processing system and method based on logistics recruitment text in order to solve the above problems.
[0006] The present invention achieves the above-mentioned purpose through the following technical solutions:
[0007] A data processing system based on logistics recruitment text, comprising:
[0008] Data collection module, used to crawl logistics recruitment text data and obtain the original data set;
[0009] The data pre-processing module is used to perform two-level data pre-processing and information entity labeling on the original data set to obtain the pre-processed data set and the labeled data set respectively;
[0010] A model generation module, used to build and train a BERT model based on the preprocessed dataset;
[0011] A data post-processing module is used to perform job analysis and skill analysis based on the labeled data set and the trained BERT model, form an "industry-function-job-competency requirement" relationship network, and calculate the degree and node betweenness of the node in the relationship network;
[0012] Wherein, the data pre-processing module is divided into a first data pre-processing sub-module, a second data pre-processing sub-module and an entity annotation processing sub-module;
[0013] The first data preprocessing submodule is used to clean the original data set to obtain a data analysis data set and a training model data set;
[0014] The second data preprocessing submodule is used to perform industry data preprocessing, position data preprocessing and function data preprocessing on the data analysis data set to obtain a preprocessed data set;
[0015] The entity annotation processing submodule is used to convert the training model data set into the annotated data set.
[0016] As a further optimization scheme of the present invention, the model generation module includes a model construction submodule and a model training submodule;
[0017] The model building submodule is used to receive the pre-trained BERT model, create a data set, and perform word feature extraction after the annotated data set is input into the model generation module;
[0018] The model training submodule is used to train the pre-trained BERT model using the annotated data set, and perform model evaluation after training. If the evaluation result is unqualified, the BERT model is fine-tuned and the training and evaluation are repeated; otherwise, the fine-tuned BERT model is output.
[0019] As a further optimization scheme of the present invention, the pre-trained BERT model has an encoder and a decoder. The encoder is used to combine logistics recruitment text data and position encoding to obtain feature values, and the decoder is used to classify the feature values in combination with label sequences, and obtain predicted named entity category labels through probability calculation.
[0020] As a further optimization solution of the present invention, the entity annotation processing submodule is connected to multiple entity annotation terminals, and the entity annotation processing submodule includes:
[0021] A text data output unit, used to provide a training model data set to the entity annotation terminal;
[0022] An annotation content information recording unit, used to record the annotation content information of the physical annotation terminal;
[0023] A marking position information recording unit, used to record the marking position information of the physical marking terminal;
[0024] The overlap position information analysis unit is used to analyze whether there is overlapped annotation position information, and if there is overlapped, send feedback information to the corresponding entity annotation terminal;
[0025] The information integration unit is used to convert the data set format under the condition that the labeled position information does not overlap with each other, so as to obtain the labeled data set.
[0026] As a further optimization solution of the present invention, the data acquisition module uses Python tools to crawl logistics recruitment text data from web pages.
[0027] A data processing method based on logistics recruitment text, comprising the following steps:
[0028] S1, crawl logistics recruitment text data to obtain the original data set;
[0029] S2, perform two-level data preprocessing and information entity labeling on the original data set to obtain a preprocessed data set and a labeled data set respectively;
[0030] S3. Build and train a BERT model based on the preprocessed data set;
[0031] S4. Perform job analysis and skill analysis based on the labeled data set and the trained BERT model to form an “industry-function-job-competency requirement” relationship network, and calculate the degree and node betweenness of the node in the relationship network;
[0032] Wherein, the two-level data preprocessing in step S2 is divided into preliminary data preprocessing and secondary data preprocessing;
[0033] In the process of preliminary data preprocessing, the data analysis data set and the training model data set are obtained by cleaning the original data set;
[0034] In the process of secondary data preprocessing, the preprocessed data set is obtained by performing industry data preprocessing, job data preprocessing and functional data preprocessing on the data analysis data set;
[0035] During the information entity labeling process, the training model data set is converted into the labeled data set.
[0036] As a further optimization scheme of the present invention, in the process of constructing the BERT model in step S3, the pre-trained BERT model is first received, and then a data structure is created, and after the annotated data is input into the data structure, word feature extraction is performed;
[0037] In the process of training the BERT model in step S3, the pre-trained BERT model is trained using the labeled data set, and the model is evaluated after training. If the evaluation result is unqualified, the BERT model is fine-tuned and the training and evaluation are repeated; otherwise, the fine-tuned BERT model is output.
[0038] As a further optimization scheme of the present invention, the pre-trained BERT model has an encoder and a decoder. When the pre-trained BERT model is trained using the labeled data set, the logistics recruitment text is first input into the model training submodule to form a first embedding vector, the position code is added to the first embedding vector, and the encoder is used to calculate the first embedding vector containing the position code to obtain the characteristic value; the label sequence is input into the model training submodule to form a second embedding vector, the position code is added to the second embedding vector, the decoder is used to classify the second embedding vector containing the position code, and the predicted named entity category label is obtained by probability calculation.
[0039] As a further optimization scheme of the present invention, the model evaluation determines whether the BERT model is qualified by calculating the evaluation index. If the evaluation index is not less than the set value, it means that the BERT model is qualified; otherwise, it means that the BERT model is unqualified; the evaluation index expression is:
[0040]
[0041] Among them, F1 is the evaluation index, Precision is the accuracy, and Recall is the recall rate;
[0042] The expressions of precision and recall are as follows:
[0043]
[0044] Among them, TP represents an accurately recognized entity, FP represents an incorrectly recognized entity, and FN represents an unrecognized entity.
[0045] As a further optimization scheme of the present invention, the "industry-function-position-competency requirement" relationship network has multiple nodes, and the nodes represent the entity data corresponding to the industry, function, position and competency requirement in the logistics recruitment text. The degree of the node refers to the number of connections between the node and other nodes. The node betweenness is used to reflect the importance of the node. The expression of the node betweenness is:
[0046]
[0047] Among them, i, j, and k are three different nodes, C B (i) is the degree of the node corresponding to node i, g jk (i) is the number of shortest paths between node j and node k that pass through node i, g jk is the number of all shortest paths connecting node i to node j and node k.
[0048] The beneficial effects of the present invention are:
[0049] 1) The present invention performs two-level data preprocessing and information entity annotation processing on the recruitment text data through the data preprocessing module to obtain a preprocessed data set and annotated data set. The model generation module uses the annotated data set to build and train the BERT model. The data post-processing module uses the trained BERT model to analyze and process the unlabeled preprocessed data set. The data processing system can perform content analysis on the remaining preprocessed data set through deep learning of the entity annotated data set, and the original data is obtained by crawling web pages, saving manpower and time loss.
[0050] 2) The present invention reflects the relevance of logistics recruitment text data by calculating the node degree and node betweenness in the "industry-function-position-competency requirement" relationship network. The data processing system and method of the present invention have the characteristics of clear classification subject definition and clear competency requirements for each position, and can provide relevant references for logistics talent demand for recruiters and applicants;
[0051] 3) The entity annotation processing submodule of the present invention records the annotation content information of each entity annotation terminal through the annotation content information recording unit, and records the annotation position information of each entity annotation terminal through the annotation position information recording unit. When the overlapping position information analysis unit analyzes that there is a situation where the annotations overlap with each other, the entity annotation terminal prompts the annotation personnel of label errors to avoid reducing the processing efficiency of logistics recruitment text data due to the work errors of the annotation personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 is the overall system block diagram of the present invention;
[0053] Figure 2It is a structural schematic diagram of a data pre-processing module of the present invention;
[0054] Figure 3 It is a schematic diagram of the structure of the model generation module of the present invention;
[0055] Figure 4 It is a schematic diagram of the BERT model structure of the present invention;
[0056] Figure 5 It is a schematic diagram of the input sentence conversion principle of the present invention;
[0057] Figure 6 It is a schematic diagram of the specific structure of the BERT model of the present invention;
[0058] Figure 7 It is a schematic diagram of the working principle of the present invention;
[0059] Figure 8 It is a schematic diagram of the structure of the entity annotation processing submodule of the present invention. DETAILED DESCRIPTION
[0060] The present application is further described in detail below in conjunction with the accompanying drawings. It is necessary to point out here that the following specific implementation methods are only used to further illustrate the present application and cannot be understood as limiting the scope of protection of the present application. Technical personnel in this field can make some non-essential improvements and adjustments to the present application based on the above application content.
[0061] First embodiment
[0062] like Figure 1-3 As shown, a data processing system based on logistics recruitment text includes a data acquisition module for crawling logistics recruitment text data, a data pre-processing module for performing two-level data pre-processing and information entity labeling processing on the original data set, a model generation module for building and training a BERT model based on the pre-processed data set, and a data post-processing module for performing job analysis and skill analysis based on the labeled data set and the trained BERT model.
[0063] The data crawled by the data collection module comes from web pages such as 51job.com and liepin.com. Python is used as the data collection tool. Python is an object-oriented dynamic type language. In the process of collecting data, "logistics" and "supply chain" are used as search keywords to search for relevant positions, crawl logistics recruitment text data, and obtain the original data set. The collected logistics recruitment text data includes basic job information including company information, job requirements, salary situation, etc., and 24,600 pieces of original recruitment data are obtained.
[0064] The data pre-processing module is divided into a first data pre-processing sub-module, a second data pre-processing sub-module and an entity labeling processing sub-module. The first data pre-processing sub-module and the second data pre-processing sub-module respectively perform preliminary data pre-processing and secondary data pre-processing on the original data set.
[0065] Specifically, the data is cleaned and the data structure is unified through preliminary data preprocessing, wherein the data cleaning includes deduplication and missing value removal operations and data classification. After the above processing, 16,000 sample data are retained, from which 2,700 recruitment data are randomly selected as the training model data set required for entity extraction model training, and the remaining data are used as the data analysis data set required for logistics talent demand analysis. In the collected data, there are problems such as unreasonable industry name design in the industry classification and job function category classification, so the industry and job function categories involved are mainly modified and reclassified with reference to the National Economic Industry Classification (2019 Revised Edition) drafted by the National Bureau of Statistics and the China National Institute of Standardization, the Global Industry Classification System (GICS) launched by Standard & Poor's and Morgan Stanley, and the secondary classification of the functional categories of 51job.com, that is, the data analysis data set is preprocessed by industry data, job data and functional data to obtain the preprocessed data set. The industry modification process is to use python to simply match the industries on 51job.com in the data with the National Economic Industry Classification and the Global Industry Classification System, and then manually classify the industries that cannot be matched successfully. The process of modifying the function is to use Python to match the function category information with the 51job function category classification system, and uniformly replace it with the secondary classification in the function classification. The above data classification and modification are conventional technical means in this field, so they will not be described in detail.
[0066] For the training model data set required for entity extraction model training, multiple labelers are required to label the data set at the entity labeling terminal. The number of labelers is preferably 5, and each labeler is responsible for labeling the five labels of professional ability, experience requirements, educational background, basic professional quality and other abilities. The entity labeling processing submodule is connected to 5 entity labeling terminals, which include display terminals, keyboards and mice. In addition, the entity labeling terminal can also be other devices with control panels and can input text labels.
[0067] See also Figure 8The entity annotation processing submodule includes a text data output unit for providing a training model data set to the entity annotation terminal, a annotation content information recording unit for recording the annotation content information of the entity annotation terminal, a annotation position information recording unit for recording the annotation position information of the entity annotation terminal, an overlap position information analysis unit for analyzing whether there is overlapped annotation position information, and an information integration unit for converting the data set format when the annotation position information does not overlap, so as to obtain a labeled data set.
[0068] like Figure 4 As shown in the figure, the model generation module includes a model building submodule and a model training submodule. The model building submodule is used to build a BERT model. In this process, the pre-trained BERT model is first received, and then a data structure is created. After the labeled data set is input into the data structure, word features are extracted. The model training submodule uses the labeled data set to train the pre-trained BERT model, and performs model evaluation after training. If the evaluation result is unqualified, the BERT model is fine-tuned, and the training and evaluation are repeated; otherwise, the fine-tuned BERT model is output. The labeled data set forms a corpus. In the specific process of building the BERT model, the input sentence is converted into a character-level dense vector sequence. First, a dictionary containing all the characters in the corpus is generated, and then an embedding matrix M∈R is used. D×V The character is mapped into a dense vector, where D is the embedding vector dimension and V is the total number of all characters in the dictionary. The input sentence is represented as S = [W0, W1, W2, ..., W n ], where n is the length of the sentence, W i ∈R V is the one-hot representation of the i-th character in the input sentence in the dictionary. The embedding vector of each character in the sentence is represented as [C0, C1, C2, ..., C n ], where C i ∈R D .
[0069] The pre-trained BERT model has N encoders and N decoders. The encoder is used to combine the logistics recruitment text data and position encoding to obtain feature values. The decoder is used to classify the feature values in combination with the label sequence and obtain the predicted named entity category label through probability calculation.
[0070] Specifically, see Figure 5 and Figure 6 , the input logistics recruitment text is "Warehouse Management. Purchasing." In the case of these two paragraphs, the input sentence is represented as S = [W0, W1, W2, ..., W 10 ] The corresponding first embedding vector is denoted as [C0, C1, C2, ..., C 10], the tag embedding layer vector corresponding to the first embedding vector is [E CLS , E 仓 , E 库 , E 管 , E 理 , E 。 , E SEP , E 采 , E 购 , E 。 , E SEP ], where E CLS is the starting mark of the text sequence, E SEP Marks the end of a text sequence.
[0071] After the sentence S is input, a tag embedding layer vector is formed. After adding the segment embedding layer vector and the position embedding layer vector to the tag embedding layer vector, an embedding matrix is obtained. The segment embedding layer vector corresponding to the first embedding vector is [E A , E A , E A , E A , E A , E A , E A , E B , E B , E B , E B ], the position embedding layer vector corresponding to the first embedding vector is [E0, E1, E2, E3, E4, E5, E6, E7, E8, E9, E 10 ]. The embedding matrix corresponding to the logistics recruitment text is expressed as M = [M0, M1, M2, ..., M 10 ], W0, W1, W2, ..., W in the input statement S 10 respectively with M0, M1, M2, ..., M in the embedding matrix M 10 Corresponding. The encoder of the BERT model consists of a multi-head attention layer and a feedforward network layer. After the input sentence is converted into an embedding matrix, it is passed to the multi-head attention layer and the feedforward network layer in sequence. Among them, the multi-head attention layer is composed of multiple attention layers. Each attention layer converts the embedding matrix into an attention matrix Z through the attention mechanism, which consists of the attention values of all words in the input sentence. The calculation formula is as follows:
[0072]
[0073] Where Q, K, and V are the query matrix, key matrix, and value matrix obtained by multiplying the corresponding weight matrix with the embedding matrix M, that is, Q = W Q M, K = W K M, V = W V ·M,d kis the key vector dimension. All attention matrices are concatenated and multiplied by a new weight matrix W0 to obtain the final attention matrix. The formula is as follows:
[0074] Multi-headattention=Concatenate(Z1, Z2, Z3,...,Z N )·W0 (2);
[0075] Among them, Multi-headattention represents the final attention matrix, and N represents the number of attention layers. The feedforward network layer takes the attention matrix as input and calculates the eigenvalue R as output.
[0076] The decoder takes the eigenvalue as input. During the model training process, the label sequence corresponding to the input sentence is also taken as input, and the position encoding is added. The decoder includes a masked multi-head attention layer, a multi-head attention layer, and a feedforward network layer. The masked multi-head attention layer works similarly to the multi-head attention layer. The only difference is that the embedding matrix input to the decoder will use -∞ to mask the predicted position to generate a masked attention matrix M. The attention matrix M and the eigenvalue R output by the encoder are then used as inputs to the multi-head attention layer, and a new attention matrix is output again. The feedforward network layer takes the new attention matrix as input, calculates the eigenvalue as output and passes it to the next decoder.
[0077] See also Figure 6 and 7 , the decoder, linear layer and softmax layer constitute a classifier, and the target data feature value R calculated by the decoder is sent to the linear layer and softmax layer for classification, and the predicted named entity category label is obtained through probability. The linear layer is used to perform linear transformation on the target data feature value, and the softmax layer is used to convert the target data feature value that has undergone linear transformation into a probability distribution, so that the classifier can predict the named entity category label through the probability size and output the named entity category label sequence. Figure 6 As shown, the label sequence corresponding to the input sentence "warehouse management" is <sos>B-ZYNL I-ZYNL I-ZYNL I-ZYNL; and the output named entity category label sequence is B-ZYNL I-ZYNL I-ZYNL I-ZYNL <eos>.in, <sos>Represents the start of the sequence, <eos>Indicates the end of a sequence.
[0078] Model evaluation determines whether the BERT model is qualified by calculating the evaluation index. If the evaluation index is not less than the set value, it means that the BERT model is qualified; otherwise, it means that the BERT model is unqualified. The evaluation index expression is:
[0079]
[0080] Among them, F1 is the evaluation index, Precision is the accuracy, and Recall is the recall rate;
[0081] The expressions of precision and recall are as follows:
[0082]
[0083] Among them, TP represents an accurately recognized entity, FP represents an incorrectly recognized entity, and FN represents an unrecognized entity. After the evaluation index F1 reaches the set value, the fine-tuned BERT model is output.
[0084] This embodiment uses the Pajek tool to sequentially construct three relationship networks of "industry-function", "function-position", and "position-competency requirements", and further constructs a multi-layer progressive relationship network of "industry-function-position-competency requirements". The Pajek tool is a large-scale complex network analysis tool. The "industry-function-position-competency requirements" relationship network has multiple nodes, and the nodes represent the entity data corresponding to the industry, function, position, and competency requirements in the logistics recruitment text. The degree of a node refers to the number of connections between the node and other nodes. The node betweenness is used to reflect the importance of the node. The expression of the node betweenness is:
[0085]
[0086] Among them, i, j, and k are three different nodes, C B (i) is the degree of the node corresponding to node i, g jk (i) is the number of shortest paths between node j and node k that pass through node i, g jk is the number of all shortest paths connecting node i to node j and node k. Then It indicates the ratio of the number of shortest paths between node j and node k passing through node i to the total number of shortest paths between node j and node k. The betweenness of a node can reflect the importance of the node and the degree of centralization of the network.
[0087] Second embodiment
[0088] This embodiment relates to a data processing method based on logistics recruitment text. The data processing method is based on the data processing system in the previous embodiment and specifically includes the following steps:
[0089] S1, crawl logistics recruitment text data to obtain the original data set;
[0090] S2, perform two-level data preprocessing and information entity labeling on the original data set to obtain a preprocessed data set and a labeled data set respectively;
[0091] S3. Build and train the BERT model based on the preprocessed dataset;
[0092] S4. Perform job analysis and skill analysis based on the labeled data set and the trained BERT model to form an "industry-function-job-competency requirement" relationship network, and calculate the degree and node betweenness of the node in the relationship network;
[0093] The two-level data preprocessing in step S2 is divided into preliminary data preprocessing and secondary data preprocessing. In the process of preliminary data preprocessing, the data analysis data set and the training model data set are obtained by cleaning the original data set; in the process of secondary data preprocessing, the preprocessed data set is obtained by performing industry data preprocessing, job data preprocessing and functional data preprocessing on the data analysis data set; in the process of information entity labeling, the training model data set is converted into a labeled data set.
[0094] The specific process of converting the training model data set into the annotated data set in step S2 is as follows: the text data output unit provides the training model data set to 5 entity annotation terminals, and the entity annotation terminal displays the text information corresponding to the training model data set to the annotation personnel, and the annotation personnel annotate the text labels at the corresponding positions on the text information. For example, for "Warehouse Management. Procurement." displayed on the entity annotation terminal, the annotation personnel enter "professional ability" at the text positions of "Warehouse Management" and "Procurement" respectively. For another example, for "Enterprise Core Application System CRM / PLM / SRM / APS / ERP / MES / WMS and Data Middle Platform, Data Governance Planning, etc." displayed on the entity annotation terminal, the annotation personnel responsible for annotating professional capabilities select "CRM", "PLM", "SRM", "ERP", "MES", "WMS" respectively, and perform entity annotation of "professional ability", and the annotation personnel responsible for annotating other capabilities select "APS", "Data Middle Platform", "Data Governance Planning" respectively, and perform entity annotation of "other capabilities". In addition, the annotation personnel can use annotation software to annotate the text information displayed on the entity annotation terminal.
[0095] The annotation software used in this embodiment is the Wizard Annotation Assistant, which can automatically pop up a category selection box after setting the text label category. The format of the text file exported after manual annotation is (T+id)\t(entity category)\t(entity start position)\t(entity end position)\t(entity content), where \t is a tab character in the file. An example is shown in Table 1:
[0096] Table 1 Export text correspondence table
[0097]
[0098]
[0099] The above text format needs to be converted into BIO data format using python tools and then imported into the model for word feature extraction, where B is the head of the entity, I is the middle part of the entity, and O is the non-entity part. The entity label is combined with the capitalized English abbreviation of the entity category and is divided into eleven labels: B-ZYNL, I-ZYNL, B-JYBJ, I-JYBJ, B-JYYQ, I-JYYQ, B-ZYSY, I-ZYSY, B-QTNL, I-QTNL, and O. Taking the text "Possess professional supply chain management knowledge and skills" as an example, its BIO data format is shown in Table 2:
[0100] Table 2 BIO data format correspondence table
[0101]
[0102]
[0103] Furthermore, in order to avoid mistakes made by the labeling personnel (for example, labeling "APS" belonging to "other capabilities" as "professional capabilities"), a labeling content information recording unit, a labeling position information recording unit, and a coincidence position information analysis unit are set in the entity labeling processing submodule. The labeling content information of each entity labeling terminal is recorded by the labeling content information recording unit; the labeling position information of each entity labeling terminal is recorded by the labeling position information recording unit; the coincidence position information analysis unit analyzes whether there is overlapped labeling position information. If there is overlap, feedback information is sent to the corresponding entity labeling terminal to prompt the labeling personnel that the label is wrong, and the above process is repeated; otherwise, the data set format is converted to obtain the labeled data set.
[0104] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.< / eos> < / sos> < / eos> < / sos>
Claims
1. A data processing system based on logistics recruitment text, characterized in that: include: Data collection module, used to crawl logistics recruitment text data and obtain the original data set; The data pre-processing module is used to perform two-level data pre-processing and information entity labeling on the original data set to obtain the pre-processed data set and the labeled data set respectively; A model generation module, used to build and train a BERT model based on the preprocessed dataset; A data post-processing module is used to perform job analysis and skill analysis based on the labeled data set and the trained BERT model, form an "industry-function-job-competency requirement" relationship network, and calculate the degree and node betweenness of the node in the relationship network; Wherein, the data pre-processing module is divided into a first data pre-processing sub-module, a second data pre-processing sub-module and an entity annotation processing sub-module; The first data preprocessing submodule is used to clean the original data set to obtain a data analysis data set and a training model data set; The second data preprocessing submodule is used to perform industry data preprocessing, position data preprocessing and function data preprocessing on the data analysis data set to obtain a preprocessed data set; The entity annotation processing submodule is used to convert the training model data set into the annotated data set.
2. The data processing system according to claim 1, characterized in that: The model generation module includes a model construction submodule and a model training submodule; The model building submodule is used to receive the pre-trained BERT model, create a data set, and perform word feature extraction after the annotated data set is input into the model generation module; The model training submodule is used to train the pre-trained BERT model using the annotated data set, and perform model evaluation after training. If the evaluation result is unqualified, the BERT model is fine-tuned and the training and evaluation are repeated; otherwise, the fine-tuned BERT model is output.
3. The data processing system according to claim 2, characterized in that: The pre-trained BERT model has an encoder and a decoder. The encoder is used to combine logistics recruitment text data and position encoding to obtain feature values, and the decoder is used to classify the feature values in combination with the label sequence, and obtain the predicted named entity category label through probability calculation.
4. The data processing system according to claim 1, characterized in that: The entity annotation processing submodule is connected to a plurality of entity annotation terminals, and the entity annotation processing submodule includes: A text data output unit, used to provide a training model data set to the entity annotation terminal; An annotation content information recording unit, used to record the annotation content information of the physical annotation terminal; A marking position information recording unit, used to record the marking position information of the physical marking terminal; The overlap position information analysis unit is used to analyze whether there is overlapped annotation position information, and if there is overlapped, send feedback information to the corresponding entity annotation terminal; The information integration unit is used to convert the data set format under the condition that the labeled position information does not overlap with each other, so as to obtain the labeled data set.
5. The data processing system according to claim 1, characterized in that: The data collection module uses Python tools to crawl logistics recruitment text data from web pages.
6. A data processing method based on logistics recruitment text, characterized in that: Utilizing the data processing system according to any one of claims 1 to 5, comprising the following steps: S1, crawl logistics recruitment text data to obtain the original data set; S2, perform two-level data preprocessing and information entity labeling on the original data set to obtain a preprocessed data set and a labeled data set respectively; S3. Build and train a BERT model based on the preprocessed data set; S4. Perform job analysis and skill analysis based on the labeled data set and the trained BERT model to form an "industry-function-job-competency requirement" relationship network, and calculate the degree and node betweenness of the nodes in the relationship network; Wherein, the two-level data preprocessing in step S2 is divided into preliminary data preprocessing and secondary data preprocessing; In the process of preliminary data preprocessing, the data analysis data set and the training model data set are obtained by cleaning the original data set; In the process of secondary data preprocessing, the preprocessed data set is obtained by performing industry data preprocessing, job data preprocessing and functional data preprocessing on the data analysis data set; During the information entity labeling process, the training model data set is converted into the labeled data set.
7. The data processing method according to claim 6, characterized in that: In the process of constructing the BERT model in step S3, the pre-trained BERT model is first received, and then a data structure is created, and after the annotated data is input into the data structure, word feature extraction is performed; In the process of training the BERT model in step S3, the pre-trained BERT model is trained using the labeled data set, and the model is evaluated after training. If the evaluation result is unqualified, the BERT model is fine-tuned and the training and evaluation are repeated; otherwise, the fine-tuned BERT model is output.
8. The data processing method according to claim 7, characterized in that: The pre-trained BERT model has an encoder and a decoder. When the pre-trained BERT model is trained using the annotated data set, the logistics recruitment text is first input into the model training submodule to form a first embedding vector, the position code is added to the first embedding vector, and the encoder is used to calculate the first embedding vector containing the position code to obtain a feature value; A label sequence is input into the model training submodule to form a second embedding vector, the position code is added to the second embedding vector, the decoder is used to classify the second embedding vector containing the position code, and the predicted named entity category label is obtained through probability calculation.
9. The data processing method according to claim 7, characterized in that: The model evaluation determines whether the BERT model is qualified by calculating the evaluation index. If the evaluation index is not less than the set value, it means that the BERT model is qualified; otherwise, it means that the BERT model is unqualified. The evaluation index expression is: Among them, F1 is the evaluation index, Precision is the accuracy, and Recall is the recall rate; The expressions of precision and recall are as follows: Among them, TP represents an accurately recognized entity, FP represents an incorrectly recognized entity, and FN represents an unrecognized entity.
10. The data processing method according to claim 6, characterized in that: The "industry-function-position-competency requirement" relationship network has multiple nodes. The nodes represent the entity data corresponding to the industry, function, position and competency requirement in the logistics recruitment text. The degree of a node refers to the number of connections between the node and other nodes. The node betweenness is used to reflect the importance of the node. The expression of the node betweenness is: Among them, i, j, and k are three different nodes, C B (i) is the degree of the node corresponding to node i, g jk (i) is the number of shortest paths between node j and node k that pass through node i, g jk is the number of all shortest paths connecting node i to node j and node k.
Citation Information
Cited By
Information analysis method for bidding document
CN119443081A
