WO2021151306A1 - Method and apparatus for smart analysis of question and answer linguistic material, electronic device, and readable storage medium - Google Patents

Method and apparatus for smart analysis of question and answer linguistic material, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2021151306A1
WO2021151306A1 PCT/CN2020/119102 CN2020119102W WO2021151306A1 WO 2021151306 A1 WO2021151306 A1 WO 2021151306A1 CN 2020119102 W CN2020119102 W CN 2020119102W WO 2021151306 A1 WO2021151306 A1 WO 2021151306A1
Authority
WO
WIPO (PCT)
Prior art keywords
corpus
analysis
prediction model
enhanced
answer
Prior art date
Application number
PCT/CN2020/119102
Other languages
French (fr)
Chinese (zh)
Inventor
陈桢博
郑立颖
徐亮
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021151306A1 publication Critical patent/WO2021151306A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • G06F16/355Class or cluster creation or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Definitions

  • This application relates to the field of artificial intelligence, and in particular to a method, device, electronic device, and readable storage medium for analyzing intelligent question and answer corpus.
  • the machine cannot analyze any corpus. It can only analyze and judge the user’s question and answer corpus.
  • the so-called question and answer corpus refers to the corpus that the user answers to the preset questions.
  • the intelligent analysis of the question and answer corpus is applied in Many aspects of life, such as: mobile phone manufacturers perform mobile phone system version evaluation by analyzing user question and answer corpus, doctors performing preliminary screening for mental illness by analyzing patient’s question and answer corpus, and human resources by analyzing interviewer’s question and answer corpus Interview analysis.
  • the inventor realizes that the user's question and answer corpus data is small and difficult to obtain, resulting in a small amount of training data for the deep learning model of the existing intelligent question answering corpus analysis system, and the accuracy of the model is not high.
  • This application provides an intelligent question-and-answer corpus analysis method, device, electronic equipment, and computer-readable storage medium.
  • An intelligent question-and-answer corpus analysis method includes:
  • the user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  • This application also provides an intelligent question-and-answer corpus analysis device, which includes:
  • the corpus enhancement module is used to obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
  • the enhanced corpus screening module is used to train a pre-built convolutional neural network model using the historical question and answer corpus to obtain an initial classification prediction model; use the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus Subset;
  • a model training module for training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model
  • the model analysis module is used to obtain the user corpus text to be analyzed, use the analysis prediction model to analyze the user corpus text to be analyzed, and obtain the final analysis result.
  • This application also provides an electronic device, which includes:
  • Memory storing at least one instruction
  • the processor executes the instructions stored in the memory to implement the following steps:
  • the user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  • This application also provides a computer-readable storage medium, including a storage data area and a storage program area.
  • the storage data area stores data created according to the use of blockchain nodes
  • the storage program area stores a computer program, which is readable by the computer.
  • At least one instruction is stored in the storage medium, and the at least one instruction is executed by the processor in the electronic device to implement the following steps:
  • the user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  • FIG. 1 is a schematic flowchart of an intelligent question-and-answer corpus analysis method provided by an embodiment of this application;
  • FIG. 2 is a schematic diagram of modules of an intelligent question and answer corpus analysis device provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram of the internal structure of an electronic device that implements an intelligent question-and-answer corpus analysis method provided by an embodiment of the application;
  • This application provides an intelligent question-and-answer corpus analysis method.
  • FIG. 1 it is a schematic flowchart of a method for analyzing intelligent question and answer corpus provided by an embodiment of this application.
  • the method can be executed by a device, and the device can be implemented by software and/or hardware.
  • the intelligent question answering corpus analysis method includes:
  • the question and answer corpus in the historical question and answer corpus is a collection of answer texts for candidates to answer preset recruitment questions.
  • the recruitment question can be "What is your career plan?", "What is your career plan?” What do you think of the company's prospects?".
  • the historical question and answer corpus can be obtained from the company's human resources department database.
  • the data enhancement model can be constructed using the currently known Seq2Seq algorithm and the variational autoencoder, using the question and answer corpus as the training set, and the marked question and answer corpus as the label set, to complete the data The training of the enhanced model, wherein the question and answer corpus is different from the historical question and answer corpus.
  • the historical question and answer corpus is input to the data enhancement model, and the enhanced corpus is output, and the data expansion of the historical question and answer corpus is completed.
  • the historical question and answer corpus is determined as the first training set, and the preset analysis position mark is performed on the historical question and answer corpus to obtain the first label set.
  • the analysis position There are five types: excellent, good, medium, pass and fail.
  • the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
  • training the convolutional neural network model by using the first training set and the first label set in the embodiment of the present application includes:
  • S21 Perform a depth-separable convolution pooling operation on the first training set according to the preset number of depth-separable convolution pooling to obtain a dimensionality reduction data set;
  • S22 Calculate the dimensionality reduction data set by using a preset activation function to obtain a predicted value, and calculate a loss value by using a pre-built loss function according to the predicted value and the label value contained in the first label set.
  • S23 Compare the magnitude of the loss value with a preset loss threshold, and if the loss value is greater than or equal to the loss threshold, return to S21; if the loss value is less than the loss threshold, obtain the classification prediction model.
  • the depth separable convolution pooling operation includes: performing a grouped convolution operation on the first training set to obtain a deep convolution data set, and then performing a point-wise convolution operation on the deep convolution data set to obtain A point-by-point convolution data set is performed, and an average pooling operation is performed on the point-by-point convolution data set to obtain the dimensionality reduction data set.
  • the activation function can be calculated using the following formula:
  • f(x) is the predicted value
  • x is the data in the dimensionality reduction data set.
  • the loss function can be calculated using the following formula:
  • N is the number of samples included in the training data
  • i is a positive integer
  • m i is the predicted value.
  • the data of the enhanced corpus is generated by a model.
  • the enhanced corpus is screened.
  • the initial classification prediction model is used to analyze the enhanced corpus to obtain a classification analysis result set of each piece of data in the enhanced corpus.
  • the classification prediction model has five classification predictions: excellent, good, medium, pass and fail.
  • the result will output the classification analysis result set, and include the classification of each level.
  • Classification analysis results such as excellent 0.6, good 0.4, medium 0.45, pass 0.6 and fail 0.5.
  • the data corresponding to the classification analysis result set in which the classification analysis result in the enhanced corpus set is less than the preset threshold is deleted to obtain the enhanced corpus subset.
  • the threshold can be set
  • the classification prediction model predicts the data A of the enhanced corpus, and the classification analysis result set is: excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2, the classification of each level
  • the analysis results are all less than 0.5, indicating that the authenticity of data A is low, and data A is deleted.
  • the enhanced corpus subset and the historical question and answer corpus are used as the second training set, and the second training set is subjected to a preset analysis file
  • the position mark obtains the second label set.
  • the analysis gear can be five kinds of excellent, good, medium, pass and fail.
  • the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
  • the embodiment of the present application uses the second training set and the second label set to train the convolutional neural network model to obtain the analysis and prediction model.
  • the user corpus text to be analyzed is the answer text that the user answers according to preset recruitment questions.
  • the recruitment question can be "What is your career plan?" What is the outlook?".
  • the data used for training the analysis and prediction model may be stored in the blockchain.
  • the analysis prediction model to analyze the user corpus text to be analyzed to obtain a classification analysis result set, sort the classification analysis results in the classification analysis result set, and select the classification analysis result with the largest value as the final analysis result .
  • the analysis of each category in the analysis result set is excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2.
  • the 0.45 analysis is the largest, so medium 0.45 is used as the final analysis result.
  • the historical question and answer corpus is input to a pre-built data enhancement model to obtain an enhanced corpus, and the historical question and answer corpus is data augmented; the historical question and answer corpus is used to train the pre-built convolution
  • the neural network model obtains the initial classification prediction model, the initial classification prediction model is used to analyze and screen the enhanced corpus, and the data whose classification analysis results are greater than the preset threshold in the enhanced corpus are summarized to obtain the enhanced corpus subset,
  • the enhanced corpus is screened to improve the data authenticity of the enhanced corpus;
  • the enhanced corpus subset and the historical question and answer corpus are used to train the convolutional neural network model to obtain an analysis and prediction model, which improves the model’s performance Training accuracy; obtain the user corpus text to be analyzed, use the analysis prediction model to analyze the user corpus text to be analyzed to obtain the final analysis result; enhance the sample capacity by performing data enhancement on the existing small sample training data, and further The enhanced data is screened, and the accuracy of model prediction is improved, which solve
  • FIG. 2 it is a functional module diagram of the intelligent question and answer corpus analysis device of the present application.
  • the intelligent question answering corpus analysis device 100 described in this application can be installed in an electronic device.
  • the intelligent question and answer corpus analysis device may include a corpus enhancement module 101, an enhanced corpus screening module 102, a model training module 103, and a model analysis module 104.
  • the module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
  • each module/unit is as follows:
  • the corpus enhancement module 101 is used to obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus.
  • the question and answer corpus in the historical question and answer corpus is a collection of answer texts for candidates to answer preset recruitment questions.
  • the recruitment question can be "What is your career plan?", "What is your career plan?” What do you think of the company's prospects?".
  • the historical question and answer corpus can be obtained from the company's human resources department database.
  • the data enhancement model can be constructed using the currently known Seq2Seq algorithm and a variational autoencoder.
  • the corpus enhancement module 101 uses the question and answer corpus as the training set and the marked question and answer corpus as the label. And then complete the training of the data enhancement model, wherein the question and answer corpus is different from the historical question and answer corpus.
  • the corpus enhancement module 101 inputs the historical question and answer corpus into the pre-built data enhancement model, outputs the enhanced corpus, and completes the data expansion of the historical question and answer corpus.
  • the enhanced corpus screening module 102 is configured to use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model; use the initial classification prediction model to analyze and screen the enhanced corpus to obtain Enhanced corpus subset.
  • the enhanced corpus screening module 102 determines the historical question and answer corpus as the first training set, and performs a preset analysis position mark on the historical question and answer corpus to obtain the first label set, preferably
  • the analysis gears can be classified into five types: excellent, good, medium, pass and fail.
  • the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
  • the enhanced corpus screening module 102 of the embodiment of the present application obtains the classification prediction model by the following means:
  • A According to the preset depth separable convolution pooling times, perform the depth separable convolution pooling operation on the first training set to obtain a dimensionality reduction data set;
  • B Use a preset activation function to calculate the dimensionality reduction data set to obtain a predicted value, and use a pre-built loss function to calculate a loss value based on the predicted value and the label value contained in the first label set.
  • C Compare the magnitude of the loss value with the preset loss threshold, if the loss value is greater than or equal to the loss threshold, return to A; if the loss value is less than the loss threshold, obtain the classification prediction model.
  • the enhanced corpus screening module 102 obtains the dimensionality reduction data set by using the following method: performing a grouped convolution operation on the first training set to obtain a deep convolution data set, and then performing a calculation on the deep convolution data set Performing a point-by-point convolution operation to obtain a point-by-point convolution data set, and performing an average pooling operation on the point-by-point convolution data set to obtain the dimensionality reduction data set.
  • the activation function can be calculated using the following formula:
  • f(x) is the predicted value
  • x is the data in the dimensionality reduction data set.
  • the loss function can be calculated using the following formula:
  • N is the number of samples included in the training data
  • i is a positive integer
  • m i is the predicted value.
  • the data of the enhanced corpus is generated by a model.
  • the enhanced corpus is screened.
  • the enhanced corpus screening module 102 uses the initial classification prediction model to analyze the enhanced corpus set to obtain a classification analysis result set of each piece of data in the enhanced corpus set.
  • the classification prediction model has five classification predictions: excellent, good, medium, pass and fail.
  • the result will output the classification analysis result set, and include the classification of each level.
  • Classification analysis results such as excellent 0.6, good 0.4, medium 0.45, pass 0.6 and fail 0.5.
  • the enhanced corpus screening module 102 deletes the data corresponding to the classification analysis result set in which the classification analysis result in the enhanced corpus set is less than a preset threshold to obtain an enhanced corpus subset, preferably Preferably, the threshold may be set to 0.5.
  • the classification prediction model predicts the data A of the enhanced corpus, and the result set of classification analysis is: excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2, the classification analysis results of each gear are all less than 0.5, indicating that the authenticity of data A is low, and data A is deleted.
  • the model training module 103 is configured to train the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model.
  • the model training module 103 uses the enhanced corpus subset and the historical question and answer corpus as the second training set, and the second training set Performing the preset analysis gear mark to obtain the second label set, preferably, the analysis gear can be five kinds of excellent, good, medium, pass and fail.
  • the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
  • model training module 103 of the embodiment of the present application trains the convolutional neural network model by using the second training set and the second label set to obtain the analysis and prediction model.
  • the model analysis module 104 obtains the user corpus text to be analyzed, uses the analysis prediction model to analyze the user corpus text to be analyzed, and obtains the final analysis result.
  • the user corpus text to be analyzed is the answer text that the user answers according to preset recruitment questions.
  • the recruitment question can be "What is your career plan?" What is the outlook?".
  • the data used for training the analysis and prediction model training can be stored in the blockchain.
  • the model analysis module 104 uses the analysis prediction model to analyze the user corpus text to be analyzed to obtain a classification analysis result set, sort the classification analysis results in the classification analysis result set, and select the classification with the largest value
  • the analysis result is regarded as the final analysis result.
  • the analysis of each category in the analysis result set is excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2.
  • the 0.45 analysis is the largest, so medium 0.45 is used as the final analysis result.
  • FIG. 3 it is a schematic diagram of the structure of an electronic device implementing the intelligent question answering corpus analysis method in this application.
  • the electronic device 1 may include a processor 10, a memory 11, and a bus, and may also include a computer program stored in the memory 11 and running on the processor 10, such as an intelligent question-and-answer corpus analysis program.
  • the memory 11 includes at least one type of readable storage medium.
  • the readable storage medium may be non-volatile or volatile.
  • the readable storage medium includes flash memory, mobile hard disk, and multimedia card.
  • Card-type memory for example: SD or DX memory, etc.
  • magnetic memory magnetic disk, optical disk, etc.
  • the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1.
  • the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart media card (SMC), and a secure digital (Secure Digital) equipped on the electronic device 1.
  • SD Secure Digital
  • flash card Flash Card
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as codes of a smart question and answer corpus analysis program, etc., but also to temporarily store data that has been output or will be output.
  • the processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more Combinations of central processing unit (CPU), microprocessor, digital processing chip, graphics processor, and various control chips, etc.
  • the processor 10 is the control unit of the electronic device, which uses various interfaces and lines to connect the various components of the entire electronic device, and runs or executes programs or modules (such as smart devices) stored in the memory 11 Question and answer corpus analysis program, etc.), and call the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
  • the bus may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the bus is configured to implement connection and communication between the memory 11 and at least one processor 10 and the like.
  • FIG. 3 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure. Components, or combinations of certain components, or different component arrangements.
  • the electronic device 1 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the at least one processor 10 through a power management device, thereby controlling power
  • the device implements functions such as charge management, discharge management, and power consumption management.
  • the power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators.
  • the electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the electronic device 1 may also include a network interface.
  • the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
  • the electronic device 1 may also include a user interface.
  • the user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)).
  • the user interface may also be a standard wired interface or a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • the intelligent question and answer corpus analysis program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can realize:
  • the user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  • the integrated module/unit of the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) .
  • the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store a block chain node Use the created data, etc.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method for smart analysis of question and answer linguistic material and an analysis apparatus, an electronic device, and a computer storage medium, relating to artificial intelligence technology, comprising: inputting a historical question and answer corpus into a pre-constructed data enhancement model to obtain an enhanced corpus (S1); using the historical question and answer corpus to train a pre-constructed convolutional neural network model to obtain an initial classification prediction model (S2); using the initial classification prediction model to perform analysis and filtering on the enhanced corpus to obtain an enhanced sub-corpus (S3); using the enhanced sub-corpus and the historical question and answer corpus to train the convolutional neural network model to obtain an analysis prediction model (S4); and using the analysis prediction model to analyze a user linguistic material text to be analyzed to obtain a final analysis result (S5). The present invention further relates to blockchain technology, and the data used for model training can be stored in a blockchain. The method described above can improve the accuracy of smart analysis of question and answer linguistic material.

