A method, device and equipment for acquiring corpus

By obtaining the personal attribute information of the corpus provider to filter corpus enlightenment problems, the diversity and reliability of the corpus are improved, the problem of reduced understanding ability of the NLU model is solved, and more accurate text understanding is achieved.

CN114186562BActive Publication Date: 2024-10-01VOLKSWAGEN-MOBVOI (BEIJING) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010962143.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-14
Publication Date
2024-10-01
Estimated Expiration
2040-09-14

AI Technical Summary

Technical Problem

Existing NLU models have the problem of reduced understanding ability when understanding texts with different expressions. This is mainly due to the insufficient diversity of corpus expressions, resulting in a relatively single form of corpus obtained through corpus enrichment methods, which cannot achieve accurate understanding.

Method used

By obtaining the personal attribute information of the corpus provider, screening the corresponding corpus elicitation questions, and displaying these questions to the corpus provider to obtain feedback, improve the diversity and reliability of the corpus.

Benefits of technology

Differentiated question push based on personal attribute information improves the diversity and reliability of the corpus, solves the problem of single corpus form, and enhances the understanding ability of the NLU model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186562B_ABST
    Figure CN114186562B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a corpus acquisition method, device and equipment. The corpus acquisition method includes: acquiring at least one personal attribute information of a corpus provider; screening a set number of corpus elicitation questions corresponding to the personal attribute information; displaying each of the corpus elicitation questions to the corpus provider, and acquiring the corpus fed back by the corpus provider for the corpus elicitation questions. The technical solution of the embodiment of the present invention solves the problem that the existing corpus enrichment means obtain a single corpus form, and can push differentiated corpus elicitation questions according to personal attribute information, thereby improving the diversity and reliability of the corpus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to computer technology, and in particular to a corpus acquisition method, device and equipment. Background Art

[0002] With the rapid development of computer technology, people have an increasingly higher demand for computer intelligence. How to enable computers to accurately understand human language has become a hot research direction. Among them, NLU (Natural Language Understanding) technology enables computers to extract information from human language and understand it, and has been widely used in various fields.

[0003] In the prior art, the training of NLU models requires a large amount of diverse corpora. If the corpus expression does not conform to the set scenario or the expression is not diverse enough, the NLU model will have a reduced ability to understand texts with different expressions. The commonly used corpus enrichment method is to give a sample of the corpus and generate a corpus with the same semantics as the sample based on the sample. However, the corpus obtained using this corpus enrichment method is in a relatively simple form. Once the input text form changes, the NLU model cannot achieve accurate understanding. Summary of the invention

[0004] The embodiments of the present invention provide a corpus acquisition method, apparatus and device, which screen corpus elicitation questions according to personal attribute information of a corpus provider to obtain corpus fed back by the corpus provider according to the corpus elicitation questions, thereby improving the diversity and reliability of the acquired corpus.

[0005] In a first aspect, an embodiment of the present invention provides a method for acquiring corpus, the method comprising:

[0006] Obtain at least one personal attribute information of the corpus provider;

[0007] Selecting a set number of corpus elicitation questions corresponding to the personal attribute information;

[0008] Each of the corpus-inspired questions is presented to the corpus provider, and the corpus provided by the corpus provider for the corpus-inspired question is obtained.

[0009] In a second aspect, an embodiment of the present invention further provides a corpus acquisition device, the device comprising:

[0010] An attribute information acquisition module, used to acquire at least one item of personal attribute information of a corpus provider;

[0011] An elicitation question screening module, used for screening a set number of corpus elicitation questions corresponding to the personal attribute information;

[0012] The feedback corpus acquisition module is used to display each of the corpus-inspired questions to the corpus provider and obtain the corpus fed back by the corpus provider in response to the corpus-inspired questions.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including:

[0014] one or more processors;

[0015] A memory for storing one or more programs;

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the corpus acquisition method provided by any embodiment of the present invention.

