Hints

LM-C01-C-001

Count only the words before the target word.

LM-C01-C-002

Look only at examples whose context is we learn.

LM-C01-C-003

Divide the count for code by the total count after the same context.

LM-C01-C-004

Add all four probabilities.

LM-C01-C-005

Find the largest probability in the list.

LM-C01-C-006

Remember that many continuations can be possible at once.

LM-C01-C-007

Ask whether ordinary English word frequency is enough to predict code.