Description

智能问答语料分析方法、装置、电子设备及可读存储介质Intelligent question and answer corpus analysis method, device, electronic equipment and readable storage medium
本申请要求于2020年6月19日提交中国专利局、申请号为CN202010564937.7,发明名称为“智能问答语料分析方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on June 19, 2020, the application number is CN202010564937.7, and the invention title is "Intelligent Question and Answer Corpus Analysis Method, Device, Electronic Equipment, and Readable Storage Medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及人工智能领域,尤其涉及一种智能问答语料分析的方法、装置、电子设备及可读存储介质。This application relates to the field of artificial intelligence, and in particular to a method, device, electronic device, and readable storage medium for analyzing intelligent question and answer corpus.
背景技术Background technique
随着人工智能的发展,机器的智能化也越来越高,通过人的语言来对人的行为表现进行分析已经不再是人类的专利,机器也可以通过语料对人的行为进行分析判断,降低了人力成本。With the development of artificial intelligence, machines are becoming more and more intelligent. The analysis of human behavior through human language is no longer a human patent. Machines can also analyze and judge human behavior through corpus. Reduced labor costs.
目前,由于算力限制机器还无法通过任意语料进行分析,只能通过分析用户的问答语料进行分析判断,所谓的问答语料是指用户对预设问题回答的语料,对问答语料的智能分析应用在生活的多个方面,例如:手机厂商手机通过对用户问答语料分析进行手机系统版本评估、医生通过对患者问答语料分析来进行精神疾病的初步筛检、人力资源通过对面试者问答语料分析来进行面试分析。At present, due to the limitation of computing power, the machine cannot analyze any corpus. It can only analyze and judge the user’s question and answer corpus. The so-called question and answer corpus refers to the corpus that the user answers to the preset questions. The intelligent analysis of the question and answer corpus is applied in Many aspects of life, such as: mobile phone manufacturers perform mobile phone system version evaluation by analyzing user question and answer corpus, doctors performing preliminary screening for mental illness by analyzing patient’s question and answer corpus, and human resources by analyzing interviewer’s question and answer corpus Interview analysis.
但发明人意识到用户的问答语料数据较少,且不易获取,导致现有的智能问答语料分析系统深度学习模型的训练数据量较小,模型的准确度不高。However, the inventor realizes that the user's question and answer corpus data is small and difficult to obtain, resulting in a small amount of training data for the deep learning model of the existing intelligent question answering corpus analysis system, and the accuracy of the model is not high.
发明内容Summary of the invention
本申请提供一种智能问答语料分析方法、装置、电子设备及计算机可读存储介质。This application provides an intelligent question-and-answer corpus analysis method, device, electronic equipment, and computer-readable storage medium.
本申请提供的一种智能问答语料分析方法,包括:An intelligent question-and-answer corpus analysis method provided by this application includes:
获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
本申请还提供一种智能问答语料分析装置,所述装置包括:This application also provides an intelligent question-and-answer corpus analysis device, which includes:
语料增强模块,用于获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;The corpus enhancement module is used to obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
增强语料筛选模块,用于利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;The enhanced corpus screening module is used to train a pre-built convolutional neural network model using the historical question and answer corpus to obtain an initial classification prediction model; use the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus Subset;
模型训练模块,用于利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;A model training module for training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
模型分析模块,用于获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The model analysis module is used to obtain the user corpus text to be analyzed, use the analysis prediction model to analyze the user corpus text to be analyzed, and obtain the final analysis result.
本申请还提供一种电子设备,所述电子设备包括:This application also provides an electronic device, which includes:
存储器,存储至少一个指令;及Memory, storing at least one instruction; and
处理器,执行所述存储器中存储的指令以实现如下步骤:The processor executes the instructions stored in the memory to implement the following steps:
获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
本申请还提供一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,所述计算机可读存储介质中存储有至少一个指令,所述至少一个指令被电子设备中的处理器执行以实现如下步骤:This application also provides a computer-readable storage medium, including a storage data area and a storage program area. The storage data area stores data created according to the use of blockchain nodes, and the storage program area stores a computer program, which is readable by the computer. At least one instruction is stored in the storage medium, and the at least one instruction is executed by the processor in the electronic device to implement the following steps:
获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
附图说明Description of the drawings
图1为本申请一实施例提供的智能问答语料分析方法的流程示意图;FIG. 1 is a schematic flowchart of an intelligent question-and-answer corpus analysis method provided by an embodiment of this application;
图2为本申请一实施例提供的智能问答语料分析装置的模块示意图;2 is a schematic diagram of modules of an intelligent question and answer corpus analysis device provided by an embodiment of the application;
图3为本申请一实施例提供的实现智能问答语料分析方法的电子设备的内部结构示意图;FIG. 3 is a schematic diagram of the internal structure of an electronic device that implements an intelligent question-and-answer corpus analysis method provided by an embodiment of the application;
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
本申请提供一种智能问答语料分析方法。参照图1所示,为本申请一实施例提供的智能问答语料分析方法的流程示意图。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。This application provides an intelligent question-and-answer corpus analysis method. Referring to FIG. 1, it is a schematic flowchart of a method for analyzing intelligent question and answer corpus provided by an embodiment of this application. The method can be executed by a device, and the device can be implemented by software and/or hardware.
在本实施例中,智能问答语料分析方法包括:In this embodiment, the intelligent question answering corpus analysis method includes:
S1、获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;S1. Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
本申请实施例中,所述历史问答语料集中的问答语料为应聘人员回答预设招聘问题的答案文本的集合,例如:所述招聘问题可以为“你的职业规划是什么?”、“你对公司的前景有什么看法?”。所述历史问答语料集可从公司的人力资源部门数据库中获取。In this embodiment of the application, the question and answer corpus in the historical question and answer corpus is a collection of answer texts for candidates to answer preset recruitment questions. For example, the recruitment question can be "What is your career plan?", "What is your career plan?" What do you think of the company's prospects?". The historical question and answer corpus can be obtained from the company's human resources department database.
进一步地,由于所述历史问答语料集的数据较少且不易获取,因此需要对所述历史问答语料集的数据进行扩充,本申请实施例采用预构建的数据增强模型对所述历史问答语料集进行扩充。Further, since the data of the historical question and answer corpus is small and not easy to obtain, it is necessary to expand the data of the historical question and answer corpus. Expand.
较佳地,所述数据增强模型可采用当前已知的Seq2Seq算法与变分自编码器进行构建, 利用问答语料集作为训练集,利用标记过的问答语料集作为标签集,进而完成所述数据增强模型的训练,其中,所述问答语料集与所述历史问答语料集不同。Preferably, the data enhancement model can be constructed using the currently known Seq2Seq algorithm and the variational autoencoder, using the question and answer corpus as the training set, and the marked question and answer corpus as the label set, to complete the data The training of the enhanced model, wherein the question and answer corpus is different from the historical question and answer corpus.
进一步地,将所述历史问答语料集输入至所述数据增强模型,输出所述增强语料集,进而完成对所述历史问答语料集的数据扩充。Further, the historical question and answer corpus is input to the data enhancement model, and the enhanced corpus is output, and the data expansion of the historical question and answer corpus is completed.
S2、利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;S2. Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
本申请实施例中,将所述历史问答语料集确定为第一训练集,对所述历史问答语料集进行预设的分析档位标记得到第一标签集,较佳地,所述分析档位可以为优秀、良好、中等、及格和不及格五种。In the embodiment of the application, the historical question and answer corpus is determined as the first training set, and the preset analysis position mark is performed on the historical question and answer corpus to obtain the first label set. Preferably, the analysis position There are five types: excellent, good, medium, pass and fail.
较佳地,本申请较佳实施例中所述卷积神经网络模型可用深度可分离卷积网络模型进行构建。Preferably, the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
进一步地,本申请实施例利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型包括:Further, training the convolutional neural network model by using the first training set and the first label set in the embodiment of the present application includes:
S21:根据预设的深度可分离卷积池化次数,对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集;S21: Perform a depth-separable convolution pooling operation on the first training set according to the preset number of depth-separable convolution pooling to obtain a dimensionality reduction data set;
S22:利用预设的激活函数对所述降维数据集进行计算得到预测值,根据所述预测值和所述第一标签集中包含的标签值,利用预构建的损失函数进行计算得到损失值。S22: Calculate the dimensionality reduction data set by using a preset activation function to obtain a predicted value, and calculate a loss value by using a pre-built loss function according to the predicted value and the label value contained in the first label set.
S23:对比所述损失值与预设的损失阈值的大小,若所述损失值大于或等于所述损失阈值,返回S21;若所述损失值小于所述损失阈值,得到所述分类预测模型。S23: Compare the magnitude of the loss value with a preset loss threshold, and if the loss value is greater than or equal to the loss threshold, return to S21; if the loss value is less than the loss threshold, obtain the classification prediction model.
详细地,所述深度可分离卷积池化操作包括:对所述第一训练集进行分组卷积运算得到深度卷积数据集,再对所述深度卷积数据集进行逐点卷积运算得到逐点卷积数据集,对所述逐点卷积数据集进行平均池化操作得到所述降维数据集。In detail, the depth separable convolution pooling operation includes: performing a grouped convolution operation on the first training set to obtain a deep convolution data set, and then performing a point-wise convolution operation on the deep convolution data set to obtain A point-by-point convolution data set is performed, and an average pooling operation is performed on the point-by-point convolution data set to obtain the dimensionality reduction data set.
在本申请较佳实施例中,所述激活函数可以采用下述公式计算:In a preferred embodiment of the present application, the activation function can be calculated using the following formula:
f(x)=max(0,x)f(x)=max(0,x)
其中f(x)为所述预测值,x为所述降维数据集中的数据。Where f(x) is the predicted value, and x is the data in the dimensionality reduction data set.
在本申请较佳实施例中,所述损失函数可以采用下述公式计算:In a preferred embodiment of the present application, the loss function can be calculated using the following formula:
Figure PCTCN2020119102-appb-000001
Figure PCTCN2020119102-appb-000001
其中,N为所述训练样本包含的数据数目,i为正整数,h i为所述标签值,m i为所述预测值。 Wherein, N is the number of samples included in the training data, i is a positive integer, h i to the tag value, m i is the predicted value.
S3、利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;S3. Use the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
本申请实施例中,所述增强语料集的数据是通过模型生成的,为了提高所述增强语料集的数据真实度,从而提高后续模型的训练精度,对所述增强语料集进行筛选。In the embodiment of the present application, the data of the enhanced corpus is generated by a model. In order to improve the data authenticity of the enhanced corpus, thereby improving the training accuracy of subsequent models, the enhanced corpus is screened.
详细地,利用所述初始分类预测模型对所述增强语料集进行分析,得到所述增强语料集中每条数据的分类分析结果集。例如:所述分类预测模型共有五档分类预测:优秀、良好、中等、及格和不及格,当所述分类预测模型对数据进行预测时,结果会输出分类分析结果集,并包含各个档位的分类分析结果,如优秀0.6、良好0.4、中等0.45、及格0.6和不及格0.5。In detail, the initial classification prediction model is used to analyze the enhanced corpus to obtain a classification analysis result set of each piece of data in the enhanced corpus. For example: the classification prediction model has five classification predictions: excellent, good, medium, pass and fail. When the classification prediction model predicts the data, the result will output the classification analysis result set, and include the classification of each level. Classification analysis results, such as excellent 0.6, good 0.4, medium 0.45, pass 0.6 and fail 0.5.
进一步地,为了保证预测分数的可信度,将所述增强语料集中分类分析结果均小于预设阈值的分类分析结果集对应的数据删除得到增强语料子集,较佳地,所述阈值可以设为0.5,例如:所述分类预测模型对所述增强语料集的数据A进行预测,得到分类分析结果集为:优秀0.3、良好0.4、中等0.45、及格0.2和不及格0.2,各个档位的分类分析结果均小于0.5,说明数据A的真实度较低,将数据A删除。Further, in order to ensure the credibility of the prediction score, the data corresponding to the classification analysis result set in which the classification analysis result in the enhanced corpus set is less than the preset threshold is deleted to obtain the enhanced corpus subset. Preferably, the threshold can be set For example, the classification prediction model predicts the data A of the enhanced corpus, and the classification analysis result set is: excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2, the classification of each level The analysis results are all less than 0.5, indicating that the authenticity of data A is low, and data A is deleted.
S4、利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;S4. Train the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
本申请实施例中,为了让模型的训练数据更加真实和全面,将所述增强语料子集及所述历史问答语料集作为第二训练集,对所述第二训练集进行预设的分析档位标记得到第二标签集,较佳地,所述分析档位可以为优秀、良好、中等、及格和不及格五种。In this embodiment of the application, in order to make the training data of the model more real and comprehensive, the enhanced corpus subset and the historical question and answer corpus are used as the second training set, and the second training set is subjected to a preset analysis file The position mark obtains the second label set. Preferably, the analysis gear can be five kinds of excellent, good, medium, pass and fail.
较佳地,本申请较佳实施例中所述卷积神经网络模型可用深度可分离卷积网络模型进行构建。Preferably, the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
进一步地,本申请实施例利用所述第二训练集及所述第二标签集训练所述卷积神经网络模型得到所述分析预测模型。Further, the embodiment of the present application uses the second training set and the second label set to train the convolutional neural network model to obtain the analysis and prediction model.
S5、获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果;S5. Obtain a user corpus text to be analyzed, and analyze the user corpus text to be analyzed by using the analysis prediction model to obtain a final analysis result;
本申请实施例中,所述待分析用户语料文本为用户根据预设的招聘问题进行回答的答案文本,例如:所述招聘问题可以为“你的职业规划是什么?”、“你对公司的前景有什么看法?”。In this embodiment of the application, the user corpus text to be analyzed is the answer text that the user answers according to preset recruitment questions. For example, the recruitment question can be "What is your career plan?" What is the outlook?".
本申请的另一个实施例中,用于训练所述分析预测模型的数据可以存储于区块链中。In another embodiment of the present application, the data used for training the analysis and prediction model may be stored in the blockchain.
进一步地,利用所述分析预测模型对所述待分析用户语料文本进行分析得到分类分析结果集,对所述分类分析结果集中的分类分析结果进行排序,选取数值最大的分类分析结果作为最终分析结果。例如:所述分析结果集中各个分类的分析为优秀0.3、良好0.4、中等0.45、及格0.2和不及格0.2,0.45分析最大,所以将中等0.45作为最终分析结果。Further, using the analysis prediction model to analyze the user corpus text to be analyzed to obtain a classification analysis result set, sort the classification analysis results in the classification analysis result set, and select the classification analysis result with the largest value as the final analysis result . For example: the analysis of each category in the analysis result set is excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2. The 0.45 analysis is the largest, so medium 0.45 is used as the final analysis result.
本申请实施例中,将所述历史问答语料集输入至预构建的数据增强模型得到增强语料集,对所述历史问答语料集进行数据扩充;利用所述历史问答语料集训练预构建的卷积神经网络模型得到初始分类预测模型,利用所述初始分类预测模型对所述增强语料集进行分析筛选,将所述增强语料集中存在分类分析结果大于预设阈值的数据汇总得到增强语料子集,对所述增强语料集进行筛选,提高所述增强语料集的数据真实性;利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型得到分析预测模型,提高了模型的训练精度;获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析得到最终分析结果;通过对已有的小样本训练数据进行数据增强提升了样本容量,进一步对增强的数据进行筛选,提升的模型预测的准确度,解决了训练数据样本较少导致模型训练不准确的问题。In the embodiment of the present application, the historical question and answer corpus is input to a pre-built data enhancement model to obtain an enhanced corpus, and the historical question and answer corpus is data augmented; the historical question and answer corpus is used to train the pre-built convolution The neural network model obtains the initial classification prediction model, the initial classification prediction model is used to analyze and screen the enhanced corpus, and the data whose classification analysis results are greater than the preset threshold in the enhanced corpus are summarized to obtain the enhanced corpus subset, The enhanced corpus is screened to improve the data authenticity of the enhanced corpus; the enhanced corpus subset and the historical question and answer corpus are used to train the convolutional neural network model to obtain an analysis and prediction model, which improves the model’s performance Training accuracy; obtain the user corpus text to be analyzed, use the analysis prediction model to analyze the user corpus text to be analyzed to obtain the final analysis result; enhance the sample capacity by performing data enhancement on the existing small sample training data, and further The enhanced data is screened, and the accuracy of model prediction is improved, which solves the problem of inaccurate model training caused by fewer training data samples.
如图2所示,是本申请智能问答语料分析装置的功能模块图。As shown in Figure 2, it is a functional module diagram of the intelligent question and answer corpus analysis device of the present application.
本申请所述智能问答语料分析装置100可以安装于电子设备中。根据实现的功能,所述智能问答语料分析装置可以包括语料增强模块101、增强语料筛选模块102、模型训练模块103、模型分析模块104。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The intelligent question answering corpus analysis device 100 described in this application can be installed in an electronic device. According to the realized functions, the intelligent question and answer corpus analysis device may include a corpus enhancement module 101, an enhanced corpus screening module 102, a model training module 103, and a model analysis module 104. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:
所述语料增强模块101用于获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集。The corpus enhancement module 101 is used to obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus.
本申请实施例中,所述历史问答语料集中的问答语料为应聘人员回答预设招聘问题的答案文本的集合,例如:所述招聘问题可以为“你的职业规划是什么?”、“你对公司的前景有什么看法?”。所述历史问答语料集可从公司的人力资源部门数据库中获取。In this embodiment of the application, the question and answer corpus in the historical question and answer corpus is a collection of answer texts for candidates to answer preset recruitment questions. For example, the recruitment question can be "What is your career plan?", "What is your career plan?" What do you think of the company's prospects?". The historical question and answer corpus can be obtained from the company's human resources department database.
进一步地,由于所述历史问答语料集的数据较少且不易获取,因此需要对所述历史问答语料集的数据进行扩充,本申请实施例采用预构建的数据增强模型对所述历史问答语料集进行扩充。Further, since the data of the historical question and answer corpus is small and not easy to obtain, it is necessary to expand the data of the historical question and answer corpus. Expand.
较佳地,所述数据增强模型的可采用当前已知的Seq2Seq算法与变分自编码器进行构建,所述语料增强模块101利用问答语料集作为训练集,利用标记过的问答语料集作为标 签集,进而完成所述数据增强模型的训练,其中,所述问答语料集与所述历史问答语料集不同。Preferably, the data enhancement model can be constructed using the currently known Seq2Seq algorithm and a variational autoencoder. The corpus enhancement module 101 uses the question and answer corpus as the training set and the marked question and answer corpus as the label. And then complete the training of the data enhancement model, wherein the question and answer corpus is different from the historical question and answer corpus.
进一步地,所述语料增强模块101将所述历史问答语料集输入至所述预构建的数据增强模型,输出所述增强语料集,进而完成对所述历史问答语料集的数据扩充。Further, the corpus enhancement module 101 inputs the historical question and answer corpus into the pre-built data enhancement model, outputs the enhanced corpus, and completes the data expansion of the historical question and answer corpus.
所述增强语料筛选模块102用于利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集。The enhanced corpus screening module 102 is configured to use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model; use the initial classification prediction model to analyze and screen the enhanced corpus to obtain Enhanced corpus subset.
本申请实施例中,所述增强语料筛选模块102将所述历史问答语料集确定为第一训练集,对所述历史问答语料集进行预设的分析档位标记得到第一标签集,较佳地,所述分析档位可以为优秀、良好、中等、及格和不及格五种。In the embodiment of this application, the enhanced corpus screening module 102 determines the historical question and answer corpus as the first training set, and performs a preset analysis position mark on the historical question and answer corpus to obtain the first label set, preferably In particular, the analysis gears can be classified into five types: excellent, good, medium, pass and fail.
较佳地,本申请较佳实施例中所述卷积神经网络模型可用深度可分离卷积网络模型进行构建。Preferably, the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
进一步地,本申请实施例所述增强语料筛选模块102利用下述手段得到所述分类预测模型:Further, the enhanced corpus screening module 102 of the embodiment of the present application obtains the classification prediction model by the following means:
A:根据预设的深度可分离卷积池化次数,对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集;A: According to the preset depth separable convolution pooling times, perform the depth separable convolution pooling operation on the first training set to obtain a dimensionality reduction data set;
B:利用预设的激活函数对所述降维数据集进行计算得到预测值,根据所述预测值和所述第一标签集中包含的标签值,利用预构建的损失函数进行计算得到损失值。B: Use a preset activation function to calculate the dimensionality reduction data set to obtain a predicted value, and use a pre-built loss function to calculate a loss value based on the predicted value and the label value contained in the first label set.
C:对比所述损失值与预设的损失阈值的大小,若所述损失值大于或等于所述损失阈值,返回A;若所述损失值小于所述损失阈值,得到所述分类预测模型。C: Compare the magnitude of the loss value with the preset loss threshold, if the loss value is greater than or equal to the loss threshold, return to A; if the loss value is less than the loss threshold, obtain the classification prediction model.
详细地,所述增强语料筛选模块102利用下述手段得到所述降维数据集:对所述第一训练集进行分组卷积运算得到深度卷积数据集,再对所述深度卷积数据集进行逐点卷积运算得到逐点卷积数据集,对所述逐点卷积数据集进行平均池化操作得到所述降维数据集。In detail, the enhanced corpus screening module 102 obtains the dimensionality reduction data set by using the following method: performing a grouped convolution operation on the first training set to obtain a deep convolution data set, and then performing a calculation on the deep convolution data set Performing a point-by-point convolution operation to obtain a point-by-point convolution data set, and performing an average pooling operation on the point-by-point convolution data set to obtain the dimensionality reduction data set.
在本申请较佳实施例中,所述激活函数可以采用下述公式计算:In a preferred embodiment of the present application, the activation function can be calculated using the following formula:
f(x)=max(0,x)f(x)=max(0,x)
其中f(x)为所述预测值,x为所述降维数据集中的数据。Where f(x) is the predicted value, and x is the data in the dimensionality reduction data set.
在本申请较佳实施例中,所述损失函数可以采用下述公式计算:In a preferred embodiment of the present application, the loss function can be calculated using the following formula:
Figure PCTCN2020119102-appb-000002
Figure PCTCN2020119102-appb-000002
其中,N为所述训练样本包含的数据数目,i为正整数,h i为所述标签值,m i为所述预测值。 Wherein, N is the number of samples included in the training data, i is a positive integer, h i to the tag value, m i is the predicted value.
本申请实施例中,所述增强语料集的数据是通过模型生成的,为了提高所述增强语料集的数据真实度,从而进一步提高后续模型的训练精度,对所述增强语料集进行筛选。In the embodiment of the present application, the data of the enhanced corpus is generated by a model. In order to improve the data authenticity of the enhanced corpus, thereby further improving the training accuracy of subsequent models, the enhanced corpus is screened.
详细地,所述增强语料筛选模块102利用所述初始分类预测模型对所述增强语料集进行分析,得到所述增强语料集中每条数据的分类分析结果集。例如:所述分类预测模型共有五档分类预测:优秀、良好、中等、及格和不及格,当所述分类预测模型对数据进行预测时,结果会输出分类分析结果集,并包含各个档位的分类分析结果,如优秀0.6、良好0.4、中等0.45、及格0.6和不及格0.5。In detail, the enhanced corpus screening module 102 uses the initial classification prediction model to analyze the enhanced corpus set to obtain a classification analysis result set of each piece of data in the enhanced corpus set. For example: the classification prediction model has five classification predictions: excellent, good, medium, pass and fail. When the classification prediction model predicts the data, the result will output the classification analysis result set, and include the classification of each level. Classification analysis results, such as excellent 0.6, good 0.4, medium 0.45, pass 0.6 and fail 0.5.
进一步地,为了保证预测分数的可信度,所述增强语料筛选模块102将所述增强语料集中分类分析结果均小于预设阈值的分类分析结果集对应的数据删除得到增强语料子集,较佳地,所述阈值可以设为0.5,例如:所述分类预测模型对所述增强语料集的数据A进行预测,得到分类分析结果集为:优秀0.3、良好0.4、中等0.45、及格0.2和不及格0.2,各个档位的分类分析结果均小于0.5,说明数据A的真实度较低,将数据A删除。Further, in order to ensure the credibility of the predicted score, the enhanced corpus screening module 102 deletes the data corresponding to the classification analysis result set in which the classification analysis result in the enhanced corpus set is less than a preset threshold to obtain an enhanced corpus subset, preferably Preferably, the threshold may be set to 0.5. For example, the classification prediction model predicts the data A of the enhanced corpus, and the result set of classification analysis is: excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2, the classification analysis results of each gear are all less than 0.5, indicating that the authenticity of data A is low, and data A is deleted.
所述模型训练模块103用于利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型。The model training module 103 is configured to train the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model.
本申请实施例中,为了让模型的训练数据更加真实和全面,所述模型训练模块103将所述增强语料子集及所述历史问答语料集作为第二训练集,对所述第二训练集进行预设的分析档位标记得到第二标签集,较佳地,所述分析档位可以为优秀、良好、中等、及格和不及格五种。In the embodiment of the present application, in order to make the training data of the model more realistic and comprehensive, the model training module 103 uses the enhanced corpus subset and the historical question and answer corpus as the second training set, and the second training set Performing the preset analysis gear mark to obtain the second label set, preferably, the analysis gear can be five kinds of excellent, good, medium, pass and fail.
较佳地,本申请较佳实施例中所述卷积神经网络模型可用深度可分离卷积网络模型进行构建。Preferably, the convolutional neural network model described in the preferred embodiment of the present application can be constructed using a deeply separable convolutional network model.
进一步地,本申请实施例所述模型训练模块103利用所述第二训练集及所述第二标签集训练所述卷积神经网络模型得到所述分析预测模型。Further, the model training module 103 of the embodiment of the present application trains the convolutional neural network model by using the second training set and the second label set to obtain the analysis and prediction model.
所述模型分析模块104获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The model analysis module 104 obtains the user corpus text to be analyzed, uses the analysis prediction model to analyze the user corpus text to be analyzed, and obtains the final analysis result.
本申请实施例中,所述待分析用户语料文本为用户根据预设的招聘问题进行回答的答案文本,例如:所述招聘问题可以为“你的职业规划是什么?”、“你对公司的前景有什么看法?”。In this embodiment of the application, the user corpus text to be analyzed is the answer text that the user answers according to preset recruitment questions. For example, the recruitment question can be "What is your career plan?" What is the outlook?".
本申请的另一个实施例中,用于训练所述分析预测模型训练的数据可以存储于区块链中。In another embodiment of the present application, the data used for training the analysis and prediction model training can be stored in the blockchain.
进一步地,所述模型分析模块104利用所述分析预测模型对所述待分析用户语料文本进行分析得到分类分析结果集,对所述分类分析结果集中的分类分析结果进行排序,选取数值最大的分类分析结果作为最终分析结果。例如:所述分析结果集中各个分类的分析为优秀0.3、良好0.4、中等0.45、及格0.2和不及格0.2,0.45分析最大,所以将中等0.45作为最终分析结果。Further, the model analysis module 104 uses the analysis prediction model to analyze the user corpus text to be analyzed to obtain a classification analysis result set, sort the classification analysis results in the classification analysis result set, and select the classification with the largest value The analysis result is regarded as the final analysis result. For example: the analysis of each category in the analysis result set is excellent 0.3, good 0.4, medium 0.45, pass 0.2 and fail 0.2. The 0.45 analysis is the largest, so medium 0.45 is used as the final analysis result.
如图3所示,是本申请实现智能问答语料分析方法的电子设备的结构示意图。As shown in FIG. 3, it is a schematic diagram of the structure of an electronic device implementing the intelligent question answering corpus analysis method in this application.
所述电子设备1可以包括处理器10、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如智能问答语料分析程序。The electronic device 1 may include a processor 10, a memory 11, and a bus, and may also include a computer program stored in the memory 11 and running on the processor 10, such as an intelligent question-and-answer corpus analysis program.
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质可以是非易失性,也可以是易失性,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如智能问答语料分析程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium. The readable storage medium may be non-volatile or volatile. The readable storage medium includes flash memory, mobile hard disk, and multimedia card. , Card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart media card (SMC), and a secure digital (Secure Digital) equipped on the electronic device 1. , SD) card, flash card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as codes of a smart question and answer corpus analysis program, etc., but also to temporarily store data that has been output or will be output.
所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如智能问答语料分析程序等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。The processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more Combinations of central processing unit (CPU), microprocessor, digital processing chip, graphics processor, and various control chips, etc. The processor 10 is the control unit of the electronic device, which uses various interfaces and lines to connect the various components of the entire electronic device, and runs or executes programs or modules (such as smart devices) stored in the memory 11 Question and answer corpus analysis program, etc.), and call the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。The bus may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. The bus is configured to implement connection and communication between the memory 11 and at least one processor 10 and the like.
图3仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure. Components, or combinations of certain components, or different component arrangements.
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, thereby controlling power The device implements functions such as charge management, discharge management, and power consumption management. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。Further, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may also include a user interface. The user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only for illustrative purposes, and are not limited by this structure in the scope of the patent application.
所述电子设备1中的所述存储器11存储的智能问答语料分析程序12是多个指令的组合,在所述处理器10中运行时,可以实现:The intelligent question and answer corpus analysis program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can realize:
获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
具体地,所述处理器10对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned instructions by the processor 10, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1, which will not be repeated here.
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Further, if the integrated module/unit of the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) .
进一步地,所述计算机可用存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store a block chain node Use the created data, etc.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed equipment, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各 个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。For those skilled in the art, it is obvious that the present application is not limited to the details of the foregoing exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any reference signs in the claims should not be regarded as limiting the claims involved.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claims can also be implemented by one unit or device through software or hardware. The second class words are used to indicate names, and do not indicate any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present application.