[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the corpus acquisition method provided by any embodiment of the present invention.

[0018] The technical solution of the embodiment of the present invention first obtains at least one personal attribute information of the corpus provider, and screens a set number of corpus inspiration questions corresponding to the personal attribute information, and finally displays each corpus inspiration question to the corpus provider, and obtains the corpus fed back by the corpus provider for the corpus inspiration question, which solves the problem of single corpus form obtained by existing corpus enrichment methods, and can push differentiated questions according to personal attribute information, thereby improving the diversity and reliability of the corpus. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of a corpus acquisition method in Embodiment 1 of the present invention;

[0020] Figure 2 is a flow chart of a corpus acquisition method in Embodiment 2 of the present invention;

[0021] Figure 3 is a flow chart of a corpus acquisition method in Embodiment 3 of the present invention;

[0022] Figure 4 is a schematic diagram of a corpus acquisition device in Embodiment 4 of the present invention;

[0023] Figure 5 It is a structural schematic diagram of a device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0025] Embodiment 1

[0026] Figure 1 This is a flow chart of a corpus acquisition method in Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the case where differentiated corpus-inspired question push is performed according to personal attribute information. The method can be executed by a corpus acquisition device, which can be implemented by software and / or hardware and can be integrated in various general-purpose computer devices. Specifically, it includes the following steps:

[0027] Step 110: Obtain at least one item of personal attribute information of the corpus provider.

[0028] In this embodiment, in order to achieve differentiated push of corpus elicitation questions to different corpus providers, before providing corpus elicitation questions to the corpus providers, at least one attribute information of the corpus provider is first obtained. Specifically, the attribute information prompt text and the text box to be filled in for each item of attribute information can be displayed to the corpus provider in sequence, and the personal attribute information corresponding to the attribute information prompt text filled in by the corpus provider in the text box to be filled in is obtained.

[0029] Among them, personal attribute information includes the basic personal information of the corpus provider and driving information related to the driving scene. Personal attribute information can be used as a screening condition for screening corpus elicitation questions that match the current corpus provider. Exemplarily, personal attribute questions include the corpus provider's nationality, age, place of residence, preferred car model, commuting time to and from get off work, whether to join a fleet, and whether to listen to music while driving, and other driving habit information.

[0030] Step 120: Screen a set number of corpus elicitation questions corresponding to the personal attribute information.

[0031] The corpus elicitation questions are questions used to inspire the corpus provider to provide corpus. The corpus elicitation questions can be in text form or in video animation, etc., which are not specifically limited in this embodiment. For example, the corpus elicitation question can be "When driving at a speed of 120 km / h, you feel a little uncomfortable and want to turn on the air conditioner. How would you communicate with your car assistant?" It can also be an animation showing a related driving scene to guide the corpus provider to provide corpus in the corresponding driving scene.

[0032] In this embodiment, in order to provide the corpus provider with corpus-inspired questions for scenarios that the corpus provider is familiar with, realize differentiated push of corpus-inspired questions, and improve the quality of acquired corpus, corpus-inspired questions that match the current corpus provider can be screened from the corpus-inspired question library based on the various personal attribute information of the corpus provider.

[0033] For example, for the driving scenarios corresponding to personal attribute information, the proportion of corpus elicitation questions in the relevant driving scenarios among all corpus elicitation questions displayed to the corpus provider can be increased. For example, if one of the personal attribute information is "occupation: driver", and the driving scenarios matching this personal attribute information are making a phone call in the vehicle and using the navigation function while driving, then the proportion of corpus elicitation questions about making a phone call and using the navigation function among the corpus elicitation questions displayed to the current corpus provider can be increased. In this way, corpus elicitation questions related to driving scenarios that are familiar to the corpus provider can be displayed to the corpus provider, which can improve the quality of the acquired corpus.

[0034] Step 130: Display each corpus elicitation question to the corpus provider, and obtain the corpus provided by the corpus provider in response to the corpus elicitation question.

