CPC G06F 16/332 (2019.01) [G06F 16/3347 (2019.01); G06F 40/30 (2020.01)] | 17 Claims |
1. A method for querying questions, comprising:
acquiring input information of a user;
acquiring intention information of the user based on the input information of the user;
determining an answer generation rule; and
generating, based on the input information and the intention information, a first answer in accordance with the answer generation rule, and providing the first answer to the user;
wherein upon acquiring the input information of the user, the method further comprises:
determining whether a number of characters in the input information is greater than a second threshold;
generating a plurality of single sentences by segmenting the input information in the case that the number of characters in the input information is greater than the second threshold;
determining a third similarity between each two single sentences in the plurality of single sentences in accordance with a preset algorithm; and
determining a key sentence based on the third similarity between each two single sentences, and determining the key sentence as final input information.
|