___search for the most relevant output from its network and after arranging it and checking the grammatical mistakes it feeds the best result to the user.
Thinking of appropriate output, to feed the user is called Natural Language Generation (NLG).
Natural Language Generation is a software process of generating natural language output from a structured data-sets.
Hence,it search for the most relevant output from its network and after arranging it and checking the grammatical mistakes it feeds the best result to the user.