Answer output method, device, electronic equipment and storage medium
A technology of output method and answer, which is applied in the direction of electrical digital data processing, instrumentation, calculation, etc., can solve the problem of poor flexibility of the question answering system, and achieve the effect of improving flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a flow chart of an answer output method according to the embodiment of the present invention, and this embodiment can be applied to the case of outputting problems based on different question and answer models, the method can be performed by the answer output providing device, the device can be And / or hardware. Corresponding, such as figure 1 As shown, the method includes the following operations:
[0032] S110, get the target paragraph that matches the target problem.
[0033] Among them, the target problem can be any type of user input, such as "Where is Tianjin University?" The set number can be the value of the question and answer system set by the actual demand, such as 4, 6 or 8, etc., the embodiment of the present invention The specific value of the set quantity is not limited. The target paragraph can be the relevant paragraph feedback from the target problem, the question and answer model in the question and answer system can obtain the answer and...
Embodiment 2
[0043] figure 2 It is a flow chart of an answer output method according to the second embodiment of the present invention, and the present embodiment is particularized by the above embodiment. In the present embodiment, the specific type of the question and answer model is given, and according to the target paragraph. The scope length determines the specific implementation of the question and answer model. Corresponding, such as figure 2 As shown, the method includes the following operations:
[0044] S210, obtain the target paragraph that matches the target problem.
[0045] S220, a score of the target paragraph; obtaining a word length of the target paragraph based on the results.
[0046] Wherein, the word length includes a set number of distinct average length or maximum word length of each of the target paragraphs.
[0047]In an embodiment of the present invention, the obtaining of the target word length of the first paragraph of Destinations paragraphs word. Wherein the seg...
Embodiment 3
[0070] image 3 It is a schematic view of an answer output apparatus according to a third embodiment of the present invention, as image 3 Shown, the apparatus comprising: a target paragraph obtaining module 310, a first model determination module Q output 320, and the answer module 330, wherein:
[0071] Target paragraphs obtaining module 310, configured to obtain the target paragraph set number matches the target problem;
[0072] The first model determination module Q 320, Q for determining the length of the word model according to the target paragraph;
[0073] The answer output module 330 for the model output Q answer questions as an answer the target output.
[0074] A set number of target paragraphs answer output method according to an embodiment of the present invention is matched by the acquiring the target problem is determined word length of the target paragraph, and determine the appropriate Q model according to the word length of the target paragraph, question and answ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