[0035] In this embodiment, after screening out a set number of corpus-inspired questions corresponding to personal attribute information, each corpus-inspired question is displayed to the corpus provider, and the corpus provider is prompted to provide a specified number of different corpora, and finally the corpus that the corpus provider provides feedback on the corpus-inspired questions is obtained, wherein the corpus provided by the user can be in voice form or text form.

[0036] For example, a text-based corpus elicitation question is presented to the corpus provider, "Your girlfriend is not in a good mood today, and you want to take her to the coffee shop she likes very much to relax. How would you communicate with the in-car assistant?", so as to obtain a set number of corpora fed back by the corpus provider, such as "Take us to the coffee shop we often go to", "Go to the coffee shop that XX likes", and "Let's go to the coffee shop to relax", etc. By presenting corpus elicitation questions to the corpus provider and limiting the number of feedback corpora, the diversity of the collected corpora can be improved.

[0037] The technical solution of the embodiment of the present invention first obtains at least one personal attribute information of the corpus provider, and screens a set number of corpus inspiration questions corresponding to the personal attribute information, and finally displays each corpus inspiration question to the corpus provider, and obtains the corpus fed back by the corpus provider for the corpus inspiration question, which solves the problem of single corpus form obtained by existing corpus enrichment methods, and can push differentiated questions according to personal attribute information, thereby improving the diversity and reliability of the corpus.

[0038] Embodiment 2

[0039] Figure 2 This is a flowchart of a corpus acquisition method in Embodiment 2 of the present invention. This embodiment further refines the above embodiment and provides specific steps for screening a set number of corpus elicitation questions corresponding to personal attribute information and obtaining at least one personal attribute information of the corpus provider. Figure 2 A corpus acquisition method provided in the second embodiment of the present invention is described, which includes the following steps:

[0040] Step 210: Receive user screening information input by the user.

[0041] In this embodiment, considering that the more familiar the user is with the scenario of using the car assistant during driving, the higher the availability of the corpus for the corpus elicitation question feedback, in order to improve the quality of the collected corpus, it is possible to first screen the users participating in the corpus collection, and use the users who understand the driving scenario and the car assistant as the corpus providers. Therefore, before collecting the corpus, the user screening information input by the user is first obtained, so that the qualified corpus providers can be selected from the users participating in the corpus collection according to the user screening information. Exemplarily, the user screening information can be the user's driving age, or whether the user has used the car assistant or has a certain understanding of the car assistant.

[0042] Step 220: When the user screening information meets the set screening conditions, the user corresponding to the user screening information is used as the corpus provider.

[0043] In this embodiment, after obtaining the user screening information input by the user, it is determined whether the user screening information meets the pre-set screening conditions. If so, the user corresponding to the user screening information is used as the corpus provider. Exemplarily, the screening condition is that the user's driving experience is not 0 and has used the car assistant. If the current user inputs a driving experience of 2 years and has used the car assistant, the user is used as the corpus provider; if the user's driving experience is 0, regardless of whether the car assistant has been used, the user does not meet the screening condition, that is, the current user cannot be used as a corpus provider.

[0044] Step 230: Obtain at least one item of personal attribute information of the corpus provider.

[0045] Optionally, before obtaining at least one item of personal attribute information of the corpus provider, the following is further included:

[0046] Receive multiple corpus elicitation questions input by the corpus collector, analyze the corpus elicitation questions, and determine the fields to which the corpus elicitation questions belong;

[0047] The domain to which each corpus-inspired question belongs is used as a question attribute label and added to the corresponding corpus-inspired question.

[0048] In this optional embodiment, specific operations are provided before obtaining at least one personal attribute information of the corpus provider, including receiving multiple corpus elicitation questions input by the corpus collector into the corpus elicitation question library, analyzing these corpus elicitation questions, determining the field to which the corpus elicitation questions belong, and finally adding labels to each corpus elicitation question according to the field to which the corpus elicitation questions belong, so as to characterize the field to which each corpus elicitation question belongs.

