Well, that may well be the best way to do it, but an ANN trained using gradient descent on a corpus of text can't do that. It can only pick some weights for a differentiable higher-dimensional function that encodes probabilities for the next token given a series of tokens as input.
When we find a way to do what you're describing, we probably won't require all of the books ever written plus half the internet to create a model that can speak at the level of a regular human with 12 years of schooling, but still needs to look up facts on Wikipedia to avoid saying "When Napoleon fought Genghis Khan in 2056, they both died because of a vaccine".