What kind of algorithm or code allows AI like Cortana, Google Now, and Siri to respond to human questions?


What kind of algorithm or code allows AI like Cortana, Google Now, and Siri to respond to human questions?

How will a capable AI be likely to analyse and understand a human verbal expression?

Today, there are a number of different ways to accomplish this….

  1. Chatbots typically use “pattern matching”.
  2. Statistical (probabilistic) NLP (natural language processing) is something like a more sophisticated version of pattern matching in that it leverages N-grams, such as Bi-grams and Tri-grams, and/or Skip-grams (which are N-grams with spaces).
  3. In the field of Machine Translation, there is something called an Interlingua, where concepts are encoded in non-verbal representations, making the transition from one to another, or many, languages easier, especially since the wording does not have to be verbatim.

See also my Quora answers to: