Reading the cat sat on the mat because it was tired, the word it has to work out which word it means. Each word has a key: two numbers for how much it’s an animal and how much it’s a place. it has a query: what it’s looking for. Write listen(query, keys): how much “it” listens to each word, as shares.
| animal | place |
|---|---|
| 1 | 0 |
| animal | place | |
|---|---|---|
| cat | 2 | 0 |
| sat | 0 | 0 |
| mat | 0 | 2 |