[0049] Specifically, when the corpus-inspired question is in text form, semantic recognition can be performed on the corpus-inspired question to determine the field to which the corpus-inspired question belongs. Alternatively, the correspondence between keywords and fields can be pre-set, and then the keywords in the corpus-inspired question can be extracted, and the field to which the current corpus-inspired question belongs can be determined based on the keywords. When the corpus-inspired question is in the form of a video animation, image recognition technology can be used to identify the information in the video to determine the field to which the corpus-inspired question belongs.

[0050] For example, the corpus-inspired question is "The weather is quite hot recently. You want to turn on the car air conditioner. How will you communicate with the car assistant?" Keywords in the corpus-inspired question can be extracted, such as "weather", and the corpus-inspired question can be determined as being in the weather field.

[0051] Optionally, corpus-inspired questions cover multiple domains.

[0052] In this optional embodiment, the corpus-inspired questions involve multiple fields, such as telephone field, navigation field, weather field, leisure and entertainment field, etc.

[0053] Step 240: Determine the proportion of corpus-inspired questions in each field among the corpus-inspired questions displayed to the corpus provider based on the personal attribute information.

[0054] In this embodiment, in order to achieve differentiated push of corpus-inspired questions, the proportion of corpus-inspired questions in each field among the corpus-inspired questions displayed to the corpus provider is determined according to the personal attribute information of the corpus provider. Exemplarily, the total number of corpus-inspired questions provided to each corpus provider is certain, and the default proportion of corpus-inspired questions in each field among all the corpus-inspired questions provided to the corpus provider is preset. For example, 200 corpus-inspired questions are provided to the user, including 20 fields, and the default proportion of each field is 5%. The default proportion can be adjusted according to the personal attribute questions of the corpus provider. For example, when the user joins a team, the proportion of corpus-inspired questions in the team field is increased, for example, to 10%.

[0055] Optionally, based on the personal attribute information, the proportion of corpus elicitation questions in each field among the corpus elicitation questions displayed to the corpus provider is determined, including:

[0056] Obtain the mapping relationship between the target personal attribute information and the domain to which the corpus-inspired questions belong;

[0057] When the target personal attribute information meets the question ratio adjustment conditions, the default allocation ratio of the corpus-inspired questions in the field corresponding to the target personal attribute information is adjusted;

[0058] When the target personal attribute information does not meet the question ratio adjustment conditions, the corpus-inspired questions in each field maintain the default allocation ratio.

[0059] In this optional embodiment, a specific method is provided for determining the proportion of corpus elicitation questions in each field in the corpus elicitation questions displayed to the corpus provider based on personal attribute information. First, the mapping relationship between the target personal attribute information and the field to which the corpus elicitation questions belong is obtained. When the target personal attribute meets the problem proportion adjustment condition, the default allocation ratio of the corpus elicitation questions in the field corresponding to the target personal attribute information is adjusted. When the target personal attribute information does not meet the problem proportion adjustment condition, the default allocation ratio of the corpus elicitation questions in each field is maintained. The mapping relationship between the personal attribute information and the field to which the corpus elicitation questions belong is pre-set. For example, if the occupation is a driver, the corresponding corpus elicitation questions belong to the telephone field and the navigation field; if it often rains in the place where one lives, the corresponding corpus elicitation questions belong to the weather field; if the commuting time is long, the corresponding corpus elicitation questions belong to the leisure and entertainment field; when the corpus provider joins a fleet, the corresponding corpus elicitation questions belong to the fleet field; when the corpus provider has the habit of listening to music while driving, the corresponding corpus elicitation questions belong to the music field. According to the above mapping relationship, it is possible to adjust the proportion of corpus-inspired questions in each field according to personal attribute information. For example, the proportion of corpus-inspired questions can be adjusted according to the example shown in Table 1:

[0060] Table 1

[0061]

[0062] Step 250: Determine the number of corpus-inspired questions in each field according to the proportion of corpus-inspired questions in each field and the preset number of display questions, and extract a set number of corpus-inspired questions from the corpus-inspired question library according to the number of corpus-inspired questions in each field.

