摘要 |
A virtual pet system includes: a virtual pet client, adapted to receive a sentence in natural language and send the sentence to a Q&A server; the Q&A server, adapted to receive the sentence, process the sentence through natural language comprehension, generate an answer in natural language based on a result of natural language comprehension and reasoning knowledge, and send the answer in natural language to the virtual pet client. A method for virtual pet chatting includes: receiving a sentence in natural language, perform natural language comprehension for the sentence, and generating an answer in natural language based on a result of natural language comprehension and reasoning knowledge. A Q&A server includes: a sentence comprehension engine unit, adapted to process a received sentence in natural language through natural language comprehension, and send a result of natural language comprehension to a reasoning engine unit; the reasoning engine unit, adapted to generate an answer in natural language based on reasoning knowledge and the result of natural language comprehension, and send the answer in natural language; a knowledge base, adapted to store the reasoning knowledge. |