Claims (20)

  1. 一种智能问答语料分析方法,其中,所述方法包括:An intelligent question answering corpus analysis method, wherein the method includes:
    获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
    利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
    利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
    利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
    获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  2. 如权利要求1所述的智能问答语料分析方法,其中,所述利用所述历史问答语料集训练预构建的卷积神经网络模型得到初始分类预测模型,包括:The intelligent question answering corpus analysis method of claim 1, wherein the training of the pre-built convolutional neural network model using the historical question answering corpus to obtain the initial classification prediction model comprises:
    将所述历史问答语料集确定为第一训练集;Determining the historical question and answer corpus as the first training set;
    对所述历史问答语料集进行预设的分析档位标记,得到第一标签集;Mark the preset analysis positions on the historical question and answer corpus to obtain a first label set;
    利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,得到所述初始分类预测模型。The first training set and the first label set are used to train the convolutional neural network model to obtain the initial classification prediction model.
  3. 如权利要求2所述的智能问答语料分析方法,其中,所述利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,包括:3. The intelligent question answering corpus analysis method of claim 2, wherein said training said convolutional neural network model using said first training set and said first label set comprises:
    A:根据预设的深度可分离卷积池化次数,对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集;A: According to the preset depth separable convolution pooling times, perform the depth separable convolution pooling operation on the first training set to obtain a dimensionality reduction data set;
    B:利用预设的激活函数对所述降维数据集进行计算得到预测值,根据所述预测值和所述第一标签集包含的标签值,利用预构建的损失函数进行计算,得到损失值;B: Use a preset activation function to calculate the dimensionality reduction data set to obtain a predicted value, and use a pre-built loss function to calculate according to the predicted value and the label value contained in the first label set to obtain a loss value ;
    C:对比所述损失值与预设的损失阈值的大小,若所述损失值大于或等于所述损失阈值,返回A;若所述损失值小于所述损失阈值,得到所述初始分类预测模型。C: Compare the size of the loss value with the preset loss threshold, if the loss value is greater than or equal to the loss threshold, return to A; if the loss value is less than the loss threshold, obtain the initial classification prediction model .
  4. 如权利要求1所述的智能问答语料分析方法,其中,所述利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集,包括:5. The intelligent question answering corpus analysis method of claim 1, wherein the use of the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset comprises:
    利用所述初始分类预测模型对所述增强语料集进行分析,得到所述增强语料集中每条数据的分类分析结果集;Using the initial classification prediction model to analyze the enhanced corpus to obtain a classification analysis result set of each piece of data in the enhanced corpus;
    将分类分析结果均小于预设阈值的分类分析结果集对应的数据从所述增强语料集中删除,得到所述增强语料子集。The data corresponding to the classification analysis result set whose classification analysis results are all less than the preset threshold is deleted from the enhanced corpus set to obtain the enhanced corpus subset.
  5. 如权利要求1所述的智能问答语料分析方法,其中,所述获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果,包括:5. The intelligent question and answer corpus analysis method of claim 1, wherein the obtaining the user corpus text to be analyzed, and using the analysis prediction model to analyze the user corpus text to be analyzed to obtain the final analysis result comprises:
    利用所述分析预测模型对所述待分析用户语料文本进行分析得到分类分析结果集;Analyze the user corpus text to be analyzed by using the analysis and prediction model to obtain a classification analysis result set;
    对所述分类分析结果集中的分类分析结果进行排序;Sorting the classification analysis results in the classification analysis result set;
    选取数值最大的分类分析结果作为所述最终分析结果。The classification analysis result with the largest numerical value is selected as the final analysis result.
  6. 如权利要求3所述的智能问答语料分析方法,其中,所述对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集,包括:The intelligent question answering corpus analysis method according to claim 3, wherein said performing a deep separable convolution pooling operation on said first training set to obtain a dimensionality reduction data set comprises:
    对所述第一训练集进行分组卷积运算,得到深度卷积数据集;Performing a grouped convolution operation on the first training set to obtain a deep convolution data set;
    对所述深度卷积数据集进行逐点卷积运算,得到逐点卷积数据集;Performing a point-by-point convolution operation on the deep convolution data set to obtain a point-by-point convolution data set;
    对所述逐点卷积数据集进行平均池化操作,得到所述降维数据集。Perform an average pooling operation on the point-by-point convolution data set to obtain the dimensionality reduction data set.
  7. 如权利要求2所述的智能问答语料分析方法,其中,所述分析档位为优秀、良好、中等、及格和不及格。The intelligent question answering corpus analysis method according to claim 2, wherein the analysis grades are excellent, good, medium, pass and fail.
  8. 一种智能问答语料分析装置,其中,所述装置包括:An intelligent question and answer corpus analysis device, wherein the device includes:
    语料增强模块,用于获取历史问答语料集,将所述历史问答语料集输入至预构建的数 据增强模型,得到增强语料集;The corpus enhancement module is used to obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
    增强语料筛选模块,用于利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;The enhanced corpus screening module is used to train a pre-built convolutional neural network model using the historical question and answer corpus to obtain an initial classification prediction model; use the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus Subset;
    模型训练模块,用于利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;A model training module for training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
    模型分析模块,用于获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The model analysis module is used to obtain the user corpus text to be analyzed, use the analysis prediction model to analyze the user corpus text to be analyzed, and obtain the final analysis result.
  9. 一种电子设备,其中,所述电子设备包括:An electronic device, wherein the electronic device includes:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如下步骤:The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the following steps:
    获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
    利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
    利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
    利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
    获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  10. 如权利要求9所述的电子设备,其中,所述利用所述历史问答语料集训练预构建的卷积神经网络模型得到初始分类预测模型,包括:9. The electronic device according to claim 9, wherein the training a pre-built convolutional neural network model using the historical question and answer corpus to obtain an initial classification prediction model comprises:
    将所述历史问答语料集确定为第一训练集;Determining the historical question and answer corpus as the first training set;
    对所述历史问答语料集进行预设的分析档位标记,得到第一标签集;Mark the preset analysis positions on the historical question and answer corpus to obtain a first label set;
    利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,得到所述初始分类预测模型。The first training set and the first label set are used to train the convolutional neural network model to obtain the initial classification prediction model.
  11. 如权利要求10所述的电子设备,其中,所述利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,包括:11. The electronic device according to claim 10, wherein said training said convolutional neural network model using said first training set and said first label set comprises:
    A:根据预设的深度可分离卷积池化次数,对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集;A: According to the preset depth separable convolution pooling times, perform the depth separable convolution pooling operation on the first training set to obtain a dimensionality reduction data set;
    B:利用预设的激活函数对所述降维数据集进行计算得到预测值,根据所述预测值和所述第一标签集包含的标签值,利用预构建的损失函数进行计算,得到损失值;B: Use a preset activation function to calculate the dimensionality reduction data set to obtain a predicted value, and use a pre-built loss function to calculate according to the predicted value and the label value contained in the first label set to obtain a loss value ;
    C:对比所述损失值与预设的损失阈值的大小,若所述损失值大于或等于所述损失阈值,返回A;若所述损失值小于所述损失阈值,得到所述初始分类预测模型。C: Compare the size of the loss value with the preset loss threshold, if the loss value is greater than or equal to the loss threshold, return to A; if the loss value is less than the loss threshold, obtain the initial classification prediction model .
  12. 如权利要求9所述的电子设备,其中,所述利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集,包括:9. The electronic device according to claim 9, wherein said using said initial classification prediction model to analyze and screen said enhanced corpus to obtain an enhanced corpus subset, comprising:
    利用所述初始分类预测模型对所述增强语料集进行分析,得到所述增强语料集中每条数据的分类分析结果集;Using the initial classification prediction model to analyze the enhanced corpus to obtain a classification analysis result set of each piece of data in the enhanced corpus;
    将分类分析结果均小于预设阈值的分类分析结果集对应的数据从所述增强语料集中删除,得到所述增强语料子集。The data corresponding to the classification analysis result set whose classification analysis results are all less than the preset threshold is deleted from the enhanced corpus set to obtain the enhanced corpus subset.
  13. 如权利要求9所述的电子设备,其中,所述获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果,包括:9. The electronic device according to claim 9, wherein said acquiring the user corpus text to be analyzed, using the analysis prediction model to analyze the user corpus text to be analyzed to obtain the final analysis result, comprises:
    利用所述分析预测模型对所述待分析用户语料文本进行分析得到分类分析结果集;Analyze the user corpus text to be analyzed by using the analysis and prediction model to obtain a classification analysis result set;
    对所述分类分析结果集中的分类分析结果进行排序;Sorting the classification analysis results in the classification analysis result set;
    选取数值最大的分类分析结果作为所述最终分析结果。The classification analysis result with the largest numerical value is selected as the final analysis result.
  14. 如权利要求11所述的电子设备,其中,所述对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集,包括:The electronic device according to claim 11, wherein said performing a depth-separable convolution pooling operation on said first training set to obtain a dimensionality reduction data set comprises:
    对所述第一训练集进行分组卷积运算,得到深度卷积数据集;Performing a grouped convolution operation on the first training set to obtain a deep convolution data set;
    对所述深度卷积数据集进行逐点卷积运算,得到逐点卷积数据集;Performing a point-by-point convolution operation on the deep convolution data set to obtain a point-by-point convolution data set;
    对所述逐点卷积数据集进行平均池化操作,得到所述降维数据集。Perform an average pooling operation on the point-by-point convolution data set to obtain the dimensionality reduction data set.
  15. 一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium includes a storage data area and a storage program area. The storage data area stores data created according to the use of a blockchain node. The storage program area stores a computer program, wherein the computer program is stored by a processor. The following steps are implemented during execution:
    获取历史问答语料集,将所述历史问答语料集输入至预构建的数据增强模型,得到增强语料集;Obtain a historical question and answer corpus, and input the historical question and answer corpus into a pre-built data enhancement model to obtain an enhanced corpus;
    利用所述历史问答语料集训练预构建的卷积神经网络模型,得到初始分类预测模型;Use the historical question and answer corpus to train a pre-built convolutional neural network model to obtain an initial classification prediction model;
    利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集;Using the initial classification prediction model to analyze and screen the enhanced corpus to obtain an enhanced corpus subset;
    利用所述增强语料子集及所述历史问答语料集训练所述卷积神经网络模型,得到分析预测模型;Training the convolutional neural network model by using the enhanced corpus subset and the historical question and answer corpus to obtain an analysis and prediction model;
    获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果。The user corpus text to be analyzed is obtained, and the analysis prediction model is used to analyze the user corpus text to be analyzed to obtain a final analysis result.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述利用所述历史问答语料集训练预构建的卷积神经网络模型得到初始分类预测模型,包括:15. The computer-readable storage medium of claim 15, wherein the training a pre-built convolutional neural network model using the historical question and answer corpus to obtain an initial classification prediction model comprises:
    将所述历史问答语料集确定为第一训练集;Determining the historical question and answer corpus as the first training set;
    对所述历史问答语料集进行预设的分析档位标记,得到第一标签集;Mark the preset analysis positions on the historical question and answer corpus to obtain a first label set;
    利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,得到所述初始分类预测模型。The first training set and the first label set are used to train the convolutional neural network model to obtain the initial classification prediction model.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述利用所述第一训练集及所述第一标签集训练所述卷积神经网络模型,包括:15. The computer-readable storage medium of claim 16, wherein said training said convolutional neural network model using said first training set and said first label set comprises:
    A:根据预设的深度可分离卷积池化次数,对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集;A: According to the preset depth separable convolution pooling times, perform the depth separable convolution pooling operation on the first training set to obtain a dimensionality reduction data set;
    B:利用预设的激活函数对所述降维数据集进行计算得到预测值,根据所述预测值和所述第一标签集包含的标签值,利用预构建的损失函数进行计算,得到损失值;B: Use a preset activation function to calculate the dimensionality reduction data set to obtain a predicted value, and use a pre-built loss function to calculate according to the predicted value and the label value contained in the first label set to obtain a loss value ;
    C:对比所述损失值与预设的损失阈值的大小,若所述损失值大于或等于所述损失阈值,返回A;若所述损失值小于所述损失阈值,得到所述初始分类预测模型。C: Compare the size of the loss value with the preset loss threshold, if the loss value is greater than or equal to the loss threshold, return to A; if the loss value is less than the loss threshold, obtain the initial classification prediction model .
  18. 如权利要求15所述的计算机可读存储介质,其中,所述利用所述初始分类预测模型对所述增强语料集进行分析筛选,得到增强语料子集,包括:15. The computer-readable storage medium according to claim 15, wherein said using said initial classification prediction model to analyze and filter said enhanced corpus to obtain an enhanced subset of corpus comprises:
    利用所述初始分类预测模型对所述增强语料集进行分析,得到所述增强语料集中每条数据的分类分析结果集;Using the initial classification prediction model to analyze the enhanced corpus to obtain a classification analysis result set of each piece of data in the enhanced corpus;
    将分类分析结果均小于预设阈值的分类分析结果集对应的数据从所述增强语料集中删除,得到所述增强语料子集。The data corresponding to the classification analysis result set whose classification analysis results are all less than the preset threshold is deleted from the enhanced corpus set to obtain the enhanced corpus subset.
  19. 如权利要求15所述的计算机可读存储介质,其中,所述获取待分析用户语料文本,利用所述分析预测模型对所述待分析用户语料文本进行分析,得到最终分析结果,包括:15. The computer-readable storage medium according to claim 15, wherein the obtaining the user corpus text to be analyzed, and using the analysis prediction model to analyze the user corpus text to be analyzed to obtain the final analysis result, comprises:
    利用所述分析预测模型对所述待分析用户语料文本进行分析得到分类分析结果集;Analyze the user corpus text to be analyzed by using the analysis and prediction model to obtain a classification analysis result set;
    对所述分类分析结果集中的分类分析结果进行排序;Sorting the classification analysis results in the classification analysis result set;
    选取数值最大的分类分析结果作为所述最终分析结果。The classification analysis result with the largest numerical value is selected as the final analysis result.
  20. 如权利要求17所述的计算机可读存储介质,其中,所述对所述第一训练集进行深度可分离卷积池化操作,得到降维数据集,包括:17. The computer-readable storage medium according to claim 17, wherein said performing a deeply separable convolutional pooling operation on said first training set to obtain a dimensionality reduction data set comprises:
    对所述第一训练集进行分组卷积运算,得到深度卷积数据集;Performing a grouped convolution operation on the first training set to obtain a deep convolution data set;
    对所述深度卷积数据集进行逐点卷积运算,得到逐点卷积数据集;Performing a point-by-point convolution operation on the deep convolution data set to obtain a point-by-point convolution data set;
    对所述逐点卷积数据集进行平均池化操作,得到所述降维数据集。Perform an average pooling operation on the point-by-point convolution data set to obtain the dimensionality reduction data set.
PCT/CN2020/119102 2020-06-19 2020-09-29 Method and apparatus for smart analysis of question and answer linguistic material, electronic device, and readable storage medium WO2021151306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010564937.7 2020-06-19
CN202010564937.7A CN111563152A (en) 2020-06-19 2020-06-19 Intelligent question and answer corpus analysis method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2021151306A1 true WO2021151306A1 (en) 2021-08-05

Family

ID=72072736

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119102 WO2021151306A1 (en) 2020-06-19 2020-09-29 Method and apparatus for smart analysis of question and answer linguistic material, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111563152A (en)
WO (1) WO2021151306A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114141387A (en) * 2021-11-25 2022-03-04 泰康保险集团股份有限公司 Interactive information recommendation method, device and equipment in internet medical session
CN114265937A (en) * 2021-12-24 2022-04-01 中国电力科学研究院有限公司 Intelligent classification analysis method and system of scientific and technological information, storage medium and server
CN114610855A (en) * 2022-03-15 2022-06-10 平安科技(深圳)有限公司 Dialog reply generation method and device, electronic equipment and storage medium
CN116910223A (en) * 2023-08-09 2023-10-20 北京安联通科技有限公司 Intelligent question-answering data processing system based on pre-training model
CN117312530A (en) * 2023-11-10 2023-12-29 北京百度网讯科技有限公司 Questionnaire and model training method, device, equipment, medium and product

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563152A (en) * 2020-06-19 2020-08-21 平安科技(深圳)有限公司 Intelligent question and answer corpus analysis method and device, electronic equipment and readable storage medium
CN111932534B (en) * 2020-09-22 2021-07-06 平安科技(深圳)有限公司 Medical image picture analysis method and device, electronic equipment and readable storage medium
CN112417121A (en) * 2020-11-20 2021-02-26 平安普惠企业管理有限公司 Client intention recognition method and device, computer equipment and storage medium
CN112528112B (en) * 2020-12-15 2024-06-04 平安科技(深圳)有限公司 Data collection and analysis method and device, electronic equipment and storage medium
CN112632220A (en) * 2020-12-22 2021-04-09 平安普惠企业管理有限公司 Loan fund destination analysis method based on AI model and related equipment
CN112541745B (en) * 2020-12-22 2024-04-09 平安银行股份有限公司 User behavior data analysis method and device, electronic equipment and readable storage medium
CN113312482B (en) * 2021-06-01 2024-06-28 平安证券股份有限公司 Question classification method, device, electronic equipment and readable storage medium
CN113344415A (en) * 2021-06-23 2021-09-03 中国平安财产保险股份有限公司 Deep neural network-based service distribution method, device, equipment and medium
CN113435998B (en) * 2021-06-23 2023-05-02 平安科技(深圳)有限公司 Loan overdue prediction method and device, electronic equipment and storage medium
CN114564916A (en) * 2022-03-03 2022-05-31 山东新一代信息产业技术研究院有限公司 Method, device and medium for simplifying corpus addition and corpus tagging
CN116821622B (en) * 2023-06-29 2024-02-13 广西昌洲天然药业有限公司 Method and device for analyzing extraction effect of centella asiatica total glycosides based on neural network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951468A (en) * 2017-03-02 2017-07-14 腾讯科技(深圳)有限公司 Talk with generation method and device
CN108280206A (en) * 2018-01-30 2018-07-13 尹忠博 A kind of short text classification method based on semantically enhancement
WO2019012908A1 (en) * 2017-07-13 2019-01-17 国立研究開発法人情報通信研究機構 Non-factoid question answering device
CN110032632A (en) * 2019-04-04 2019-07-19 平安科技(深圳)有限公司 Intelligent customer service answering method, device and storage medium based on text similarity
CN110162627A (en) * 2019-04-28 2019-08-23 平安科技(深圳)有限公司 Data increment method, apparatus, computer equipment and storage medium
CN111563152A (en) * 2020-06-19 2020-08-21 平安科技(深圳)有限公司 Intelligent question and answer corpus analysis method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951468A (en) * 2017-03-02 2017-07-14 腾讯科技(深圳)有限公司 Talk with generation method and device
WO2019012908A1 (en) * 2017-07-13 2019-01-17 国立研究開発法人情報通信研究機構 Non-factoid question answering device
CN108280206A (en) * 2018-01-30 2018-07-13 尹忠博 A kind of short text classification method based on semantically enhancement
CN110032632A (en) * 2019-04-04 2019-07-19 平安科技(深圳)有限公司 Intelligent customer service answering method, device and storage medium based on text similarity
CN110162627A (en) * 2019-04-28 2019-08-23 平安科技(深圳)有限公司 Data increment method, apparatus, computer equipment and storage medium
CN111563152A (en) * 2020-06-19 2020-08-21 平安科技(深圳)有限公司 Intelligent question and answer corpus analysis method and device, electronic equipment and readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114141387A (en) * 2021-11-25 2022-03-04 泰康保险集团股份有限公司 Interactive information recommendation method, device and equipment in internet medical session
CN114265937A (en) * 2021-12-24 2022-04-01 中国电力科学研究院有限公司 Intelligent classification analysis method and system of scientific and technological information, storage medium and server
CN114610855A (en) * 2022-03-15 2022-06-10 平安科技(深圳)有限公司 Dialog reply generation method and device, electronic equipment and storage medium
CN116910223A (en) * 2023-08-09 2023-10-20 北京安联通科技有限公司 Intelligent question-answering data processing system based on pre-training model
CN116910223B (en) * 2023-08-09 2024-06-11 北京安联通科技有限公司 Intelligent question-answering data processing system based on pre-training model
CN117312530A (en) * 2023-11-10 2023-12-29 北京百度网讯科技有限公司 Questionnaire and model training method, device, equipment, medium and product