[0063] In this embodiment, after determining the proportion of corpus elicitation questions in each field among the corpus elicitation questions displayed to the corpus provider, the number of corpus elicitation questions in each field is determined according to the proportion of corpus elicitation questions in each field and the number of preset display questions. For example, there are 200 corpus elicitation questions displayed to the corpus provider, which are divided into 20 fields. The proportion of corpus elicitation questions in each field is 5%, and the number of corpus elicitation questions in each field is 10. If the proportion of corpus elicitation questions in one field is increased to 10%, the remaining 19 fields will share the remaining number of corpus elicitation questions. After determining the number of corpus elicitation questions in each field, a set number of corpus elicitation questions are extracted from the corpus elicitation question library according to the above number. The corpus elicitation questions stored in the corpus elicitation question library all correspond to a field label, and a set number of corpus elicitation questions can be extracted according to the field label.

[0064] Step 260: Display each corpus elicitation question to the corpus provider, and obtain the corpus provided by the corpus provider in response to the corpus elicitation question.

[0065] The technical solution of the embodiment of the present invention first selects users who meet the set screening conditions as corpus providers based on user screening information, then determines the proportion of corpus inspiration questions in various fields among the corpus inspiration questions displayed to the corpus providers based on the personal attribute information of the corpus providers, and finally extracts a set number of corpus inspiration questions from the corpus inspiration question library based on the proportion of corpus inspiration questions in various fields and the preset number of displayed questions. The corpus providers can be screened according to the set screening conditions to ensure the reliability of the collected corpus. Furthermore, the corpus inspiration questions are pushed in a differentiated manner based on the personal attribute information, thereby improving the diversity of the corpus and ensuring the quality of the corpus.

[0066] Embodiment 3

[0067] Figure 3 This is a flowchart of a corpus acquisition method in Embodiment 3 of the present invention. This embodiment further refines the above embodiment and provides specific steps for screening a set number of corpus elicitation questions corresponding to personal attribute information and obtaining at least one personal attribute information input by the corpus provider. Figure 3 A corpus acquisition method provided in Embodiment 3 of the present invention is described, comprising the following steps:

[0068] Step 310: Obtain at least one item of personal attribute information of the corpus provider.

[0069] Step 320: Filter a set number of corpus elicitation questions corresponding to the personal attribute information.

[0070] Step 330: Display each corpus elicitation question to the corpus provider, and obtain the corpus provided by the corpus provider in response to the corpus elicitation question.

[0071] Step 340 , determine whether the currently input target corpus exists in the corpus, if so, execute step 341 , otherwise, execute step 342 .

[0072] In this embodiment, in order to maintain the diversity of the acquired corpus, after acquiring the corpus provided by the corpus provider for the corpus elicitation question, first determine whether the currently input target corpus exists in the corpus, so as to complete the corpus deduplication operation in the corpus acquisition process, reducing the amount of calculation for subsequent information processing. The corpus is used to store the corpus provided by the corpus provider for the corpus elicitation question.

[0073] Step 341 : Sending a corpus duplication prompt message to the corpus provider to prompt the corpus provider that the target corpus currently input is invalid corpus, and returning to step 330 .

[0074] In this embodiment, when the target corpus exists in the corpus, indicating that the corpus has been provided by the corpus provider who previously provided the corpus, a corpus duplication prompt message is sent to the current corpus provider to prompt the current corpus provider that the target corpus input by the current corpus provider is invalid and needs to be re-entered.

[0075] Step 342: Store the target corpus as valid corpus in the corpus.

[0076] In this embodiment, when the target corpus is not in the corpus, it means that the current target corpus is a brand new corpus, and the current target corpus is stored in the corpus as a valid corpus.

[0077] Step 350: When the number of valid corpora input by the corpus provider for the current corpus elicitation question reaches a set number, the next corpus elicitation question is displayed to the corpus provider until the set number of corpora is fed back for all corpus elicitation questions.

