How Do Computers Understand Language?

Computers can pretend to understand words by turning them into numbers. Imagine a special code that turns 'hello' into 12345 and 'goodbye' into 67890, the computer just looks up these numbers in its codebook. It uses this trick to know when two sentences are similar, even if they use different words.

Take the quiz →

Examples

  1. A computer sees 'cat' as number 12345 and 'dog' as number 67890, it can recognize if a sentence is about a cat or a dog by checking the numbers.
  2. When you ask a computer, 'What is the capital of France?', it looks up words in its codebook to find an answer.
  3. A smart speaker hears 'Play music' and matches each word to a command in its list.

Ask a question

See also

Discussion

Recent activity