Also Published As

Publication number Publication date
CN111563152A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
WO2021151306A1 (en) Method and apparatus for smart analysis of question and answer linguistic material, electronic device, and readable storage medium
WO2022141861A1 (en) Emotion classification method and apparatus, electronic device, and storage medium
WO2021218336A1 (en) User information discrimination method and apparatus, and device and computer readable storage medium
WO2022160449A1 (en) Text classification method and apparatus, electronic device, and storage medium
CN113449187A (en) Product recommendation method, device and equipment based on double portraits and storage medium
CN112380343A (en) Problem analysis method, problem analysis device, electronic device and storage medium
WO2021151305A1 (en) Sample analysis method, apparatus, electronic device, and medium based on missing data
CN113360654B (en) Text classification method, apparatus, electronic device and readable storage medium
CN112906377A (en) Question answering method and device based on entity limitation, electronic equipment and storage medium
CN114840531B (en) Data model reconstruction method, device, equipment and medium based on blood edge relation
CN112288337A (en) Behavior recommendation method, behavior recommendation device, behavior recommendation equipment and behavior recommendation medium
CN116821373A (en) Map-based prompt recommendation method, device, equipment and medium
CN113268665A (en) Information recommendation method, device and equipment based on random forest and storage medium
CN112560465A (en) Method and device for monitoring batch abnormal events, electronic equipment and storage medium
CN112632264A (en) Intelligent question and answer method and device, electronic equipment and storage medium
CN113313211B (en) Text classification method, device, electronic equipment and storage medium
CN114880449A (en) Reply generation method and device of intelligent question answering, electronic equipment and storage medium
CN114969484A (en) Service data searching method, device, equipment and storage medium
CN114706961A (en) Target text recognition method, device and storage medium
CN112529743B (en) Contract element extraction method, device, electronic equipment and medium
CN112347739A (en) Application rule analysis method and device, electronic equipment and storage medium
CN113590845B (en) Knowledge graph-based document retrieval method and device, electronic equipment and medium
CN115146064A (en) Intention recognition model optimization method, device, equipment and storage medium
CN113435746B (en) User workload scoring method and device, electronic equipment and storage medium
WO2022141838A1 (en) Model confidence analysis method and apparatus, electronic device and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20916674

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20916674

Country of ref document: EP

Kind code of ref document: A1