[0078] In this embodiment, the valid corpus input by the corpus provider for a corpus elicitation question is accumulated, and the value is increased by 1 for each valid input by the corpus provider until the input valid corpus reaches the set number, then it is considered that the current corpus elicitation question has been answered, and the corpus elicitation question is displayed to the corpus provider until the set number of corpus is fed back for all corpus elicitation questions. Exemplarily, when the valid corpus fed back by the corpus provider for a corpus elicitation question reaches 5, the next corpus elicitation question is displayed. Of course, in order to obtain as much corpus as possible, after the valid corpus input by the corpus provider for a corpus elicitation question reaches the set number, a prompt message can be fed back to the corpus provider to prompt the corpus provider that the number of valid corpus input meets the requirements, and the corpus provider can choose to continue to input corpus or enter the next corpus elicitation question. Exemplarily, the prompt message can be "Currently 3 valid corpus have been entered, you can choose to continue to enter corpus, or enter the next corpus elicitation question", this method can enable the corpus provider to provide more corpus and improve the diversity of corpus.

[0079] The technical solution of the embodiment of the present invention screens corresponding corpus elicitation questions based on at least one personal attribute information of the corpus provider obtained, and determines whether the corpus fed back by the corpus provider for the corpus elicitation question exists in the corpus. If so, the corpus provider is prompted to re-enter the corpus until the input corpus reaches a set number, and the next corpus elicitation question is displayed. The corpus deduplication operation can be completed during the corpus acquisition process, and the corpus provider is prompted to re-enter the corpus, thereby improving the diversity of the corpus and reducing the workload of subsequent information processing.

[0080] Embodiment 4

[0081] Figure 4 This is a structural diagram of a corpus acquisition device provided in Embodiment 4 of the present invention. The corpus acquisition device includes: an attribute information acquisition module 410, an elicitation question screening module 420 and a feedback corpus acquisition module 430.

[0082] The attribute information acquisition module 410 is used to acquire at least one item of personal attribute information of the corpus provider;

[0083] The elicitation question screening module 420 is used to screen a set number of corpus elicitation questions corresponding to the personal attribute information;

[0084] The feedback corpus acquisition module 430 is used to display each of the corpus elicitation questions to the corpus provider, and obtain the corpus fed back by the corpus provider in response to the corpus elicitation questions.

[0085] The technical solution of the embodiment of the present invention first obtains at least one personal attribute information of the corpus provider, and screens a set number of corpus inspiration questions corresponding to the personal attribute information, and finally displays each corpus inspiration question to the corpus provider, and obtains the corpus fed back by the corpus provider for the corpus inspiration question, which solves the problem of single corpus form obtained by existing corpus enrichment methods, and can push differentiated questions according to personal attribute information, thereby improving the diversity and reliability of the corpus.

[0086] Optionally, the corpus-inspired questions involve multiple fields;

[0087] The heuristic question screening module 420 includes:

[0088] a question ratio determination unit, configured to determine, according to the personal attribute information, the ratio of corpus-induced questions in each field among the corpus-induced questions displayed to the corpus provider;

[0089] The elicitation question extraction unit is used to determine the number of corpus elicitation questions in each field according to the proportion of corpus elicitation questions in each field and the preset number of display questions, and extract a set number of corpus elicitation questions from the corpus elicitation question library according to the number of corpus elicitation questions in each field.

[0090] Optionally, the problem ratio determination unit is specifically used to:

[0091] Obtaining a mapping relationship between target personal attribute information and the domain to which the corpus-inspired question belongs;

[0092] When the target personal attribute information satisfies the question ratio adjustment condition, adjusting the default allocation ratio of the corpus-inspired questions in the field corresponding to the target personal attribute information;

[0093] When the target personal attribute information does not meet the question ratio adjustment conditions, the corpus-inspired questions in each field maintain the default allocation ratio.

[0094] Optionally, the corpus acquisition device further includes:

[0095] The corpus judgment module is used to judge whether the target corpus currently input exists in the corpus;

[0096] A prompt information initiating module is used to initiate a corpus duplication prompt information to the corpus provider when the currently input target corpus exists in the corpus, so as to prompt the corpus provider that the currently input target corpus is an invalid corpus, and return to execute the operation of obtaining the corpus fed back by the corpus provider for the corpus elicitation question;

[0097] The corpus storage module is used to store the target corpus as valid corpus in the corpus when the target corpus currently input is not in the corpus.

[0098] Optionally, the corpus acquisition device is further used to:

[0099] When the number of valid corpora input by the corpus provider for the current corpus elicitation question reaches a set number, the next corpus elicitation question is displayed to the corpus provider.

[0100] Optionally, the corpus acquisition device further includes:

[0101] A screening information receiving module, used for receiving user screening information input by a user before obtaining at least one personal attribute information of a corpus provider;

[0102] The corpus provider determination module is used to select the user corresponding to the user screening information as the corpus provider when the user screening information meets the set screening conditions.

[0103] Optionally, the corpus acquisition device further includes:

[0104] A question classification module, used for receiving a plurality of corpus elicitation questions input by a corpus collector before obtaining at least one personal attribute information of a corpus provider, and analyzing the corpus elicitation questions to determine the fields to which the corpus elicitation questions belong;

[0105] The attribute label adding module is used to add the fields to which each corpus-inspired question belongs as the question attribute label to the corresponding corpus-inspired question.

[0106] The corpus acquisition device provided in the embodiment of the present invention can execute the corpus acquisition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0107] Embodiment 5

[0108] Figure 5 A schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention is shown in FIG. Figure 5 As shown, the electronic device includes a processor 50 and a memory 51; the number of processors 50 in the device can be one or more. Figure 5 A processor 50 is taken as an example; the processor 50 and the memory 51 in the device can be connected by a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0109] The memory 51, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to a corpus acquisition method in an embodiment of the present invention (for example, the attribute information acquisition module 410, the heuristic question screening module 420 and the feedback corpus acquisition module 430 in the corpus acquisition device). The processor 50 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 51, that is, realizes the above-mentioned corpus acquisition method.

[0110] The method includes:

[0111] Obtain at least one personal attribute information of the corpus provider;

[0112] Selecting a set number of corpus elicitation questions corresponding to the personal attribute information;

[0113] Each of the corpus-inspired questions is presented to the corpus provider, and the corpus provided by the corpus provider for the corpus-inspired question is obtained.

[0114] The memory 51 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 51 may further include a memory remotely arranged relative to the processor 50, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0115] Embodiment 6

[0116] Embodiment 6 of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to execute a corpus acquisition method when executed by a computer processor, the method comprising:

[0117] Obtain at least one personal attribute information of the corpus provider;

[0118] Selecting a set number of corpus elicitation questions corresponding to the personal attribute information;

[0119] Each of the corpus-inspired questions is presented to the corpus provider, and the corpus provided by the corpus provider for the corpus-inspired question is obtained.

[0120] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0121] It is worth noting that in the above-mentioned embodiment of the corpus acquisition device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0122] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A corpus acquisition method, characterized in that: include: Obtain at least one personal attribute information of the corpus provider; Selecting a set number of corpus elicitation questions corresponding to the personal attribute information; Presenting each of the corpus-inspired questions to the corpus provider, and obtaining the corpus provided by the corpus provider in response to the corpus-inspired questions; The corpus elicitation problems mentioned above involve multiple fields; Screening a set number of corpus elicitation questions corresponding to the personal attribute information, including: Determining, according to the personal attribute information, a proportion of corpus elicitation questions in each field among the corpus elicitation questions displayed to the corpus provider; According to the proportion of corpus-inspired questions in each field and the number of preset display questions, the number of corpus-inspired questions in each field is determined, and a set number of corpus-inspired questions are extracted from the corpus-inspired question database according to the number of corpus-inspired questions in each field; Determining the proportion of corpus elicitation questions in various fields among the corpus elicitation questions displayed to the corpus provider according to the personal attribute information includes: Obtaining a mapping relationship between target personal attribute information and the domain to which the corpus-inspired question belongs; When the target personal attribute information satisfies the question ratio adjustment condition, adjusting the default allocation ratio of the corpus-inspired questions in the field corresponding to the target personal attribute information; When the target personal attribute information does not meet the question ratio adjustment conditions, the corpus-inspired questions in each field maintain the default allocation ratio.

2. The method according to claim 1, characterized in that: After obtaining the corpus provided by the corpus provider for the corpus elicitation question, the method includes: Determine whether the currently input target corpus exists in the corpus; If yes, a corpus duplication prompt message is sent to the corpus provider to prompt the corpus provider that the target corpus currently input is invalid corpus, and the operation of obtaining the corpus fed back by the corpus provider for the corpus elicitation question is returned; If not, the target corpus is stored in the corpus as a valid corpus.

3. The method according to claim 2, characterized in that After storing the target corpus as valid corpus in the corpus, the method further includes: When the number of valid corpora input by the corpus provider for the current corpus elicitation question reaches a set number, the next corpus elicitation question is displayed to the corpus provider.

4. The method according to claim 1, characterized in that: Before obtaining at least one personal attribute information of the corpus provider, it also includes: Receive user screening information input by the user; When the user screening information meets the set screening condition, the user corresponding to the user screening information is used as the corpus provider.

5. The method according to claim 1, characterized in that Before obtaining at least one personal attribute information of the corpus provider, it also includes: Receiving multiple corpus elicitation questions input by a corpus collector, analyzing the corpus elicitation questions, and determining the fields to which the corpus elicitation questions belong; The domain to which each corpus-inspired question belongs is used as a question attribute label and added to the corresponding corpus-inspired question.

6. A corpus acquisition device, characterized in that: include: An attribute information acquisition module, used to acquire at least one item of personal attribute information of a corpus provider; An elicitation question screening module, used for screening a set number of corpus elicitation questions corresponding to the personal attribute information; A feedback corpus acquisition module, used to present each of the corpus elicitation questions to the corpus provider, and to acquire the corpus provided by the corpus provider for the corpus elicitation questions; The corpus elicitation problems mentioned above involve multiple fields; The heuristic question screening module includes: a question ratio determination unit, configured to determine, according to the personal attribute information, the ratio of corpus-induced questions in each field among the corpus-induced questions displayed to the corpus provider; The elicitation question extraction unit is used to determine the number of corpus elicitation questions in each field according to the proportion of corpus elicitation questions in each field and the preset number of display questions, and extract a set number of corpus elicitation questions from the corpus elicitation question library according to the number of corpus elicitation questions in each field; The problem ratio determination unit is specifically used for: Obtaining a mapping relationship between target personal attribute information and the domain to which the corpus-inspired question belongs; When the target personal attribute information satisfies the question ratio adjustment condition, adjusting the default allocation ratio of the corpus-inspired questions in the field corresponding to the target personal attribute information; When the target personal attribute information does not meet the question ratio adjustment conditions, the corpus-inspired questions in each field maintain the default allocation ratio.

7. The device according to claim 6, characterized in that The corpus acquisition device further includes: The corpus judgment module is used to judge whether the currently input target corpus exists in the corpus; A prompt information initiating module is used to initiate a corpus duplication prompt information to the corpus provider when the currently input target corpus exists in the corpus, so as to prompt the corpus provider that the currently input target corpus is an invalid corpus, and return to execute the operation of obtaining the corpus fed back by the corpus provider for the corpus elicitation question; The corpus storage module is used to store the target corpus as valid corpus in the corpus when the target corpus currently input is not in the corpus.

8. An electronic device, characterized in that: The device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the corpus acquisition method as described in any one of claims 1 to 5.